C# 클래스 Microsoft.Azure.Commands.ResourceManager.Common.AzureRMCmdlet

Represents base class for Resource Manager cmdlets
상속: Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet
파일 보기 프로젝트 열기: Azure/azure-powershell 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
_serviceClientTracingInterceptor ServiceClientTracingInterceptor

보호된 메소드들

메소드 설명
ConfirmAction ( bool force, string continueMessage, string processMessage, string target, System.Action action ) : void

Guards execution of the given action using ShouldProcess and ShouldContinue. The optional useSHouldContinue predicate determines whether SHouldContinue should be called for this particular action (e.g. a resource is being overwritten). By default, both ShouldProcess and ShouldContinue will be executed. Cmdlets that use this method overload must have a force parameter.

ConfirmResourceAction ( string resourceId, bool force, string continueMessage, string actionName, System.Action action, Func promptForContinuation = null ) : void

Prompt for confirmation for the specified change to the specified ARM resource

ConfirmResourceAction ( string resourceId, string actionName, System.Action action ) : void

Prompt for confirmation for the specified change to the specified ARM resource

ConfirmResourceAction ( string resourceType, string resourceName, string resourceGroupName, bool force, string continueMessage, string processMessage, System.Action action, Func promptForContinuation = null ) : void

Prompt for confirmation for the specified change to the specified ARM resource

ConfirmResourceAction ( string resourceType, string resourceName, string resourceGroupName, string processMessage, System.Action action ) : void

Prompt for confirmation for the specified change to the specified ARM resource

Dispose ( bool disposing ) : void
InitializeQosEvent ( ) : void
LogCmdletEndInvocationInfo ( ) : void
LogCmdletStartInvocationInfo ( ) : void
PromptForDataCollectionProfileIfNotExists ( ) : void
SaveDataCollectionProfile ( ) : void
SetupDebuggingTraces ( ) : void
TearDownDebuggingTraces ( ) : void

비공개 메소드들

메소드 설명
AzureRMCmdlet ( ) : Microsoft.Azure.Commands.Common.Authentication

Static constructor for AzureRMCmdlet.

메소드 상세

ConfirmAction() 보호된 메소드

Guards execution of the given action using ShouldProcess and ShouldContinue. The optional useSHouldContinue predicate determines whether SHouldContinue should be called for this particular action (e.g. a resource is being overwritten). By default, both ShouldProcess and ShouldContinue will be executed. Cmdlets that use this method overload must have a force parameter.
protected ConfirmAction ( bool force, string continueMessage, string processMessage, string target, System.Action action ) : void
force bool Do not ask for confirmation
continueMessage string Message to describe the action
processMessage string Message to prompt after the active is performed.
target string The target name.
action System.Action The action code
리턴 void

ConfirmResourceAction() 보호된 메소드

Prompt for confirmation for the specified change to the specified ARM resource
protected ConfirmResourceAction ( string resourceId, bool force, string continueMessage, string actionName, System.Action action, Func promptForContinuation = null ) : void
resourceId string The identity of the resource to be changed
force bool True if Force parameter was passed
continueMessage string The message to display in a ShouldContinue prompt, if offered
actionName string A description of the change to the resource
action System.Action The code action to perform if confirmation is successful
promptForContinuation Func Predicate to determine whether a ShouldContinue prompt is necessary
리턴 void

ConfirmResourceAction() 보호된 메소드

Prompt for confirmation for the specified change to the specified ARM resource
protected ConfirmResourceAction ( string resourceId, string actionName, System.Action action ) : void
resourceId string The identity of the resource to be changed
actionName string A description of the change to the resource
action System.Action The code action to perform if confirmation is successful
리턴 void

ConfirmResourceAction() 보호된 메소드

Prompt for confirmation for the specified change to the specified ARM resource
protected ConfirmResourceAction ( string resourceType, string resourceName, string resourceGroupName, bool force, string continueMessage, string processMessage, System.Action action, Func promptForContinuation = null ) : void
resourceType string The resource type
resourceName string The resource name for the changed reource
resourceGroupName string The resource group containign the changed resource
force bool True if Force parameter was passed
continueMessage string The message to display in a ShouldContinue prompt, if offered
processMessage string A description of the change to the resource
action System.Action The code action to perform if confirmation is successful
promptForContinuation Func Predicate to determine whether a ShouldContinue prompt is necessary
리턴 void

ConfirmResourceAction() 보호된 메소드

Prompt for confirmation for the specified change to the specified ARM resource
protected ConfirmResourceAction ( string resourceType, string resourceName, string resourceGroupName, string processMessage, System.Action action ) : void
resourceType string The resource type
resourceName string The resource name for the changed reource
resourceGroupName string The resource group containign the changed resource
processMessage string A description of the change to the resource
action System.Action The code action to perform if confirmation is successful
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

InitializeQosEvent() 보호된 메소드

protected InitializeQosEvent ( ) : void
리턴 void

LogCmdletEndInvocationInfo() 보호된 메소드

protected LogCmdletEndInvocationInfo ( ) : void
리턴 void

LogCmdletStartInvocationInfo() 보호된 메소드

protected LogCmdletStartInvocationInfo ( ) : void
리턴 void

PromptForDataCollectionProfileIfNotExists() 보호된 메소드

protected PromptForDataCollectionProfileIfNotExists ( ) : void
리턴 void

SaveDataCollectionProfile() 보호된 메소드

protected SaveDataCollectionProfile ( ) : void
리턴 void

SetupDebuggingTraces() 보호된 메소드

protected SetupDebuggingTraces ( ) : void
리턴 void

TearDownDebuggingTraces() 보호된 메소드

protected TearDownDebuggingTraces ( ) : void
리턴 void

프로퍼티 상세

_serviceClientTracingInterceptor 보호되어 있는 프로퍼티

protected ServiceClientTracingInterceptor,Microsoft.Azure.Commands.ResourceManager.Common _serviceClientTracingInterceptor
리턴 ServiceClientTracingInterceptor