C# Class Microsoft.Azure.Commands.RecoveryServices.Backup.Cmdlets.ProviderModel.AzureSqlPsBackupProvider

This class implements methods for AzureSql backup provider
Inheritance: IPsBackupProvider
ファイルを表示 Open project: Azure/azure-powershell Class Usage Examples

Private Properties

Property Type Description
ValidateAzureSQLDisableProtectionRequest void
ValidateAzureSqlContainerType void
ValidateAzureSqlProtectionPolicy void
ValidateAzureSqlRetentionPolicy void
ValidateAzureSqlWorkloadType void

Public Methods

Method Description
CreatePolicy ( ) : Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectionPolicyResponse

Creates policy given the provider data

DisableProtection ( ) : Microsoft.Azure.Management.RecoveryServices.Backup.Models.BaseRecoveryServicesJobResponse

Triggers the disable protection operation for the given item

EnableProtection ( ) : Microsoft.Azure.Management.RecoveryServices.Backup.Models.BaseRecoveryServicesJobResponse
GetDefaultRetentionPolicyObject ( ) : RetentionPolicyBase

Constructs the retention policy object with default inits

GetDefaultSchedulePolicyObject ( ) : SchedulePolicyBase
GetProtectedItem ( ) : Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectedItemResponse
GetRecoveryPointDetails ( ) : RecoveryPointBase

Fetches the detail info for the given recovery point

Initialize ( object>.Dictionary providerData, ServiceClientAdapter serviceClientAdapter ) : void

Initializes the provider with the data recieved from the cmdlet layer

ListBackupManagementServers ( ) : List
ListProtectedItems ( ) : List

Lists protected items protected by the recovery services vault according to the provider data

ListProtectionContainers ( ) : List

Lists protection containers according to the provider data

ListRecoveryPoints ( ) : List

Lists recovery points generated for the given item

ModifyPolicy ( ) : Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectionPolicyResponse

Modifies policy using the provider data

TriggerBackup ( ) : Microsoft.Azure.Management.RecoveryServices.Backup.Models.BaseRecoveryServicesJobResponse
TriggerRestore ( ) : Microsoft.Azure.Management.RecoveryServices.Backup.Models.BaseRecoveryServicesJobResponse

Private Methods

Method Description
ValidateAzureSQLDisableProtectionRequest ( ItemBase itemBase ) : void
ValidateAzureSqlContainerType ( Microsoft.Azure.Commands.RecoveryServices.Backup.Cmdlets.Models type ) : void
ValidateAzureSqlProtectionPolicy ( PolicyBase policy ) : void
ValidateAzureSqlRetentionPolicy ( RetentionPolicyBase policy ) : void
ValidateAzureSqlWorkloadType ( Microsoft.Azure.Commands.RecoveryServices.Backup.Cmdlets.Models type ) : void

Method Details

CreatePolicy() public method

Creates policy given the provider data
public CreatePolicy ( ) : Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectionPolicyResponse
return Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectionPolicyResponse

DisableProtection() public method

Triggers the disable protection operation for the given item
public DisableProtection ( ) : Microsoft.Azure.Management.RecoveryServices.Backup.Models.BaseRecoveryServicesJobResponse
return Microsoft.Azure.Management.RecoveryServices.Backup.Models.BaseRecoveryServicesJobResponse

EnableProtection() public method

public EnableProtection ( ) : Microsoft.Azure.Management.RecoveryServices.Backup.Models.BaseRecoveryServicesJobResponse
return Microsoft.Azure.Management.RecoveryServices.Backup.Models.BaseRecoveryServicesJobResponse

GetDefaultRetentionPolicyObject() public method

Constructs the retention policy object with default inits
public GetDefaultRetentionPolicyObject ( ) : RetentionPolicyBase
return RetentionPolicyBase

GetDefaultSchedulePolicyObject() public method

public GetDefaultSchedulePolicyObject ( ) : SchedulePolicyBase
return SchedulePolicyBase

GetProtectedItem() public method

public GetProtectedItem ( ) : Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectedItemResponse
return Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectedItemResponse

GetRecoveryPointDetails() public method

Fetches the detail info for the given recovery point
public GetRecoveryPointDetails ( ) : RecoveryPointBase
return Microsoft.Azure.Commands.RecoveryServices.Backup.Cmdlets.Models.RecoveryPointBase

Initialize() public method

Initializes the provider with the data recieved from the cmdlet layer
public Initialize ( object>.Dictionary providerData, ServiceClientAdapter serviceClientAdapter ) : void
providerData object>.Dictionary Data from the cmdlet layer intended for the provider
serviceClientAdapter Microsoft.Azure.Commands.RecoveryServices.Backup.Cmdlets.ServiceClientAdapterNS.ServiceClientAdapter Service client adapter for communicating with the backend service
return void

ListBackupManagementServers() public method

public ListBackupManagementServers ( ) : List
return List

ListProtectedItems() public method

Lists protected items protected by the recovery services vault according to the provider data
public ListProtectedItems ( ) : List
return List

ListProtectionContainers() public method

Lists protection containers according to the provider data
public ListProtectionContainers ( ) : List
return List

ListRecoveryPoints() public method

Lists recovery points generated for the given item
public ListRecoveryPoints ( ) : List
return List

ModifyPolicy() public method

Modifies policy using the provider data
public ModifyPolicy ( ) : Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectionPolicyResponse
return Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectionPolicyResponse

TriggerBackup() public method

public TriggerBackup ( ) : Microsoft.Azure.Management.RecoveryServices.Backup.Models.BaseRecoveryServicesJobResponse
return Microsoft.Azure.Management.RecoveryServices.Backup.Models.BaseRecoveryServicesJobResponse

TriggerRestore() public method

public TriggerRestore ( ) : Microsoft.Azure.Management.RecoveryServices.Backup.Models.BaseRecoveryServicesJobResponse
return Microsoft.Azure.Management.RecoveryServices.Backup.Models.BaseRecoveryServicesJobResponse