Method | Description | |
---|---|---|
GetJobObject ( string jobId ) : |
Get the job PS model after fetching the job object from the service given the job ID.
|
|
GetJobObject ( IList |
Gets list of job PS models after fetching the job objects from the service given the list of job IDs.
|
Method | Description | |
---|---|---|
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
|
Method | Description | |
---|---|---|
HandleException ( |
Handles set of exceptions thrown by client
|
protected ExecutionBlock ( System.Action action ) : void | ||
action | System.Action | Delegate representing the cmdlet processing block |
return | void |
public GetJobObject ( string jobId ) : |
||
jobId | string | ID of the job to be fetched |
return |
public GetJobObject ( IList |
||
jobIds | IList |
List of IDs of jobs to be fetched |
return | List |
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 |
return | void |
protected InitializeAzureBackupCmdlet ( ) : void | ||
return | void |