C# 클래스 Microsoft.Azure.Commands.RecoveryServices.Backup.Cmdlets.RecoveryServicesBackupCmdletBase

Base class for Recovery Services Backup cmdlets
상속: Microsoft.Azure.Commands.ResourceManager.Common.AzureRMCmdlet
파일 보기 프로젝트 열기: Azure/azure-powershell

공개 메소드들

메소드 설명
GetJobObject ( string jobId ) : JobBase

Get the job PS model after fetching the job object from the service given the job ID.

GetJobObject ( IList jobIds ) : List

Gets list of job PS models after fetching the job objects from the service given the list of job IDs.

보호된 메소드들

메소드 설명
BeginProcessing ( ) : void
ExecutionBlock ( System.Action action ) : void

Wrapper method which executes the cmdlet processing blocks. Catches and logs any exception occuring during the execution.

HandleCreatedJob ( Microsoft.Azure.Management.RecoveryServices.Backup.Models.BaseRecoveryServicesJobResponse itemResponse, string operationName ) : void

Based on the response from the service, handles the job created in the service appropriately.

InitializeAzureBackupCmdlet ( ) : void

Initializes the service clients and the logging utility

비공개 메소드들

메소드 설명
HandleException ( Exception exception ) : void

Handles set of exceptions thrown by client

메소드 상세

BeginProcessing() 보호된 메소드

protected BeginProcessing ( ) : void
리턴 void

ExecutionBlock() 보호된 메소드

Wrapper method which executes the cmdlet processing blocks. Catches and logs any exception occuring during the execution.
protected ExecutionBlock ( System.Action action ) : void
action System.Action Delegate representing the cmdlet processing block
리턴 void

GetJobObject() 공개 메소드

Get the job PS model after fetching the job object from the service given the job ID.
public GetJobObject ( string jobId ) : JobBase
jobId string ID of the job to be fetched
리턴 Microsoft.Azure.Commands.RecoveryServices.Backup.Cmdlets.Models.JobBase

GetJobObject() 공개 메소드

Gets list of job PS models after fetching the job objects from the service given the list of job IDs.
public GetJobObject ( IList jobIds ) : List
jobIds IList List of IDs of jobs to be fetched
리턴 List

HandleCreatedJob() 보호된 메소드

Based on the response from the service, handles the job created in the service appropriately.
protected HandleCreatedJob ( Microsoft.Azure.Management.RecoveryServices.Backup.Models.BaseRecoveryServicesJobResponse itemResponse, string operationName ) : void
itemResponse Microsoft.Azure.Management.RecoveryServices.Backup.Models.BaseRecoveryServicesJobResponse Response from service
operationName string Name of the operation
리턴 void

InitializeAzureBackupCmdlet() 보호된 메소드

Initializes the service clients and the logging utility
protected InitializeAzureBackupCmdlet ( ) : void
리턴 void