C# Класс Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.ResourceManagerCmdletBase

The base class for resource manager cmdlets.
Наследование: Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet
Показать файл Открыть проект

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