C# 클래스 Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.ResourceManagerCmdletBase

The base class for resource manager cmdlets.
상속: Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet
파일 보기 프로젝트 열기: Azure/azure-powershell

Private Properties

프로퍼티 타입 설명
DisposeOfCancellationSource void
GetCmdletHeaders string>.Dictionary
GetLongRunningOperationTracker Microsoft.Azure.Commands.ResourceManager.Cmdlets.Components.LongRunningOperationHelper
HandleException void

공개 메소드들

메소드 설명
DetermineParameterSetName ( ) : string

Determines the parameter set name.

ExecuteCmdlet ( ) : void

The ProcessRecord method.

GetResourcesClient ( ) : ResourceManagerRestRestClient

Gets a new instance of the ResourceManagerRestRestClient.

보호된 메소드들

메소드 설명
BeginProcessing ( ) : void

The BeginProcessing method.

DetermineApiVersion ( string resourceId, bool pre = null ) : Task

Determines the API version.

DetermineApiVersion ( string providerNamespace, string resourceType, bool pre = null ) : Task

Determines the API version.

EndProcessing ( ) : void

The EndProcessing method.

OnBeginProcessing ( ) : void

When overridden, allows child classes to be called when the BeginProcessing method is invoked.

OnEndProcessing ( ) : void

When overridden, allows child classes to be called when the EndProcessing method is invoked.

OnProcessRecord ( ) : void

When overridden, allows child classes to be called when the ProcessRecord method is invoked.

OnStopProcessing ( ) : void

When overridden, allows child classes to be called when the StopProcessing method is invoked.

StopProcessing ( ) : void

The StopProcessing method.

TryConvertAndWriteObject ( string resultString ) : void

Writes the object

TryConvertToResourceAndWriteObject ( string resultString ) : void

Writes the object

WriteObject ( JToken result ) : void

Writes a JToken object as a PSObject.

비공개 메소드들

메소드 설명
DisposeOfCancellationSource ( ) : void

Disposes of the CancellationTokenSource.

GetCmdletHeaders ( ) : string>.Dictionary
GetLongRunningOperationTracker ( string activityName, bool isResourceCreateOrUpdate ) : LongRunningOperationHelper

Gets a new instance of the long running operation helper.

HandleException ( ExceptionDispatchInfo capturedException ) : void

Provides specialized exception handling.

메소드 상세

BeginProcessing() 보호된 메소드

The BeginProcessing method.
protected BeginProcessing ( ) : void
리턴 void

DetermineApiVersion() 보호된 메소드

Determines the API version.
protected DetermineApiVersion ( string resourceId, bool pre = null ) : Task
resourceId string The resource Id.
pre bool When specified, indicates if pre-release API versions should be considered.
리턴 Task

DetermineApiVersion() 보호된 메소드

Determines the API version.
protected DetermineApiVersion ( string providerNamespace, string resourceType, bool pre = null ) : Task
providerNamespace string The provider namespace.
resourceType string The resource type.
pre bool When specified, indicates if pre-release API versions should be considered.
리턴 Task

DetermineParameterSetName() 공개 메소드

Determines the parameter set name.
public DetermineParameterSetName ( ) : string
리턴 string

EndProcessing() 보호된 메소드

The EndProcessing method.
protected EndProcessing ( ) : void
리턴 void

ExecuteCmdlet() 공개 메소드

The ProcessRecord method.
public ExecuteCmdlet ( ) : void
리턴 void

GetResourcesClient() 공개 메소드

Gets a new instance of the ResourceManagerRestRestClient.
public GetResourcesClient ( ) : ResourceManagerRestRestClient
리턴 ResourceManagerRestRestClient

OnBeginProcessing() 보호된 메소드

When overridden, allows child classes to be called when the BeginProcessing method is invoked.
protected OnBeginProcessing ( ) : void
리턴 void

OnEndProcessing() 보호된 메소드

When overridden, allows child classes to be called when the EndProcessing method is invoked.
protected OnEndProcessing ( ) : void
리턴 void

OnProcessRecord() 보호된 메소드

When overridden, allows child classes to be called when the ProcessRecord method is invoked.
protected OnProcessRecord ( ) : void
리턴 void

OnStopProcessing() 보호된 메소드

When overridden, allows child classes to be called when the StopProcessing method is invoked.
protected OnStopProcessing ( ) : void
리턴 void

StopProcessing() 보호된 메소드

The StopProcessing method.
protected StopProcessing ( ) : void
리턴 void

TryConvertAndWriteObject() 보호된 메소드

Writes the object
protected TryConvertAndWriteObject ( string resultString ) : void
resultString string The result as a string
리턴 void

TryConvertToResourceAndWriteObject() 보호된 메소드

Writes the object
protected TryConvertToResourceAndWriteObject ( string resultString ) : void
resultString string The result as a string
리턴 void

WriteObject() 보호된 메소드

Writes a JToken object as a PSObject.
protected WriteObject ( JToken result ) : void
result JToken The result of the action.
리턴 void