C# Class Microsoft.Azure.Commands.AzureBackup.Cmdlets.AzureBackupCmdletBase

Inheritance: Microsoft.Azure.Commands.ResourceManager.Common.AzureRMCmdlet
Exibir arquivo Open project: Azure/azure-powershell

Protected Methods

Method Description
ExecutionBlock ( System.Action execAction ) : void
InitializeAzureBackupCmdlet ( Microsoft.Azure.Commands.AzureBackup.Models vault ) : void

Initializes required client adapters

InitializeAzureBackupCmdlet ( string rgName, string rName ) : void

Initializes required client adapters

Private Methods

Method Description
GetCreatedJobs ( string resourceGroupName, string resourceName, Microsoft.Azure.Commands.AzureBackup.Models.AzureRMBackupVault vault, IList jobIds ) : IList
GetOperationStatus ( string resourceGroupName, string resourceName, System.Guid operationId ) : Microsoft.Azure.Management.BackupServices.CSMOperationResult

Get status of long running operation

HandleException ( Exception exception ) : void

Handles set of exceptions thrown by client

TrackOperation ( string resourceGroupName, string resourceName, System.Guid operationId, int checkFrequency = defaultOperationStatusRetryTimeInMilliSec ) : Microsoft.Azure.Management.BackupServices.CSMOperationResult

Track completion of long running operation

Method Details

ExecutionBlock() protected method

protected ExecutionBlock ( System.Action execAction ) : void
execAction System.Action
return void

InitializeAzureBackupCmdlet() protected method

Initializes required client adapters
protected InitializeAzureBackupCmdlet ( Microsoft.Azure.Commands.AzureBackup.Models vault ) : void
vault Microsoft.Azure.Commands.AzureBackup.Models
return void

InitializeAzureBackupCmdlet() protected method

Initializes required client adapters
protected InitializeAzureBackupCmdlet ( string rgName, string rName ) : void
rgName string
rName string
return void