Documentation ¶
Overview ¶
Package recoveryservicesbackup implements the Azure ARM Recoveryservicesbackup service API version .
Open API 2.0 Specs for Azure RecoveryServices Backup service ¶
Deprecated: Please instead use github.com/Azure/azure-sdk-for-go/services
Index ¶
- Constants
- func UserAgent() string
- func Version() string
- type AzureBackupServerContainer
- func (absc AzureBackupServerContainer) AsAzureBackupServerContainer() (*AzureBackupServerContainer, bool)
- func (absc AzureBackupServerContainer) AsAzureIaaSClassicComputeVMContainer() (*AzureIaaSClassicComputeVMContainer, bool)
- func (absc AzureBackupServerContainer) AsAzureIaaSComputeVMContainer() (*AzureIaaSComputeVMContainer, bool)
- func (absc AzureBackupServerContainer) AsAzureSQLContainer() (*AzureSQLContainer, bool)
- func (absc AzureBackupServerContainer) AsDpmContainer() (*DpmContainer, bool)
- func (absc AzureBackupServerContainer) AsIaaSVMContainer() (*IaaSVMContainer, bool)
- func (absc AzureBackupServerContainer) AsMabContainer() (*MabContainer, bool)
- func (absc AzureBackupServerContainer) MarshalJSON() ([]byte, error)
- type AzureBackupServerEngine
- type AzureIaaSClassicComputeVMContainer
- func (aisccvc AzureIaaSClassicComputeVMContainer) AsAzureBackupServerContainer() (*AzureBackupServerContainer, bool)
- func (aisccvc AzureIaaSClassicComputeVMContainer) AsAzureIaaSClassicComputeVMContainer() (*AzureIaaSClassicComputeVMContainer, bool)
- func (aisccvc AzureIaaSClassicComputeVMContainer) AsAzureIaaSComputeVMContainer() (*AzureIaaSComputeVMContainer, bool)
- func (aisccvc AzureIaaSClassicComputeVMContainer) AsAzureSQLContainer() (*AzureSQLContainer, bool)
- func (aisccvc AzureIaaSClassicComputeVMContainer) AsDpmContainer() (*DpmContainer, bool)
- func (aisccvc AzureIaaSClassicComputeVMContainer) AsIaaSVMContainer() (*IaaSVMContainer, bool)
- func (aisccvc AzureIaaSClassicComputeVMContainer) AsMabContainer() (*MabContainer, bool)
- func (aisccvc AzureIaaSClassicComputeVMContainer) MarshalJSON() ([]byte, error)
- type AzureIaaSClassicComputeVMProtectableItem
- func (aisccvpi AzureIaaSClassicComputeVMProtectableItem) AsAzureIaaSClassicComputeVMProtectableItem() (*AzureIaaSClassicComputeVMProtectableItem, bool)
- func (aisccvpi AzureIaaSClassicComputeVMProtectableItem) AsAzureIaaSComputeVMProtectableItem() (*AzureIaaSComputeVMProtectableItem, bool)
- func (aisccvpi AzureIaaSClassicComputeVMProtectableItem) AsIaaSVMProtectableItem() (*IaaSVMProtectableItem, bool)
- func (aisccvpi AzureIaaSClassicComputeVMProtectableItem) MarshalJSON() ([]byte, error)
- type AzureIaaSClassicComputeVMProtectedItem
- func (aisccvpi AzureIaaSClassicComputeVMProtectedItem) AsAzureIaaSClassicComputeVMProtectedItem() (*AzureIaaSClassicComputeVMProtectedItem, bool)
- func (aisccvpi AzureIaaSClassicComputeVMProtectedItem) AsAzureIaaSComputeVMProtectedItem() (*AzureIaaSComputeVMProtectedItem, bool)
- func (aisccvpi AzureIaaSClassicComputeVMProtectedItem) AsAzureIaaSVMProtectedItem() (*AzureIaaSVMProtectedItem, bool)
- func (aisccvpi AzureIaaSClassicComputeVMProtectedItem) AsAzureSQLProtectedItem() (*AzureSQLProtectedItem, bool)
- func (aisccvpi AzureIaaSClassicComputeVMProtectedItem) AsDPMProtectedItem() (*DPMProtectedItem, bool)
- func (aisccvpi AzureIaaSClassicComputeVMProtectedItem) AsMabFileFolderProtectedItem() (*MabFileFolderProtectedItem, bool)
- func (aisccvpi AzureIaaSClassicComputeVMProtectedItem) MarshalJSON() ([]byte, error)
- type AzureIaaSComputeVMContainer
- func (aiscvc AzureIaaSComputeVMContainer) AsAzureBackupServerContainer() (*AzureBackupServerContainer, bool)
- func (aiscvc AzureIaaSComputeVMContainer) AsAzureIaaSClassicComputeVMContainer() (*AzureIaaSClassicComputeVMContainer, bool)
- func (aiscvc AzureIaaSComputeVMContainer) AsAzureIaaSComputeVMContainer() (*AzureIaaSComputeVMContainer, bool)
- func (aiscvc AzureIaaSComputeVMContainer) AsAzureSQLContainer() (*AzureSQLContainer, bool)
- func (aiscvc AzureIaaSComputeVMContainer) AsDpmContainer() (*DpmContainer, bool)
- func (aiscvc AzureIaaSComputeVMContainer) AsIaaSVMContainer() (*IaaSVMContainer, bool)
- func (aiscvc AzureIaaSComputeVMContainer) AsMabContainer() (*MabContainer, bool)
- func (aiscvc AzureIaaSComputeVMContainer) MarshalJSON() ([]byte, error)
- type AzureIaaSComputeVMProtectableItem
- func (aiscvpi AzureIaaSComputeVMProtectableItem) AsAzureIaaSClassicComputeVMProtectableItem() (*AzureIaaSClassicComputeVMProtectableItem, bool)
- func (aiscvpi AzureIaaSComputeVMProtectableItem) AsAzureIaaSComputeVMProtectableItem() (*AzureIaaSComputeVMProtectableItem, bool)
- func (aiscvpi AzureIaaSComputeVMProtectableItem) AsIaaSVMProtectableItem() (*IaaSVMProtectableItem, bool)
- func (aiscvpi AzureIaaSComputeVMProtectableItem) MarshalJSON() ([]byte, error)
- type AzureIaaSComputeVMProtectedItem
- func (aiscvpi AzureIaaSComputeVMProtectedItem) AsAzureIaaSClassicComputeVMProtectedItem() (*AzureIaaSClassicComputeVMProtectedItem, bool)
- func (aiscvpi AzureIaaSComputeVMProtectedItem) AsAzureIaaSComputeVMProtectedItem() (*AzureIaaSComputeVMProtectedItem, bool)
- func (aiscvpi AzureIaaSComputeVMProtectedItem) AsAzureIaaSVMProtectedItem() (*AzureIaaSVMProtectedItem, bool)
- func (aiscvpi AzureIaaSComputeVMProtectedItem) AsAzureSQLProtectedItem() (*AzureSQLProtectedItem, bool)
- func (aiscvpi AzureIaaSComputeVMProtectedItem) AsDPMProtectedItem() (*DPMProtectedItem, bool)
- func (aiscvpi AzureIaaSComputeVMProtectedItem) AsMabFileFolderProtectedItem() (*MabFileFolderProtectedItem, bool)
- func (aiscvpi AzureIaaSComputeVMProtectedItem) MarshalJSON() ([]byte, error)
- type AzureIaaSVMErrorInfo
- type AzureIaaSVMHealthDetails
- type AzureIaaSVMJob
- type AzureIaaSVMJobExtendedInfo
- type AzureIaaSVMJobTaskDetails
- type AzureIaaSVMProtectedItem
- func (aispi AzureIaaSVMProtectedItem) AsAzureIaaSClassicComputeVMProtectedItem() (*AzureIaaSClassicComputeVMProtectedItem, bool)
- func (aispi AzureIaaSVMProtectedItem) AsAzureIaaSComputeVMProtectedItem() (*AzureIaaSComputeVMProtectedItem, bool)
- func (aispi AzureIaaSVMProtectedItem) AsAzureIaaSVMProtectedItem() (*AzureIaaSVMProtectedItem, bool)
- func (aispi AzureIaaSVMProtectedItem) AsAzureSQLProtectedItem() (*AzureSQLProtectedItem, bool)
- func (aispi AzureIaaSVMProtectedItem) AsDPMProtectedItem() (*DPMProtectedItem, bool)
- func (aispi AzureIaaSVMProtectedItem) AsMabFileFolderProtectedItem() (*MabFileFolderProtectedItem, bool)
- func (aispi AzureIaaSVMProtectedItem) MarshalJSON() ([]byte, error)
- type AzureIaaSVMProtectedItemExtendedInfo
- type AzureIaaSVMProtectionPolicy
- func (aispp AzureIaaSVMProtectionPolicy) AsAzureIaaSVMProtectionPolicy() (*AzureIaaSVMProtectionPolicy, bool)
- func (aispp AzureIaaSVMProtectionPolicy) AsAzureSQLProtectionPolicy() (*AzureSQLProtectionPolicy, bool)
- func (aispp AzureIaaSVMProtectionPolicy) AsMabProtectionPolicy() (*MabProtectionPolicy, bool)
- func (aispp AzureIaaSVMProtectionPolicy) MarshalJSON() ([]byte, error)
- func (aispp *AzureIaaSVMProtectionPolicy) UnmarshalJSON(body []byte) error
- type AzureSQLContainer
- func (asc AzureSQLContainer) AsAzureBackupServerContainer() (*AzureBackupServerContainer, bool)
- func (asc AzureSQLContainer) AsAzureIaaSClassicComputeVMContainer() (*AzureIaaSClassicComputeVMContainer, bool)
- func (asc AzureSQLContainer) AsAzureIaaSComputeVMContainer() (*AzureIaaSComputeVMContainer, bool)
- func (asc AzureSQLContainer) AsAzureSQLContainer() (*AzureSQLContainer, bool)
- func (asc AzureSQLContainer) AsDpmContainer() (*DpmContainer, bool)
- func (asc AzureSQLContainer) AsIaaSVMContainer() (*IaaSVMContainer, bool)
- func (asc AzureSQLContainer) AsMabContainer() (*MabContainer, bool)
- func (asc AzureSQLContainer) MarshalJSON() ([]byte, error)
- type AzureSQLProtectedItem
- func (aspi AzureSQLProtectedItem) AsAzureIaaSClassicComputeVMProtectedItem() (*AzureIaaSClassicComputeVMProtectedItem, bool)
- func (aspi AzureSQLProtectedItem) AsAzureIaaSComputeVMProtectedItem() (*AzureIaaSComputeVMProtectedItem, bool)
- func (aspi AzureSQLProtectedItem) AsAzureIaaSVMProtectedItem() (*AzureIaaSVMProtectedItem, bool)
- func (aspi AzureSQLProtectedItem) AsAzureSQLProtectedItem() (*AzureSQLProtectedItem, bool)
- func (aspi AzureSQLProtectedItem) AsDPMProtectedItem() (*DPMProtectedItem, bool)
- func (aspi AzureSQLProtectedItem) AsMabFileFolderProtectedItem() (*MabFileFolderProtectedItem, bool)
- func (aspi AzureSQLProtectedItem) MarshalJSON() ([]byte, error)
- type AzureSQLProtectedItemExtendedInfo
- type AzureSQLProtectionPolicy
- func (aspp AzureSQLProtectionPolicy) AsAzureIaaSVMProtectionPolicy() (*AzureIaaSVMProtectionPolicy, bool)
- func (aspp AzureSQLProtectionPolicy) AsAzureSQLProtectionPolicy() (*AzureSQLProtectionPolicy, bool)
- func (aspp AzureSQLProtectionPolicy) AsMabProtectionPolicy() (*MabProtectionPolicy, bool)
- func (aspp AzureSQLProtectionPolicy) MarshalJSON() ([]byte, error)
- func (aspp *AzureSQLProtectionPolicy) UnmarshalJSON(body []byte) error
- type BEKDetails
- type BMSBackupEngineQueryObject
- type BMSBackupEnginesQueryObject
- type BMSBackupSummariesQueryObject
- type BMSContainerQueryObject
- type BMSPOQueryObject
- type BMSRPQueryObject
- type BackupEngineBase
- type BackupEngineBaseResource
- type BackupEngineBaseResourceList
- type BackupEngineExtendedInfo
- type BackupEngineType
- type BackupEnginesClient
- func (client BackupEnginesClient) Get(vaultName string, resourceGroupName string, backupEngineName string, ...) (result BackupEngineBaseResource, err error)
- func (client BackupEnginesClient) GetPreparer(vaultName string, resourceGroupName string, backupEngineName string, ...) (*http.Request, error)
- func (client BackupEnginesClient) GetResponder(resp *http.Response) (result BackupEngineBaseResource, err error)
- func (client BackupEnginesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client BackupEnginesClient) List(vaultName string, resourceGroupName string, filter string, skipToken string) (result BackupEngineBaseResourceList, err error)
- func (client BackupEnginesClient) ListComplete(vaultName string, resourceGroupName string, filter string, skipToken string, ...) (<-chan BackupEngineBaseResource, <-chan error)
- func (client BackupEnginesClient) ListNextResults(lastResults BackupEngineBaseResourceList) (result BackupEngineBaseResourceList, err error)
- func (client BackupEnginesClient) ListPreparer(vaultName string, resourceGroupName string, filter string, skipToken string) (*http.Request, error)
- func (client BackupEnginesClient) ListResponder(resp *http.Response) (result BackupEngineBaseResourceList, err error)
- func (client BackupEnginesClient) ListSender(req *http.Request) (*http.Response, error)
- type BackupItemType
- type BackupJobsClient
- func (client BackupJobsClient) List(vaultName string, resourceGroupName string, filter string, skipToken string) (result JobResourceList, err error)
- func (client BackupJobsClient) ListComplete(vaultName string, resourceGroupName string, filter string, skipToken string, ...) (<-chan JobResource, <-chan error)
- func (client BackupJobsClient) ListNextResults(lastResults JobResourceList) (result JobResourceList, err error)
- func (client BackupJobsClient) ListPreparer(vaultName string, resourceGroupName string, filter string, skipToken string) (*http.Request, error)
- func (client BackupJobsClient) ListResponder(resp *http.Response) (result JobResourceList, err error)
- func (client BackupJobsClient) ListSender(req *http.Request) (*http.Response, error)
- type BackupManagementType
- type BackupManagementUsage
- type BackupManagementUsageList
- type BackupOperationResultsClient
- func (client BackupOperationResultsClient) Get(vaultName string, resourceGroupName string, operationID string) (result autorest.Response, err error)
- func (client BackupOperationResultsClient) GetPreparer(vaultName string, resourceGroupName string, operationID string) (*http.Request, error)
- func (client BackupOperationResultsClient) GetResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BackupOperationResultsClient) GetSender(req *http.Request) (*http.Response, error)
- type BackupOperationStatusesClient
- func (client BackupOperationStatusesClient) Get(vaultName string, resourceGroupName string, operationID string) (result OperationStatus, err error)
- func (client BackupOperationStatusesClient) GetPreparer(vaultName string, resourceGroupName string, operationID string) (*http.Request, error)
- func (client BackupOperationStatusesClient) GetResponder(resp *http.Response) (result OperationStatus, err error)
- func (client BackupOperationStatusesClient) GetSender(req *http.Request) (*http.Response, error)
- type BackupPoliciesClient
- func (client BackupPoliciesClient) List(vaultName string, resourceGroupName string, filter string) (result ProtectionPolicyResourceList, err error)
- func (client BackupPoliciesClient) ListComplete(vaultName string, resourceGroupName string, filter string, ...) (<-chan ProtectionPolicyResource, <-chan error)
- func (client BackupPoliciesClient) ListNextResults(lastResults ProtectionPolicyResourceList) (result ProtectionPolicyResourceList, err error)
- func (client BackupPoliciesClient) ListPreparer(vaultName string, resourceGroupName string, filter string) (*http.Request, error)
- func (client BackupPoliciesClient) ListResponder(resp *http.Response) (result ProtectionPolicyResourceList, err error)
- func (client BackupPoliciesClient) ListSender(req *http.Request) (*http.Response, error)
- type BackupProtectableItemsClient
- func (client BackupProtectableItemsClient) List(vaultName string, resourceGroupName string, filter string, skipToken string) (result WorkloadProtectableItemResourceList, err error)
- func (client BackupProtectableItemsClient) ListComplete(vaultName string, resourceGroupName string, filter string, skipToken string, ...) (<-chan WorkloadProtectableItemResource, <-chan error)
- func (client BackupProtectableItemsClient) ListNextResults(lastResults WorkloadProtectableItemResourceList) (result WorkloadProtectableItemResourceList, err error)
- func (client BackupProtectableItemsClient) ListPreparer(vaultName string, resourceGroupName string, filter string, skipToken string) (*http.Request, error)
- func (client BackupProtectableItemsClient) ListResponder(resp *http.Response) (result WorkloadProtectableItemResourceList, err error)
- func (client BackupProtectableItemsClient) ListSender(req *http.Request) (*http.Response, error)
- type BackupProtectedItemsClient
- func (client BackupProtectedItemsClient) List(vaultName string, resourceGroupName string, filter string, skipToken string) (result ProtectedItemResourceList, err error)
- func (client BackupProtectedItemsClient) ListComplete(vaultName string, resourceGroupName string, filter string, skipToken string, ...) (<-chan ProtectedItemResource, <-chan error)
- func (client BackupProtectedItemsClient) ListNextResults(lastResults ProtectedItemResourceList) (result ProtectedItemResourceList, err error)
- func (client BackupProtectedItemsClient) ListPreparer(vaultName string, resourceGroupName string, filter string, skipToken string) (*http.Request, error)
- func (client BackupProtectedItemsClient) ListResponder(resp *http.Response) (result ProtectedItemResourceList, err error)
- func (client BackupProtectedItemsClient) ListSender(req *http.Request) (*http.Response, error)
- type BackupProtectionContainersClient
- func (client BackupProtectionContainersClient) List(vaultName string, resourceGroupName string, filter string) (result ProtectionContainerResourceList, err error)
- func (client BackupProtectionContainersClient) ListComplete(vaultName string, resourceGroupName string, filter string, ...) (<-chan ProtectionContainerResource, <-chan error)
- func (client BackupProtectionContainersClient) ListNextResults(lastResults ProtectionContainerResourceList) (result ProtectionContainerResourceList, err error)
- func (client BackupProtectionContainersClient) ListPreparer(vaultName string, resourceGroupName string, filter string) (*http.Request, error)
- func (client BackupProtectionContainersClient) ListResponder(resp *http.Response) (result ProtectionContainerResourceList, err error)
- func (client BackupProtectionContainersClient) ListSender(req *http.Request) (*http.Response, error)
- type BackupRequest
- type BackupRequestResource
- type BackupResourceConfig
- type BackupResourceConfigResource
- type BackupResourceStorageConfigsClient
- func (client BackupResourceStorageConfigsClient) Get(vaultName string, resourceGroupName string) (result BackupResourceConfigResource, err error)
- func (client BackupResourceStorageConfigsClient) GetPreparer(vaultName string, resourceGroupName string) (*http.Request, error)
- func (client BackupResourceStorageConfigsClient) GetResponder(resp *http.Response) (result BackupResourceConfigResource, err error)
- func (client BackupResourceStorageConfigsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client BackupResourceStorageConfigsClient) Update(vaultName string, resourceGroupName string) (result autorest.Response, err error)
- func (client BackupResourceStorageConfigsClient) UpdatePreparer(vaultName string, resourceGroupName string) (*http.Request, error)
- func (client BackupResourceStorageConfigsClient) UpdateResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BackupResourceStorageConfigsClient) UpdateSender(req *http.Request) (*http.Response, error)
- type BackupResourceVaultConfig
- type BackupResourceVaultConfigResource
- type BackupResourceVaultConfigsClient
- func (client BackupResourceVaultConfigsClient) Get(vaultName string, resourceGroupName string) (result BackupResourceVaultConfigResource, err error)
- func (client BackupResourceVaultConfigsClient) GetPreparer(vaultName string, resourceGroupName string) (*http.Request, error)
- func (client BackupResourceVaultConfigsClient) GetResponder(resp *http.Response) (result BackupResourceVaultConfigResource, err error)
- func (client BackupResourceVaultConfigsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client BackupResourceVaultConfigsClient) Update(vaultName string, resourceGroupName string, ...) (result BackupResourceVaultConfigResource, err error)
- func (client BackupResourceVaultConfigsClient) UpdatePreparer(vaultName string, resourceGroupName string, ...) (*http.Request, error)
- func (client BackupResourceVaultConfigsClient) UpdateResponder(resp *http.Response) (result BackupResourceVaultConfigResource, err error)
- func (client BackupResourceVaultConfigsClient) UpdateSender(req *http.Request) (*http.Response, error)
- type BackupUsageSummariesClient
- func (client BackupUsageSummariesClient) List(vaultName string, resourceGroupName string, filter string, skipToken string) (result BackupManagementUsageList, err error)
- func (client BackupUsageSummariesClient) ListPreparer(vaultName string, resourceGroupName string, filter string, skipToken string) (*http.Request, error)
- func (client BackupUsageSummariesClient) ListResponder(resp *http.Response) (result BackupManagementUsageList, err error)
- func (client BackupUsageSummariesClient) ListSender(req *http.Request) (*http.Response, error)
- type BackupsClient
- func (client BackupsClient) Trigger(vaultName string, resourceGroupName string, fabricName string, ...) (result autorest.Response, err error)
- func (client BackupsClient) TriggerPreparer(vaultName string, resourceGroupName string, fabricName string, ...) (*http.Request, error)
- func (client BackupsClient) TriggerResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BackupsClient) TriggerSender(req *http.Request) (*http.Response, error)
- type ClientDiscoveryDisplay
- type ClientDiscoveryForLogSpecification
- type ClientDiscoveryForProperties
- type ClientDiscoveryForServiceSpecification
- type ClientDiscoveryResponse
- type ClientDiscoveryValueForSingleAPI
- type ClientScriptForConnect
- type ContainerType
- type DPMContainerExtendedInfo
- type DPMProtectedItem
- func (dpi DPMProtectedItem) AsAzureIaaSClassicComputeVMProtectedItem() (*AzureIaaSClassicComputeVMProtectedItem, bool)
- func (dpi DPMProtectedItem) AsAzureIaaSComputeVMProtectedItem() (*AzureIaaSComputeVMProtectedItem, bool)
- func (dpi DPMProtectedItem) AsAzureIaaSVMProtectedItem() (*AzureIaaSVMProtectedItem, bool)
- func (dpi DPMProtectedItem) AsAzureSQLProtectedItem() (*AzureSQLProtectedItem, bool)
- func (dpi DPMProtectedItem) AsDPMProtectedItem() (*DPMProtectedItem, bool)
- func (dpi DPMProtectedItem) AsMabFileFolderProtectedItem() (*MabFileFolderProtectedItem, bool)
- func (dpi DPMProtectedItem) MarshalJSON() ([]byte, error)
- type DPMProtectedItemExtendedInfo
- type DailyRetentionFormat
- type DailyRetentionSchedule
- type DataSourceType
- type Day
- type DayOfWeek
- type DpmBackupEngine
- type DpmContainer
- func (dc DpmContainer) AsAzureBackupServerContainer() (*AzureBackupServerContainer, bool)
- func (dc DpmContainer) AsAzureIaaSClassicComputeVMContainer() (*AzureIaaSClassicComputeVMContainer, bool)
- func (dc DpmContainer) AsAzureIaaSComputeVMContainer() (*AzureIaaSComputeVMContainer, bool)
- func (dc DpmContainer) AsAzureSQLContainer() (*AzureSQLContainer, bool)
- func (dc DpmContainer) AsDpmContainer() (*DpmContainer, bool)
- func (dc DpmContainer) AsIaaSVMContainer() (*IaaSVMContainer, bool)
- func (dc DpmContainer) AsMabContainer() (*MabContainer, bool)
- func (dc DpmContainer) MarshalJSON() ([]byte, error)
- type DpmErrorInfo
- type DpmJob
- type DpmJobExtendedInfo
- type DpmJobTaskDetails
- type EncryptionDetails
- type EnhancedSecurityState
- type ExportJobsOperationResultInfo
- type ExportJobsOperationResultsClient
- func (client ExportJobsOperationResultsClient) Get(vaultName string, resourceGroupName string, operationID string) (result OperationResultInfoBaseResource, err error)
- func (client ExportJobsOperationResultsClient) GetPreparer(vaultName string, resourceGroupName string, operationID string) (*http.Request, error)
- func (client ExportJobsOperationResultsClient) GetResponder(resp *http.Response) (result OperationResultInfoBaseResource, err error)
- func (client ExportJobsOperationResultsClient) GetSender(req *http.Request) (*http.Response, error)
- type GenericRecoveryPoint
- type GetProtectedItemQueryObject
- type HTTPStatusCode
- type HealthState
- type HealthStatus
- type ILRRequest
- type ILRRequestResource
- type IaaSVMContainer
- func (isc IaaSVMContainer) AsAzureBackupServerContainer() (*AzureBackupServerContainer, bool)
- func (isc IaaSVMContainer) AsAzureIaaSClassicComputeVMContainer() (*AzureIaaSClassicComputeVMContainer, bool)
- func (isc IaaSVMContainer) AsAzureIaaSComputeVMContainer() (*AzureIaaSComputeVMContainer, bool)
- func (isc IaaSVMContainer) AsAzureSQLContainer() (*AzureSQLContainer, bool)
- func (isc IaaSVMContainer) AsDpmContainer() (*DpmContainer, bool)
- func (isc IaaSVMContainer) AsIaaSVMContainer() (*IaaSVMContainer, bool)
- func (isc IaaSVMContainer) AsMabContainer() (*MabContainer, bool)
- func (isc IaaSVMContainer) MarshalJSON() ([]byte, error)
- type IaaSVMProtectableItem
- func (ispi IaaSVMProtectableItem) AsAzureIaaSClassicComputeVMProtectableItem() (*AzureIaaSClassicComputeVMProtectableItem, bool)
- func (ispi IaaSVMProtectableItem) AsAzureIaaSComputeVMProtectableItem() (*AzureIaaSComputeVMProtectableItem, bool)
- func (ispi IaaSVMProtectableItem) AsIaaSVMProtectableItem() (*IaaSVMProtectableItem, bool)
- func (ispi IaaSVMProtectableItem) MarshalJSON() ([]byte, error)
- type IaasVMBackupRequest
- type IaasVMILRRegistrationRequest
- type IaasVMRecoveryPoint
- type IaasVMRestoreRequest
- type InstantItemRecoveryTarget
- type ItemLevelRecoveryConnectionsClient
- func (client ItemLevelRecoveryConnectionsClient) Provision(vaultName string, resourceGroupName string, fabricName string, ...) (result autorest.Response, err error)
- func (client ItemLevelRecoveryConnectionsClient) ProvisionPreparer(vaultName string, resourceGroupName string, fabricName string, ...) (*http.Request, error)
- func (client ItemLevelRecoveryConnectionsClient) ProvisionResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ItemLevelRecoveryConnectionsClient) ProvisionSender(req *http.Request) (*http.Response, error)
- func (client ItemLevelRecoveryConnectionsClient) Revoke(vaultName string, resourceGroupName string, fabricName string, ...) (result autorest.Response, err error)
- func (client ItemLevelRecoveryConnectionsClient) RevokePreparer(vaultName string, resourceGroupName string, fabricName string, ...) (*http.Request, error)
- func (client ItemLevelRecoveryConnectionsClient) RevokeResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ItemLevelRecoveryConnectionsClient) RevokeSender(req *http.Request) (*http.Response, error)
- type Job
- type JobCancellationsClient
- func (client JobCancellationsClient) Trigger(vaultName string, resourceGroupName string, jobName string) (result autorest.Response, err error)
- func (client JobCancellationsClient) TriggerPreparer(vaultName string, resourceGroupName string, jobName string) (*http.Request, error)
- func (client JobCancellationsClient) TriggerResponder(resp *http.Response) (result autorest.Response, err error)
- func (client JobCancellationsClient) TriggerSender(req *http.Request) (*http.Response, error)
- type JobDetailsClient
- func (client JobDetailsClient) Get(vaultName string, resourceGroupName string, jobName string) (result JobResource, err error)
- func (client JobDetailsClient) GetPreparer(vaultName string, resourceGroupName string, jobName string) (*http.Request, error)
- func (client JobDetailsClient) GetResponder(resp *http.Response) (result JobResource, err error)
- func (client JobDetailsClient) GetSender(req *http.Request) (*http.Response, error)
- type JobOperationResultsClient
- func (client JobOperationResultsClient) Get(vaultName string, resourceGroupName string, jobName string, operationID string) (result autorest.Response, err error)
- func (client JobOperationResultsClient) GetPreparer(vaultName string, resourceGroupName string, jobName string, operationID string) (*http.Request, error)
- func (client JobOperationResultsClient) GetResponder(resp *http.Response) (result autorest.Response, err error)
- func (client JobOperationResultsClient) GetSender(req *http.Request) (*http.Response, error)
- type JobOperationType
- type JobQueryObject
- type JobResource
- type JobResourceList
- type JobStatus
- type JobSupportedAction
- type JobType
- type JobsClient
- func (client JobsClient) Export(vaultName string, resourceGroupName string, filter string) (result autorest.Response, err error)
- func (client JobsClient) ExportPreparer(vaultName string, resourceGroupName string, filter string) (*http.Request, error)
- func (client JobsClient) ExportResponder(resp *http.Response) (result autorest.Response, err error)
- func (client JobsClient) ExportSender(req *http.Request) (*http.Response, error)
- type KEKDetails
- type KeyAndSecretDetails
- type LongTermRetentionPolicy
- type LongTermSchedulePolicy
- type MabContainer
- func (mc MabContainer) AsAzureBackupServerContainer() (*AzureBackupServerContainer, bool)
- func (mc MabContainer) AsAzureIaaSClassicComputeVMContainer() (*AzureIaaSClassicComputeVMContainer, bool)
- func (mc MabContainer) AsAzureIaaSComputeVMContainer() (*AzureIaaSComputeVMContainer, bool)
- func (mc MabContainer) AsAzureSQLContainer() (*AzureSQLContainer, bool)
- func (mc MabContainer) AsDpmContainer() (*DpmContainer, bool)
- func (mc MabContainer) AsIaaSVMContainer() (*IaaSVMContainer, bool)
- func (mc MabContainer) AsMabContainer() (*MabContainer, bool)
- func (mc MabContainer) MarshalJSON() ([]byte, error)
- type MabContainerExtendedInfo
- type MabErrorInfo
- type MabFileFolderProtectedItem
- func (mffpi MabFileFolderProtectedItem) AsAzureIaaSClassicComputeVMProtectedItem() (*AzureIaaSClassicComputeVMProtectedItem, bool)
- func (mffpi MabFileFolderProtectedItem) AsAzureIaaSComputeVMProtectedItem() (*AzureIaaSComputeVMProtectedItem, bool)
- func (mffpi MabFileFolderProtectedItem) AsAzureIaaSVMProtectedItem() (*AzureIaaSVMProtectedItem, bool)
- func (mffpi MabFileFolderProtectedItem) AsAzureSQLProtectedItem() (*AzureSQLProtectedItem, bool)
- func (mffpi MabFileFolderProtectedItem) AsDPMProtectedItem() (*DPMProtectedItem, bool)
- func (mffpi MabFileFolderProtectedItem) AsMabFileFolderProtectedItem() (*MabFileFolderProtectedItem, bool)
- func (mffpi MabFileFolderProtectedItem) MarshalJSON() ([]byte, error)
- type MabFileFolderProtectedItemExtendedInfo
- type MabJob
- type MabJobExtendedInfo
- type MabJobTaskDetails
- type MabProtectionPolicy
- func (mpp MabProtectionPolicy) AsAzureIaaSVMProtectionPolicy() (*AzureIaaSVMProtectionPolicy, bool)
- func (mpp MabProtectionPolicy) AsAzureSQLProtectionPolicy() (*AzureSQLProtectionPolicy, bool)
- func (mpp MabProtectionPolicy) AsMabProtectionPolicy() (*MabProtectionPolicy, bool)
- func (mpp MabProtectionPolicy) MarshalJSON() ([]byte, error)
- func (mpp *MabProtectionPolicy) UnmarshalJSON(body []byte) error
- type MabServerType
- type ManagementClient
- type MonthOfYear
- type MonthlyRetentionSchedule
- type NameInfo
- type ObjectType
- type ObjectTypeILRRequest
- type ObjectTypeOperationResultInfoBase
- type ObjectTypeOperationStatusExtendedInfo
- type ObjectTypeRecoveryPoint
- type ObjectTypeRestoreRequest
- type OperationResultInfo
- type OperationResultInfoBase
- type OperationResultInfoBaseResource
- type OperationStatus
- type OperationStatusError
- type OperationStatusExtendedInfo
- type OperationStatusJobExtendedInfo
- func (osjei OperationStatusJobExtendedInfo) AsOperationStatusJobExtendedInfo() (*OperationStatusJobExtendedInfo, bool)
- func (osjei OperationStatusJobExtendedInfo) AsOperationStatusJobsExtendedInfo() (*OperationStatusJobsExtendedInfo, bool)
- func (osjei OperationStatusJobExtendedInfo) AsOperationStatusProvisionILRExtendedInfo() (*OperationStatusProvisionILRExtendedInfo, bool)
- func (osjei OperationStatusJobExtendedInfo) MarshalJSON() ([]byte, error)
- type OperationStatusJobsExtendedInfo
- func (osjei OperationStatusJobsExtendedInfo) AsOperationStatusJobExtendedInfo() (*OperationStatusJobExtendedInfo, bool)
- func (osjei OperationStatusJobsExtendedInfo) AsOperationStatusJobsExtendedInfo() (*OperationStatusJobsExtendedInfo, bool)
- func (osjei OperationStatusJobsExtendedInfo) AsOperationStatusProvisionILRExtendedInfo() (*OperationStatusProvisionILRExtendedInfo, bool)
- func (osjei OperationStatusJobsExtendedInfo) MarshalJSON() ([]byte, error)
- type OperationStatusProvisionILRExtendedInfo
- func (ospiei OperationStatusProvisionILRExtendedInfo) AsOperationStatusJobExtendedInfo() (*OperationStatusJobExtendedInfo, bool)
- func (ospiei OperationStatusProvisionILRExtendedInfo) AsOperationStatusJobsExtendedInfo() (*OperationStatusJobsExtendedInfo, bool)
- func (ospiei OperationStatusProvisionILRExtendedInfo) AsOperationStatusProvisionILRExtendedInfo() (*OperationStatusProvisionILRExtendedInfo, bool)
- func (ospiei OperationStatusProvisionILRExtendedInfo) MarshalJSON() ([]byte, error)
- type OperationStatusValues
- type OperationWorkerResponse
- type OperationsClient
- func (client OperationsClient) List() (result ClientDiscoveryResponse, err error)
- func (client OperationsClient) ListComplete(cancel <-chan struct{}) (<-chan ClientDiscoveryValueForSingleAPI, <-chan error)
- func (client OperationsClient) ListNextResults(lastResults ClientDiscoveryResponse) (result ClientDiscoveryResponse, err error)
- func (client OperationsClient) ListPreparer() (*http.Request, error)
- func (client OperationsClient) ListResponder(resp *http.Response) (result ClientDiscoveryResponse, err error)
- func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)
- type ProtectableItemType
- type ProtectableObjectType
- type ProtectedItem
- type ProtectedItemOperationResultsClient
- func (client ProtectedItemOperationResultsClient) Get(vaultName string, resourceGroupName string, fabricName string, ...) (result ProtectedItemResource, err error)
- func (client ProtectedItemOperationResultsClient) GetPreparer(vaultName string, resourceGroupName string, fabricName string, ...) (*http.Request, error)
- func (client ProtectedItemOperationResultsClient) GetResponder(resp *http.Response) (result ProtectedItemResource, err error)
- func (client ProtectedItemOperationResultsClient) GetSender(req *http.Request) (*http.Response, error)
- type ProtectedItemOperationStatusesClient
- func (client ProtectedItemOperationStatusesClient) Get(vaultName string, resourceGroupName string, fabricName string, ...) (result OperationStatus, err error)
- func (client ProtectedItemOperationStatusesClient) GetPreparer(vaultName string, resourceGroupName string, fabricName string, ...) (*http.Request, error)
- func (client ProtectedItemOperationStatusesClient) GetResponder(resp *http.Response) (result OperationStatus, err error)
- func (client ProtectedItemOperationStatusesClient) GetSender(req *http.Request) (*http.Response, error)
- type ProtectedItemQueryObject
- type ProtectedItemResource
- type ProtectedItemResourceList
- type ProtectedItemState
- type ProtectedItemType
- type ProtectedItemsClient
- func (client ProtectedItemsClient) CreateOrUpdate(vaultName string, resourceGroupName string, fabricName string, ...) (result autorest.Response, err error)
- func (client ProtectedItemsClient) CreateOrUpdatePreparer(vaultName string, resourceGroupName string, fabricName string, ...) (*http.Request, error)
- func (client ProtectedItemsClient) CreateOrUpdateResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ProtectedItemsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client ProtectedItemsClient) Delete(vaultName string, resourceGroupName string, fabricName string, ...) (result autorest.Response, err error)
- func (client ProtectedItemsClient) DeletePreparer(vaultName string, resourceGroupName string, fabricName string, ...) (*http.Request, error)
- func (client ProtectedItemsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ProtectedItemsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client ProtectedItemsClient) Get(vaultName string, resourceGroupName string, fabricName string, ...) (result ProtectedItemResource, err error)
- func (client ProtectedItemsClient) GetPreparer(vaultName string, resourceGroupName string, fabricName string, ...) (*http.Request, error)
- func (client ProtectedItemsClient) GetResponder(resp *http.Response) (result ProtectedItemResource, err error)
- func (client ProtectedItemsClient) GetSender(req *http.Request) (*http.Response, error)
- type ProtectionContainer
- type ProtectionContainerOperationResultsClient
- func (client ProtectionContainerOperationResultsClient) Get(vaultName string, resourceGroupName string, fabricName string, ...) (result ProtectionContainerResource, err error)
- func (client ProtectionContainerOperationResultsClient) GetPreparer(vaultName string, resourceGroupName string, fabricName string, ...) (*http.Request, error)
- func (client ProtectionContainerOperationResultsClient) GetResponder(resp *http.Response) (result ProtectionContainerResource, err error)
- func (client ProtectionContainerOperationResultsClient) GetSender(req *http.Request) (*http.Response, error)
- type ProtectionContainerRefreshOperationResultsClient
- func (client ProtectionContainerRefreshOperationResultsClient) Get(vaultName string, resourceGroupName string, fabricName string, ...) (result autorest.Response, err error)
- func (client ProtectionContainerRefreshOperationResultsClient) GetPreparer(vaultName string, resourceGroupName string, fabricName string, ...) (*http.Request, error)
- func (client ProtectionContainerRefreshOperationResultsClient) GetResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ProtectionContainerRefreshOperationResultsClient) GetSender(req *http.Request) (*http.Response, error)
- type ProtectionContainerResource
- type ProtectionContainerResourceList
- type ProtectionContainersClient
- func (client ProtectionContainersClient) Get(vaultName string, resourceGroupName string, fabricName string, ...) (result ProtectionContainerResource, err error)
- func (client ProtectionContainersClient) GetPreparer(vaultName string, resourceGroupName string, fabricName string, ...) (*http.Request, error)
- func (client ProtectionContainersClient) GetResponder(resp *http.Response) (result ProtectionContainerResource, err error)
- func (client ProtectionContainersClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ProtectionContainersClient) Refresh(vaultName string, resourceGroupName string, fabricName string) (result autorest.Response, err error)
- func (client ProtectionContainersClient) RefreshPreparer(vaultName string, resourceGroupName string, fabricName string) (*http.Request, error)
- func (client ProtectionContainersClient) RefreshResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ProtectionContainersClient) RefreshSender(req *http.Request) (*http.Response, error)
- type ProtectionPoliciesClient
- func (client ProtectionPoliciesClient) CreateOrUpdate(vaultName string, resourceGroupName string, policyName string, ...) (result ProtectionPolicyResource, err error)
- func (client ProtectionPoliciesClient) CreateOrUpdatePreparer(vaultName string, resourceGroupName string, policyName string, ...) (*http.Request, error)
- func (client ProtectionPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result ProtectionPolicyResource, err error)
- func (client ProtectionPoliciesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client ProtectionPoliciesClient) Delete(vaultName string, resourceGroupName string, policyName string) (result autorest.Response, err error)
- func (client ProtectionPoliciesClient) DeletePreparer(vaultName string, resourceGroupName string, policyName string) (*http.Request, error)
- func (client ProtectionPoliciesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ProtectionPoliciesClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client ProtectionPoliciesClient) Get(vaultName string, resourceGroupName string, policyName string) (result ProtectionPolicyResource, err error)
- func (client ProtectionPoliciesClient) GetPreparer(vaultName string, resourceGroupName string, policyName string) (*http.Request, error)
- func (client ProtectionPoliciesClient) GetResponder(resp *http.Response) (result ProtectionPolicyResource, err error)
- func (client ProtectionPoliciesClient) GetSender(req *http.Request) (*http.Response, error)
- type ProtectionPolicy
- type ProtectionPolicyOperationResultsClient
- func (client ProtectionPolicyOperationResultsClient) Get(vaultName string, resourceGroupName string, policyName string, ...) (result ProtectionPolicyResource, err error)
- func (client ProtectionPolicyOperationResultsClient) GetPreparer(vaultName string, resourceGroupName string, policyName string, ...) (*http.Request, error)
- func (client ProtectionPolicyOperationResultsClient) GetResponder(resp *http.Response) (result ProtectionPolicyResource, err error)
- func (client ProtectionPolicyOperationResultsClient) GetSender(req *http.Request) (*http.Response, error)
- type ProtectionPolicyOperationStatusesClient
- func (client ProtectionPolicyOperationStatusesClient) Get(vaultName string, resourceGroupName string, policyName string, ...) (result OperationStatus, err error)
- func (client ProtectionPolicyOperationStatusesClient) GetPreparer(vaultName string, resourceGroupName string, policyName string, ...) (*http.Request, error)
- func (client ProtectionPolicyOperationStatusesClient) GetResponder(resp *http.Response) (result OperationStatus, err error)
- func (client ProtectionPolicyOperationStatusesClient) GetSender(req *http.Request) (*http.Response, error)
- type ProtectionPolicyQueryObject
- type ProtectionPolicyResource
- type ProtectionPolicyResourceList
- type ProtectionState
- type ProtectionStatus
- type RecoveryPoint
- type RecoveryPointResource
- type RecoveryPointResourceList
- type RecoveryPointTierInformation
- type RecoveryPointTierStatus
- type RecoveryPointTierType
- type RecoveryPointsClient
- func (client RecoveryPointsClient) Get(vaultName string, resourceGroupName string, fabricName string, ...) (result RecoveryPointResource, err error)
- func (client RecoveryPointsClient) GetPreparer(vaultName string, resourceGroupName string, fabricName string, ...) (*http.Request, error)
- func (client RecoveryPointsClient) GetResponder(resp *http.Response) (result RecoveryPointResource, err error)
- func (client RecoveryPointsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client RecoveryPointsClient) List(vaultName string, resourceGroupName string, fabricName string, ...) (result RecoveryPointResourceList, err error)
- func (client RecoveryPointsClient) ListComplete(vaultName string, resourceGroupName string, fabricName string, ...) (<-chan RecoveryPointResource, <-chan error)
- func (client RecoveryPointsClient) ListNextResults(lastResults RecoveryPointResourceList) (result RecoveryPointResourceList, err error)
- func (client RecoveryPointsClient) ListPreparer(vaultName string, resourceGroupName string, fabricName string, ...) (*http.Request, error)
- func (client RecoveryPointsClient) ListResponder(resp *http.Response) (result RecoveryPointResourceList, err error)
- func (client RecoveryPointsClient) ListSender(req *http.Request) (*http.Response, error)
- type RecoveryType
- type Resource
- type ResourceList
- type RestoreRequest
- type RestoreRequestResource
- type RestoresClient
- func (client RestoresClient) Trigger(vaultName string, resourceGroupName string, fabricName string, ...) (result autorest.Response, err error)
- func (client RestoresClient) TriggerPreparer(vaultName string, resourceGroupName string, fabricName string, ...) (*http.Request, error)
- func (client RestoresClient) TriggerResponder(resp *http.Response) (result autorest.Response, err error)
- func (client RestoresClient) TriggerSender(req *http.Request) (*http.Response, error)
- type RetentionDuration
- type RetentionDurationType
- type RetentionPolicy
- type RetentionPolicyType
- type RetentionScheduleFormat
- type SchedulePolicy
- type SchedulePolicyType
- type ScheduleRunType
- type SecurityPINsClient
- func (client SecurityPINsClient) Get(vaultName string, resourceGroupName string) (result TokenInformation, err error)
- func (client SecurityPINsClient) GetPreparer(vaultName string, resourceGroupName string) (*http.Request, error)
- func (client SecurityPINsClient) GetResponder(resp *http.Response) (result TokenInformation, err error)
- func (client SecurityPINsClient) GetSender(req *http.Request) (*http.Response, error)
- type SimpleRetentionPolicy
- type SimpleSchedulePolicy
- type StorageType
- type StorageTypeState
- type TokenInformation
- type Type
- type UsagesUnit
- type WeekOfMonth
- type WeeklyRetentionFormat
- type WeeklyRetentionSchedule
- type WorkloadProtectableItem
- type WorkloadProtectableItemResource
- type WorkloadProtectableItemResourceList
- type WorkloadType
- type YearlyRetentionSchedule
Constants ¶
const (
// DefaultBaseURI is the default URI used for the service Recoveryservicesbackup
DefaultBaseURI = "https://management.azure.com"
)
Variables ¶
This section is empty.
Functions ¶
func UserAgent ¶
func UserAgent() string
UserAgent returns the UserAgent string to use when sending http.Requests.
func Version ¶
func Version() string
Version returns the semantic version (see http://semver.org) of the client.
Types ¶
type AzureBackupServerContainer ¶
type AzureBackupServerContainer struct { FriendlyName *string `json:"friendlyName,omitempty"` BackupManagementType BackupManagementType `json:"backupManagementType,omitempty"` RegistrationStatus *string `json:"registrationStatus,omitempty"` HealthStatus *string `json:"healthStatus,omitempty"` ContainerType ContainerType `json:"containerType,omitempty"` ProtectableObjectType ProtectableObjectType `json:"protectableObjectType,omitempty"` CanReRegister *bool `json:"canReRegister,omitempty"` ContainerID *string `json:"containerId,omitempty"` ProtectedItemCount *int64 `json:"protectedItemCount,omitempty"` DpmAgentVersion *string `json:"dpmAgentVersion,omitempty"` DPMServers *[]string `json:"DPMServers,omitempty"` UpgradeAvailable *bool `json:"UpgradeAvailable,omitempty"` ProtectionStatus *string `json:"protectionStatus,omitempty"` ExtendedInfo *DPMContainerExtendedInfo `json:"extendedInfo,omitempty"` }
AzureBackupServerContainer is azureBackupServer (DPMVenus) workload-specific protection container.
func (AzureBackupServerContainer) AsAzureBackupServerContainer ¶
func (absc AzureBackupServerContainer) AsAzureBackupServerContainer() (*AzureBackupServerContainer, bool)
AsAzureBackupServerContainer is the ProtectionContainer implementation for AzureBackupServerContainer.
func (AzureBackupServerContainer) AsAzureIaaSClassicComputeVMContainer ¶
func (absc AzureBackupServerContainer) AsAzureIaaSClassicComputeVMContainer() (*AzureIaaSClassicComputeVMContainer, bool)
AsAzureIaaSClassicComputeVMContainer is the ProtectionContainer implementation for AzureBackupServerContainer.
func (AzureBackupServerContainer) AsAzureIaaSComputeVMContainer ¶
func (absc AzureBackupServerContainer) AsAzureIaaSComputeVMContainer() (*AzureIaaSComputeVMContainer, bool)
AsAzureIaaSComputeVMContainer is the ProtectionContainer implementation for AzureBackupServerContainer.
func (AzureBackupServerContainer) AsAzureSQLContainer ¶
func (absc AzureBackupServerContainer) AsAzureSQLContainer() (*AzureSQLContainer, bool)
AsAzureSQLContainer is the ProtectionContainer implementation for AzureBackupServerContainer.
func (AzureBackupServerContainer) AsDpmContainer ¶
func (absc AzureBackupServerContainer) AsDpmContainer() (*DpmContainer, bool)
AsDpmContainer is the ProtectionContainer implementation for AzureBackupServerContainer.
func (AzureBackupServerContainer) AsIaaSVMContainer ¶
func (absc AzureBackupServerContainer) AsIaaSVMContainer() (*IaaSVMContainer, bool)
AsIaaSVMContainer is the ProtectionContainer implementation for AzureBackupServerContainer.
func (AzureBackupServerContainer) AsMabContainer ¶
func (absc AzureBackupServerContainer) AsMabContainer() (*MabContainer, bool)
AsMabContainer is the ProtectionContainer implementation for AzureBackupServerContainer.
func (AzureBackupServerContainer) MarshalJSON ¶
func (absc AzureBackupServerContainer) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AzureBackupServerContainer.
type AzureBackupServerEngine ¶
type AzureBackupServerEngine struct { FriendlyName *string `json:"friendlyName,omitempty"` BackupManagementType BackupManagementType `json:"backupManagementType,omitempty"` RegistrationStatus *string `json:"registrationStatus,omitempty"` BackupEngineState *string `json:"backupEngineState,omitempty"` HealthStatus *string `json:"healthStatus,omitempty"` CanReRegister *bool `json:"canReRegister,omitempty"` BackupEngineID *string `json:"backupEngineId,omitempty"` DpmVersion *string `json:"dpmVersion,omitempty"` AzureBackupAgentVersion *string `json:"azureBackupAgentVersion,omitempty"` IsAzureBackupAgentUpgradeAvailable *bool `json:"isAzureBackupAgentUpgradeAvailable,omitempty"` IsDPMUpgradeAvailable *bool `json:"isDPMUpgradeAvailable,omitempty"` ExtendedInfo *BackupEngineExtendedInfo `json:"extendedInfo,omitempty"` BackupEngineType BackupEngineType `json:"backupEngineType,omitempty"` }
AzureBackupServerEngine is backup engine type when Azure Backup Server is used to manage the backups.
func (AzureBackupServerEngine) AsAzureBackupServerEngine ¶
func (abse AzureBackupServerEngine) AsAzureBackupServerEngine() (*AzureBackupServerEngine, bool)
AsAzureBackupServerEngine is the BackupEngineBase implementation for AzureBackupServerEngine.
func (AzureBackupServerEngine) AsDpmBackupEngine ¶
func (abse AzureBackupServerEngine) AsDpmBackupEngine() (*DpmBackupEngine, bool)
AsDpmBackupEngine is the BackupEngineBase implementation for AzureBackupServerEngine.
func (AzureBackupServerEngine) MarshalJSON ¶
func (abse AzureBackupServerEngine) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AzureBackupServerEngine.
type AzureIaaSClassicComputeVMContainer ¶
type AzureIaaSClassicComputeVMContainer struct { FriendlyName *string `json:"friendlyName,omitempty"` BackupManagementType BackupManagementType `json:"backupManagementType,omitempty"` RegistrationStatus *string `json:"registrationStatus,omitempty"` HealthStatus *string `json:"healthStatus,omitempty"` ContainerType ContainerType `json:"containerType,omitempty"` ProtectableObjectType ProtectableObjectType `json:"protectableObjectType,omitempty"` VirtualMachineID *string `json:"virtualMachineId,omitempty"` VirtualMachineVersion *string `json:"virtualMachineVersion,omitempty"` ResourceGroup *string `json:"resourceGroup,omitempty"` }
AzureIaaSClassicComputeVMContainer is iaaS VM workload-specific backup item representing a classic virtual machine.
func (AzureIaaSClassicComputeVMContainer) AsAzureBackupServerContainer ¶
func (aisccvc AzureIaaSClassicComputeVMContainer) AsAzureBackupServerContainer() (*AzureBackupServerContainer, bool)
AsAzureBackupServerContainer is the IaaSVMContainer implementation for AzureIaaSClassicComputeVMContainer.
func (AzureIaaSClassicComputeVMContainer) AsAzureIaaSClassicComputeVMContainer ¶
func (aisccvc AzureIaaSClassicComputeVMContainer) AsAzureIaaSClassicComputeVMContainer() (*AzureIaaSClassicComputeVMContainer, bool)
AsAzureIaaSClassicComputeVMContainer is the IaaSVMContainer implementation for AzureIaaSClassicComputeVMContainer.
func (AzureIaaSClassicComputeVMContainer) AsAzureIaaSComputeVMContainer ¶
func (aisccvc AzureIaaSClassicComputeVMContainer) AsAzureIaaSComputeVMContainer() (*AzureIaaSComputeVMContainer, bool)
AsAzureIaaSComputeVMContainer is the IaaSVMContainer implementation for AzureIaaSClassicComputeVMContainer.
func (AzureIaaSClassicComputeVMContainer) AsAzureSQLContainer ¶
func (aisccvc AzureIaaSClassicComputeVMContainer) AsAzureSQLContainer() (*AzureSQLContainer, bool)
AsAzureSQLContainer is the IaaSVMContainer implementation for AzureIaaSClassicComputeVMContainer.
func (AzureIaaSClassicComputeVMContainer) AsDpmContainer ¶
func (aisccvc AzureIaaSClassicComputeVMContainer) AsDpmContainer() (*DpmContainer, bool)
AsDpmContainer is the IaaSVMContainer implementation for AzureIaaSClassicComputeVMContainer.
func (AzureIaaSClassicComputeVMContainer) AsIaaSVMContainer ¶
func (aisccvc AzureIaaSClassicComputeVMContainer) AsIaaSVMContainer() (*IaaSVMContainer, bool)
AsIaaSVMContainer is the IaaSVMContainer implementation for AzureIaaSClassicComputeVMContainer.
func (AzureIaaSClassicComputeVMContainer) AsMabContainer ¶
func (aisccvc AzureIaaSClassicComputeVMContainer) AsMabContainer() (*MabContainer, bool)
AsMabContainer is the IaaSVMContainer implementation for AzureIaaSClassicComputeVMContainer.
func (AzureIaaSClassicComputeVMContainer) MarshalJSON ¶
func (aisccvc AzureIaaSClassicComputeVMContainer) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AzureIaaSClassicComputeVMContainer.
type AzureIaaSClassicComputeVMProtectableItem ¶
type AzureIaaSClassicComputeVMProtectableItem struct { BackupManagementType *string `json:"backupManagementType,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` ProtectionState ProtectionStatus `json:"protectionState,omitempty"` ProtectableItemType ProtectableItemType `json:"protectableItemType,omitempty"` VirtualMachineID *string `json:"virtualMachineId,omitempty"` }
AzureIaaSClassicComputeVMProtectableItem is iaaS VM workload-specific backup item representing the Classic Compute VM.
func (AzureIaaSClassicComputeVMProtectableItem) AsAzureIaaSClassicComputeVMProtectableItem ¶
func (aisccvpi AzureIaaSClassicComputeVMProtectableItem) AsAzureIaaSClassicComputeVMProtectableItem() (*AzureIaaSClassicComputeVMProtectableItem, bool)
AsAzureIaaSClassicComputeVMProtectableItem is the IaaSVMProtectableItem implementation for AzureIaaSClassicComputeVMProtectableItem.
func (AzureIaaSClassicComputeVMProtectableItem) AsAzureIaaSComputeVMProtectableItem ¶
func (aisccvpi AzureIaaSClassicComputeVMProtectableItem) AsAzureIaaSComputeVMProtectableItem() (*AzureIaaSComputeVMProtectableItem, bool)
AsAzureIaaSComputeVMProtectableItem is the IaaSVMProtectableItem implementation for AzureIaaSClassicComputeVMProtectableItem.
func (AzureIaaSClassicComputeVMProtectableItem) AsIaaSVMProtectableItem ¶
func (aisccvpi AzureIaaSClassicComputeVMProtectableItem) AsIaaSVMProtectableItem() (*IaaSVMProtectableItem, bool)
AsIaaSVMProtectableItem is the IaaSVMProtectableItem implementation for AzureIaaSClassicComputeVMProtectableItem.
func (AzureIaaSClassicComputeVMProtectableItem) MarshalJSON ¶
func (aisccvpi AzureIaaSClassicComputeVMProtectableItem) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AzureIaaSClassicComputeVMProtectableItem.
type AzureIaaSClassicComputeVMProtectedItem ¶
type AzureIaaSClassicComputeVMProtectedItem struct { BackupManagementType BackupManagementType `json:"backupManagementType,omitempty"` WorkloadType DataSourceType `json:"workloadType,omitempty"` ContainerName *string `json:"containerName,omitempty"` SourceResourceID *string `json:"sourceResourceId,omitempty"` PolicyID *string `json:"policyId,omitempty"` LastRecoveryPoint *date.Time `json:"lastRecoveryPoint,omitempty"` ProtectedItemType ProtectedItemType `json:"protectedItemType,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` VirtualMachineID *string `json:"virtualMachineId,omitempty"` ProtectionStatus *string `json:"protectionStatus,omitempty"` ProtectionState ProtectionState `json:"protectionState,omitempty"` HealthStatus HealthStatus `json:"healthStatus,omitempty"` HealthDetails *[]AzureIaaSVMHealthDetails `json:"healthDetails,omitempty"` LastBackupStatus *string `json:"lastBackupStatus,omitempty"` LastBackupTime *date.Time `json:"lastBackupTime,omitempty"` ProtectedItemDataID *string `json:"protectedItemDataId,omitempty"` ExtendedInfo *AzureIaaSVMProtectedItemExtendedInfo `json:"extendedInfo,omitempty"` }
AzureIaaSClassicComputeVMProtectedItem is iaaS VM workload-specific backup item representing the Classic Compute VM.
func (AzureIaaSClassicComputeVMProtectedItem) AsAzureIaaSClassicComputeVMProtectedItem ¶
func (aisccvpi AzureIaaSClassicComputeVMProtectedItem) AsAzureIaaSClassicComputeVMProtectedItem() (*AzureIaaSClassicComputeVMProtectedItem, bool)
AsAzureIaaSClassicComputeVMProtectedItem is the AzureIaaSVMProtectedItem implementation for AzureIaaSClassicComputeVMProtectedItem.
func (AzureIaaSClassicComputeVMProtectedItem) AsAzureIaaSComputeVMProtectedItem ¶
func (aisccvpi AzureIaaSClassicComputeVMProtectedItem) AsAzureIaaSComputeVMProtectedItem() (*AzureIaaSComputeVMProtectedItem, bool)
AsAzureIaaSComputeVMProtectedItem is the AzureIaaSVMProtectedItem implementation for AzureIaaSClassicComputeVMProtectedItem.
func (AzureIaaSClassicComputeVMProtectedItem) AsAzureIaaSVMProtectedItem ¶
func (aisccvpi AzureIaaSClassicComputeVMProtectedItem) AsAzureIaaSVMProtectedItem() (*AzureIaaSVMProtectedItem, bool)
AsAzureIaaSVMProtectedItem is the AzureIaaSVMProtectedItem implementation for AzureIaaSClassicComputeVMProtectedItem.
func (AzureIaaSClassicComputeVMProtectedItem) AsAzureSQLProtectedItem ¶
func (aisccvpi AzureIaaSClassicComputeVMProtectedItem) AsAzureSQLProtectedItem() (*AzureSQLProtectedItem, bool)
AsAzureSQLProtectedItem is the AzureIaaSVMProtectedItem implementation for AzureIaaSClassicComputeVMProtectedItem.
func (AzureIaaSClassicComputeVMProtectedItem) AsDPMProtectedItem ¶
func (aisccvpi AzureIaaSClassicComputeVMProtectedItem) AsDPMProtectedItem() (*DPMProtectedItem, bool)
AsDPMProtectedItem is the AzureIaaSVMProtectedItem implementation for AzureIaaSClassicComputeVMProtectedItem.
func (AzureIaaSClassicComputeVMProtectedItem) AsMabFileFolderProtectedItem ¶
func (aisccvpi AzureIaaSClassicComputeVMProtectedItem) AsMabFileFolderProtectedItem() (*MabFileFolderProtectedItem, bool)
AsMabFileFolderProtectedItem is the AzureIaaSVMProtectedItem implementation for AzureIaaSClassicComputeVMProtectedItem.
func (AzureIaaSClassicComputeVMProtectedItem) MarshalJSON ¶
func (aisccvpi AzureIaaSClassicComputeVMProtectedItem) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AzureIaaSClassicComputeVMProtectedItem.
type AzureIaaSComputeVMContainer ¶
type AzureIaaSComputeVMContainer struct { FriendlyName *string `json:"friendlyName,omitempty"` BackupManagementType BackupManagementType `json:"backupManagementType,omitempty"` RegistrationStatus *string `json:"registrationStatus,omitempty"` HealthStatus *string `json:"healthStatus,omitempty"` ContainerType ContainerType `json:"containerType,omitempty"` ProtectableObjectType ProtectableObjectType `json:"protectableObjectType,omitempty"` VirtualMachineID *string `json:"virtualMachineId,omitempty"` VirtualMachineVersion *string `json:"virtualMachineVersion,omitempty"` ResourceGroup *string `json:"resourceGroup,omitempty"` }
AzureIaaSComputeVMContainer is iaaS VM workload-specific backup item representing an Azure Resource Manager virtual machine.
func (AzureIaaSComputeVMContainer) AsAzureBackupServerContainer ¶
func (aiscvc AzureIaaSComputeVMContainer) AsAzureBackupServerContainer() (*AzureBackupServerContainer, bool)
AsAzureBackupServerContainer is the IaaSVMContainer implementation for AzureIaaSComputeVMContainer.
func (AzureIaaSComputeVMContainer) AsAzureIaaSClassicComputeVMContainer ¶
func (aiscvc AzureIaaSComputeVMContainer) AsAzureIaaSClassicComputeVMContainer() (*AzureIaaSClassicComputeVMContainer, bool)
AsAzureIaaSClassicComputeVMContainer is the IaaSVMContainer implementation for AzureIaaSComputeVMContainer.
func (AzureIaaSComputeVMContainer) AsAzureIaaSComputeVMContainer ¶
func (aiscvc AzureIaaSComputeVMContainer) AsAzureIaaSComputeVMContainer() (*AzureIaaSComputeVMContainer, bool)
AsAzureIaaSComputeVMContainer is the IaaSVMContainer implementation for AzureIaaSComputeVMContainer.
func (AzureIaaSComputeVMContainer) AsAzureSQLContainer ¶
func (aiscvc AzureIaaSComputeVMContainer) AsAzureSQLContainer() (*AzureSQLContainer, bool)
AsAzureSQLContainer is the IaaSVMContainer implementation for AzureIaaSComputeVMContainer.
func (AzureIaaSComputeVMContainer) AsDpmContainer ¶
func (aiscvc AzureIaaSComputeVMContainer) AsDpmContainer() (*DpmContainer, bool)
AsDpmContainer is the IaaSVMContainer implementation for AzureIaaSComputeVMContainer.
func (AzureIaaSComputeVMContainer) AsIaaSVMContainer ¶
func (aiscvc AzureIaaSComputeVMContainer) AsIaaSVMContainer() (*IaaSVMContainer, bool)
AsIaaSVMContainer is the IaaSVMContainer implementation for AzureIaaSComputeVMContainer.
func (AzureIaaSComputeVMContainer) AsMabContainer ¶
func (aiscvc AzureIaaSComputeVMContainer) AsMabContainer() (*MabContainer, bool)
AsMabContainer is the IaaSVMContainer implementation for AzureIaaSComputeVMContainer.
func (AzureIaaSComputeVMContainer) MarshalJSON ¶
func (aiscvc AzureIaaSComputeVMContainer) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AzureIaaSComputeVMContainer.
type AzureIaaSComputeVMProtectableItem ¶
type AzureIaaSComputeVMProtectableItem struct { BackupManagementType *string `json:"backupManagementType,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` ProtectionState ProtectionStatus `json:"protectionState,omitempty"` ProtectableItemType ProtectableItemType `json:"protectableItemType,omitempty"` VirtualMachineID *string `json:"virtualMachineId,omitempty"` }
AzureIaaSComputeVMProtectableItem is iaaS VM workload-specific backup item representing the Azure Resource Manager VM.
func (AzureIaaSComputeVMProtectableItem) AsAzureIaaSClassicComputeVMProtectableItem ¶
func (aiscvpi AzureIaaSComputeVMProtectableItem) AsAzureIaaSClassicComputeVMProtectableItem() (*AzureIaaSClassicComputeVMProtectableItem, bool)
AsAzureIaaSClassicComputeVMProtectableItem is the IaaSVMProtectableItem implementation for AzureIaaSComputeVMProtectableItem.
func (AzureIaaSComputeVMProtectableItem) AsAzureIaaSComputeVMProtectableItem ¶
func (aiscvpi AzureIaaSComputeVMProtectableItem) AsAzureIaaSComputeVMProtectableItem() (*AzureIaaSComputeVMProtectableItem, bool)
AsAzureIaaSComputeVMProtectableItem is the IaaSVMProtectableItem implementation for AzureIaaSComputeVMProtectableItem.
func (AzureIaaSComputeVMProtectableItem) AsIaaSVMProtectableItem ¶
func (aiscvpi AzureIaaSComputeVMProtectableItem) AsIaaSVMProtectableItem() (*IaaSVMProtectableItem, bool)
AsIaaSVMProtectableItem is the IaaSVMProtectableItem implementation for AzureIaaSComputeVMProtectableItem.
func (AzureIaaSComputeVMProtectableItem) MarshalJSON ¶
func (aiscvpi AzureIaaSComputeVMProtectableItem) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AzureIaaSComputeVMProtectableItem.
type AzureIaaSComputeVMProtectedItem ¶
type AzureIaaSComputeVMProtectedItem struct { BackupManagementType BackupManagementType `json:"backupManagementType,omitempty"` WorkloadType DataSourceType `json:"workloadType,omitempty"` ContainerName *string `json:"containerName,omitempty"` SourceResourceID *string `json:"sourceResourceId,omitempty"` PolicyID *string `json:"policyId,omitempty"` LastRecoveryPoint *date.Time `json:"lastRecoveryPoint,omitempty"` ProtectedItemType ProtectedItemType `json:"protectedItemType,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` VirtualMachineID *string `json:"virtualMachineId,omitempty"` ProtectionStatus *string `json:"protectionStatus,omitempty"` ProtectionState ProtectionState `json:"protectionState,omitempty"` HealthStatus HealthStatus `json:"healthStatus,omitempty"` HealthDetails *[]AzureIaaSVMHealthDetails `json:"healthDetails,omitempty"` LastBackupStatus *string `json:"lastBackupStatus,omitempty"` LastBackupTime *date.Time `json:"lastBackupTime,omitempty"` ProtectedItemDataID *string `json:"protectedItemDataId,omitempty"` ExtendedInfo *AzureIaaSVMProtectedItemExtendedInfo `json:"extendedInfo,omitempty"` }
AzureIaaSComputeVMProtectedItem is iaaS VM workload-specific backup item representing the Azure Resource Manager VM.
func (AzureIaaSComputeVMProtectedItem) AsAzureIaaSClassicComputeVMProtectedItem ¶
func (aiscvpi AzureIaaSComputeVMProtectedItem) AsAzureIaaSClassicComputeVMProtectedItem() (*AzureIaaSClassicComputeVMProtectedItem, bool)
AsAzureIaaSClassicComputeVMProtectedItem is the AzureIaaSVMProtectedItem implementation for AzureIaaSComputeVMProtectedItem.
func (AzureIaaSComputeVMProtectedItem) AsAzureIaaSComputeVMProtectedItem ¶
func (aiscvpi AzureIaaSComputeVMProtectedItem) AsAzureIaaSComputeVMProtectedItem() (*AzureIaaSComputeVMProtectedItem, bool)
AsAzureIaaSComputeVMProtectedItem is the AzureIaaSVMProtectedItem implementation for AzureIaaSComputeVMProtectedItem.
func (AzureIaaSComputeVMProtectedItem) AsAzureIaaSVMProtectedItem ¶
func (aiscvpi AzureIaaSComputeVMProtectedItem) AsAzureIaaSVMProtectedItem() (*AzureIaaSVMProtectedItem, bool)
AsAzureIaaSVMProtectedItem is the AzureIaaSVMProtectedItem implementation for AzureIaaSComputeVMProtectedItem.
func (AzureIaaSComputeVMProtectedItem) AsAzureSQLProtectedItem ¶
func (aiscvpi AzureIaaSComputeVMProtectedItem) AsAzureSQLProtectedItem() (*AzureSQLProtectedItem, bool)
AsAzureSQLProtectedItem is the AzureIaaSVMProtectedItem implementation for AzureIaaSComputeVMProtectedItem.
func (AzureIaaSComputeVMProtectedItem) AsDPMProtectedItem ¶
func (aiscvpi AzureIaaSComputeVMProtectedItem) AsDPMProtectedItem() (*DPMProtectedItem, bool)
AsDPMProtectedItem is the AzureIaaSVMProtectedItem implementation for AzureIaaSComputeVMProtectedItem.
func (AzureIaaSComputeVMProtectedItem) AsMabFileFolderProtectedItem ¶
func (aiscvpi AzureIaaSComputeVMProtectedItem) AsMabFileFolderProtectedItem() (*MabFileFolderProtectedItem, bool)
AsMabFileFolderProtectedItem is the AzureIaaSVMProtectedItem implementation for AzureIaaSComputeVMProtectedItem.
func (AzureIaaSComputeVMProtectedItem) MarshalJSON ¶
func (aiscvpi AzureIaaSComputeVMProtectedItem) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AzureIaaSComputeVMProtectedItem.
type AzureIaaSVMErrorInfo ¶
type AzureIaaSVMErrorInfo struct { ErrorCode *int32 `json:"errorCode,omitempty"` ErrorTitle *string `json:"errorTitle,omitempty"` ErrorString *string `json:"errorString,omitempty"` Recommendations *[]string `json:"recommendations,omitempty"` }
AzureIaaSVMErrorInfo is azure IaaS VM workload-specific error information.
type AzureIaaSVMHealthDetails ¶
type AzureIaaSVMHealthDetails struct { Code *int32 `json:"code,omitempty"` Title *string `json:"title,omitempty"` Message *string `json:"message,omitempty"` Recommendations *[]string `json:"recommendations,omitempty"` }
AzureIaaSVMHealthDetails is azure IaaS VM workload-specific Health Details.
type AzureIaaSVMJob ¶
type AzureIaaSVMJob struct { EntityFriendlyName *string `json:"entityFriendlyName,omitempty"` BackupManagementType BackupManagementType `json:"backupManagementType,omitempty"` Operation *string `json:"operation,omitempty"` Status *string `json:"status,omitempty"` StartTime *date.Time `json:"startTime,omitempty"` EndTime *date.Time `json:"endTime,omitempty"` ActivityID *string `json:"activityId,omitempty"` JobType JobType `json:"jobType,omitempty"` Duration *string `json:"duration,omitempty"` ActionsInfo *[]JobSupportedAction `json:"actionsInfo,omitempty"` ErrorDetails *[]AzureIaaSVMErrorInfo `json:"errorDetails,omitempty"` VirtualMachineVersion *string `json:"virtualMachineVersion,omitempty"` ExtendedInfo *AzureIaaSVMJobExtendedInfo `json:"extendedInfo,omitempty"` }
AzureIaaSVMJob is azure IaaS VM workload-specifc job object.
func (AzureIaaSVMJob) AsAzureIaaSVMJob ¶
func (aisj AzureIaaSVMJob) AsAzureIaaSVMJob() (*AzureIaaSVMJob, bool)
AsAzureIaaSVMJob is the Job implementation for AzureIaaSVMJob.
func (AzureIaaSVMJob) AsDpmJob ¶
func (aisj AzureIaaSVMJob) AsDpmJob() (*DpmJob, bool)
AsDpmJob is the Job implementation for AzureIaaSVMJob.
func (AzureIaaSVMJob) AsMabJob ¶
func (aisj AzureIaaSVMJob) AsMabJob() (*MabJob, bool)
AsMabJob is the Job implementation for AzureIaaSVMJob.
func (AzureIaaSVMJob) MarshalJSON ¶
func (aisj AzureIaaSVMJob) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AzureIaaSVMJob.
type AzureIaaSVMJobExtendedInfo ¶
type AzureIaaSVMJobExtendedInfo struct { TasksList *[]AzureIaaSVMJobTaskDetails `json:"tasksList,omitempty"` PropertyBag *map[string]*string `json:"propertyBag,omitempty"` ProgressPercentage *float64 `json:"progressPercentage,omitempty"` DynamicErrorMessage *string `json:"dynamicErrorMessage,omitempty"` }
AzureIaaSVMJobExtendedInfo is azure IaaS VM workload-specific additional information for job.
type AzureIaaSVMJobTaskDetails ¶
type AzureIaaSVMJobTaskDetails struct { TaskID *string `json:"taskId,omitempty"` StartTime *date.Time `json:"startTime,omitempty"` EndTime *date.Time `json:"endTime,omitempty"` InstanceID *string `json:"instanceId,omitempty"` Duration *string `json:"duration,omitempty"` Status *string `json:"status,omitempty"` ProgressPercentage *float64 `json:"progressPercentage,omitempty"` }
AzureIaaSVMJobTaskDetails is azure IaaS VM workload-specific job task details.
type AzureIaaSVMProtectedItem ¶
type AzureIaaSVMProtectedItem struct { BackupManagementType BackupManagementType `json:"backupManagementType,omitempty"` WorkloadType DataSourceType `json:"workloadType,omitempty"` ContainerName *string `json:"containerName,omitempty"` SourceResourceID *string `json:"sourceResourceId,omitempty"` PolicyID *string `json:"policyId,omitempty"` LastRecoveryPoint *date.Time `json:"lastRecoveryPoint,omitempty"` ProtectedItemType ProtectedItemType `json:"protectedItemType,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` VirtualMachineID *string `json:"virtualMachineId,omitempty"` ProtectionStatus *string `json:"protectionStatus,omitempty"` ProtectionState ProtectionState `json:"protectionState,omitempty"` HealthStatus HealthStatus `json:"healthStatus,omitempty"` HealthDetails *[]AzureIaaSVMHealthDetails `json:"healthDetails,omitempty"` LastBackupStatus *string `json:"lastBackupStatus,omitempty"` LastBackupTime *date.Time `json:"lastBackupTime,omitempty"` ProtectedItemDataID *string `json:"protectedItemDataId,omitempty"` ExtendedInfo *AzureIaaSVMProtectedItemExtendedInfo `json:"extendedInfo,omitempty"` }
AzureIaaSVMProtectedItem is iaaS VM workload-specific backup item.
func (AzureIaaSVMProtectedItem) AsAzureIaaSClassicComputeVMProtectedItem ¶
func (aispi AzureIaaSVMProtectedItem) AsAzureIaaSClassicComputeVMProtectedItem() (*AzureIaaSClassicComputeVMProtectedItem, bool)
AsAzureIaaSClassicComputeVMProtectedItem is the ProtectedItem implementation for AzureIaaSVMProtectedItem.
func (AzureIaaSVMProtectedItem) AsAzureIaaSComputeVMProtectedItem ¶
func (aispi AzureIaaSVMProtectedItem) AsAzureIaaSComputeVMProtectedItem() (*AzureIaaSComputeVMProtectedItem, bool)
AsAzureIaaSComputeVMProtectedItem is the ProtectedItem implementation for AzureIaaSVMProtectedItem.
func (AzureIaaSVMProtectedItem) AsAzureIaaSVMProtectedItem ¶
func (aispi AzureIaaSVMProtectedItem) AsAzureIaaSVMProtectedItem() (*AzureIaaSVMProtectedItem, bool)
AsAzureIaaSVMProtectedItem is the ProtectedItem implementation for AzureIaaSVMProtectedItem.
func (AzureIaaSVMProtectedItem) AsAzureSQLProtectedItem ¶
func (aispi AzureIaaSVMProtectedItem) AsAzureSQLProtectedItem() (*AzureSQLProtectedItem, bool)
AsAzureSQLProtectedItem is the ProtectedItem implementation for AzureIaaSVMProtectedItem.
func (AzureIaaSVMProtectedItem) AsDPMProtectedItem ¶
func (aispi AzureIaaSVMProtectedItem) AsDPMProtectedItem() (*DPMProtectedItem, bool)
AsDPMProtectedItem is the ProtectedItem implementation for AzureIaaSVMProtectedItem.
func (AzureIaaSVMProtectedItem) AsMabFileFolderProtectedItem ¶
func (aispi AzureIaaSVMProtectedItem) AsMabFileFolderProtectedItem() (*MabFileFolderProtectedItem, bool)
AsMabFileFolderProtectedItem is the ProtectedItem implementation for AzureIaaSVMProtectedItem.
func (AzureIaaSVMProtectedItem) MarshalJSON ¶
func (aispi AzureIaaSVMProtectedItem) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AzureIaaSVMProtectedItem.
type AzureIaaSVMProtectedItemExtendedInfo ¶
type AzureIaaSVMProtectedItemExtendedInfo struct { OldestRecoveryPoint *date.Time `json:"oldestRecoveryPoint,omitempty"` RecoveryPointCount *int32 `json:"recoveryPointCount,omitempty"` PolicyInconsistent *bool `json:"policyInconsistent,omitempty"` }
AzureIaaSVMProtectedItemExtendedInfo is additional information on Azure IaaS VM specific backup item.
type AzureIaaSVMProtectionPolicy ¶
type AzureIaaSVMProtectionPolicy struct { ProtectedItemsCount *int32 `json:"protectedItemsCount,omitempty"` BackupManagementType BackupManagementType `json:"backupManagementType,omitempty"` SchedulePolicy SchedulePolicy `json:"schedulePolicy,omitempty"` RetentionPolicy RetentionPolicy `json:"retentionPolicy,omitempty"` TimeZone *string `json:"timeZone,omitempty"` }
AzureIaaSVMProtectionPolicy is iaaS VM workload-specific backup policy.
func (AzureIaaSVMProtectionPolicy) AsAzureIaaSVMProtectionPolicy ¶
func (aispp AzureIaaSVMProtectionPolicy) AsAzureIaaSVMProtectionPolicy() (*AzureIaaSVMProtectionPolicy, bool)
AsAzureIaaSVMProtectionPolicy is the ProtectionPolicy implementation for AzureIaaSVMProtectionPolicy.
func (AzureIaaSVMProtectionPolicy) AsAzureSQLProtectionPolicy ¶
func (aispp AzureIaaSVMProtectionPolicy) AsAzureSQLProtectionPolicy() (*AzureSQLProtectionPolicy, bool)
AsAzureSQLProtectionPolicy is the ProtectionPolicy implementation for AzureIaaSVMProtectionPolicy.
func (AzureIaaSVMProtectionPolicy) AsMabProtectionPolicy ¶
func (aispp AzureIaaSVMProtectionPolicy) AsMabProtectionPolicy() (*MabProtectionPolicy, bool)
AsMabProtectionPolicy is the ProtectionPolicy implementation for AzureIaaSVMProtectionPolicy.
func (AzureIaaSVMProtectionPolicy) MarshalJSON ¶
func (aispp AzureIaaSVMProtectionPolicy) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AzureIaaSVMProtectionPolicy.
func (*AzureIaaSVMProtectionPolicy) UnmarshalJSON ¶
func (aispp *AzureIaaSVMProtectionPolicy) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for AzureIaaSVMProtectionPolicy struct.
type AzureSQLContainer ¶
type AzureSQLContainer struct { FriendlyName *string `json:"friendlyName,omitempty"` BackupManagementType BackupManagementType `json:"backupManagementType,omitempty"` RegistrationStatus *string `json:"registrationStatus,omitempty"` HealthStatus *string `json:"healthStatus,omitempty"` ContainerType ContainerType `json:"containerType,omitempty"` ProtectableObjectType ProtectableObjectType `json:"protectableObjectType,omitempty"` }
AzureSQLContainer is azure Sql workload-specific container.
func (AzureSQLContainer) AsAzureBackupServerContainer ¶
func (asc AzureSQLContainer) AsAzureBackupServerContainer() (*AzureBackupServerContainer, bool)
AsAzureBackupServerContainer is the ProtectionContainer implementation for AzureSQLContainer.
func (AzureSQLContainer) AsAzureIaaSClassicComputeVMContainer ¶
func (asc AzureSQLContainer) AsAzureIaaSClassicComputeVMContainer() (*AzureIaaSClassicComputeVMContainer, bool)
AsAzureIaaSClassicComputeVMContainer is the ProtectionContainer implementation for AzureSQLContainer.
func (AzureSQLContainer) AsAzureIaaSComputeVMContainer ¶
func (asc AzureSQLContainer) AsAzureIaaSComputeVMContainer() (*AzureIaaSComputeVMContainer, bool)
AsAzureIaaSComputeVMContainer is the ProtectionContainer implementation for AzureSQLContainer.
func (AzureSQLContainer) AsAzureSQLContainer ¶
func (asc AzureSQLContainer) AsAzureSQLContainer() (*AzureSQLContainer, bool)
AsAzureSQLContainer is the ProtectionContainer implementation for AzureSQLContainer.
func (AzureSQLContainer) AsDpmContainer ¶
func (asc AzureSQLContainer) AsDpmContainer() (*DpmContainer, bool)
AsDpmContainer is the ProtectionContainer implementation for AzureSQLContainer.
func (AzureSQLContainer) AsIaaSVMContainer ¶
func (asc AzureSQLContainer) AsIaaSVMContainer() (*IaaSVMContainer, bool)
AsIaaSVMContainer is the ProtectionContainer implementation for AzureSQLContainer.
func (AzureSQLContainer) AsMabContainer ¶
func (asc AzureSQLContainer) AsMabContainer() (*MabContainer, bool)
AsMabContainer is the ProtectionContainer implementation for AzureSQLContainer.
func (AzureSQLContainer) MarshalJSON ¶
func (asc AzureSQLContainer) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AzureSQLContainer.
type AzureSQLProtectedItem ¶
type AzureSQLProtectedItem struct { BackupManagementType BackupManagementType `json:"backupManagementType,omitempty"` WorkloadType DataSourceType `json:"workloadType,omitempty"` ContainerName *string `json:"containerName,omitempty"` SourceResourceID *string `json:"sourceResourceId,omitempty"` PolicyID *string `json:"policyId,omitempty"` LastRecoveryPoint *date.Time `json:"lastRecoveryPoint,omitempty"` ProtectedItemType ProtectedItemType `json:"protectedItemType,omitempty"` ProtectedItemDataID *string `json:"protectedItemDataId,omitempty"` ProtectionState ProtectedItemState `json:"protectionState,omitempty"` ExtendedInfo *AzureSQLProtectedItemExtendedInfo `json:"extendedInfo,omitempty"` }
AzureSQLProtectedItem is azure SQL workload-specific backup item.
func (AzureSQLProtectedItem) AsAzureIaaSClassicComputeVMProtectedItem ¶
func (aspi AzureSQLProtectedItem) AsAzureIaaSClassicComputeVMProtectedItem() (*AzureIaaSClassicComputeVMProtectedItem, bool)
AsAzureIaaSClassicComputeVMProtectedItem is the ProtectedItem implementation for AzureSQLProtectedItem.
func (AzureSQLProtectedItem) AsAzureIaaSComputeVMProtectedItem ¶
func (aspi AzureSQLProtectedItem) AsAzureIaaSComputeVMProtectedItem() (*AzureIaaSComputeVMProtectedItem, bool)
AsAzureIaaSComputeVMProtectedItem is the ProtectedItem implementation for AzureSQLProtectedItem.
func (AzureSQLProtectedItem) AsAzureIaaSVMProtectedItem ¶
func (aspi AzureSQLProtectedItem) AsAzureIaaSVMProtectedItem() (*AzureIaaSVMProtectedItem, bool)
AsAzureIaaSVMProtectedItem is the ProtectedItem implementation for AzureSQLProtectedItem.
func (AzureSQLProtectedItem) AsAzureSQLProtectedItem ¶
func (aspi AzureSQLProtectedItem) AsAzureSQLProtectedItem() (*AzureSQLProtectedItem, bool)
AsAzureSQLProtectedItem is the ProtectedItem implementation for AzureSQLProtectedItem.
func (AzureSQLProtectedItem) AsDPMProtectedItem ¶
func (aspi AzureSQLProtectedItem) AsDPMProtectedItem() (*DPMProtectedItem, bool)
AsDPMProtectedItem is the ProtectedItem implementation for AzureSQLProtectedItem.
func (AzureSQLProtectedItem) AsMabFileFolderProtectedItem ¶
func (aspi AzureSQLProtectedItem) AsMabFileFolderProtectedItem() (*MabFileFolderProtectedItem, bool)
AsMabFileFolderProtectedItem is the ProtectedItem implementation for AzureSQLProtectedItem.
func (AzureSQLProtectedItem) MarshalJSON ¶
func (aspi AzureSQLProtectedItem) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AzureSQLProtectedItem.
type AzureSQLProtectedItemExtendedInfo ¶
type AzureSQLProtectedItemExtendedInfo struct { OldestRecoveryPoint *date.Time `json:"oldestRecoveryPoint,omitempty"` RecoveryPointCount *int32 `json:"recoveryPointCount,omitempty"` PolicyState *string `json:"policyState,omitempty"` }
AzureSQLProtectedItemExtendedInfo is additional information on Azure Sql specific protected item.
type AzureSQLProtectionPolicy ¶
type AzureSQLProtectionPolicy struct { ProtectedItemsCount *int32 `json:"protectedItemsCount,omitempty"` BackupManagementType BackupManagementType `json:"backupManagementType,omitempty"` RetentionPolicy RetentionPolicy `json:"retentionPolicy,omitempty"` }
AzureSQLProtectionPolicy is azure SQL workload-specific backup policy.
func (AzureSQLProtectionPolicy) AsAzureIaaSVMProtectionPolicy ¶
func (aspp AzureSQLProtectionPolicy) AsAzureIaaSVMProtectionPolicy() (*AzureIaaSVMProtectionPolicy, bool)
AsAzureIaaSVMProtectionPolicy is the ProtectionPolicy implementation for AzureSQLProtectionPolicy.
func (AzureSQLProtectionPolicy) AsAzureSQLProtectionPolicy ¶
func (aspp AzureSQLProtectionPolicy) AsAzureSQLProtectionPolicy() (*AzureSQLProtectionPolicy, bool)
AsAzureSQLProtectionPolicy is the ProtectionPolicy implementation for AzureSQLProtectionPolicy.
func (AzureSQLProtectionPolicy) AsMabProtectionPolicy ¶
func (aspp AzureSQLProtectionPolicy) AsMabProtectionPolicy() (*MabProtectionPolicy, bool)
AsMabProtectionPolicy is the ProtectionPolicy implementation for AzureSQLProtectionPolicy.
func (AzureSQLProtectionPolicy) MarshalJSON ¶
func (aspp AzureSQLProtectionPolicy) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AzureSQLProtectionPolicy.
func (*AzureSQLProtectionPolicy) UnmarshalJSON ¶
func (aspp *AzureSQLProtectionPolicy) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for AzureSQLProtectionPolicy struct.
type BEKDetails ¶
type BEKDetails struct { SecretURL *string `json:"secretUrl,omitempty"` SecretVaultID *string `json:"secretVaultId,omitempty"` SecretData *string `json:"secretData,omitempty"` }
BEKDetails is BEK is bitlocker encrpytion key.
type BMSBackupEngineQueryObject ¶
type BMSBackupEngineQueryObject struct {
Expand *string `json:"expand,omitempty"`
}
BMSBackupEngineQueryObject is query parameters to fetch list of backup engines.
type BMSBackupEnginesQueryObject ¶
type BMSBackupEnginesQueryObject struct { BackupManagementType BackupManagementType `json:"backupManagementType,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` Expand *string `json:"expand,omitempty"` }
BMSBackupEnginesQueryObject is query parameters to fetch list of backup engines.
type BMSBackupSummariesQueryObject ¶
type BMSBackupSummariesQueryObject struct {
Type Type `json:"type,omitempty"`
}
BMSBackupSummariesQueryObject is query parameters to fetch backup summaries.
type BMSContainerQueryObject ¶
type BMSContainerQueryObject struct { BackupManagementType BackupManagementType `json:"backupManagementType,omitempty"` ContainerType ContainerType `json:"containerType,omitempty"` BackupEngineName *string `json:"backupEngineName,omitempty"` Status *string `json:"status,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` }
BMSContainerQueryObject is the query filters that can be used with the list containers API.
type BMSPOQueryObject ¶
type BMSPOQueryObject struct { BackupManagementType BackupManagementType `json:"backupManagementType,omitempty"` Status *string `json:"status,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` }
BMSPOQueryObject is filters to list items that can be backed up.
type BMSRPQueryObject ¶
type BMSRPQueryObject struct { StartDate *date.Time `json:"startDate,omitempty"` EndDate *date.Time `json:"endDate,omitempty"` }
BMSRPQueryObject is filters to list backup copies.
type BackupEngineBase ¶
type BackupEngineBase interface { AsAzureBackupServerEngine() (*AzureBackupServerEngine, bool) AsDpmBackupEngine() (*DpmBackupEngine, bool) }
BackupEngineBase is the base backup engine class. All workload specific backup engines derive from this class.
type BackupEngineBaseResource ¶
type BackupEngineBaseResource struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Location *string `json:"location,omitempty"` Tags *map[string]*string `json:"tags,omitempty"` ETag *string `json:"eTag,omitempty"` Properties BackupEngineBase `json:"properties,omitempty"` }
BackupEngineBaseResource is the base backup engine class. All workload specific backup engines derive from this class.
func (*BackupEngineBaseResource) UnmarshalJSON ¶
func (bebr *BackupEngineBaseResource) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for BackupEngineBaseResource struct.
type BackupEngineBaseResourceList ¶
type BackupEngineBaseResourceList struct { autorest.Response `json:"-"` NextLink *string `json:"nextLink,omitempty"` Value *[]BackupEngineBaseResource `json:"value,omitempty"` }
BackupEngineBaseResourceList is list of BackupEngineBase resources
func (BackupEngineBaseResourceList) BackupEngineBaseResourceListPreparer ¶
func (client BackupEngineBaseResourceList) BackupEngineBaseResourceListPreparer() (*http.Request, error)
BackupEngineBaseResourceListPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type BackupEngineExtendedInfo ¶
type BackupEngineExtendedInfo struct { DatabaseName *string `json:"databaseName,omitempty"` ProtectedItemsCount *int32 `json:"protectedItemsCount,omitempty"` ProtectedServersCount *int32 `json:"protectedServersCount,omitempty"` DiskCount *int32 `json:"diskCount,omitempty"` UsedDiskSpace *float64 `json:"usedDiskSpace,omitempty"` AvailableDiskSpace *float64 `json:"availableDiskSpace,omitempty"` RefreshedAt *date.Time `json:"refreshedAt,omitempty"` AzureProtectedInstances *int32 `json:"azureProtectedInstances,omitempty"` }
BackupEngineExtendedInfo is additional information on backup engine.
type BackupEngineType ¶
type BackupEngineType string
BackupEngineType enumerates the values for backup engine type.
const ( // BackupEngineTypeAzureBackupServerEngine specifies the backup engine type azure backup server engine state for backup // engine type. BackupEngineTypeAzureBackupServerEngine BackupEngineType = "AzureBackupServerEngine" // BackupEngineTypeDpmBackupEngine specifies the backup engine type dpm backup engine state for backup engine type. BackupEngineTypeDpmBackupEngine BackupEngineType = "DpmBackupEngine" )
type BackupEnginesClient ¶
type BackupEnginesClient struct {
ManagementClient
}
BackupEnginesClient is the open API 2.0 Specs for Azure RecoveryServices Backup service
func NewBackupEnginesClient ¶
func NewBackupEnginesClient(subscriptionID string) BackupEnginesClient
NewBackupEnginesClient creates an instance of the BackupEnginesClient client.
func NewBackupEnginesClientWithBaseURI ¶
func NewBackupEnginesClientWithBaseURI(baseURI string, subscriptionID string) BackupEnginesClient
NewBackupEnginesClientWithBaseURI creates an instance of the BackupEnginesClient client.
func (BackupEnginesClient) Get ¶
func (client BackupEnginesClient) Get(vaultName string, resourceGroupName string, backupEngineName string, filter string, skipToken string) (result BackupEngineBaseResource, err error)
Get returns backup management server registered to Recovery Services Vault.
vaultName is the name of the recovery services vault. resourceGroupName is the name of the resource group where the recovery services vault is present. backupEngineName is name of the backup management server. filter is oData filter options. skipToken is skipToken Filter.
func (BackupEnginesClient) GetPreparer ¶
func (client BackupEnginesClient) GetPreparer(vaultName string, resourceGroupName string, backupEngineName string, filter string, skipToken string) (*http.Request, error)
GetPreparer prepares the Get request.
func (BackupEnginesClient) GetResponder ¶
func (client BackupEnginesClient) GetResponder(resp *http.Response) (result BackupEngineBaseResource, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (BackupEnginesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (BackupEnginesClient) List ¶
func (client BackupEnginesClient) List(vaultName string, resourceGroupName string, filter string, skipToken string) (result BackupEngineBaseResourceList, err error)
List backup management servers registered to Recovery Services Vault. Returns a pageable list of servers.
vaultName is the name of the recovery services vault. resourceGroupName is the name of the resource group where the recovery services vault is present. filter is oData filter options. skipToken is skipToken Filter.
func (BackupEnginesClient) ListComplete ¶
func (client BackupEnginesClient) ListComplete(vaultName string, resourceGroupName string, filter string, skipToken string, cancel <-chan struct{}) (<-chan BackupEngineBaseResource, <-chan error)
ListComplete gets all elements from the list without paging.
func (BackupEnginesClient) ListNextResults ¶
func (client BackupEnginesClient) ListNextResults(lastResults BackupEngineBaseResourceList) (result BackupEngineBaseResourceList, err error)
ListNextResults retrieves the next set of results, if any.
func (BackupEnginesClient) ListPreparer ¶
func (client BackupEnginesClient) ListPreparer(vaultName string, resourceGroupName string, filter string, skipToken string) (*http.Request, error)
ListPreparer prepares the List request.
func (BackupEnginesClient) ListResponder ¶
func (client BackupEnginesClient) ListResponder(resp *http.Response) (result BackupEngineBaseResourceList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (BackupEnginesClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type BackupItemType ¶
type BackupItemType string
BackupItemType enumerates the values for backup item type.
const ( // AzureSQLDb specifies the azure sql db state for backup item type. AzureSQLDb BackupItemType = "AzureSqlDb" // Client specifies the client state for backup item type. Client BackupItemType = "Client" // Exchange specifies the exchange state for backup item type. Exchange BackupItemType = "Exchange" // FileFolder specifies the file folder state for backup item type. FileFolder BackupItemType = "FileFolder" // GenericDataSource specifies the generic data source state for backup item type. GenericDataSource BackupItemType = "GenericDataSource" // Invalid specifies the invalid state for backup item type. Invalid BackupItemType = "Invalid" Sharepoint BackupItemType = "Sharepoint" // SQLDB specifies the sqldb state for backup item type. SQLDB BackupItemType = "SQLDB" // SystemState specifies the system state state for backup item type. SystemState BackupItemType = "SystemState" // VM specifies the vm state for backup item type. VM BackupItemType = "VM" // VMwareVM specifies the v mware vm state for backup item type. VMwareVM BackupItemType = "VMwareVM" )
type BackupJobsClient ¶
type BackupJobsClient struct {
ManagementClient
}
BackupJobsClient is the open API 2.0 Specs for Azure RecoveryServices Backup service
func NewBackupJobsClient ¶
func NewBackupJobsClient(subscriptionID string) BackupJobsClient
NewBackupJobsClient creates an instance of the BackupJobsClient client.
func NewBackupJobsClientWithBaseURI ¶
func NewBackupJobsClientWithBaseURI(baseURI string, subscriptionID string) BackupJobsClient
NewBackupJobsClientWithBaseURI creates an instance of the BackupJobsClient client.
func (BackupJobsClient) List ¶
func (client BackupJobsClient) List(vaultName string, resourceGroupName string, filter string, skipToken string) (result JobResourceList, err error)
List provides a pageable list of jobs.
vaultName is the name of the recovery services vault. resourceGroupName is the name of the resource group where the recovery services vault is present. filter is oData filter options. skipToken is skipToken Filter.
func (BackupJobsClient) ListComplete ¶
func (client BackupJobsClient) ListComplete(vaultName string, resourceGroupName string, filter string, skipToken string, cancel <-chan struct{}) (<-chan JobResource, <-chan error)
ListComplete gets all elements from the list without paging.
func (BackupJobsClient) ListNextResults ¶
func (client BackupJobsClient) ListNextResults(lastResults JobResourceList) (result JobResourceList, err error)
ListNextResults retrieves the next set of results, if any.
func (BackupJobsClient) ListPreparer ¶
func (client BackupJobsClient) ListPreparer(vaultName string, resourceGroupName string, filter string, skipToken string) (*http.Request, error)
ListPreparer prepares the List request.
func (BackupJobsClient) ListResponder ¶
func (client BackupJobsClient) ListResponder(resp *http.Response) (result JobResourceList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (BackupJobsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type BackupManagementType ¶
type BackupManagementType string
BackupManagementType enumerates the values for backup management type.
const ( // BackupManagementTypeAzureBackupServer specifies the backup management type azure backup server state for backup // management type. BackupManagementTypeAzureBackupServer BackupManagementType = "AzureBackupServer" // BackupManagementTypeAzureIaasVM specifies the backup management type azure iaas vm state for backup management type. BackupManagementTypeAzureIaasVM BackupManagementType = "AzureIaasVM" // BackupManagementTypeAzureSQL specifies the backup management type azure sql state for backup management type. BackupManagementTypeAzureSQL BackupManagementType = "AzureSql" // BackupManagementTypeDPM specifies the backup management type dpm state for backup management type. BackupManagementTypeDPM BackupManagementType = "DPM" // BackupManagementTypeInvalid specifies the backup management type invalid state for backup management type. BackupManagementTypeInvalid BackupManagementType = "Invalid" // BackupManagementTypeMAB specifies the backup management type mab state for backup management type. BackupManagementTypeMAB BackupManagementType = "MAB" )
type BackupManagementUsage ¶
type BackupManagementUsage struct { Unit UsagesUnit `json:"unit,omitempty"` QuotaPeriod *string `json:"quotaPeriod,omitempty"` NextResetTime *date.Time `json:"nextResetTime,omitempty"` CurrentValue *int64 `json:"currentValue,omitempty"` Limit *int64 `json:"limit,omitempty"` Name *NameInfo `json:"name,omitempty"` }
BackupManagementUsage is backup management usages of a vault.
type BackupManagementUsageList ¶
type BackupManagementUsageList struct { autorest.Response `json:"-"` Value *[]BackupManagementUsage `json:"value,omitempty"` }
BackupManagementUsageList is backup management usage for vault.
type BackupOperationResultsClient ¶
type BackupOperationResultsClient struct {
ManagementClient
}
BackupOperationResultsClient is the open API 2.0 Specs for Azure RecoveryServices Backup service
func NewBackupOperationResultsClient ¶
func NewBackupOperationResultsClient(subscriptionID string) BackupOperationResultsClient
NewBackupOperationResultsClient creates an instance of the BackupOperationResultsClient client.
func NewBackupOperationResultsClientWithBaseURI ¶
func NewBackupOperationResultsClientWithBaseURI(baseURI string, subscriptionID string) BackupOperationResultsClient
NewBackupOperationResultsClientWithBaseURI creates an instance of the BackupOperationResultsClient client.
func (BackupOperationResultsClient) Get ¶
func (client BackupOperationResultsClient) Get(vaultName string, resourceGroupName string, operationID string) (result autorest.Response, err error)
Get provides the status of the delete operations such as deleting backed up item. Once the operation has started, the status code in the response would be Accepted. It will continue to be in this state till it reaches completion. On successful completion, the status code will be OK. This method expects OperationID as an argument. OperationID is part of the Location header of the operation response.
vaultName is the name of the recovery services vault. resourceGroupName is the name of the resource group where the recovery services vault is present. operationID is operationID which represents the operation.
func (BackupOperationResultsClient) GetPreparer ¶
func (client BackupOperationResultsClient) GetPreparer(vaultName string, resourceGroupName string, operationID string) (*http.Request, error)
GetPreparer prepares the Get request.
func (BackupOperationResultsClient) GetResponder ¶
func (client BackupOperationResultsClient) GetResponder(resp *http.Response) (result autorest.Response, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
type BackupOperationStatusesClient ¶
type BackupOperationStatusesClient struct {
ManagementClient
}
BackupOperationStatusesClient is the open API 2.0 Specs for Azure RecoveryServices Backup service
func NewBackupOperationStatusesClient ¶
func NewBackupOperationStatusesClient(subscriptionID string) BackupOperationStatusesClient
NewBackupOperationStatusesClient creates an instance of the BackupOperationStatusesClient client.
func NewBackupOperationStatusesClientWithBaseURI ¶
func NewBackupOperationStatusesClientWithBaseURI(baseURI string, subscriptionID string) BackupOperationStatusesClient
NewBackupOperationStatusesClientWithBaseURI creates an instance of the BackupOperationStatusesClient client.
func (BackupOperationStatusesClient) Get ¶
func (client BackupOperationStatusesClient) Get(vaultName string, resourceGroupName string, operationID string) (result OperationStatus, err error)
Get fetches the status of an operation such as triggering a backup, restore. The status can be in progress, completed or failed. You can refer to the OperationStatus enum for all the possible states of an operation. Some operations create jobs. This method returns the list of jobs when the operation is complete.
vaultName is the name of the recovery services vault. resourceGroupName is the name of the resource group where the recovery services vault is present. operationID is operationID which represents the operation.
func (BackupOperationStatusesClient) GetPreparer ¶
func (client BackupOperationStatusesClient) GetPreparer(vaultName string, resourceGroupName string, operationID string) (*http.Request, error)
GetPreparer prepares the Get request.
func (BackupOperationStatusesClient) GetResponder ¶
func (client BackupOperationStatusesClient) GetResponder(resp *http.Response) (result OperationStatus, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
type BackupPoliciesClient ¶
type BackupPoliciesClient struct {
ManagementClient
}
BackupPoliciesClient is the open API 2.0 Specs for Azure RecoveryServices Backup service
func NewBackupPoliciesClient ¶
func NewBackupPoliciesClient(subscriptionID string) BackupPoliciesClient
NewBackupPoliciesClient creates an instance of the BackupPoliciesClient client.
func NewBackupPoliciesClientWithBaseURI ¶
func NewBackupPoliciesClientWithBaseURI(baseURI string, subscriptionID string) BackupPoliciesClient
NewBackupPoliciesClientWithBaseURI creates an instance of the BackupPoliciesClient client.
func (BackupPoliciesClient) List ¶
func (client BackupPoliciesClient) List(vaultName string, resourceGroupName string, filter string) (result ProtectionPolicyResourceList, err error)
List lists of backup policies associated with Recovery Services Vault. API provides pagination parameters to fetch scoped results.
vaultName is the name of the recovery services vault. resourceGroupName is the name of the resource group where the recovery services vault is present. filter is oData filter options.
func (BackupPoliciesClient) ListComplete ¶
func (client BackupPoliciesClient) ListComplete(vaultName string, resourceGroupName string, filter string, cancel <-chan struct{}) (<-chan ProtectionPolicyResource, <-chan error)
ListComplete gets all elements from the list without paging.
func (BackupPoliciesClient) ListNextResults ¶
func (client BackupPoliciesClient) ListNextResults(lastResults ProtectionPolicyResourceList) (result ProtectionPolicyResourceList, err error)
ListNextResults retrieves the next set of results, if any.
func (BackupPoliciesClient) ListPreparer ¶
func (client BackupPoliciesClient) ListPreparer(vaultName string, resourceGroupName string, filter string) (*http.Request, error)
ListPreparer prepares the List request.
func (BackupPoliciesClient) ListResponder ¶
func (client BackupPoliciesClient) ListResponder(resp *http.Response) (result ProtectionPolicyResourceList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (BackupPoliciesClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type BackupProtectableItemsClient ¶
type BackupProtectableItemsClient struct {
ManagementClient
}
BackupProtectableItemsClient is the open API 2.0 Specs for Azure RecoveryServices Backup service
func NewBackupProtectableItemsClient ¶
func NewBackupProtectableItemsClient(subscriptionID string) BackupProtectableItemsClient
NewBackupProtectableItemsClient creates an instance of the BackupProtectableItemsClient client.
func NewBackupProtectableItemsClientWithBaseURI ¶
func NewBackupProtectableItemsClientWithBaseURI(baseURI string, subscriptionID string) BackupProtectableItemsClient
NewBackupProtectableItemsClientWithBaseURI creates an instance of the BackupProtectableItemsClient client.
func (BackupProtectableItemsClient) List ¶
func (client BackupProtectableItemsClient) List(vaultName string, resourceGroupName string, filter string, skipToken string) (result WorkloadProtectableItemResourceList, err error)
List provides a pageable list of protectable objects within your subscription according to the query filter and the pagination parameters.
vaultName is the name of the recovery services vault. resourceGroupName is the name of the resource group where the recovery services vault is present. filter is oData filter options. skipToken is skipToken Filter.
func (BackupProtectableItemsClient) ListComplete ¶
func (client BackupProtectableItemsClient) ListComplete(vaultName string, resourceGroupName string, filter string, skipToken string, cancel <-chan struct{}) (<-chan WorkloadProtectableItemResource, <-chan error)
ListComplete gets all elements from the list without paging.
func (BackupProtectableItemsClient) ListNextResults ¶
func (client BackupProtectableItemsClient) ListNextResults(lastResults WorkloadProtectableItemResourceList) (result WorkloadProtectableItemResourceList, err error)
ListNextResults retrieves the next set of results, if any.
func (BackupProtectableItemsClient) ListPreparer ¶
func (client BackupProtectableItemsClient) ListPreparer(vaultName string, resourceGroupName string, filter string, skipToken string) (*http.Request, error)
ListPreparer prepares the List request.
func (BackupProtectableItemsClient) ListResponder ¶
func (client BackupProtectableItemsClient) ListResponder(resp *http.Response) (result WorkloadProtectableItemResourceList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (BackupProtectableItemsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type BackupProtectedItemsClient ¶
type BackupProtectedItemsClient struct {
ManagementClient
}
BackupProtectedItemsClient is the open API 2.0 Specs for Azure RecoveryServices Backup service
func NewBackupProtectedItemsClient ¶
func NewBackupProtectedItemsClient(subscriptionID string) BackupProtectedItemsClient
NewBackupProtectedItemsClient creates an instance of the BackupProtectedItemsClient client.
func NewBackupProtectedItemsClientWithBaseURI ¶
func NewBackupProtectedItemsClientWithBaseURI(baseURI string, subscriptionID string) BackupProtectedItemsClient
NewBackupProtectedItemsClientWithBaseURI creates an instance of the BackupProtectedItemsClient client.
func (BackupProtectedItemsClient) List ¶
func (client BackupProtectedItemsClient) List(vaultName string, resourceGroupName string, filter string, skipToken string) (result ProtectedItemResourceList, err error)
List provides a pageable list of all items that are backed up within a vault.
vaultName is the name of the recovery services vault. resourceGroupName is the name of the resource group where the recovery services vault is present. filter is oData filter options. skipToken is skipToken Filter.
func (BackupProtectedItemsClient) ListComplete ¶
func (client BackupProtectedItemsClient) ListComplete(vaultName string, resourceGroupName string, filter string, skipToken string, cancel <-chan struct{}) (<-chan ProtectedItemResource, <-chan error)
ListComplete gets all elements from the list without paging.
func (BackupProtectedItemsClient) ListNextResults ¶
func (client BackupProtectedItemsClient) ListNextResults(lastResults ProtectedItemResourceList) (result ProtectedItemResourceList, err error)
ListNextResults retrieves the next set of results, if any.
func (BackupProtectedItemsClient) ListPreparer ¶
func (client BackupProtectedItemsClient) ListPreparer(vaultName string, resourceGroupName string, filter string, skipToken string) (*http.Request, error)
ListPreparer prepares the List request.
func (BackupProtectedItemsClient) ListResponder ¶
func (client BackupProtectedItemsClient) ListResponder(resp *http.Response) (result ProtectedItemResourceList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (BackupProtectedItemsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type BackupProtectionContainersClient ¶
type BackupProtectionContainersClient struct {
ManagementClient
}
BackupProtectionContainersClient is the open API 2.0 Specs for Azure RecoveryServices Backup service
func NewBackupProtectionContainersClient ¶
func NewBackupProtectionContainersClient(subscriptionID string) BackupProtectionContainersClient
NewBackupProtectionContainersClient creates an instance of the BackupProtectionContainersClient client.
func NewBackupProtectionContainersClientWithBaseURI ¶
func NewBackupProtectionContainersClientWithBaseURI(baseURI string, subscriptionID string) BackupProtectionContainersClient
NewBackupProtectionContainersClientWithBaseURI creates an instance of the BackupProtectionContainersClient client.
func (BackupProtectionContainersClient) List ¶
func (client BackupProtectionContainersClient) List(vaultName string, resourceGroupName string, filter string) (result ProtectionContainerResourceList, err error)
List lists the containers registered to Recovery Services Vault.
vaultName is the name of the recovery services vault. resourceGroupName is the name of the resource group where the recovery services vault is present. filter is oData filter options.
func (BackupProtectionContainersClient) ListComplete ¶
func (client BackupProtectionContainersClient) ListComplete(vaultName string, resourceGroupName string, filter string, cancel <-chan struct{}) (<-chan ProtectionContainerResource, <-chan error)
ListComplete gets all elements from the list without paging.
func (BackupProtectionContainersClient) ListNextResults ¶
func (client BackupProtectionContainersClient) ListNextResults(lastResults ProtectionContainerResourceList) (result ProtectionContainerResourceList, err error)
ListNextResults retrieves the next set of results, if any.
func (BackupProtectionContainersClient) ListPreparer ¶
func (client BackupProtectionContainersClient) ListPreparer(vaultName string, resourceGroupName string, filter string) (*http.Request, error)
ListPreparer prepares the List request.
func (BackupProtectionContainersClient) ListResponder ¶
func (client BackupProtectionContainersClient) ListResponder(resp *http.Response) (result ProtectionContainerResourceList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (BackupProtectionContainersClient) ListSender ¶
func (client BackupProtectionContainersClient) ListSender(req *http.Request) (*http.Response, error)
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type BackupRequest ¶
type BackupRequest interface {
AsIaasVMBackupRequest() (*IaasVMBackupRequest, bool)
}
BackupRequest is base class for backup request. Workload-specific backup requests are derived from this class.
type BackupRequestResource ¶
type BackupRequestResource struct { ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Location *string `json:"location,omitempty"` Tags *map[string]*string `json:"tags,omitempty"` ETag *string `json:"eTag,omitempty"` Properties BackupRequest `json:"properties,omitempty"` }
BackupRequestResource is base class for backup request. Workload-specific backup requests are derived from this class.
func (*BackupRequestResource) UnmarshalJSON ¶
func (brr *BackupRequestResource) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for BackupRequestResource struct.
type BackupResourceConfig ¶
type BackupResourceConfig struct { StorageType StorageType `json:"storageType,omitempty"` StorageTypeState StorageTypeState `json:"storageTypeState,omitempty"` }
BackupResourceConfig is the resource storage details.
type BackupResourceConfigResource ¶
type BackupResourceConfigResource struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Location *string `json:"location,omitempty"` Tags *map[string]*string `json:"tags,omitempty"` ETag *string `json:"eTag,omitempty"` Properties *BackupResourceConfig `json:"properties,omitempty"` }
BackupResourceConfigResource is the resource storage details.
type BackupResourceStorageConfigsClient ¶
type BackupResourceStorageConfigsClient struct {
ManagementClient
}
BackupResourceStorageConfigsClient is the open API 2.0 Specs for Azure RecoveryServices Backup service
func NewBackupResourceStorageConfigsClient ¶
func NewBackupResourceStorageConfigsClient(subscriptionID string) BackupResourceStorageConfigsClient
NewBackupResourceStorageConfigsClient creates an instance of the BackupResourceStorageConfigsClient client.
func NewBackupResourceStorageConfigsClientWithBaseURI ¶
func NewBackupResourceStorageConfigsClientWithBaseURI(baseURI string, subscriptionID string) BackupResourceStorageConfigsClient
NewBackupResourceStorageConfigsClientWithBaseURI creates an instance of the BackupResourceStorageConfigsClient client.
func (BackupResourceStorageConfigsClient) Get ¶
func (client BackupResourceStorageConfigsClient) Get(vaultName string, resourceGroupName string) (result BackupResourceConfigResource, err error)
Get fetches resource storage config.
vaultName is the name of the recovery services vault. resourceGroupName is the name of the resource group where the recovery services vault is present.
func (BackupResourceStorageConfigsClient) GetPreparer ¶
func (client BackupResourceStorageConfigsClient) GetPreparer(vaultName string, resourceGroupName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (BackupResourceStorageConfigsClient) GetResponder ¶
func (client BackupResourceStorageConfigsClient) GetResponder(resp *http.Response) (result BackupResourceConfigResource, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (BackupResourceStorageConfigsClient) GetSender ¶
func (client BackupResourceStorageConfigsClient) GetSender(req *http.Request) (*http.Response, error)
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (BackupResourceStorageConfigsClient) Update ¶
func (client BackupResourceStorageConfigsClient) Update(vaultName string, resourceGroupName string) (result autorest.Response, err error)
Update updates vault storage model type.
vaultName is the name of the recovery services vault. resourceGroupName is the name of the resource group where the recovery services vault is present.
func (BackupResourceStorageConfigsClient) UpdatePreparer ¶
func (client BackupResourceStorageConfigsClient) UpdatePreparer(vaultName string, resourceGroupName string) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (BackupResourceStorageConfigsClient) UpdateResponder ¶
func (client BackupResourceStorageConfigsClient) UpdateResponder(resp *http.Response) (result autorest.Response, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (BackupResourceStorageConfigsClient) UpdateSender ¶
func (client BackupResourceStorageConfigsClient) UpdateSender(req *http.Request) (*http.Response, error)
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type BackupResourceVaultConfig ¶
type BackupResourceVaultConfig struct { StorageType StorageType `json:"storageType,omitempty"` StorageTypeState StorageTypeState `json:"storageTypeState,omitempty"` EnhancedSecurityState EnhancedSecurityState `json:"enhancedSecurityState,omitempty"` }
BackupResourceVaultConfig is backup resource vault config details.
type BackupResourceVaultConfigResource ¶
type BackupResourceVaultConfigResource struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Location *string `json:"location,omitempty"` Tags *map[string]*string `json:"tags,omitempty"` ETag *string `json:"eTag,omitempty"` Properties *BackupResourceVaultConfig `json:"properties,omitempty"` }
BackupResourceVaultConfigResource is backup resource vault config details.
type BackupResourceVaultConfigsClient ¶
type BackupResourceVaultConfigsClient struct {
ManagementClient
}
BackupResourceVaultConfigsClient is the open API 2.0 Specs for Azure RecoveryServices Backup service
func NewBackupResourceVaultConfigsClient ¶
func NewBackupResourceVaultConfigsClient(subscriptionID string) BackupResourceVaultConfigsClient
NewBackupResourceVaultConfigsClient creates an instance of the BackupResourceVaultConfigsClient client.
func NewBackupResourceVaultConfigsClientWithBaseURI ¶
func NewBackupResourceVaultConfigsClientWithBaseURI(baseURI string, subscriptionID string) BackupResourceVaultConfigsClient
NewBackupResourceVaultConfigsClientWithBaseURI creates an instance of the BackupResourceVaultConfigsClient client.
func (BackupResourceVaultConfigsClient) Get ¶
func (client BackupResourceVaultConfigsClient) Get(vaultName string, resourceGroupName string) (result BackupResourceVaultConfigResource, err error)
Get fetches resource vault config.
vaultName is the name of the recovery services vault. resourceGroupName is the name of the resource group where the recovery services vault is present.
func (BackupResourceVaultConfigsClient) GetPreparer ¶
func (client BackupResourceVaultConfigsClient) GetPreparer(vaultName string, resourceGroupName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (BackupResourceVaultConfigsClient) GetResponder ¶
func (client BackupResourceVaultConfigsClient) GetResponder(resp *http.Response) (result BackupResourceVaultConfigResource, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (BackupResourceVaultConfigsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (BackupResourceVaultConfigsClient) Update ¶
func (client BackupResourceVaultConfigsClient) Update(vaultName string, resourceGroupName string, parameters BackupResourceVaultConfigResource) (result BackupResourceVaultConfigResource, err error)
Update updates vault security config.
vaultName is the name of the recovery services vault. resourceGroupName is the name of the resource group where the recovery services vault is present. parameters is resource config request
func (BackupResourceVaultConfigsClient) UpdatePreparer ¶
func (client BackupResourceVaultConfigsClient) UpdatePreparer(vaultName string, resourceGroupName string, parameters BackupResourceVaultConfigResource) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (BackupResourceVaultConfigsClient) UpdateResponder ¶
func (client BackupResourceVaultConfigsClient) UpdateResponder(resp *http.Response) (result BackupResourceVaultConfigResource, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (BackupResourceVaultConfigsClient) UpdateSender ¶
func (client BackupResourceVaultConfigsClient) UpdateSender(req *http.Request) (*http.Response, error)
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type BackupUsageSummariesClient ¶
type BackupUsageSummariesClient struct {
ManagementClient
}
BackupUsageSummariesClient is the open API 2.0 Specs for Azure RecoveryServices Backup service
func NewBackupUsageSummariesClient ¶
func NewBackupUsageSummariesClient(subscriptionID string) BackupUsageSummariesClient
NewBackupUsageSummariesClient creates an instance of the BackupUsageSummariesClient client.
func NewBackupUsageSummariesClientWithBaseURI ¶
func NewBackupUsageSummariesClientWithBaseURI(baseURI string, subscriptionID string) BackupUsageSummariesClient
NewBackupUsageSummariesClientWithBaseURI creates an instance of the BackupUsageSummariesClient client.
func (BackupUsageSummariesClient) List ¶
func (client BackupUsageSummariesClient) List(vaultName string, resourceGroupName string, filter string, skipToken string) (result BackupManagementUsageList, err error)
List fetches the backup management usage summaries of the vault.
vaultName is the name of the recovery services vault. resourceGroupName is the name of the resource group where the recovery services vault is present. filter is oData filter options. skipToken is skipToken Filter.
func (BackupUsageSummariesClient) ListPreparer ¶
func (client BackupUsageSummariesClient) ListPreparer(vaultName string, resourceGroupName string, filter string, skipToken string) (*http.Request, error)
ListPreparer prepares the List request.
func (BackupUsageSummariesClient) ListResponder ¶
func (client BackupUsageSummariesClient) ListResponder(resp *http.Response) (result BackupManagementUsageList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (BackupUsageSummariesClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type BackupsClient ¶
type BackupsClient struct {
ManagementClient
}
BackupsClient is the open API 2.0 Specs for Azure RecoveryServices Backup service
func NewBackupsClient ¶
func NewBackupsClient(subscriptionID string) BackupsClient
NewBackupsClient creates an instance of the BackupsClient client.
func NewBackupsClientWithBaseURI ¶
func NewBackupsClientWithBaseURI(baseURI string, subscriptionID string) BackupsClient
NewBackupsClientWithBaseURI creates an instance of the BackupsClient client.
func (BackupsClient) Trigger ¶
func (client BackupsClient) Trigger(vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string, parameters BackupRequestResource) (result autorest.Response, err error)
Trigger triggers backup for specified backed up item. This is an asynchronous operation. To know the status of the operation, call GetProtectedItemOperationResult API.
vaultName is the name of the recovery services vault. resourceGroupName is the name of the resource group where the recovery services vault is present. fabricName is fabric name associated with the backup item. containerName is container name associated with the backup item. protectedItemName is backup item for which backup needs to be triggered. parameters is resource backup request
func (BackupsClient) TriggerPreparer ¶
func (client BackupsClient) TriggerPreparer(vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string, parameters BackupRequestResource) (*http.Request, error)
TriggerPreparer prepares the Trigger request.
func (BackupsClient) TriggerResponder ¶
func (client BackupsClient) TriggerResponder(resp *http.Response) (result autorest.Response, err error)
TriggerResponder handles the response to the Trigger request. The method always closes the http.Response Body.
func (BackupsClient) TriggerSender ¶
TriggerSender sends the Trigger request. The method will close the http.Response Body if it receives an error.
type ClientDiscoveryDisplay ¶
type ClientDiscoveryDisplay struct { Provider *string `json:"Provider,omitempty"` Resource *string `json:"Resource,omitempty"` Operation *string `json:"Operation,omitempty"` Description *string `json:"Description,omitempty"` }
ClientDiscoveryDisplay is localized display information of an operation.
type ClientDiscoveryForLogSpecification ¶
type ClientDiscoveryForLogSpecification struct { Name *string `json:"name,omitempty"` DisplayName *string `json:"displayName,omitempty"` BlobDuration *string `json:"blobDuration,omitempty"` }
ClientDiscoveryForLogSpecification is class to represent shoebox log specification in json client discovery.
type ClientDiscoveryForProperties ¶
type ClientDiscoveryForProperties struct {
ServiceSpecification *ClientDiscoveryForServiceSpecification `json:"serviceSpecification,omitempty"`
}
ClientDiscoveryForProperties is class to represent shoebox properties in json client discovery.
type ClientDiscoveryForServiceSpecification ¶
type ClientDiscoveryForServiceSpecification struct {
LogSpecifications *[]ClientDiscoveryForLogSpecification `json:"logSpecifications,omitempty"`
}
ClientDiscoveryForServiceSpecification is class to represent shoebox service specification in json client discovery.
type ClientDiscoveryResponse ¶
type ClientDiscoveryResponse struct { autorest.Response `json:"-"` Value *[]ClientDiscoveryValueForSingleAPI `json:"Value,omitempty"` NextLink *string `json:"NextLink,omitempty"` }
ClientDiscoveryResponse is operations List response which contains list of available APIs.
func (ClientDiscoveryResponse) ClientDiscoveryResponsePreparer ¶
func (client ClientDiscoveryResponse) ClientDiscoveryResponsePreparer() (*http.Request, error)
ClientDiscoveryResponsePreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type ClientDiscoveryValueForSingleAPI ¶
type ClientDiscoveryValueForSingleAPI struct { Name *string `json:"Name,omitempty"` Display *ClientDiscoveryDisplay `json:"Display,omitempty"` Origin *string `json:"Origin,omitempty"` Properties *ClientDiscoveryForProperties `json:"Properties,omitempty"` }
ClientDiscoveryValueForSingleAPI is available operation details.
type ClientScriptForConnect ¶
type ClientScriptForConnect struct { ScriptContent *string `json:"scriptContent,omitempty"` ScriptExtension *string `json:"scriptExtension,omitempty"` OsType *string `json:"osType,omitempty"` URL *string `json:"url,omitempty"` ScriptNameSuffix *string `json:"scriptNameSuffix,omitempty"` }
ClientScriptForConnect is client script details for file / folder restore.
type ContainerType ¶
type ContainerType string
ContainerType enumerates the values for container type.
const ( // ContainerTypeAzureBackupServerContainer specifies the container type azure backup server container state for // container type. ContainerTypeAzureBackupServerContainer ContainerType = "AzureBackupServerContainer" // ContainerTypeAzureSQLContainer specifies the container type azure sql container state for container type. ContainerTypeAzureSQLContainer ContainerType = "AzureSqlContainer" // ContainerTypeCluster specifies the container type cluster state for container type. ContainerTypeCluster ContainerType = "Cluster" // ContainerTypeDPMContainer specifies the container type dpm container state for container type. ContainerTypeDPMContainer ContainerType = "DPMContainer" // ContainerTypeIaasVMContainer specifies the container type iaas vm container state for container type. ContainerTypeIaasVMContainer ContainerType = "IaasVMContainer" // ContainerTypeIaasVMServiceContainer specifies the container type iaas vm service container state for container type. ContainerTypeIaasVMServiceContainer ContainerType = "IaasVMServiceContainer" // ContainerTypeInvalid specifies the container type invalid state for container type. ContainerTypeInvalid ContainerType = "Invalid" // ContainerTypeMABContainer specifies the container type mab container state for container type. ContainerTypeMABContainer ContainerType = "MABContainer" // ContainerTypeUnknown specifies the container type unknown state for container type. ContainerTypeUnknown ContainerType = "Unknown" // ContainerTypeVCenter specifies the container type v center state for container type. ContainerTypeVCenter ContainerType = "VCenter" // ContainerTypeWindows specifies the container type windows state for container type. ContainerTypeWindows ContainerType = "Windows" )
type DPMContainerExtendedInfo ¶
type DPMContainerExtendedInfo struct {
LastRefreshedAt *date.Time `json:"lastRefreshedAt,omitempty"`
}
DPMContainerExtendedInfo is additional information of the DPMContainer.
type DPMProtectedItem ¶
type DPMProtectedItem struct { BackupManagementType BackupManagementType `json:"backupManagementType,omitempty"` WorkloadType DataSourceType `json:"workloadType,omitempty"` ContainerName *string `json:"containerName,omitempty"` SourceResourceID *string `json:"sourceResourceId,omitempty"` PolicyID *string `json:"policyId,omitempty"` LastRecoveryPoint *date.Time `json:"lastRecoveryPoint,omitempty"` ProtectedItemType ProtectedItemType `json:"protectedItemType,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` BackupEngineName *string `json:"backupEngineName,omitempty"` ProtectionState ProtectedItemState `json:"protectionState,omitempty"` IsScheduledForDeferredDelete *bool `json:"isScheduledForDeferredDelete,omitempty"` ExtendedInfo *DPMProtectedItemExtendedInfo `json:"extendedInfo,omitempty"` }
DPMProtectedItem is additional information on Backup engine specific backup item.
func (DPMProtectedItem) AsAzureIaaSClassicComputeVMProtectedItem ¶
func (dpi DPMProtectedItem) AsAzureIaaSClassicComputeVMProtectedItem() (*AzureIaaSClassicComputeVMProtectedItem, bool)
AsAzureIaaSClassicComputeVMProtectedItem is the ProtectedItem implementation for DPMProtectedItem.
func (DPMProtectedItem) AsAzureIaaSComputeVMProtectedItem ¶
func (dpi DPMProtectedItem) AsAzureIaaSComputeVMProtectedItem() (*AzureIaaSComputeVMProtectedItem, bool)
AsAzureIaaSComputeVMProtectedItem is the ProtectedItem implementation for DPMProtectedItem.
func (DPMProtectedItem) AsAzureIaaSVMProtectedItem ¶
func (dpi DPMProtectedItem) AsAzureIaaSVMProtectedItem() (*AzureIaaSVMProtectedItem, bool)
AsAzureIaaSVMProtectedItem is the ProtectedItem implementation for DPMProtectedItem.
func (DPMProtectedItem) AsAzureSQLProtectedItem ¶
func (dpi DPMProtectedItem) AsAzureSQLProtectedItem() (*AzureSQLProtectedItem, bool)
AsAzureSQLProtectedItem is the ProtectedItem implementation for DPMProtectedItem.
func (DPMProtectedItem) AsDPMProtectedItem ¶
func (dpi DPMProtectedItem) AsDPMProtectedItem() (*DPMProtectedItem, bool)
AsDPMProtectedItem is the ProtectedItem implementation for DPMProtectedItem.
func (DPMProtectedItem) AsMabFileFolderProtectedItem ¶
func (dpi DPMProtectedItem) AsMabFileFolderProtectedItem() (*MabFileFolderProtectedItem, bool)
AsMabFileFolderProtectedItem is the ProtectedItem implementation for DPMProtectedItem.
func (DPMProtectedItem) MarshalJSON ¶
func (dpi DPMProtectedItem) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DPMProtectedItem.
type DPMProtectedItemExtendedInfo ¶
type DPMProtectedItemExtendedInfo struct { ProtectableObjectLoadPath *map[string]*string `json:"protectableObjectLoadPath,omitempty"` Protected *bool `json:"protected,omitempty"` IsPresentOnCloud *bool `json:"isPresentOnCloud,omitempty"` LastBackupStatus *string `json:"lastBackupStatus,omitempty"` LastRefreshedAt *date.Time `json:"lastRefreshedAt,omitempty"` OldestRecoveryPoint *date.Time `json:"oldestRecoveryPoint,omitempty"` RecoveryPointCount *int32 `json:"recoveryPointCount,omitempty"` OnPremiseOldestRecoveryPoint *date.Time `json:"onPremiseOldestRecoveryPoint,omitempty"` OnPremiseLatestRecoveryPoint *date.Time `json:"onPremiseLatestRecoveryPoint,omitempty"` OnPremiseRecoveryPointCount *int32 `json:"onPremiseRecoveryPointCount,omitempty"` IsCollocated *bool `json:"isCollocated,omitempty"` ProtectionGroupName *string `json:"protectionGroupName,omitempty"` DiskStorageUsedInBytes *string `json:"diskStorageUsedInBytes,omitempty"` TotalDiskStorageSizeInBytes *string `json:"totalDiskStorageSizeInBytes,omitempty"` }
DPMProtectedItemExtendedInfo is additional information of DPM Protected item.
type DailyRetentionFormat ¶
type DailyRetentionFormat struct {
DaysOfTheMonth *[]Day `json:"daysOfTheMonth,omitempty"`
}
DailyRetentionFormat is daily retention format.
type DailyRetentionSchedule ¶
type DailyRetentionSchedule struct { RetentionTimes *[]date.Time `json:"retentionTimes,omitempty"` RetentionDuration *RetentionDuration `json:"retentionDuration,omitempty"` }
DailyRetentionSchedule is daily retention schedule.
type DataSourceType ¶
type DataSourceType string
DataSourceType enumerates the values for data source type.
const ( // DataSourceTypeAzureSQLDb specifies the data source type azure sql db state for data source type. DataSourceTypeAzureSQLDb DataSourceType = "AzureSqlDb" // DataSourceTypeClient specifies the data source type client state for data source type. DataSourceTypeClient DataSourceType = "Client" // DataSourceTypeExchange specifies the data source type exchange state for data source type. DataSourceTypeExchange DataSourceType = "Exchange" // DataSourceTypeFileFolder specifies the data source type file folder state for data source type. DataSourceTypeFileFolder DataSourceType = "FileFolder" // DataSourceTypeGenericDataSource specifies the data source type generic data source state for data source type. DataSourceTypeGenericDataSource DataSourceType = "GenericDataSource" // DataSourceTypeInvalid specifies the data source type invalid state for data source type. DataSourceTypeInvalid DataSourceType = "Invalid" DataSourceTypeSharepoint DataSourceType = "Sharepoint" // DataSourceTypeSQLDB specifies the data source type sqldb state for data source type. DataSourceTypeSQLDB DataSourceType = "SQLDB" // DataSourceTypeSystemState specifies the data source type system state state for data source type. DataSourceTypeSystemState DataSourceType = "SystemState" // DataSourceTypeVM specifies the data source type vm state for data source type. DataSourceTypeVM DataSourceType = "VM" // DataSourceTypeVMwareVM specifies the data source type v mware vm state for data source type. DataSourceTypeVMwareVM DataSourceType = "VMwareVM" )
type DayOfWeek ¶
type DayOfWeek string
DayOfWeek enumerates the values for day of week.
const ( // Friday specifies the friday state for day of week. Friday DayOfWeek = "Friday" // Monday specifies the monday state for day of week. Monday DayOfWeek = "Monday" // Saturday specifies the saturday state for day of week. Saturday DayOfWeek = "Saturday" // Sunday specifies the sunday state for day of week. Sunday DayOfWeek = "Sunday" // Thursday specifies the thursday state for day of week. Thursday DayOfWeek = "Thursday" // Tuesday specifies the tuesday state for day of week. Tuesday DayOfWeek = "Tuesday" // Wednesday specifies the wednesday state for day of week. Wednesday DayOfWeek = "Wednesday" )
type DpmBackupEngine ¶
type DpmBackupEngine struct { FriendlyName *string `json:"friendlyName,omitempty"` BackupManagementType BackupManagementType `json:"backupManagementType,omitempty"` RegistrationStatus *string `json:"registrationStatus,omitempty"` BackupEngineState *string `json:"backupEngineState,omitempty"` HealthStatus *string `json:"healthStatus,omitempty"` CanReRegister *bool `json:"canReRegister,omitempty"` BackupEngineID *string `json:"backupEngineId,omitempty"` DpmVersion *string `json:"dpmVersion,omitempty"` AzureBackupAgentVersion *string `json:"azureBackupAgentVersion,omitempty"` IsAzureBackupAgentUpgradeAvailable *bool `json:"isAzureBackupAgentUpgradeAvailable,omitempty"` IsDPMUpgradeAvailable *bool `json:"isDPMUpgradeAvailable,omitempty"` ExtendedInfo *BackupEngineExtendedInfo `json:"extendedInfo,omitempty"` BackupEngineType BackupEngineType `json:"backupEngineType,omitempty"` }
DpmBackupEngine is data Protection Manager (DPM) specific backup engine.
func (DpmBackupEngine) AsAzureBackupServerEngine ¶
func (dbe DpmBackupEngine) AsAzureBackupServerEngine() (*AzureBackupServerEngine, bool)
AsAzureBackupServerEngine is the BackupEngineBase implementation for DpmBackupEngine.
func (DpmBackupEngine) AsDpmBackupEngine ¶
func (dbe DpmBackupEngine) AsDpmBackupEngine() (*DpmBackupEngine, bool)
AsDpmBackupEngine is the BackupEngineBase implementation for DpmBackupEngine.
func (DpmBackupEngine) MarshalJSON ¶
func (dbe DpmBackupEngine) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DpmBackupEngine.
type DpmContainer ¶
type DpmContainer struct { FriendlyName *string `json:"friendlyName,omitempty"` BackupManagementType BackupManagementType `json:"backupManagementType,omitempty"` RegistrationStatus *string `json:"registrationStatus,omitempty"` HealthStatus *string `json:"healthStatus,omitempty"` ContainerType ContainerType `json:"containerType,omitempty"` ProtectableObjectType ProtectableObjectType `json:"protectableObjectType,omitempty"` CanReRegister *bool `json:"canReRegister,omitempty"` ContainerID *string `json:"containerId,omitempty"` ProtectedItemCount *int64 `json:"protectedItemCount,omitempty"` DpmAgentVersion *string `json:"dpmAgentVersion,omitempty"` DPMServers *[]string `json:"DPMServers,omitempty"` UpgradeAvailable *bool `json:"UpgradeAvailable,omitempty"` ProtectionStatus *string `json:"protectionStatus,omitempty"` ExtendedInfo *DPMContainerExtendedInfo `json:"extendedInfo,omitempty"` }
DpmContainer is DPM workload-specific protection container.
func (DpmContainer) AsAzureBackupServerContainer ¶
func (dc DpmContainer) AsAzureBackupServerContainer() (*AzureBackupServerContainer, bool)
AsAzureBackupServerContainer is the ProtectionContainer implementation for DpmContainer.
func (DpmContainer) AsAzureIaaSClassicComputeVMContainer ¶
func (dc DpmContainer) AsAzureIaaSClassicComputeVMContainer() (*AzureIaaSClassicComputeVMContainer, bool)
AsAzureIaaSClassicComputeVMContainer is the ProtectionContainer implementation for DpmContainer.
func (DpmContainer) AsAzureIaaSComputeVMContainer ¶
func (dc DpmContainer) AsAzureIaaSComputeVMContainer() (*AzureIaaSComputeVMContainer, bool)
AsAzureIaaSComputeVMContainer is the ProtectionContainer implementation for DpmContainer.
func (DpmContainer) AsAzureSQLContainer ¶
func (dc DpmContainer) AsAzureSQLContainer() (*AzureSQLContainer, bool)
AsAzureSQLContainer is the ProtectionContainer implementation for DpmContainer.
func (DpmContainer) AsDpmContainer ¶
func (dc DpmContainer) AsDpmContainer() (*DpmContainer, bool)
AsDpmContainer is the ProtectionContainer implementation for DpmContainer.
func (DpmContainer) AsIaaSVMContainer ¶
func (dc DpmContainer) AsIaaSVMContainer() (*IaaSVMContainer, bool)
AsIaaSVMContainer is the ProtectionContainer implementation for DpmContainer.
func (DpmContainer) AsMabContainer ¶
func (dc DpmContainer) AsMabContainer() (*MabContainer, bool)
AsMabContainer is the ProtectionContainer implementation for DpmContainer.
func (DpmContainer) MarshalJSON ¶
func (dc DpmContainer) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DpmContainer.
type DpmErrorInfo ¶
type DpmErrorInfo struct { ErrorString *string `json:"errorString,omitempty"` Recommendations *[]string `json:"recommendations,omitempty"` }
DpmErrorInfo is DPM workload-specific error information.
type DpmJob ¶
type DpmJob struct { EntityFriendlyName *string `json:"entityFriendlyName,omitempty"` BackupManagementType BackupManagementType `json:"backupManagementType,omitempty"` Operation *string `json:"operation,omitempty"` Status *string `json:"status,omitempty"` StartTime *date.Time `json:"startTime,omitempty"` EndTime *date.Time `json:"endTime,omitempty"` ActivityID *string `json:"activityId,omitempty"` JobType JobType `json:"jobType,omitempty"` Duration *string `json:"duration,omitempty"` DpmServerName *string `json:"dpmServerName,omitempty"` ContainerName *string `json:"containerName,omitempty"` ContainerType *string `json:"containerType,omitempty"` WorkloadType *string `json:"workloadType,omitempty"` ActionsInfo *[]JobSupportedAction `json:"actionsInfo,omitempty"` ErrorDetails *[]DpmErrorInfo `json:"errorDetails,omitempty"` ExtendedInfo *DpmJobExtendedInfo `json:"extendedInfo,omitempty"` }
DpmJob is DPM workload-specifc job object.
func (DpmJob) AsAzureIaaSVMJob ¶
func (dj DpmJob) AsAzureIaaSVMJob() (*AzureIaaSVMJob, bool)
AsAzureIaaSVMJob is the Job implementation for DpmJob.
func (DpmJob) MarshalJSON ¶
MarshalJSON is the custom marshaler for DpmJob.
type DpmJobExtendedInfo ¶
type DpmJobExtendedInfo struct { TasksList *[]DpmJobTaskDetails `json:"tasksList,omitempty"` PropertyBag *map[string]*string `json:"propertyBag,omitempty"` DynamicErrorMessage *string `json:"dynamicErrorMessage,omitempty"` }
DpmJobExtendedInfo is additional information on the DPM workload-specific job.
type DpmJobTaskDetails ¶
type DpmJobTaskDetails struct { TaskID *string `json:"taskId,omitempty"` StartTime *date.Time `json:"startTime,omitempty"` EndTime *date.Time `json:"endTime,omitempty"` Duration *string `json:"duration,omitempty"` Status *string `json:"status,omitempty"` }
DpmJobTaskDetails is DPM workload-specific job task details.
type EncryptionDetails ¶
type EncryptionDetails struct { EncryptionEnabled *bool `json:"encryptionEnabled,omitempty"` KekURL *string `json:"kekUrl,omitempty"` SecretKeyURL *string `json:"secretKeyUrl,omitempty"` KekVaultID *string `json:"kekVaultId,omitempty"` SecretKeyVaultID *string `json:"secretKeyVaultId,omitempty"` }
EncryptionDetails is details needed if the VM was encrypted at the time of backup.
type EnhancedSecurityState ¶
type EnhancedSecurityState string
EnhancedSecurityState enumerates the values for enhanced security state.
const ( // EnhancedSecurityStateDisabled specifies the enhanced security state disabled state for enhanced security state. EnhancedSecurityStateDisabled EnhancedSecurityState = "Disabled" // EnhancedSecurityStateEnabled specifies the enhanced security state enabled state for enhanced security state. EnhancedSecurityStateEnabled EnhancedSecurityState = "Enabled" // EnhancedSecurityStateInvalid specifies the enhanced security state invalid state for enhanced security state. EnhancedSecurityStateInvalid EnhancedSecurityState = "Invalid" )
type ExportJobsOperationResultInfo ¶
type ExportJobsOperationResultInfo struct { ObjectType ObjectTypeOperationResultInfoBase `json:"objectType,omitempty"` BlobURL *string `json:"blobUrl,omitempty"` BlobSasKey *string `json:"blobSasKey,omitempty"` }
ExportJobsOperationResultInfo is this class is used to send blob details after exporting jobs.
func (ExportJobsOperationResultInfo) AsExportJobsOperationResultInfo ¶
func (ejori ExportJobsOperationResultInfo) AsExportJobsOperationResultInfo() (*ExportJobsOperationResultInfo, bool)
AsExportJobsOperationResultInfo is the OperationResultInfoBase implementation for ExportJobsOperationResultInfo.
func (ExportJobsOperationResultInfo) AsOperationResultInfo ¶
func (ejori ExportJobsOperationResultInfo) AsOperationResultInfo() (*OperationResultInfo, bool)
AsOperationResultInfo is the OperationResultInfoBase implementation for ExportJobsOperationResultInfo.
func (ExportJobsOperationResultInfo) MarshalJSON ¶
func (ejori ExportJobsOperationResultInfo) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ExportJobsOperationResultInfo.
type ExportJobsOperationResultsClient ¶
type ExportJobsOperationResultsClient struct {
ManagementClient
}
ExportJobsOperationResultsClient is the open API 2.0 Specs for Azure RecoveryServices Backup service
func NewExportJobsOperationResultsClient ¶
func NewExportJobsOperationResultsClient(subscriptionID string) ExportJobsOperationResultsClient
NewExportJobsOperationResultsClient creates an instance of the ExportJobsOperationResultsClient client.
func NewExportJobsOperationResultsClientWithBaseURI ¶
func NewExportJobsOperationResultsClientWithBaseURI(baseURI string, subscriptionID string) ExportJobsOperationResultsClient
NewExportJobsOperationResultsClientWithBaseURI creates an instance of the ExportJobsOperationResultsClient client.
func (ExportJobsOperationResultsClient) Get ¶
func (client ExportJobsOperationResultsClient) Get(vaultName string, resourceGroupName string, operationID string) (result OperationResultInfoBaseResource, err error)
Get gets the operation result of operation triggered by Export Jobs API. If the operation is successful, then it also contains URL of a Blob and a SAS key to access the same. The blob contains exported jobs in JSON serialized format.
vaultName is the name of the recovery services vault. resourceGroupName is the name of the resource group where the recovery services vault is present. operationID is operationID which represents the export job.
func (ExportJobsOperationResultsClient) GetPreparer ¶
func (client ExportJobsOperationResultsClient) GetPreparer(vaultName string, resourceGroupName string, operationID string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ExportJobsOperationResultsClient) GetResponder ¶
func (client ExportJobsOperationResultsClient) GetResponder(resp *http.Response) (result OperationResultInfoBaseResource, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
type GenericRecoveryPoint ¶
type GenericRecoveryPoint struct { ObjectType ObjectTypeRecoveryPoint `json:"objectType,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` RecoveryPointType *string `json:"recoveryPointType,omitempty"` RecoveryPointTime *date.Time `json:"recoveryPointTime,omitempty"` RecoveryPointAdditionalInfo *string `json:"recoveryPointAdditionalInfo,omitempty"` }
GenericRecoveryPoint is generic backup copy.
func (GenericRecoveryPoint) AsGenericRecoveryPoint ¶
func (grp GenericRecoveryPoint) AsGenericRecoveryPoint() (*GenericRecoveryPoint, bool)
AsGenericRecoveryPoint is the RecoveryPoint implementation for GenericRecoveryPoint.
func (GenericRecoveryPoint) AsIaasVMRecoveryPoint ¶
func (grp GenericRecoveryPoint) AsIaasVMRecoveryPoint() (*IaasVMRecoveryPoint, bool)
AsIaasVMRecoveryPoint is the RecoveryPoint implementation for GenericRecoveryPoint.
func (GenericRecoveryPoint) MarshalJSON ¶
func (grp GenericRecoveryPoint) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for GenericRecoveryPoint.
type GetProtectedItemQueryObject ¶
type GetProtectedItemQueryObject struct {
Expand *string `json:"expand,omitempty"`
}
GetProtectedItemQueryObject is filters to list backup items.
type HTTPStatusCode ¶
type HTTPStatusCode string
HTTPStatusCode enumerates the values for http status code.
const ( // Accepted specifies the accepted state for http status code. Accepted HTTPStatusCode = "Accepted" // Ambiguous specifies the ambiguous state for http status code. Ambiguous HTTPStatusCode = "Ambiguous" // BadGateway specifies the bad gateway state for http status code. BadGateway HTTPStatusCode = "BadGateway" // BadRequest specifies the bad request state for http status code. BadRequest HTTPStatusCode = "BadRequest" // Conflict specifies the conflict state for http status code. Conflict HTTPStatusCode = "Conflict" // Continue specifies the continue state for http status code. Continue HTTPStatusCode = "Continue" // Created specifies the created state for http status code. Created HTTPStatusCode = "Created" // ExpectationFailed specifies the expectation failed state for http status code. ExpectationFailed HTTPStatusCode = "ExpectationFailed" // Forbidden specifies the forbidden state for http status code. Forbidden HTTPStatusCode = "Forbidden" // Found specifies the found state for http status code. Found HTTPStatusCode = "Found" // GatewayTimeout specifies the gateway timeout state for http status code. GatewayTimeout HTTPStatusCode = "GatewayTimeout" // Gone specifies the gone state for http status code. Gone HTTPStatusCode = "Gone" // HTTPVersionNotSupported specifies the http version not supported state for http status code. HTTPVersionNotSupported HTTPStatusCode = "HttpVersionNotSupported" // InternalServerError specifies the internal server error state for http status code. InternalServerError HTTPStatusCode = "InternalServerError" // LengthRequired specifies the length required state for http status code. LengthRequired HTTPStatusCode = "LengthRequired" // MethodNotAllowed specifies the method not allowed state for http status code. MethodNotAllowed HTTPStatusCode = "MethodNotAllowed" // Moved specifies the moved state for http status code. Moved HTTPStatusCode = "Moved" // MovedPermanently specifies the moved permanently state for http status code. MovedPermanently HTTPStatusCode = "MovedPermanently" // MultipleChoices specifies the multiple choices state for http status code. MultipleChoices HTTPStatusCode = "MultipleChoices" // NoContent specifies the no content state for http status code. NoContent HTTPStatusCode = "NoContent" // NonAuthoritativeInformation specifies the non authoritative information state for http status code. NonAuthoritativeInformation HTTPStatusCode = "NonAuthoritativeInformation" // NotAcceptable specifies the not acceptable state for http status code. NotAcceptable HTTPStatusCode = "NotAcceptable" // NotFound specifies the not found state for http status code. NotFound HTTPStatusCode = "NotFound" // NotImplemented specifies the not implemented state for http status code. NotImplemented HTTPStatusCode = "NotImplemented" // NotModified specifies the not modified state for http status code. NotModified HTTPStatusCode = "NotModified" // OK specifies the ok state for http status code. OK HTTPStatusCode = "OK" // PartialContent specifies the partial content state for http status code. PartialContent HTTPStatusCode = "PartialContent" // PaymentRequired specifies the payment required state for http status code. PaymentRequired HTTPStatusCode = "PaymentRequired" // PreconditionFailed specifies the precondition failed state for http status code. PreconditionFailed HTTPStatusCode = "PreconditionFailed" // ProxyAuthenticationRequired specifies the proxy authentication required state for http status code. ProxyAuthenticationRequired HTTPStatusCode = "ProxyAuthenticationRequired" // Redirect specifies the redirect state for http status code. Redirect HTTPStatusCode = "Redirect" // RedirectKeepVerb specifies the redirect keep verb state for http status code. RedirectKeepVerb HTTPStatusCode = "RedirectKeepVerb" // RedirectMethod specifies the redirect method state for http status code. RedirectMethod HTTPStatusCode = "RedirectMethod" // RequestedRangeNotSatisfiable specifies the requested range not satisfiable state for http status code. RequestedRangeNotSatisfiable HTTPStatusCode = "RequestedRangeNotSatisfiable" // RequestEntityTooLarge specifies the request entity too large state for http status code. RequestEntityTooLarge HTTPStatusCode = "RequestEntityTooLarge" // RequestTimeout specifies the request timeout state for http status code. RequestTimeout HTTPStatusCode = "RequestTimeout" // RequestURITooLong specifies the request uri too long state for http status code. RequestURITooLong HTTPStatusCode = "RequestUriTooLong" // ResetContent specifies the reset content state for http status code. ResetContent HTTPStatusCode = "ResetContent" // SeeOther specifies the see other state for http status code. SeeOther HTTPStatusCode = "SeeOther" ServiceUnavailable HTTPStatusCode = "ServiceUnavailable" // SwitchingProtocols specifies the switching protocols state for http status code. SwitchingProtocols HTTPStatusCode = "SwitchingProtocols" // TemporaryRedirect specifies the temporary redirect state for http status code. TemporaryRedirect HTTPStatusCode = "TemporaryRedirect" Unauthorized HTTPStatusCode = "Unauthorized" // UnsupportedMediaType specifies the unsupported media type state for http status code. UnsupportedMediaType HTTPStatusCode = "UnsupportedMediaType" // Unused specifies the unused state for http status code. Unused HTTPStatusCode = "Unused" // UpgradeRequired specifies the upgrade required state for http status code. UpgradeRequired HTTPStatusCode = "UpgradeRequired" // UseProxy specifies the use proxy state for http status code. UseProxy HTTPStatusCode = "UseProxy" )
type HealthState ¶
type HealthState string
HealthState enumerates the values for health state.
const ( // HealthStateActionRequired specifies the health state action required state for health state. HealthStateActionRequired HealthState = "ActionRequired" // HealthStateActionSuggested specifies the health state action suggested state for health state. HealthStateActionSuggested HealthState = "ActionSuggested" // HealthStateInvalid specifies the health state invalid state for health state. HealthStateInvalid HealthState = "Invalid" // HealthStatePassed specifies the health state passed state for health state. HealthStatePassed HealthState = "Passed" )
type HealthStatus ¶
type HealthStatus string
HealthStatus enumerates the values for health status.
const ( // HealthStatusActionRequired specifies the health status action required state for health status. HealthStatusActionRequired HealthStatus = "ActionRequired" // HealthStatusActionSuggested specifies the health status action suggested state for health status. HealthStatusActionSuggested HealthStatus = "ActionSuggested" // HealthStatusInvalid specifies the health status invalid state for health status. HealthStatusInvalid HealthStatus = "Invalid" // HealthStatusPassed specifies the health status passed state for health status. HealthStatusPassed HealthStatus = "Passed" )
type ILRRequest ¶
type ILRRequest interface {
AsIaasVMILRRegistrationRequest() (*IaasVMILRRegistrationRequest, bool)
}
ILRRequest is parameters to restore file/folders API.
type ILRRequestResource ¶
type ILRRequestResource struct { ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Location *string `json:"location,omitempty"` Tags *map[string]*string `json:"tags,omitempty"` ETag *string `json:"eTag,omitempty"` Properties ILRRequest `json:"properties,omitempty"` }
ILRRequestResource is parameters to restore file/folders API.
func (*ILRRequestResource) UnmarshalJSON ¶
func (irr *ILRRequestResource) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ILRRequestResource struct.
type IaaSVMContainer ¶
type IaaSVMContainer struct { FriendlyName *string `json:"friendlyName,omitempty"` BackupManagementType BackupManagementType `json:"backupManagementType,omitempty"` RegistrationStatus *string `json:"registrationStatus,omitempty"` HealthStatus *string `json:"healthStatus,omitempty"` ContainerType ContainerType `json:"containerType,omitempty"` ProtectableObjectType ProtectableObjectType `json:"protectableObjectType,omitempty"` VirtualMachineID *string `json:"virtualMachineId,omitempty"` VirtualMachineVersion *string `json:"virtualMachineVersion,omitempty"` ResourceGroup *string `json:"resourceGroup,omitempty"` }
IaaSVMContainer is iaaS VM workload-specific container.
func (IaaSVMContainer) AsAzureBackupServerContainer ¶
func (isc IaaSVMContainer) AsAzureBackupServerContainer() (*AzureBackupServerContainer, bool)
AsAzureBackupServerContainer is the ProtectionContainer implementation for IaaSVMContainer.
func (IaaSVMContainer) AsAzureIaaSClassicComputeVMContainer ¶
func (isc IaaSVMContainer) AsAzureIaaSClassicComputeVMContainer() (*AzureIaaSClassicComputeVMContainer, bool)
AsAzureIaaSClassicComputeVMContainer is the ProtectionContainer implementation for IaaSVMContainer.
func (IaaSVMContainer) AsAzureIaaSComputeVMContainer ¶
func (isc IaaSVMContainer) AsAzureIaaSComputeVMContainer() (*AzureIaaSComputeVMContainer, bool)
AsAzureIaaSComputeVMContainer is the ProtectionContainer implementation for IaaSVMContainer.
func (IaaSVMContainer) AsAzureSQLContainer ¶
func (isc IaaSVMContainer) AsAzureSQLContainer() (*AzureSQLContainer, bool)
AsAzureSQLContainer is the ProtectionContainer implementation for IaaSVMContainer.
func (IaaSVMContainer) AsDpmContainer ¶
func (isc IaaSVMContainer) AsDpmContainer() (*DpmContainer, bool)
AsDpmContainer is the ProtectionContainer implementation for IaaSVMContainer.
func (IaaSVMContainer) AsIaaSVMContainer ¶
func (isc IaaSVMContainer) AsIaaSVMContainer() (*IaaSVMContainer, bool)
AsIaaSVMContainer is the ProtectionContainer implementation for IaaSVMContainer.
func (IaaSVMContainer) AsMabContainer ¶
func (isc IaaSVMContainer) AsMabContainer() (*MabContainer, bool)
AsMabContainer is the ProtectionContainer implementation for IaaSVMContainer.
func (IaaSVMContainer) MarshalJSON ¶
func (isc IaaSVMContainer) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for IaaSVMContainer.
type IaaSVMProtectableItem ¶
type IaaSVMProtectableItem struct { BackupManagementType *string `json:"backupManagementType,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` ProtectionState ProtectionStatus `json:"protectionState,omitempty"` ProtectableItemType ProtectableItemType `json:"protectableItemType,omitempty"` VirtualMachineID *string `json:"virtualMachineId,omitempty"` }
IaaSVMProtectableItem is iaaS VM workload-specific backup item.
func (IaaSVMProtectableItem) AsAzureIaaSClassicComputeVMProtectableItem ¶
func (ispi IaaSVMProtectableItem) AsAzureIaaSClassicComputeVMProtectableItem() (*AzureIaaSClassicComputeVMProtectableItem, bool)
AsAzureIaaSClassicComputeVMProtectableItem is the WorkloadProtectableItem implementation for IaaSVMProtectableItem.
func (IaaSVMProtectableItem) AsAzureIaaSComputeVMProtectableItem ¶
func (ispi IaaSVMProtectableItem) AsAzureIaaSComputeVMProtectableItem() (*AzureIaaSComputeVMProtectableItem, bool)
AsAzureIaaSComputeVMProtectableItem is the WorkloadProtectableItem implementation for IaaSVMProtectableItem.
func (IaaSVMProtectableItem) AsIaaSVMProtectableItem ¶
func (ispi IaaSVMProtectableItem) AsIaaSVMProtectableItem() (*IaaSVMProtectableItem, bool)
AsIaaSVMProtectableItem is the WorkloadProtectableItem implementation for IaaSVMProtectableItem.
func (IaaSVMProtectableItem) MarshalJSON ¶
func (ispi IaaSVMProtectableItem) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for IaaSVMProtectableItem.
type IaasVMBackupRequest ¶
type IaasVMBackupRequest struct { ObjectType ObjectType `json:"objectType,omitempty"` RecoveryPointExpiryTimeInUTC *date.Time `json:"recoveryPointExpiryTimeInUTC,omitempty"` }
IaasVMBackupRequest is iaaS VM workload-specific backup request.
func (IaasVMBackupRequest) AsIaasVMBackupRequest ¶
func (ivbr IaasVMBackupRequest) AsIaasVMBackupRequest() (*IaasVMBackupRequest, bool)
AsIaasVMBackupRequest is the BackupRequest implementation for IaasVMBackupRequest.
func (IaasVMBackupRequest) MarshalJSON ¶
func (ivbr IaasVMBackupRequest) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for IaasVMBackupRequest.
type IaasVMILRRegistrationRequest ¶
type IaasVMILRRegistrationRequest struct { ObjectType ObjectTypeILRRequest `json:"objectType,omitempty"` RecoveryPointID *string `json:"recoveryPointId,omitempty"` VirtualMachineID *string `json:"virtualMachineId,omitempty"` InitiatorName *string `json:"initiatorName,omitempty"` RenewExistingRegistration *bool `json:"renewExistingRegistration,omitempty"` }
IaasVMILRRegistrationRequest is restore files/folders from a backup copy of IaaS VM.
func (IaasVMILRRegistrationRequest) AsIaasVMILRRegistrationRequest ¶
func (ivrr IaasVMILRRegistrationRequest) AsIaasVMILRRegistrationRequest() (*IaasVMILRRegistrationRequest, bool)
AsIaasVMILRRegistrationRequest is the ILRRequest implementation for IaasVMILRRegistrationRequest.
func (IaasVMILRRegistrationRequest) MarshalJSON ¶
func (ivrr IaasVMILRRegistrationRequest) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for IaasVMILRRegistrationRequest.
type IaasVMRecoveryPoint ¶
type IaasVMRecoveryPoint struct { ObjectType ObjectTypeRecoveryPoint `json:"objectType,omitempty"` RecoveryPointType *string `json:"recoveryPointType,omitempty"` RecoveryPointTime *date.Time `json:"recoveryPointTime,omitempty"` RecoveryPointAdditionalInfo *string `json:"recoveryPointAdditionalInfo,omitempty"` SourceVMStorageType *string `json:"sourceVMStorageType,omitempty"` IsSourceVMEncrypted *bool `json:"isSourceVMEncrypted,omitempty"` KeyAndSecret *KeyAndSecretDetails `json:"keyAndSecret,omitempty"` IsInstantILRSessionActive *bool `json:"isInstantILRSessionActive,omitempty"` RecoveryPointTierDetails *[]RecoveryPointTierInformation `json:"recoveryPointTierDetails,omitempty"` IsManagedVirtualMachine *bool `json:"isManagedVirtualMachine,omitempty"` VirtualMachineSize *string `json:"virtualMachineSize,omitempty"` OriginalStorageAccountOption *bool `json:"originalStorageAccountOption,omitempty"` }
IaasVMRecoveryPoint is iaaS VM workload specific backup copy.
func (IaasVMRecoveryPoint) AsGenericRecoveryPoint ¶
func (ivrp IaasVMRecoveryPoint) AsGenericRecoveryPoint() (*GenericRecoveryPoint, bool)
AsGenericRecoveryPoint is the RecoveryPoint implementation for IaasVMRecoveryPoint.
func (IaasVMRecoveryPoint) AsIaasVMRecoveryPoint ¶
func (ivrp IaasVMRecoveryPoint) AsIaasVMRecoveryPoint() (*IaasVMRecoveryPoint, bool)
AsIaasVMRecoveryPoint is the RecoveryPoint implementation for IaasVMRecoveryPoint.
func (IaasVMRecoveryPoint) MarshalJSON ¶
func (ivrp IaasVMRecoveryPoint) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for IaasVMRecoveryPoint.
type IaasVMRestoreRequest ¶
type IaasVMRestoreRequest struct { ObjectType ObjectTypeRestoreRequest `json:"objectType,omitempty"` RecoveryPointID *string `json:"recoveryPointId,omitempty"` RecoveryType RecoveryType `json:"recoveryType,omitempty"` SourceResourceID *string `json:"sourceResourceId,omitempty"` TargetVirtualMachineID *string `json:"targetVirtualMachineId,omitempty"` TargetResourceGroupID *string `json:"targetResourceGroupId,omitempty"` StorageAccountID *string `json:"storageAccountId,omitempty"` VirtualNetworkID *string `json:"virtualNetworkId,omitempty"` SubnetID *string `json:"subnetId,omitempty"` TargetDomainNameID *string `json:"targetDomainNameId,omitempty"` Region *string `json:"region,omitempty"` AffinityGroup *string `json:"affinityGroup,omitempty"` CreateNewCloudService *bool `json:"createNewCloudService,omitempty"` OriginalStorageAccountOption *bool `json:"originalStorageAccountOption,omitempty"` EncryptionDetails *EncryptionDetails `json:"encryptionDetails,omitempty"` }
IaasVMRestoreRequest is iaaS VM workload-specific restore.
func (IaasVMRestoreRequest) AsIaasVMRestoreRequest ¶
func (ivrr IaasVMRestoreRequest) AsIaasVMRestoreRequest() (*IaasVMRestoreRequest, bool)
AsIaasVMRestoreRequest is the RestoreRequest implementation for IaasVMRestoreRequest.
func (IaasVMRestoreRequest) MarshalJSON ¶
func (ivrr IaasVMRestoreRequest) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for IaasVMRestoreRequest.
type InstantItemRecoveryTarget ¶
type InstantItemRecoveryTarget struct {
ClientScripts *[]ClientScriptForConnect `json:"clientScripts,omitempty"`
}
InstantItemRecoveryTarget is target details for file / folder restore.
type ItemLevelRecoveryConnectionsClient ¶
type ItemLevelRecoveryConnectionsClient struct {
ManagementClient
}
ItemLevelRecoveryConnectionsClient is the open API 2.0 Specs for Azure RecoveryServices Backup service
func NewItemLevelRecoveryConnectionsClient ¶
func NewItemLevelRecoveryConnectionsClient(subscriptionID string) ItemLevelRecoveryConnectionsClient
NewItemLevelRecoveryConnectionsClient creates an instance of the ItemLevelRecoveryConnectionsClient client.
func NewItemLevelRecoveryConnectionsClientWithBaseURI ¶
func NewItemLevelRecoveryConnectionsClientWithBaseURI(baseURI string, subscriptionID string) ItemLevelRecoveryConnectionsClient
NewItemLevelRecoveryConnectionsClientWithBaseURI creates an instance of the ItemLevelRecoveryConnectionsClient client.
func (ItemLevelRecoveryConnectionsClient) Provision ¶
func (client ItemLevelRecoveryConnectionsClient) Provision(vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string, recoveryPointID string, parameters ILRRequestResource) (result autorest.Response, err error)
Provision provisions a script which invokes an iSCSI connection to the backup data. Executing this script opens a file explorer displaying all the recoverable files and folders. This is an asynchronous operation. To know the status of provisioning, call GetProtectedItemOperationResult API.
vaultName is the name of the recovery services vault. resourceGroupName is the name of the resource group where the recovery services vault is present. fabricName is fabric name associated with the backed up items. containerName is container name associated with the backed up items. protectedItemName is backed up item name whose files/folders are to be restored. recoveryPointID is recovery point ID which represents backed up data. iSCSI connection will be provisioned for this backed up data. parameters is resource ILR request
func (ItemLevelRecoveryConnectionsClient) ProvisionPreparer ¶
func (client ItemLevelRecoveryConnectionsClient) ProvisionPreparer(vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string, recoveryPointID string, parameters ILRRequestResource) (*http.Request, error)
ProvisionPreparer prepares the Provision request.
func (ItemLevelRecoveryConnectionsClient) ProvisionResponder ¶
func (client ItemLevelRecoveryConnectionsClient) ProvisionResponder(resp *http.Response) (result autorest.Response, err error)
ProvisionResponder handles the response to the Provision request. The method always closes the http.Response Body.
func (ItemLevelRecoveryConnectionsClient) ProvisionSender ¶
func (client ItemLevelRecoveryConnectionsClient) ProvisionSender(req *http.Request) (*http.Response, error)
ProvisionSender sends the Provision request. The method will close the http.Response Body if it receives an error.
func (ItemLevelRecoveryConnectionsClient) Revoke ¶
func (client ItemLevelRecoveryConnectionsClient) Revoke(vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string, recoveryPointID string) (result autorest.Response, err error)
Revoke revokes an iSCSI connection which can be used to download a script. Executing this script opens a file explorer displaying all recoverable files and folders. This is an asynchronous operation.
vaultName is the name of the recovery services vault. resourceGroupName is the name of the resource group where the recovery services vault is present. fabricName is fabric name associated with the backed up items. containerName is container name associated with the backed up items. protectedItemName is backed up item name whose files/folders are to be restored. recoveryPointID is recovery point ID which represents backed up data. iSCSI connection will be revoked for this backed up data.
func (ItemLevelRecoveryConnectionsClient) RevokePreparer ¶
func (client ItemLevelRecoveryConnectionsClient) RevokePreparer(vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string, recoveryPointID string) (*http.Request, error)
RevokePreparer prepares the Revoke request.
func (ItemLevelRecoveryConnectionsClient) RevokeResponder ¶
func (client ItemLevelRecoveryConnectionsClient) RevokeResponder(resp *http.Response) (result autorest.Response, err error)
RevokeResponder handles the response to the Revoke request. The method always closes the http.Response Body.
func (ItemLevelRecoveryConnectionsClient) RevokeSender ¶
func (client ItemLevelRecoveryConnectionsClient) RevokeSender(req *http.Request) (*http.Response, error)
RevokeSender sends the Revoke request. The method will close the http.Response Body if it receives an error.
type Job ¶
type Job interface { AsAzureIaaSVMJob() (*AzureIaaSVMJob, bool) AsDpmJob() (*DpmJob, bool) AsMabJob() (*MabJob, bool) }
Job is defines workload agnostic properties for a job.
type JobCancellationsClient ¶
type JobCancellationsClient struct {
ManagementClient
}
JobCancellationsClient is the open API 2.0 Specs for Azure RecoveryServices Backup service
func NewJobCancellationsClient ¶
func NewJobCancellationsClient(subscriptionID string) JobCancellationsClient
NewJobCancellationsClient creates an instance of the JobCancellationsClient client.
func NewJobCancellationsClientWithBaseURI ¶
func NewJobCancellationsClientWithBaseURI(baseURI string, subscriptionID string) JobCancellationsClient
NewJobCancellationsClientWithBaseURI creates an instance of the JobCancellationsClient client.
func (JobCancellationsClient) Trigger ¶
func (client JobCancellationsClient) Trigger(vaultName string, resourceGroupName string, jobName string) (result autorest.Response, err error)
Trigger cancels a job. This is an asynchronous operation. To know the status of the cancellation, call GetCancelOperationResult API.
vaultName is the name of the recovery services vault. resourceGroupName is the name of the resource group where the recovery services vault is present. jobName is name of the job to cancel.
func (JobCancellationsClient) TriggerPreparer ¶
func (client JobCancellationsClient) TriggerPreparer(vaultName string, resourceGroupName string, jobName string) (*http.Request, error)
TriggerPreparer prepares the Trigger request.
func (JobCancellationsClient) TriggerResponder ¶
func (client JobCancellationsClient) TriggerResponder(resp *http.Response) (result autorest.Response, err error)
TriggerResponder handles the response to the Trigger request. The method always closes the http.Response Body.
func (JobCancellationsClient) TriggerSender ¶
TriggerSender sends the Trigger request. The method will close the http.Response Body if it receives an error.
type JobDetailsClient ¶
type JobDetailsClient struct {
ManagementClient
}
JobDetailsClient is the open API 2.0 Specs for Azure RecoveryServices Backup service
func NewJobDetailsClient ¶
func NewJobDetailsClient(subscriptionID string) JobDetailsClient
NewJobDetailsClient creates an instance of the JobDetailsClient client.
func NewJobDetailsClientWithBaseURI ¶
func NewJobDetailsClientWithBaseURI(baseURI string, subscriptionID string) JobDetailsClient
NewJobDetailsClientWithBaseURI creates an instance of the JobDetailsClient client.
func (JobDetailsClient) Get ¶
func (client JobDetailsClient) Get(vaultName string, resourceGroupName string, jobName string) (result JobResource, err error)
Get gets exteded information associated with the job.
vaultName is the name of the recovery services vault. resourceGroupName is the name of the resource group where the recovery services vault is present. jobName is name of the job whose details are to be fetched.
func (JobDetailsClient) GetPreparer ¶
func (client JobDetailsClient) GetPreparer(vaultName string, resourceGroupName string, jobName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (JobDetailsClient) GetResponder ¶
func (client JobDetailsClient) GetResponder(resp *http.Response) (result JobResource, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
type JobOperationResultsClient ¶
type JobOperationResultsClient struct {
ManagementClient
}
JobOperationResultsClient is the open API 2.0 Specs for Azure RecoveryServices Backup service
func NewJobOperationResultsClient ¶
func NewJobOperationResultsClient(subscriptionID string) JobOperationResultsClient
NewJobOperationResultsClient creates an instance of the JobOperationResultsClient client.
func NewJobOperationResultsClientWithBaseURI ¶
func NewJobOperationResultsClientWithBaseURI(baseURI string, subscriptionID string) JobOperationResultsClient
NewJobOperationResultsClientWithBaseURI creates an instance of the JobOperationResultsClient client.
func (JobOperationResultsClient) Get ¶
func (client JobOperationResultsClient) Get(vaultName string, resourceGroupName string, jobName string, operationID string) (result autorest.Response, err error)
Get fetches the result of any operation. the operation.
vaultName is the name of the recovery services vault. resourceGroupName is the name of the resource group where the recovery services vault is present. jobName is job name whose operation result has to be fetched. operationID is operationID which represents the operation whose result has to be fetched.
func (JobOperationResultsClient) GetPreparer ¶
func (client JobOperationResultsClient) GetPreparer(vaultName string, resourceGroupName string, jobName string, operationID string) (*http.Request, error)
GetPreparer prepares the Get request.
func (JobOperationResultsClient) GetResponder ¶
func (client JobOperationResultsClient) GetResponder(resp *http.Response) (result autorest.Response, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
type JobOperationType ¶
type JobOperationType string
JobOperationType enumerates the values for job operation type.
const ( // JobOperationTypeBackup specifies the job operation type backup state for job operation type. JobOperationTypeBackup JobOperationType = "Backup" // JobOperationTypeConfigureBackup specifies the job operation type configure backup state for job operation type. JobOperationTypeConfigureBackup JobOperationType = "ConfigureBackup" // JobOperationTypeDeleteBackupData specifies the job operation type delete backup data state for job operation type. JobOperationTypeDeleteBackupData JobOperationType = "DeleteBackupData" // JobOperationTypeDisableBackup specifies the job operation type disable backup state for job operation type. JobOperationTypeDisableBackup JobOperationType = "DisableBackup" // JobOperationTypeInvalid specifies the job operation type invalid state for job operation type. JobOperationTypeInvalid JobOperationType = "Invalid" // JobOperationTypeRegister specifies the job operation type register state for job operation type. JobOperationTypeRegister JobOperationType = "Register" // JobOperationTypeRestore specifies the job operation type restore state for job operation type. JobOperationTypeRestore JobOperationType = "Restore" // JobOperationTypeUnRegister specifies the job operation type un register state for job operation type. JobOperationTypeUnRegister JobOperationType = "UnRegister" )
type JobQueryObject ¶
type JobQueryObject struct { Status JobStatus `json:"status,omitempty"` BackupManagementType BackupManagementType `json:"backupManagementType,omitempty"` Operation JobOperationType `json:"operation,omitempty"` JobID *string `json:"jobId,omitempty"` StartTime *date.Time `json:"startTime,omitempty"` EndTime *date.Time `json:"endTime,omitempty"` }
JobQueryObject is filters to list the jobs.
type JobResource ¶
type JobResource struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Location *string `json:"location,omitempty"` Tags *map[string]*string `json:"tags,omitempty"` ETag *string `json:"eTag,omitempty"` Properties Job `json:"properties,omitempty"` }
JobResource is defines workload agnostic properties for a job.
func (*JobResource) UnmarshalJSON ¶
func (jr *JobResource) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for JobResource struct.
type JobResourceList ¶
type JobResourceList struct { autorest.Response `json:"-"` NextLink *string `json:"nextLink,omitempty"` Value *[]JobResource `json:"value,omitempty"` }
JobResourceList is list of Job resources
func (JobResourceList) JobResourceListPreparer ¶
func (client JobResourceList) JobResourceListPreparer() (*http.Request, error)
JobResourceListPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type JobStatus ¶
type JobStatus string
JobStatus enumerates the values for job status.
const ( // JobStatusCancelled specifies the job status cancelled state for job status. JobStatusCancelled JobStatus = "Cancelled" // JobStatusCancelling specifies the job status cancelling state for job status. JobStatusCancelling JobStatus = "Cancelling" // JobStatusCompleted specifies the job status completed state for job status. JobStatusCompleted JobStatus = "Completed" // JobStatusCompletedWithWarnings specifies the job status completed with warnings state for job status. JobStatusCompletedWithWarnings JobStatus = "CompletedWithWarnings" // JobStatusFailed specifies the job status failed state for job status. JobStatusFailed JobStatus = "Failed" // JobStatusInProgress specifies the job status in progress state for job status. JobStatusInProgress JobStatus = "InProgress" // JobStatusInvalid specifies the job status invalid state for job status. JobStatusInvalid JobStatus = "Invalid" )
type JobSupportedAction ¶
type JobSupportedAction string
JobSupportedAction enumerates the values for job supported action.
const ( // JobSupportedActionCancellable specifies the job supported action cancellable state for job supported action. JobSupportedActionCancellable JobSupportedAction = "Cancellable" // JobSupportedActionInvalid specifies the job supported action invalid state for job supported action. JobSupportedActionInvalid JobSupportedAction = "Invalid" // JobSupportedActionRetriable specifies the job supported action retriable state for job supported action. JobSupportedActionRetriable JobSupportedAction = "Retriable" )
type JobType ¶
type JobType string
JobType enumerates the values for job type.
const ( // JobTypeAzureIaaSVMJob specifies the job type azure iaa svm job state for job type. JobTypeAzureIaaSVMJob JobType = "AzureIaaSVMJob" // JobTypeDpmJob specifies the job type dpm job state for job type. JobTypeDpmJob JobType = "DpmJob" // JobTypeMabJob specifies the job type mab job state for job type. JobTypeMabJob JobType = "MabJob" )
type JobsClient ¶
type JobsClient struct {
ManagementClient
}
JobsClient is the open API 2.0 Specs for Azure RecoveryServices Backup service
func NewJobsClient ¶
func NewJobsClient(subscriptionID string) JobsClient
NewJobsClient creates an instance of the JobsClient client.
func NewJobsClientWithBaseURI ¶
func NewJobsClientWithBaseURI(baseURI string, subscriptionID string) JobsClient
NewJobsClientWithBaseURI creates an instance of the JobsClient client.
func (JobsClient) Export ¶
func (client JobsClient) Export(vaultName string, resourceGroupName string, filter string) (result autorest.Response, err error)
Export triggers export of jobs specified by filters and returns an OperationID to track.
vaultName is the name of the recovery services vault. resourceGroupName is the name of the resource group where the recovery services vault is present. filter is oData filter options.
func (JobsClient) ExportPreparer ¶
func (client JobsClient) ExportPreparer(vaultName string, resourceGroupName string, filter string) (*http.Request, error)
ExportPreparer prepares the Export request.
func (JobsClient) ExportResponder ¶
ExportResponder handles the response to the Export request. The method always closes the http.Response Body.
func (JobsClient) ExportSender ¶
ExportSender sends the Export request. The method will close the http.Response Body if it receives an error.
type KEKDetails ¶
type KEKDetails struct { KeyURL *string `json:"keyUrl,omitempty"` KeyVaultID *string `json:"keyVaultId,omitempty"` KeyBackupData *string `json:"keyBackupData,omitempty"` }
KEKDetails is KEK is encryption key for BEK.
type KeyAndSecretDetails ¶
type KeyAndSecretDetails struct { KekDetails *KEKDetails `json:"kekDetails,omitempty"` BekDetails *BEKDetails `json:"bekDetails,omitempty"` }
KeyAndSecretDetails is BEK is bitlocker key. KEK is encryption key for BEK If the VM was encrypted then we will store follwing details : 1. Secret(BEK) - Url + Backup Data + vaultId. 2. Key(KEK) - Url + Backup Data + vaultId. BEK and KEK can potentiallty have different vault ids.
type LongTermRetentionPolicy ¶
type LongTermRetentionPolicy struct { RetentionPolicyType RetentionPolicyType `json:"retentionPolicyType,omitempty"` DailySchedule *DailyRetentionSchedule `json:"dailySchedule,omitempty"` WeeklySchedule *WeeklyRetentionSchedule `json:"weeklySchedule,omitempty"` MonthlySchedule *MonthlyRetentionSchedule `json:"monthlySchedule,omitempty"` YearlySchedule *YearlyRetentionSchedule `json:"yearlySchedule,omitempty"` }
LongTermRetentionPolicy is long term retention policy.
func (LongTermRetentionPolicy) AsLongTermRetentionPolicy ¶
func (ltrp LongTermRetentionPolicy) AsLongTermRetentionPolicy() (*LongTermRetentionPolicy, bool)
AsLongTermRetentionPolicy is the RetentionPolicy implementation for LongTermRetentionPolicy.
func (LongTermRetentionPolicy) AsSimpleRetentionPolicy ¶
func (ltrp LongTermRetentionPolicy) AsSimpleRetentionPolicy() (*SimpleRetentionPolicy, bool)
AsSimpleRetentionPolicy is the RetentionPolicy implementation for LongTermRetentionPolicy.
func (LongTermRetentionPolicy) MarshalJSON ¶
func (ltrp LongTermRetentionPolicy) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for LongTermRetentionPolicy.
type LongTermSchedulePolicy ¶
type LongTermSchedulePolicy struct {
SchedulePolicyType SchedulePolicyType `json:"schedulePolicyType,omitempty"`
}
LongTermSchedulePolicy is long term policy schedule.
func (LongTermSchedulePolicy) AsLongTermSchedulePolicy ¶
func (ltsp LongTermSchedulePolicy) AsLongTermSchedulePolicy() (*LongTermSchedulePolicy, bool)
AsLongTermSchedulePolicy is the SchedulePolicy implementation for LongTermSchedulePolicy.
func (LongTermSchedulePolicy) AsSimpleSchedulePolicy ¶
func (ltsp LongTermSchedulePolicy) AsSimpleSchedulePolicy() (*SimpleSchedulePolicy, bool)
AsSimpleSchedulePolicy is the SchedulePolicy implementation for LongTermSchedulePolicy.
func (LongTermSchedulePolicy) MarshalJSON ¶
func (ltsp LongTermSchedulePolicy) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for LongTermSchedulePolicy.
type MabContainer ¶
type MabContainer struct { FriendlyName *string `json:"friendlyName,omitempty"` BackupManagementType BackupManagementType `json:"backupManagementType,omitempty"` RegistrationStatus *string `json:"registrationStatus,omitempty"` HealthStatus *string `json:"healthStatus,omitempty"` ContainerType ContainerType `json:"containerType,omitempty"` ProtectableObjectType ProtectableObjectType `json:"protectableObjectType,omitempty"` CanReRegister *bool `json:"canReRegister,omitempty"` ContainerID *int64 `json:"containerId,omitempty"` ProtectedItemCount *int64 `json:"protectedItemCount,omitempty"` AgentVersion *string `json:"agentVersion,omitempty"` ExtendedInfo *MabContainerExtendedInfo `json:"extendedInfo,omitempty"` }
MabContainer is container with items backed up using MAB backup engine.
func (MabContainer) AsAzureBackupServerContainer ¶
func (mc MabContainer) AsAzureBackupServerContainer() (*AzureBackupServerContainer, bool)
AsAzureBackupServerContainer is the ProtectionContainer implementation for MabContainer.
func (MabContainer) AsAzureIaaSClassicComputeVMContainer ¶
func (mc MabContainer) AsAzureIaaSClassicComputeVMContainer() (*AzureIaaSClassicComputeVMContainer, bool)
AsAzureIaaSClassicComputeVMContainer is the ProtectionContainer implementation for MabContainer.
func (MabContainer) AsAzureIaaSComputeVMContainer ¶
func (mc MabContainer) AsAzureIaaSComputeVMContainer() (*AzureIaaSComputeVMContainer, bool)
AsAzureIaaSComputeVMContainer is the ProtectionContainer implementation for MabContainer.
func (MabContainer) AsAzureSQLContainer ¶
func (mc MabContainer) AsAzureSQLContainer() (*AzureSQLContainer, bool)
AsAzureSQLContainer is the ProtectionContainer implementation for MabContainer.
func (MabContainer) AsDpmContainer ¶
func (mc MabContainer) AsDpmContainer() (*DpmContainer, bool)
AsDpmContainer is the ProtectionContainer implementation for MabContainer.
func (MabContainer) AsIaaSVMContainer ¶
func (mc MabContainer) AsIaaSVMContainer() (*IaaSVMContainer, bool)
AsIaaSVMContainer is the ProtectionContainer implementation for MabContainer.
func (MabContainer) AsMabContainer ¶
func (mc MabContainer) AsMabContainer() (*MabContainer, bool)
AsMabContainer is the ProtectionContainer implementation for MabContainer.
func (MabContainer) MarshalJSON ¶
func (mc MabContainer) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for MabContainer.
type MabContainerExtendedInfo ¶
type MabContainerExtendedInfo struct { LastRefreshedAt *date.Time `json:"lastRefreshedAt,omitempty"` BackupItemType BackupItemType `json:"backupItemType,omitempty"` BackupItems *[]string `json:"backupItems,omitempty"` PolicyName *string `json:"policyName,omitempty"` LastBackupStatus *string `json:"lastBackupStatus,omitempty"` }
MabContainerExtendedInfo is additional information of the container.
type MabErrorInfo ¶
type MabErrorInfo struct { ErrorString *string `json:"errorString,omitempty"` Recommendations *[]string `json:"recommendations,omitempty"` }
MabErrorInfo is MAB workload-specific error information.
type MabFileFolderProtectedItem ¶
type MabFileFolderProtectedItem struct { BackupManagementType BackupManagementType `json:"backupManagementType,omitempty"` WorkloadType DataSourceType `json:"workloadType,omitempty"` ContainerName *string `json:"containerName,omitempty"` SourceResourceID *string `json:"sourceResourceId,omitempty"` PolicyID *string `json:"policyId,omitempty"` LastRecoveryPoint *date.Time `json:"lastRecoveryPoint,omitempty"` ProtectedItemType ProtectedItemType `json:"protectedItemType,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` ComputerName *string `json:"computerName,omitempty"` LastBackupStatus *string `json:"lastBackupStatus,omitempty"` ProtectionState *string `json:"protectionState,omitempty"` IsScheduledForDeferredDelete *bool `json:"isScheduledForDeferredDelete,omitempty"` DeferredDeleteSyncTimeInUTC *int64 `json:"deferredDeleteSyncTimeInUTC,omitempty"` ExtendedInfo *MabFileFolderProtectedItemExtendedInfo `json:"extendedInfo,omitempty"` }
MabFileFolderProtectedItem is MAB workload-specific backup item.
func (MabFileFolderProtectedItem) AsAzureIaaSClassicComputeVMProtectedItem ¶
func (mffpi MabFileFolderProtectedItem) AsAzureIaaSClassicComputeVMProtectedItem() (*AzureIaaSClassicComputeVMProtectedItem, bool)
AsAzureIaaSClassicComputeVMProtectedItem is the ProtectedItem implementation for MabFileFolderProtectedItem.
func (MabFileFolderProtectedItem) AsAzureIaaSComputeVMProtectedItem ¶
func (mffpi MabFileFolderProtectedItem) AsAzureIaaSComputeVMProtectedItem() (*AzureIaaSComputeVMProtectedItem, bool)
AsAzureIaaSComputeVMProtectedItem is the ProtectedItem implementation for MabFileFolderProtectedItem.
func (MabFileFolderProtectedItem) AsAzureIaaSVMProtectedItem ¶
func (mffpi MabFileFolderProtectedItem) AsAzureIaaSVMProtectedItem() (*AzureIaaSVMProtectedItem, bool)
AsAzureIaaSVMProtectedItem is the ProtectedItem implementation for MabFileFolderProtectedItem.
func (MabFileFolderProtectedItem) AsAzureSQLProtectedItem ¶
func (mffpi MabFileFolderProtectedItem) AsAzureSQLProtectedItem() (*AzureSQLProtectedItem, bool)
AsAzureSQLProtectedItem is the ProtectedItem implementation for MabFileFolderProtectedItem.
func (MabFileFolderProtectedItem) AsDPMProtectedItem ¶
func (mffpi MabFileFolderProtectedItem) AsDPMProtectedItem() (*DPMProtectedItem, bool)
AsDPMProtectedItem is the ProtectedItem implementation for MabFileFolderProtectedItem.
func (MabFileFolderProtectedItem) AsMabFileFolderProtectedItem ¶
func (mffpi MabFileFolderProtectedItem) AsMabFileFolderProtectedItem() (*MabFileFolderProtectedItem, bool)
AsMabFileFolderProtectedItem is the ProtectedItem implementation for MabFileFolderProtectedItem.
func (MabFileFolderProtectedItem) MarshalJSON ¶
func (mffpi MabFileFolderProtectedItem) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for MabFileFolderProtectedItem.
type MabFileFolderProtectedItemExtendedInfo ¶
type MabFileFolderProtectedItemExtendedInfo struct { LastRefreshedAt *date.Time `json:"lastRefreshedAt,omitempty"` OldestRecoveryPoint *date.Time `json:"oldestRecoveryPoint,omitempty"` RecoveryPointCount *int32 `json:"recoveryPointCount,omitempty"` }
MabFileFolderProtectedItemExtendedInfo is additional information on the backed up item.
type MabJob ¶
type MabJob struct { EntityFriendlyName *string `json:"entityFriendlyName,omitempty"` BackupManagementType BackupManagementType `json:"backupManagementType,omitempty"` Operation *string `json:"operation,omitempty"` Status *string `json:"status,omitempty"` StartTime *date.Time `json:"startTime,omitempty"` EndTime *date.Time `json:"endTime,omitempty"` ActivityID *string `json:"activityId,omitempty"` JobType JobType `json:"jobType,omitempty"` Duration *string `json:"duration,omitempty"` ActionsInfo *[]JobSupportedAction `json:"actionsInfo,omitempty"` MabServerName *string `json:"mabServerName,omitempty"` MabServerType MabServerType `json:"mabServerType,omitempty"` WorkloadType WorkloadType `json:"workloadType,omitempty"` ErrorDetails *[]MabErrorInfo `json:"errorDetails,omitempty"` ExtendedInfo *MabJobExtendedInfo `json:"extendedInfo,omitempty"` }
MabJob is MAB workload-specific job.
func (MabJob) AsAzureIaaSVMJob ¶
func (mj MabJob) AsAzureIaaSVMJob() (*AzureIaaSVMJob, bool)
AsAzureIaaSVMJob is the Job implementation for MabJob.
func (MabJob) MarshalJSON ¶
MarshalJSON is the custom marshaler for MabJob.
type MabJobExtendedInfo ¶
type MabJobExtendedInfo struct { TasksList *[]MabJobTaskDetails `json:"tasksList,omitempty"` PropertyBag *map[string]*string `json:"propertyBag,omitempty"` DynamicErrorMessage *string `json:"dynamicErrorMessage,omitempty"` }
MabJobExtendedInfo is additional information for the MAB workload-specific job.
type MabJobTaskDetails ¶
type MabJobTaskDetails struct { TaskID *string `json:"taskId,omitempty"` StartTime *date.Time `json:"startTime,omitempty"` EndTime *date.Time `json:"endTime,omitempty"` Duration *string `json:"duration,omitempty"` Status *string `json:"status,omitempty"` }
MabJobTaskDetails is MAB workload-specific job task details.
type MabProtectionPolicy ¶
type MabProtectionPolicy struct { ProtectedItemsCount *int32 `json:"protectedItemsCount,omitempty"` BackupManagementType BackupManagementType `json:"backupManagementType,omitempty"` SchedulePolicy SchedulePolicy `json:"schedulePolicy,omitempty"` RetentionPolicy RetentionPolicy `json:"retentionPolicy,omitempty"` }
MabProtectionPolicy is mab container-specific backup policy.
func (MabProtectionPolicy) AsAzureIaaSVMProtectionPolicy ¶
func (mpp MabProtectionPolicy) AsAzureIaaSVMProtectionPolicy() (*AzureIaaSVMProtectionPolicy, bool)
AsAzureIaaSVMProtectionPolicy is the ProtectionPolicy implementation for MabProtectionPolicy.
func (MabProtectionPolicy) AsAzureSQLProtectionPolicy ¶
func (mpp MabProtectionPolicy) AsAzureSQLProtectionPolicy() (*AzureSQLProtectionPolicy, bool)
AsAzureSQLProtectionPolicy is the ProtectionPolicy implementation for MabProtectionPolicy.
func (MabProtectionPolicy) AsMabProtectionPolicy ¶
func (mpp MabProtectionPolicy) AsMabProtectionPolicy() (*MabProtectionPolicy, bool)
AsMabProtectionPolicy is the ProtectionPolicy implementation for MabProtectionPolicy.
func (MabProtectionPolicy) MarshalJSON ¶
func (mpp MabProtectionPolicy) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for MabProtectionPolicy.
func (*MabProtectionPolicy) UnmarshalJSON ¶
func (mpp *MabProtectionPolicy) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for MabProtectionPolicy struct.
type MabServerType ¶
type MabServerType string
MabServerType enumerates the values for mab server type.
const ( // MabServerTypeAzureBackupServerContainer specifies the mab server type azure backup server container state for mab // server type. MabServerTypeAzureBackupServerContainer MabServerType = "AzureBackupServerContainer" // MabServerTypeAzureSQLContainer specifies the mab server type azure sql container state for mab server type. MabServerTypeAzureSQLContainer MabServerType = "AzureSqlContainer" // MabServerTypeCluster specifies the mab server type cluster state for mab server type. MabServerTypeCluster MabServerType = "Cluster" // MabServerTypeDPMContainer specifies the mab server type dpm container state for mab server type. MabServerTypeDPMContainer MabServerType = "DPMContainer" // MabServerTypeIaasVMContainer specifies the mab server type iaas vm container state for mab server type. MabServerTypeIaasVMContainer MabServerType = "IaasVMContainer" // MabServerTypeIaasVMServiceContainer specifies the mab server type iaas vm service container state for mab server // type. MabServerTypeIaasVMServiceContainer MabServerType = "IaasVMServiceContainer" // MabServerTypeInvalid specifies the mab server type invalid state for mab server type. MabServerTypeInvalid MabServerType = "Invalid" // MabServerTypeMABContainer specifies the mab server type mab container state for mab server type. MabServerTypeMABContainer MabServerType = "MABContainer" // MabServerTypeUnknown specifies the mab server type unknown state for mab server type. MabServerTypeUnknown MabServerType = "Unknown" // MabServerTypeVCenter specifies the mab server type v center state for mab server type. MabServerTypeVCenter MabServerType = "VCenter" // MabServerTypeWindows specifies the mab server type windows state for mab server type. MabServerTypeWindows MabServerType = "Windows" )
type ManagementClient ¶
ManagementClient is the base client for Recoveryservicesbackup.
func New ¶
func New(subscriptionID string) ManagementClient
New creates an instance of the ManagementClient client.
func NewWithBaseURI ¶
func NewWithBaseURI(baseURI string, subscriptionID string) ManagementClient
NewWithBaseURI creates an instance of the ManagementClient client.
type MonthOfYear ¶
type MonthOfYear string
MonthOfYear enumerates the values for month of year.
const ( // MonthOfYearApril specifies the month of year april state for month of year. MonthOfYearApril MonthOfYear = "April" // MonthOfYearAugust specifies the month of year august state for month of year. MonthOfYearAugust MonthOfYear = "August" // MonthOfYearDecember specifies the month of year december state for month of year. MonthOfYearDecember MonthOfYear = "December" // MonthOfYearFebruary specifies the month of year february state for month of year. MonthOfYearFebruary MonthOfYear = "February" // MonthOfYearInvalid specifies the month of year invalid state for month of year. MonthOfYearInvalid MonthOfYear = "Invalid" // MonthOfYearJanuary specifies the month of year january state for month of year. MonthOfYearJanuary MonthOfYear = "January" // MonthOfYearJuly specifies the month of year july state for month of year. MonthOfYearJuly MonthOfYear = "July" // MonthOfYearJune specifies the month of year june state for month of year. MonthOfYearJune MonthOfYear = "June" // MonthOfYearMarch specifies the month of year march state for month of year. MonthOfYearMarch MonthOfYear = "March" // MonthOfYearMay specifies the month of year may state for month of year. MonthOfYearMay MonthOfYear = "May" // MonthOfYearNovember specifies the month of year november state for month of year. MonthOfYearNovember MonthOfYear = "November" // MonthOfYearOctober specifies the month of year october state for month of year. MonthOfYearOctober MonthOfYear = "October" // MonthOfYearSeptember specifies the month of year september state for month of year. MonthOfYearSeptember MonthOfYear = "September" )
type MonthlyRetentionSchedule ¶
type MonthlyRetentionSchedule struct { RetentionScheduleFormatType RetentionScheduleFormat `json:"retentionScheduleFormatType,omitempty"` RetentionScheduleDaily *DailyRetentionFormat `json:"retentionScheduleDaily,omitempty"` RetentionScheduleWeekly *WeeklyRetentionFormat `json:"retentionScheduleWeekly,omitempty"` RetentionTimes *[]date.Time `json:"retentionTimes,omitempty"` RetentionDuration *RetentionDuration `json:"retentionDuration,omitempty"` }
MonthlyRetentionSchedule is monthly retention schedule.
type NameInfo ¶
type NameInfo struct { Value *string `json:"value,omitempty"` LocalizedValue *string `json:"localizedValue,omitempty"` }
NameInfo is the name of usage.
type ObjectType ¶
type ObjectType string
ObjectType enumerates the values for object type.
const ( // ObjectTypeIaasVMBackupRequest specifies the object type iaas vm backup request state for object type. ObjectTypeIaasVMBackupRequest ObjectType = "IaasVMBackupRequest" )
type ObjectTypeILRRequest ¶
type ObjectTypeILRRequest string
ObjectTypeILRRequest enumerates the values for object type ilr request.
const ( // ObjectTypeIaasVMILRRegistrationRequest specifies the object type iaas vmilr registration request state for object // type ilr request. ObjectTypeIaasVMILRRegistrationRequest ObjectTypeILRRequest = "IaasVMILRRegistrationRequest" )
type ObjectTypeOperationResultInfoBase ¶
type ObjectTypeOperationResultInfoBase string
ObjectTypeOperationResultInfoBase enumerates the values for object type operation result info base.
const ( // ObjectTypeExportJobsOperationResultInfo specifies the object type export jobs operation result info state for object // type operation result info base. ObjectTypeExportJobsOperationResultInfo ObjectTypeOperationResultInfoBase = "ExportJobsOperationResultInfo" // ObjectTypeOperationResultInfo specifies the object type operation result info state for object type operation result // info base. ObjectTypeOperationResultInfo ObjectTypeOperationResultInfoBase = "OperationResultInfo" )
type ObjectTypeOperationStatusExtendedInfo ¶
type ObjectTypeOperationStatusExtendedInfo string
ObjectTypeOperationStatusExtendedInfo enumerates the values for object type operation status extended info.
const ( // ObjectTypeOperationStatusJobExtendedInfo specifies the object type operation status job extended info state for // object type operation status extended info. ObjectTypeOperationStatusJobExtendedInfo ObjectTypeOperationStatusExtendedInfo = "OperationStatusJobExtendedInfo" // ObjectTypeOperationStatusJobsExtendedInfo specifies the object type operation status jobs extended info state for // object type operation status extended info. ObjectTypeOperationStatusJobsExtendedInfo ObjectTypeOperationStatusExtendedInfo = "OperationStatusJobsExtendedInfo" // ObjectTypeOperationStatusProvisionILRExtendedInfo specifies the object type operation status provision ilr extended // info state for object type operation status extended info. ObjectTypeOperationStatusProvisionILRExtendedInfo ObjectTypeOperationStatusExtendedInfo = "OperationStatusProvisionILRExtendedInfo" )
type ObjectTypeRecoveryPoint ¶
type ObjectTypeRecoveryPoint string
ObjectTypeRecoveryPoint enumerates the values for object type recovery point.
const ( // ObjectTypeGenericRecoveryPoint specifies the object type generic recovery point state for object type recovery // point. ObjectTypeGenericRecoveryPoint ObjectTypeRecoveryPoint = "GenericRecoveryPoint" // ObjectTypeIaasVMRecoveryPoint specifies the object type iaas vm recovery point state for object type recovery point. ObjectTypeIaasVMRecoveryPoint ObjectTypeRecoveryPoint = "IaasVMRecoveryPoint" )
type ObjectTypeRestoreRequest ¶
type ObjectTypeRestoreRequest string
ObjectTypeRestoreRequest enumerates the values for object type restore request.
const ( // ObjectTypeIaasVMRestoreRequest specifies the object type iaas vm restore request state for object type restore // request. ObjectTypeIaasVMRestoreRequest ObjectTypeRestoreRequest = "IaasVMRestoreRequest" )
type OperationResultInfo ¶
type OperationResultInfo struct { ObjectType ObjectTypeOperationResultInfoBase `json:"objectType,omitempty"` JobList *[]string `json:"jobList,omitempty"` }
OperationResultInfo is operation result info.
func (OperationResultInfo) AsExportJobsOperationResultInfo ¶
func (ori OperationResultInfo) AsExportJobsOperationResultInfo() (*ExportJobsOperationResultInfo, bool)
AsExportJobsOperationResultInfo is the OperationResultInfoBase implementation for OperationResultInfo.
func (OperationResultInfo) AsOperationResultInfo ¶
func (ori OperationResultInfo) AsOperationResultInfo() (*OperationResultInfo, bool)
AsOperationResultInfo is the OperationResultInfoBase implementation for OperationResultInfo.
func (OperationResultInfo) MarshalJSON ¶
func (ori OperationResultInfo) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for OperationResultInfo.
type OperationResultInfoBase ¶
type OperationResultInfoBase interface { AsExportJobsOperationResultInfo() (*ExportJobsOperationResultInfo, bool) AsOperationResultInfo() (*OperationResultInfo, bool) }
OperationResultInfoBase is base class for operation result info.
type OperationResultInfoBaseResource ¶
type OperationResultInfoBaseResource struct { autorest.Response `json:"-"` StatusCode HTTPStatusCode `json:"statusCode,omitempty"` Headers *map[string][]string `json:"Headers,omitempty"` Operation OperationResultInfoBase `json:"operation,omitempty"` }
OperationResultInfoBaseResource is base class for operation result info.
func (*OperationResultInfoBaseResource) UnmarshalJSON ¶
func (oribr *OperationResultInfoBaseResource) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for OperationResultInfoBaseResource struct.
type OperationStatus ¶
type OperationStatus struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Status OperationStatusValues `json:"status,omitempty"` StartTime *date.Time `json:"startTime,omitempty"` EndTime *date.Time `json:"endTime,omitempty"` Error *OperationStatusError `json:"error,omitempty"` Properties OperationStatusExtendedInfo `json:"properties,omitempty"` }
OperationStatus is operation status.
func (*OperationStatus) UnmarshalJSON ¶
func (osVar *OperationStatus) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for OperationStatus struct.
type OperationStatusError ¶
type OperationStatusError struct { Code *string `json:"code,omitempty"` Message *string `json:"message,omitempty"` }
OperationStatusError is error information associated with operation status call.
type OperationStatusExtendedInfo ¶
type OperationStatusExtendedInfo interface { AsOperationStatusJobExtendedInfo() (*OperationStatusJobExtendedInfo, bool) AsOperationStatusJobsExtendedInfo() (*OperationStatusJobsExtendedInfo, bool) AsOperationStatusProvisionILRExtendedInfo() (*OperationStatusProvisionILRExtendedInfo, bool) }
OperationStatusExtendedInfo is base class for additional information of operation status.
type OperationStatusJobExtendedInfo ¶
type OperationStatusJobExtendedInfo struct { ObjectType ObjectTypeOperationStatusExtendedInfo `json:"objectType,omitempty"` JobID *string `json:"jobId,omitempty"` }
OperationStatusJobExtendedInfo is operation status job extended info.
func (OperationStatusJobExtendedInfo) AsOperationStatusJobExtendedInfo ¶
func (osjei OperationStatusJobExtendedInfo) AsOperationStatusJobExtendedInfo() (*OperationStatusJobExtendedInfo, bool)
AsOperationStatusJobExtendedInfo is the OperationStatusExtendedInfo implementation for OperationStatusJobExtendedInfo.
func (OperationStatusJobExtendedInfo) AsOperationStatusJobsExtendedInfo ¶
func (osjei OperationStatusJobExtendedInfo) AsOperationStatusJobsExtendedInfo() (*OperationStatusJobsExtendedInfo, bool)
AsOperationStatusJobsExtendedInfo is the OperationStatusExtendedInfo implementation for OperationStatusJobExtendedInfo.
func (OperationStatusJobExtendedInfo) AsOperationStatusProvisionILRExtendedInfo ¶
func (osjei OperationStatusJobExtendedInfo) AsOperationStatusProvisionILRExtendedInfo() (*OperationStatusProvisionILRExtendedInfo, bool)
AsOperationStatusProvisionILRExtendedInfo is the OperationStatusExtendedInfo implementation for OperationStatusJobExtendedInfo.
func (OperationStatusJobExtendedInfo) MarshalJSON ¶
func (osjei OperationStatusJobExtendedInfo) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for OperationStatusJobExtendedInfo.
type OperationStatusJobsExtendedInfo ¶
type OperationStatusJobsExtendedInfo struct { ObjectType ObjectTypeOperationStatusExtendedInfo `json:"objectType,omitempty"` JobIds *[]string `json:"jobIds,omitempty"` FailedJobsError *map[string]*string `json:"failedJobsError,omitempty"` }
OperationStatusJobsExtendedInfo is operation status extended info for list of jobs.
func (OperationStatusJobsExtendedInfo) AsOperationStatusJobExtendedInfo ¶
func (osjei OperationStatusJobsExtendedInfo) AsOperationStatusJobExtendedInfo() (*OperationStatusJobExtendedInfo, bool)
AsOperationStatusJobExtendedInfo is the OperationStatusExtendedInfo implementation for OperationStatusJobsExtendedInfo.
func (OperationStatusJobsExtendedInfo) AsOperationStatusJobsExtendedInfo ¶
func (osjei OperationStatusJobsExtendedInfo) AsOperationStatusJobsExtendedInfo() (*OperationStatusJobsExtendedInfo, bool)
AsOperationStatusJobsExtendedInfo is the OperationStatusExtendedInfo implementation for OperationStatusJobsExtendedInfo.
func (OperationStatusJobsExtendedInfo) AsOperationStatusProvisionILRExtendedInfo ¶
func (osjei OperationStatusJobsExtendedInfo) AsOperationStatusProvisionILRExtendedInfo() (*OperationStatusProvisionILRExtendedInfo, bool)
AsOperationStatusProvisionILRExtendedInfo is the OperationStatusExtendedInfo implementation for OperationStatusJobsExtendedInfo.
func (OperationStatusJobsExtendedInfo) MarshalJSON ¶
func (osjei OperationStatusJobsExtendedInfo) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for OperationStatusJobsExtendedInfo.
type OperationStatusProvisionILRExtendedInfo ¶
type OperationStatusProvisionILRExtendedInfo struct { ObjectType ObjectTypeOperationStatusExtendedInfo `json:"objectType,omitempty"` RecoveryTarget *InstantItemRecoveryTarget `json:"recoveryTarget,omitempty"` }
OperationStatusProvisionILRExtendedInfo is operation status extended info for ILR provision action.
func (OperationStatusProvisionILRExtendedInfo) AsOperationStatusJobExtendedInfo ¶
func (ospiei OperationStatusProvisionILRExtendedInfo) AsOperationStatusJobExtendedInfo() (*OperationStatusJobExtendedInfo, bool)
AsOperationStatusJobExtendedInfo is the OperationStatusExtendedInfo implementation for OperationStatusProvisionILRExtendedInfo.
func (OperationStatusProvisionILRExtendedInfo) AsOperationStatusJobsExtendedInfo ¶
func (ospiei OperationStatusProvisionILRExtendedInfo) AsOperationStatusJobsExtendedInfo() (*OperationStatusJobsExtendedInfo, bool)
AsOperationStatusJobsExtendedInfo is the OperationStatusExtendedInfo implementation for OperationStatusProvisionILRExtendedInfo.
func (OperationStatusProvisionILRExtendedInfo) AsOperationStatusProvisionILRExtendedInfo ¶
func (ospiei OperationStatusProvisionILRExtendedInfo) AsOperationStatusProvisionILRExtendedInfo() (*OperationStatusProvisionILRExtendedInfo, bool)
AsOperationStatusProvisionILRExtendedInfo is the OperationStatusExtendedInfo implementation for OperationStatusProvisionILRExtendedInfo.
func (OperationStatusProvisionILRExtendedInfo) MarshalJSON ¶
func (ospiei OperationStatusProvisionILRExtendedInfo) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for OperationStatusProvisionILRExtendedInfo.
type OperationStatusValues ¶
type OperationStatusValues string
OperationStatusValues enumerates the values for operation status values.
const ( // OperationStatusValuesCanceled specifies the operation status values canceled state for operation status values. OperationStatusValuesCanceled OperationStatusValues = "Canceled" // OperationStatusValuesFailed specifies the operation status values failed state for operation status values. OperationStatusValuesFailed OperationStatusValues = "Failed" // OperationStatusValuesInProgress specifies the operation status values in progress state for operation status values. OperationStatusValuesInProgress OperationStatusValues = "InProgress" // OperationStatusValuesInvalid specifies the operation status values invalid state for operation status values. OperationStatusValuesInvalid OperationStatusValues = "Invalid" // OperationStatusValuesSucceeded specifies the operation status values succeeded state for operation status values. OperationStatusValuesSucceeded OperationStatusValues = "Succeeded" )
type OperationWorkerResponse ¶
type OperationWorkerResponse struct { StatusCode HTTPStatusCode `json:"statusCode,omitempty"` Headers *map[string][]string `json:"Headers,omitempty"` }
OperationWorkerResponse is this is the base class for operation result responses.
type OperationsClient ¶
type OperationsClient struct {
ManagementClient
}
OperationsClient is the open API 2.0 Specs for Azure RecoveryServices Backup service
func NewOperationsClient ¶
func NewOperationsClient(subscriptionID string) OperationsClient
NewOperationsClient creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI ¶
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient
NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func (OperationsClient) List ¶
func (client OperationsClient) List() (result ClientDiscoveryResponse, err error)
List returns the list of available operations.
func (OperationsClient) ListComplete ¶
func (client OperationsClient) ListComplete(cancel <-chan struct{}) (<-chan ClientDiscoveryValueForSingleAPI, <-chan error)
ListComplete gets all elements from the list without paging.
func (OperationsClient) ListNextResults ¶
func (client OperationsClient) ListNextResults(lastResults ClientDiscoveryResponse) (result ClientDiscoveryResponse, err error)
ListNextResults retrieves the next set of results, if any.
func (OperationsClient) ListPreparer ¶
func (client OperationsClient) ListPreparer() (*http.Request, error)
ListPreparer prepares the List request.
func (OperationsClient) ListResponder ¶
func (client OperationsClient) ListResponder(resp *http.Response) (result ClientDiscoveryResponse, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (OperationsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type ProtectableItemType ¶
type ProtectableItemType string
ProtectableItemType enumerates the values for protectable item type.
const ( // ProtectableItemTypeIaaSVMProtectableItem specifies the protectable item type iaa svm protectable item state for // protectable item type. ProtectableItemTypeIaaSVMProtectableItem ProtectableItemType = "IaaSVMProtectableItem" // ProtectableItemTypeMicrosoftClassicComputevirtualMachines specifies the protectable item type microsoft classic // computevirtual machines state for protectable item type. ProtectableItemTypeMicrosoftClassicComputevirtualMachines ProtectableItemType = "Microsoft.ClassicCompute/virtualMachines" // ProtectableItemTypeMicrosoftComputevirtualMachines specifies the protectable item type microsoft computevirtual // machines state for protectable item type. ProtectableItemTypeMicrosoftComputevirtualMachines ProtectableItemType = "Microsoft.Compute/virtualMachines" )
type ProtectableObjectType ¶
type ProtectableObjectType string
ProtectableObjectType enumerates the values for protectable object type.
const ( // ProtectableObjectTypeAzureBackupServerContainer specifies the protectable object type azure backup server container // state for protectable object type. ProtectableObjectTypeAzureBackupServerContainer ProtectableObjectType = "AzureBackupServerContainer" // ProtectableObjectTypeAzureSQLContainer specifies the protectable object type azure sql container state for // protectable object type. ProtectableObjectTypeAzureSQLContainer ProtectableObjectType = "AzureSqlContainer" // ProtectableObjectTypeDPMContainer specifies the protectable object type dpm container state for protectable object // type. ProtectableObjectTypeDPMContainer ProtectableObjectType = "DPMContainer" // ProtectableObjectTypeIaaSVMContainer specifies the protectable object type iaa svm container state for protectable // object type. ProtectableObjectTypeIaaSVMContainer ProtectableObjectType = "IaaSVMContainer" // ProtectableObjectTypeMABWindowsContainer specifies the protectable object type mab windows container state for // protectable object type. ProtectableObjectTypeMABWindowsContainer ProtectableObjectType = "MABWindowsContainer" // ProtectableObjectTypeMicrosoftClassicComputevirtualMachines specifies the protectable object type microsoft classic // computevirtual machines state for protectable object type. ProtectableObjectTypeMicrosoftClassicComputevirtualMachines ProtectableObjectType = "Microsoft.ClassicCompute/virtualMachines" // ProtectableObjectTypeMicrosoftComputevirtualMachines specifies the protectable object type microsoft computevirtual // machines state for protectable object type. ProtectableObjectTypeMicrosoftComputevirtualMachines ProtectableObjectType = "Microsoft.Compute/virtualMachines" )
type ProtectedItem ¶
type ProtectedItem interface { AsAzureIaaSClassicComputeVMProtectedItem() (*AzureIaaSClassicComputeVMProtectedItem, bool) AsAzureIaaSComputeVMProtectedItem() (*AzureIaaSComputeVMProtectedItem, bool) AsAzureIaaSVMProtectedItem() (*AzureIaaSVMProtectedItem, bool) AsAzureSQLProtectedItem() (*AzureSQLProtectedItem, bool) AsDPMProtectedItem() (*DPMProtectedItem, bool) AsMabFileFolderProtectedItem() (*MabFileFolderProtectedItem, bool) }
ProtectedItem is base class for backup items.
type ProtectedItemOperationResultsClient ¶
type ProtectedItemOperationResultsClient struct {
ManagementClient
}
ProtectedItemOperationResultsClient is the open API 2.0 Specs for Azure RecoveryServices Backup service
func NewProtectedItemOperationResultsClient ¶
func NewProtectedItemOperationResultsClient(subscriptionID string) ProtectedItemOperationResultsClient
NewProtectedItemOperationResultsClient creates an instance of the ProtectedItemOperationResultsClient client.
func NewProtectedItemOperationResultsClientWithBaseURI ¶
func NewProtectedItemOperationResultsClientWithBaseURI(baseURI string, subscriptionID string) ProtectedItemOperationResultsClient
NewProtectedItemOperationResultsClientWithBaseURI creates an instance of the ProtectedItemOperationResultsClient client.
func (ProtectedItemOperationResultsClient) Get ¶
func (client ProtectedItemOperationResultsClient) Get(vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string, operationID string) (result ProtectedItemResource, err error)
Get fetches the result of any operation on the backup item.
vaultName is the name of the recovery services vault. resourceGroupName is the name of the resource group where the recovery services vault is present. fabricName is fabric name associated with the backup item. containerName is container name associated with the backup item. protectedItemName is backup item name whose details are to be fetched. operationID is operationID which represents the operation whose result needs to be fetched.
func (ProtectedItemOperationResultsClient) GetPreparer ¶
func (client ProtectedItemOperationResultsClient) GetPreparer(vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string, operationID string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ProtectedItemOperationResultsClient) GetResponder ¶
func (client ProtectedItemOperationResultsClient) GetResponder(resp *http.Response) (result ProtectedItemResource, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
type ProtectedItemOperationStatusesClient ¶
type ProtectedItemOperationStatusesClient struct {
ManagementClient
}
ProtectedItemOperationStatusesClient is the open API 2.0 Specs for Azure RecoveryServices Backup service
func NewProtectedItemOperationStatusesClient ¶
func NewProtectedItemOperationStatusesClient(subscriptionID string) ProtectedItemOperationStatusesClient
NewProtectedItemOperationStatusesClient creates an instance of the ProtectedItemOperationStatusesClient client.
func NewProtectedItemOperationStatusesClientWithBaseURI ¶
func NewProtectedItemOperationStatusesClientWithBaseURI(baseURI string, subscriptionID string) ProtectedItemOperationStatusesClient
NewProtectedItemOperationStatusesClientWithBaseURI creates an instance of the ProtectedItemOperationStatusesClient client.
func (ProtectedItemOperationStatusesClient) Get ¶
func (client ProtectedItemOperationStatusesClient) Get(vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string, operationID string) (result OperationStatus, err error)
Get fetches the status of an operation such as triggering a backup, restore. The status can be in progress, completed or failed. You can refer to the OperationStatus enum for all the possible states of the operation. Some operations create jobs. This method returns the list of jobs associated with the operation.
vaultName is the name of the recovery services vault. resourceGroupName is the name of the resource group where the recovery services vault is present. fabricName is fabric name associated with the backup item. containerName is container name associated with the backup item. protectedItemName is backup item name whose details are to be fetched. operationID is operationID represents the operation whose status needs to be fetched.
func (ProtectedItemOperationStatusesClient) GetPreparer ¶
func (client ProtectedItemOperationStatusesClient) GetPreparer(vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string, operationID string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ProtectedItemOperationStatusesClient) GetResponder ¶
func (client ProtectedItemOperationStatusesClient) GetResponder(resp *http.Response) (result OperationStatus, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
type ProtectedItemQueryObject ¶
type ProtectedItemQueryObject struct { HealthState HealthState `json:"healthState,omitempty"` BackupManagementType BackupManagementType `json:"backupManagementType,omitempty"` ItemType DataSourceType `json:"itemType,omitempty"` PolicyName *string `json:"policyName,omitempty"` ContainerName *string `json:"containerName,omitempty"` BackupEngineName *string `json:"backupEngineName,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` }
ProtectedItemQueryObject is filters to list backup items.
type ProtectedItemResource ¶
type ProtectedItemResource struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Location *string `json:"location,omitempty"` Tags *map[string]*string `json:"tags,omitempty"` ETag *string `json:"eTag,omitempty"` Properties ProtectedItem `json:"properties,omitempty"` }
ProtectedItemResource is base class for backup items.
func (*ProtectedItemResource) UnmarshalJSON ¶
func (pir *ProtectedItemResource) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ProtectedItemResource struct.
type ProtectedItemResourceList ¶
type ProtectedItemResourceList struct { autorest.Response `json:"-"` NextLink *string `json:"nextLink,omitempty"` Value *[]ProtectedItemResource `json:"value,omitempty"` }
ProtectedItemResourceList is list of ProtectedItem resources
func (ProtectedItemResourceList) ProtectedItemResourceListPreparer ¶
func (client ProtectedItemResourceList) ProtectedItemResourceListPreparer() (*http.Request, error)
ProtectedItemResourceListPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type ProtectedItemState ¶
type ProtectedItemState string
ProtectedItemState enumerates the values for protected item state.
const ( // ProtectedItemStateInvalid specifies the protected item state invalid state for protected item state. ProtectedItemStateInvalid ProtectedItemState = "Invalid" // ProtectedItemStateIRPending specifies the protected item state ir pending state for protected item state. ProtectedItemStateIRPending ProtectedItemState = "IRPending" // ProtectedItemStateProtected specifies the protected item state protected state for protected item state. ProtectedItemStateProtected ProtectedItemState = "Protected" // ProtectedItemStateProtectionError specifies the protected item state protection error state for protected item // state. ProtectedItemStateProtectionError ProtectedItemState = "ProtectionError" // ProtectedItemStateProtectionPaused specifies the protected item state protection paused state for protected item // state. ProtectedItemStateProtectionPaused ProtectedItemState = "ProtectionPaused" // ProtectedItemStateProtectionStopped specifies the protected item state protection stopped state for protected item // state. ProtectedItemStateProtectionStopped ProtectedItemState = "ProtectionStopped" )
type ProtectedItemType ¶
type ProtectedItemType string
ProtectedItemType enumerates the values for protected item type.
const ( // ProtectedItemTypeAzureIaaSVMProtectedItem specifies the protected item type azure iaa svm protected item state for // protected item type. ProtectedItemTypeAzureIaaSVMProtectedItem ProtectedItemType = "AzureIaaSVMProtectedItem" // ProtectedItemTypeDPMProtectedItem specifies the protected item type dpm protected item state for protected item // type. ProtectedItemTypeDPMProtectedItem ProtectedItemType = "DPMProtectedItem" // ProtectedItemTypeMabFileFolderProtectedItem specifies the protected item type mab file folder protected item state // for protected item type. ProtectedItemTypeMabFileFolderProtectedItem ProtectedItemType = "MabFileFolderProtectedItem" // ProtectedItemTypeMicrosoftClassicComputevirtualMachines specifies the protected item type microsoft classic // computevirtual machines state for protected item type. ProtectedItemTypeMicrosoftClassicComputevirtualMachines ProtectedItemType = "Microsoft.ClassicCompute/virtualMachines" // ProtectedItemTypeMicrosoftComputevirtualMachines specifies the protected item type microsoft computevirtual machines // state for protected item type. ProtectedItemTypeMicrosoftComputevirtualMachines ProtectedItemType = "Microsoft.Compute/virtualMachines" // ProtectedItemTypeMicrosoftSqlserversdatabases specifies the protected item type microsoft sqlserversdatabases state // for protected item type. ProtectedItemTypeMicrosoftSqlserversdatabases ProtectedItemType = "Microsoft.Sql/servers/databases" )
type ProtectedItemsClient ¶
type ProtectedItemsClient struct {
ManagementClient
}
ProtectedItemsClient is the open API 2.0 Specs for Azure RecoveryServices Backup service
func NewProtectedItemsClient ¶
func NewProtectedItemsClient(subscriptionID string) ProtectedItemsClient
NewProtectedItemsClient creates an instance of the ProtectedItemsClient client.
func NewProtectedItemsClientWithBaseURI ¶
func NewProtectedItemsClientWithBaseURI(baseURI string, subscriptionID string) ProtectedItemsClient
NewProtectedItemsClientWithBaseURI creates an instance of the ProtectedItemsClient client.
func (ProtectedItemsClient) CreateOrUpdate ¶
func (client ProtectedItemsClient) CreateOrUpdate(vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string, parameters ProtectedItemResource) (result autorest.Response, err error)
CreateOrUpdate enables backup of an item or to modifies the backup policy information of an already backed up item. This is an asynchronous operation. To know the status of the operation, call the GetItemOperationResult API.
vaultName is the name of the recovery services vault. resourceGroupName is the name of the resource group where the recovery services vault is present. fabricName is fabric name associated with the backup item. containerName is container name associated with the backup item. protectedItemName is item name to be backed up. parameters is resource backed up item
func (ProtectedItemsClient) CreateOrUpdatePreparer ¶
func (client ProtectedItemsClient) CreateOrUpdatePreparer(vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string, parameters ProtectedItemResource) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ProtectedItemsClient) CreateOrUpdateResponder ¶
func (client ProtectedItemsClient) CreateOrUpdateResponder(resp *http.Response) (result autorest.Response, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ProtectedItemsClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (ProtectedItemsClient) Delete ¶
func (client ProtectedItemsClient) Delete(vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string) (result autorest.Response, err error)
Delete used to disable backup of an item within a container. This is an asynchronous operation. To know the status of the request, call the GetItemOperationResult API.
vaultName is the name of the recovery services vault. resourceGroupName is the name of the resource group where the recovery services vault is present. fabricName is fabric name associated with the backed up item. containerName is container name associated with the backed up item. protectedItemName is backed up item to be deleted.
func (ProtectedItemsClient) DeletePreparer ¶
func (client ProtectedItemsClient) DeletePreparer(vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ProtectedItemsClient) DeleteResponder ¶
func (client ProtectedItemsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (ProtectedItemsClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ProtectedItemsClient) Get ¶
func (client ProtectedItemsClient) Get(vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string, filter string) (result ProtectedItemResource, err error)
Get provides the details of the backed up item. This is an asynchronous operation. To know the status of the operation, call the GetItemOperationResult API.
vaultName is the name of the recovery services vault. resourceGroupName is the name of the resource group where the recovery services vault is present. fabricName is fabric name associated with the backed up item. containerName is container name associated with the backed up item. protectedItemName is backed up item name whose details are to be fetched. filter is oData filter options.
func (ProtectedItemsClient) GetPreparer ¶
func (client ProtectedItemsClient) GetPreparer(vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string, filter string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ProtectedItemsClient) GetResponder ¶
func (client ProtectedItemsClient) GetResponder(resp *http.Response) (result ProtectedItemResource, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
type ProtectionContainer ¶
type ProtectionContainer interface { AsAzureBackupServerContainer() (*AzureBackupServerContainer, bool) AsAzureIaaSClassicComputeVMContainer() (*AzureIaaSClassicComputeVMContainer, bool) AsAzureIaaSComputeVMContainer() (*AzureIaaSComputeVMContainer, bool) AsAzureSQLContainer() (*AzureSQLContainer, bool) AsDpmContainer() (*DpmContainer, bool) AsIaaSVMContainer() (*IaaSVMContainer, bool) AsMabContainer() (*MabContainer, bool) }
ProtectionContainer is base class for container with backup items. Containers with specific workloads are derived from this class.
type ProtectionContainerOperationResultsClient ¶
type ProtectionContainerOperationResultsClient struct {
ManagementClient
}
ProtectionContainerOperationResultsClient is the open API 2.0 Specs for Azure RecoveryServices Backup service
func NewProtectionContainerOperationResultsClient ¶
func NewProtectionContainerOperationResultsClient(subscriptionID string) ProtectionContainerOperationResultsClient
NewProtectionContainerOperationResultsClient creates an instance of the ProtectionContainerOperationResultsClient client.
func NewProtectionContainerOperationResultsClientWithBaseURI ¶
func NewProtectionContainerOperationResultsClientWithBaseURI(baseURI string, subscriptionID string) ProtectionContainerOperationResultsClient
NewProtectionContainerOperationResultsClientWithBaseURI creates an instance of the ProtectionContainerOperationResultsClient client.
func (ProtectionContainerOperationResultsClient) Get ¶
func (client ProtectionContainerOperationResultsClient) Get(vaultName string, resourceGroupName string, fabricName string, containerName string, operationID string) (result ProtectionContainerResource, err error)
Get fetches the result of any operation on the container.
vaultName is the name of the recovery services vault. resourceGroupName is the name of the resource group where the recovery services vault is present. fabricName is fabric name associated with the container. containerName is container name whose information should be fetched. operationID is operation ID which represents the operation whose result needs to be fetched.
func (ProtectionContainerOperationResultsClient) GetPreparer ¶
func (client ProtectionContainerOperationResultsClient) GetPreparer(vaultName string, resourceGroupName string, fabricName string, containerName string, operationID string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ProtectionContainerOperationResultsClient) GetResponder ¶
func (client ProtectionContainerOperationResultsClient) GetResponder(resp *http.Response) (result ProtectionContainerResource, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
type ProtectionContainerRefreshOperationResultsClient ¶
type ProtectionContainerRefreshOperationResultsClient struct {
ManagementClient
}
ProtectionContainerRefreshOperationResultsClient is the open API 2.0 Specs for Azure RecoveryServices Backup service
func NewProtectionContainerRefreshOperationResultsClient ¶
func NewProtectionContainerRefreshOperationResultsClient(subscriptionID string) ProtectionContainerRefreshOperationResultsClient
NewProtectionContainerRefreshOperationResultsClient creates an instance of the ProtectionContainerRefreshOperationResultsClient client.
func NewProtectionContainerRefreshOperationResultsClientWithBaseURI ¶
func NewProtectionContainerRefreshOperationResultsClientWithBaseURI(baseURI string, subscriptionID string) ProtectionContainerRefreshOperationResultsClient
NewProtectionContainerRefreshOperationResultsClientWithBaseURI creates an instance of the ProtectionContainerRefreshOperationResultsClient client.
func (ProtectionContainerRefreshOperationResultsClient) Get ¶
func (client ProtectionContainerRefreshOperationResultsClient) Get(vaultName string, resourceGroupName string, fabricName string, operationID string) (result autorest.Response, err error)
Get provides the result of the refresh operation triggered by the BeginRefresh operation.
vaultName is the name of the recovery services vault. resourceGroupName is the name of the resource group where the recovery services vault is present. fabricName is fabric name associated with the container. operationID is operation ID associated with the operation whose result needs to be fetched.
func (ProtectionContainerRefreshOperationResultsClient) GetPreparer ¶
func (client ProtectionContainerRefreshOperationResultsClient) GetPreparer(vaultName string, resourceGroupName string, fabricName string, operationID string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ProtectionContainerRefreshOperationResultsClient) GetResponder ¶
func (client ProtectionContainerRefreshOperationResultsClient) GetResponder(resp *http.Response) (result autorest.Response, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
type ProtectionContainerResource ¶
type ProtectionContainerResource struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Location *string `json:"location,omitempty"` Tags *map[string]*string `json:"tags,omitempty"` ETag *string `json:"eTag,omitempty"` Properties ProtectionContainer `json:"properties,omitempty"` }
ProtectionContainerResource is base class for container with backup items. Containers with specific workloads are derived from this class.
func (*ProtectionContainerResource) UnmarshalJSON ¶
func (pcr *ProtectionContainerResource) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ProtectionContainerResource struct.
type ProtectionContainerResourceList ¶
type ProtectionContainerResourceList struct { autorest.Response `json:"-"` NextLink *string `json:"nextLink,omitempty"` Value *[]ProtectionContainerResource `json:"value,omitempty"` }
ProtectionContainerResourceList is list of ProtectionContainer resources
func (ProtectionContainerResourceList) ProtectionContainerResourceListPreparer ¶
func (client ProtectionContainerResourceList) ProtectionContainerResourceListPreparer() (*http.Request, error)
ProtectionContainerResourceListPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type ProtectionContainersClient ¶
type ProtectionContainersClient struct {
ManagementClient
}
ProtectionContainersClient is the open API 2.0 Specs for Azure RecoveryServices Backup service
func NewProtectionContainersClient ¶
func NewProtectionContainersClient(subscriptionID string) ProtectionContainersClient
NewProtectionContainersClient creates an instance of the ProtectionContainersClient client.
func NewProtectionContainersClientWithBaseURI ¶
func NewProtectionContainersClientWithBaseURI(baseURI string, subscriptionID string) ProtectionContainersClient
NewProtectionContainersClientWithBaseURI creates an instance of the ProtectionContainersClient client.
func (ProtectionContainersClient) Get ¶
func (client ProtectionContainersClient) Get(vaultName string, resourceGroupName string, fabricName string, containerName string) (result ProtectionContainerResource, err error)
Get gets details of the specific container registered to your Recovery Services Vault.
vaultName is the name of the recovery services vault. resourceGroupName is the name of the resource group where the recovery services vault is present. fabricName is name of the fabric where the container belongs. containerName is name of the container whose details need to be fetched.
func (ProtectionContainersClient) GetPreparer ¶
func (client ProtectionContainersClient) GetPreparer(vaultName string, resourceGroupName string, fabricName string, containerName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ProtectionContainersClient) GetResponder ¶
func (client ProtectionContainersClient) GetResponder(resp *http.Response) (result ProtectionContainerResource, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ProtectionContainersClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ProtectionContainersClient) Refresh ¶
func (client ProtectionContainersClient) Refresh(vaultName string, resourceGroupName string, fabricName string) (result autorest.Response, err error)
Refresh discovers all the containers in the subscription that can be backed up to Recovery Services Vault. This is an asynchronous operation. To know the status of the operation, call GetRefreshOperationResult API.
vaultName is the name of the recovery services vault. resourceGroupName is the name of the resource group where the recovery services vault is present. fabricName is fabric name associated the container.
func (ProtectionContainersClient) RefreshPreparer ¶
func (client ProtectionContainersClient) RefreshPreparer(vaultName string, resourceGroupName string, fabricName string) (*http.Request, error)
RefreshPreparer prepares the Refresh request.
func (ProtectionContainersClient) RefreshResponder ¶
func (client ProtectionContainersClient) RefreshResponder(resp *http.Response) (result autorest.Response, err error)
RefreshResponder handles the response to the Refresh request. The method always closes the http.Response Body.
func (ProtectionContainersClient) RefreshSender ¶
RefreshSender sends the Refresh request. The method will close the http.Response Body if it receives an error.
type ProtectionPoliciesClient ¶
type ProtectionPoliciesClient struct {
ManagementClient
}
ProtectionPoliciesClient is the open API 2.0 Specs for Azure RecoveryServices Backup service
func NewProtectionPoliciesClient ¶
func NewProtectionPoliciesClient(subscriptionID string) ProtectionPoliciesClient
NewProtectionPoliciesClient creates an instance of the ProtectionPoliciesClient client.
func NewProtectionPoliciesClientWithBaseURI ¶
func NewProtectionPoliciesClientWithBaseURI(baseURI string, subscriptionID string) ProtectionPoliciesClient
NewProtectionPoliciesClientWithBaseURI creates an instance of the ProtectionPoliciesClient client.
func (ProtectionPoliciesClient) CreateOrUpdate ¶
func (client ProtectionPoliciesClient) CreateOrUpdate(vaultName string, resourceGroupName string, policyName string, parameters ProtectionPolicyResource) (result ProtectionPolicyResource, err error)
CreateOrUpdate creates or modifies a backup policy. This is an asynchronous operation. Status of the operation can be fetched using GetPolicyOperationResult API.
vaultName is the name of the recovery services vault. resourceGroupName is the name of the resource group where the recovery services vault is present. policyName is backup policy to be created. parameters is resource backup policy
func (ProtectionPoliciesClient) CreateOrUpdatePreparer ¶
func (client ProtectionPoliciesClient) CreateOrUpdatePreparer(vaultName string, resourceGroupName string, policyName string, parameters ProtectionPolicyResource) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ProtectionPoliciesClient) CreateOrUpdateResponder ¶
func (client ProtectionPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result ProtectionPolicyResource, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ProtectionPoliciesClient) CreateOrUpdateSender ¶
func (client ProtectionPoliciesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (ProtectionPoliciesClient) Delete ¶
func (client ProtectionPoliciesClient) Delete(vaultName string, resourceGroupName string, policyName string) (result autorest.Response, err error)
Delete deletes specified backup policy from your Recovery Services Vault. This is an asynchronous operation. Status of the operation can be fetched using GetPolicyOperationResult API.
vaultName is the name of the recovery services vault. resourceGroupName is the name of the resource group where the recovery services vault is present. policyName is backup policy to be deleted.
func (ProtectionPoliciesClient) DeletePreparer ¶
func (client ProtectionPoliciesClient) DeletePreparer(vaultName string, resourceGroupName string, policyName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ProtectionPoliciesClient) DeleteResponder ¶
func (client ProtectionPoliciesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (ProtectionPoliciesClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ProtectionPoliciesClient) Get ¶
func (client ProtectionPoliciesClient) Get(vaultName string, resourceGroupName string, policyName string) (result ProtectionPolicyResource, err error)
Get provides the details of the backup policies associated to Recovery Services Vault. This is an asynchronous operation. Status of the operation can be fetched using GetPolicyOperationResult API.
vaultName is the name of the recovery services vault. resourceGroupName is the name of the resource group where the recovery services vault is present. policyName is backup policy information to be fetched.
func (ProtectionPoliciesClient) GetPreparer ¶
func (client ProtectionPoliciesClient) GetPreparer(vaultName string, resourceGroupName string, policyName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ProtectionPoliciesClient) GetResponder ¶
func (client ProtectionPoliciesClient) GetResponder(resp *http.Response) (result ProtectionPolicyResource, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
type ProtectionPolicy ¶
type ProtectionPolicy interface { AsAzureIaaSVMProtectionPolicy() (*AzureIaaSVMProtectionPolicy, bool) AsAzureSQLProtectionPolicy() (*AzureSQLProtectionPolicy, bool) AsMabProtectionPolicy() (*MabProtectionPolicy, bool) }
ProtectionPolicy is base class for backup policy. Workload-specific backup policies are derived from this class.
type ProtectionPolicyOperationResultsClient ¶
type ProtectionPolicyOperationResultsClient struct {
ManagementClient
}
ProtectionPolicyOperationResultsClient is the open API 2.0 Specs for Azure RecoveryServices Backup service
func NewProtectionPolicyOperationResultsClient ¶
func NewProtectionPolicyOperationResultsClient(subscriptionID string) ProtectionPolicyOperationResultsClient
NewProtectionPolicyOperationResultsClient creates an instance of the ProtectionPolicyOperationResultsClient client.
func NewProtectionPolicyOperationResultsClientWithBaseURI ¶
func NewProtectionPolicyOperationResultsClientWithBaseURI(baseURI string, subscriptionID string) ProtectionPolicyOperationResultsClient
NewProtectionPolicyOperationResultsClientWithBaseURI creates an instance of the ProtectionPolicyOperationResultsClient client.
func (ProtectionPolicyOperationResultsClient) Get ¶
func (client ProtectionPolicyOperationResultsClient) Get(vaultName string, resourceGroupName string, policyName string, operationID string) (result ProtectionPolicyResource, err error)
Get provides the result of an operation.
vaultName is the name of the recovery services vault. resourceGroupName is the name of the resource group where the recovery services vault is present. policyName is backup policy name whose operation's result needs to be fetched. operationID is operation ID which represents the operation whose result needs to be fetched.
func (ProtectionPolicyOperationResultsClient) GetPreparer ¶
func (client ProtectionPolicyOperationResultsClient) GetPreparer(vaultName string, resourceGroupName string, policyName string, operationID string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ProtectionPolicyOperationResultsClient) GetResponder ¶
func (client ProtectionPolicyOperationResultsClient) GetResponder(resp *http.Response) (result ProtectionPolicyResource, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
type ProtectionPolicyOperationStatusesClient ¶
type ProtectionPolicyOperationStatusesClient struct {
ManagementClient
}
ProtectionPolicyOperationStatusesClient is the open API 2.0 Specs for Azure RecoveryServices Backup service
func NewProtectionPolicyOperationStatusesClient ¶
func NewProtectionPolicyOperationStatusesClient(subscriptionID string) ProtectionPolicyOperationStatusesClient
NewProtectionPolicyOperationStatusesClient creates an instance of the ProtectionPolicyOperationStatusesClient client.
func NewProtectionPolicyOperationStatusesClientWithBaseURI ¶
func NewProtectionPolicyOperationStatusesClientWithBaseURI(baseURI string, subscriptionID string) ProtectionPolicyOperationStatusesClient
NewProtectionPolicyOperationStatusesClientWithBaseURI creates an instance of the ProtectionPolicyOperationStatusesClient client.
func (ProtectionPolicyOperationStatusesClient) Get ¶
func (client ProtectionPolicyOperationStatusesClient) Get(vaultName string, resourceGroupName string, policyName string, operationID string) (result OperationStatus, err error)
Get provides the status of the asynchronous operations like backup, restore. The status can be in progress, completed or failed. You can refer to the Operation Status enum for all the possible states of an operation. Some operations create jobs. This method returns the list of jobs associated with operation.
vaultName is the name of the recovery services vault. resourceGroupName is the name of the resource group where the recovery services vault is present. policyName is backup policy name whose operation's status needs to be fetched. operationID is operation ID which represents an operation whose status needs to be fetched.
func (ProtectionPolicyOperationStatusesClient) GetPreparer ¶
func (client ProtectionPolicyOperationStatusesClient) GetPreparer(vaultName string, resourceGroupName string, policyName string, operationID string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ProtectionPolicyOperationStatusesClient) GetResponder ¶
func (client ProtectionPolicyOperationStatusesClient) GetResponder(resp *http.Response) (result OperationStatus, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
type ProtectionPolicyQueryObject ¶
type ProtectionPolicyQueryObject struct {
BackupManagementType BackupManagementType `json:"backupManagementType,omitempty"`
}
ProtectionPolicyQueryObject is filters the list backup policies API.
type ProtectionPolicyResource ¶
type ProtectionPolicyResource struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Location *string `json:"location,omitempty"` Tags *map[string]*string `json:"tags,omitempty"` ETag *string `json:"eTag,omitempty"` Properties ProtectionPolicy `json:"properties,omitempty"` }
ProtectionPolicyResource is base class for backup policy. Workload-specific backup policies are derived from this class.
func (*ProtectionPolicyResource) UnmarshalJSON ¶
func (ppr *ProtectionPolicyResource) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ProtectionPolicyResource struct.
type ProtectionPolicyResourceList ¶
type ProtectionPolicyResourceList struct { autorest.Response `json:"-"` NextLink *string `json:"nextLink,omitempty"` Value *[]ProtectionPolicyResource `json:"value,omitempty"` }
ProtectionPolicyResourceList is list of ProtectionPolicy resources
func (ProtectionPolicyResourceList) ProtectionPolicyResourceListPreparer ¶
func (client ProtectionPolicyResourceList) ProtectionPolicyResourceListPreparer() (*http.Request, error)
ProtectionPolicyResourceListPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type ProtectionState ¶
type ProtectionState string
ProtectionState enumerates the values for protection state.
const ( // ProtectionStateInvalid specifies the protection state invalid state for protection state. ProtectionStateInvalid ProtectionState = "Invalid" // ProtectionStateIRPending specifies the protection state ir pending state for protection state. ProtectionStateIRPending ProtectionState = "IRPending" // ProtectionStateProtected specifies the protection state protected state for protection state. ProtectionStateProtected ProtectionState = "Protected" // ProtectionStateProtectionError specifies the protection state protection error state for protection state. ProtectionStateProtectionError ProtectionState = "ProtectionError" // ProtectionStateProtectionPaused specifies the protection state protection paused state for protection state. ProtectionStateProtectionPaused ProtectionState = "ProtectionPaused" // ProtectionStateProtectionStopped specifies the protection state protection stopped state for protection state. ProtectionStateProtectionStopped ProtectionState = "ProtectionStopped" )
type ProtectionStatus ¶
type ProtectionStatus string
ProtectionStatus enumerates the values for protection status.
const ( // ProtectionStatusInvalid specifies the protection status invalid state for protection status. ProtectionStatusInvalid ProtectionStatus = "Invalid" // ProtectionStatusNotProtected specifies the protection status not protected state for protection status. ProtectionStatusNotProtected ProtectionStatus = "NotProtected" // ProtectionStatusProtected specifies the protection status protected state for protection status. ProtectionStatusProtected ProtectionStatus = "Protected" // ProtectionStatusProtecting specifies the protection status protecting state for protection status. ProtectionStatusProtecting ProtectionStatus = "Protecting" )
type RecoveryPoint ¶
type RecoveryPoint interface { AsGenericRecoveryPoint() (*GenericRecoveryPoint, bool) AsIaasVMRecoveryPoint() (*IaasVMRecoveryPoint, bool) }
RecoveryPoint is base class for backup copies. Workload-specific backup copies are derived from this class.
type RecoveryPointResource ¶
type RecoveryPointResource struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Location *string `json:"location,omitempty"` Tags *map[string]*string `json:"tags,omitempty"` ETag *string `json:"eTag,omitempty"` Properties RecoveryPoint `json:"properties,omitempty"` }
RecoveryPointResource is base class for backup copies. Workload-specific backup copies are derived from this class.
func (*RecoveryPointResource) UnmarshalJSON ¶
func (rpr *RecoveryPointResource) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for RecoveryPointResource struct.
type RecoveryPointResourceList ¶
type RecoveryPointResourceList struct { autorest.Response `json:"-"` NextLink *string `json:"nextLink,omitempty"` Value *[]RecoveryPointResource `json:"value,omitempty"` }
RecoveryPointResourceList is list of RecoveryPoint resources
func (RecoveryPointResourceList) RecoveryPointResourceListPreparer ¶
func (client RecoveryPointResourceList) RecoveryPointResourceListPreparer() (*http.Request, error)
RecoveryPointResourceListPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type RecoveryPointTierInformation ¶
type RecoveryPointTierInformation struct { Type RecoveryPointTierType `json:"type,omitempty"` Status RecoveryPointTierStatus `json:"status,omitempty"` }
RecoveryPointTierInformation is recovery point tier information.
type RecoveryPointTierStatus ¶
type RecoveryPointTierStatus string
RecoveryPointTierStatus enumerates the values for recovery point tier status.
const ( // RecoveryPointTierStatusDeleted specifies the recovery point tier status deleted state for recovery point tier // status. RecoveryPointTierStatusDeleted RecoveryPointTierStatus = "Deleted" // RecoveryPointTierStatusDisabled specifies the recovery point tier status disabled state for recovery point tier // status. RecoveryPointTierStatusDisabled RecoveryPointTierStatus = "Disabled" // RecoveryPointTierStatusInvalid specifies the recovery point tier status invalid state for recovery point tier // status. RecoveryPointTierStatusInvalid RecoveryPointTierStatus = "Invalid" // RecoveryPointTierStatusValid specifies the recovery point tier status valid state for recovery point tier status. RecoveryPointTierStatusValid RecoveryPointTierStatus = "Valid" )
type RecoveryPointTierType ¶
type RecoveryPointTierType string
RecoveryPointTierType enumerates the values for recovery point tier type.
const ( // RecoveryPointTierTypeHardenedRP specifies the recovery point tier type hardened rp state for recovery point tier // type. RecoveryPointTierTypeHardenedRP RecoveryPointTierType = "HardenedRP" // RecoveryPointTierTypeInstantRP specifies the recovery point tier type instant rp state for recovery point tier type. RecoveryPointTierTypeInstantRP RecoveryPointTierType = "InstantRP" // RecoveryPointTierTypeInvalid specifies the recovery point tier type invalid state for recovery point tier type. RecoveryPointTierTypeInvalid RecoveryPointTierType = "Invalid" )
type RecoveryPointsClient ¶
type RecoveryPointsClient struct {
ManagementClient
}
RecoveryPointsClient is the open API 2.0 Specs for Azure RecoveryServices Backup service
func NewRecoveryPointsClient ¶
func NewRecoveryPointsClient(subscriptionID string) RecoveryPointsClient
NewRecoveryPointsClient creates an instance of the RecoveryPointsClient client.
func NewRecoveryPointsClientWithBaseURI ¶
func NewRecoveryPointsClientWithBaseURI(baseURI string, subscriptionID string) RecoveryPointsClient
NewRecoveryPointsClientWithBaseURI creates an instance of the RecoveryPointsClient client.
func (RecoveryPointsClient) Get ¶
func (client RecoveryPointsClient) Get(vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string, recoveryPointID string) (result RecoveryPointResource, err error)
Get provides the information of the backed up data identified using RecoveryPointID. This is an asynchronous operation. To know the status of the operation, call the GetProtectedItemOperationResult API.
vaultName is the name of the recovery services vault. resourceGroupName is the name of the resource group where the recovery services vault is present. fabricName is fabric name associated with backed up item. containerName is container name associated with backed up item. protectedItemName is backed up item name whose backup data needs to be fetched. recoveryPointID is recoveryPointID represents the backed up data to be fetched.
func (RecoveryPointsClient) GetPreparer ¶
func (client RecoveryPointsClient) GetPreparer(vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string, recoveryPointID string) (*http.Request, error)
GetPreparer prepares the Get request.
func (RecoveryPointsClient) GetResponder ¶
func (client RecoveryPointsClient) GetResponder(resp *http.Response) (result RecoveryPointResource, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (RecoveryPointsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (RecoveryPointsClient) List ¶
func (client RecoveryPointsClient) List(vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string, filter string) (result RecoveryPointResourceList, err error)
List lists the backup copies for the backed up item.
vaultName is the name of the recovery services vault. resourceGroupName is the name of the resource group where the recovery services vault is present. fabricName is fabric name associated with the backed up item. containerName is container name associated with the backed up item. protectedItemName is backed up item whose backup copies are to be fetched. filter is oData filter options.
func (RecoveryPointsClient) ListComplete ¶
func (client RecoveryPointsClient) ListComplete(vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string, filter string, cancel <-chan struct{}) (<-chan RecoveryPointResource, <-chan error)
ListComplete gets all elements from the list without paging.
func (RecoveryPointsClient) ListNextResults ¶
func (client RecoveryPointsClient) ListNextResults(lastResults RecoveryPointResourceList) (result RecoveryPointResourceList, err error)
ListNextResults retrieves the next set of results, if any.
func (RecoveryPointsClient) ListPreparer ¶
func (client RecoveryPointsClient) ListPreparer(vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string, filter string) (*http.Request, error)
ListPreparer prepares the List request.
func (RecoveryPointsClient) ListResponder ¶
func (client RecoveryPointsClient) ListResponder(resp *http.Response) (result RecoveryPointResourceList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (RecoveryPointsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type RecoveryType ¶
type RecoveryType string
RecoveryType enumerates the values for recovery type.
const ( // RecoveryTypeAlternateLocation specifies the recovery type alternate location state for recovery type. RecoveryTypeAlternateLocation RecoveryType = "AlternateLocation" // RecoveryTypeInvalid specifies the recovery type invalid state for recovery type. RecoveryTypeInvalid RecoveryType = "Invalid" // RecoveryTypeOriginalLocation specifies the recovery type original location state for recovery type. RecoveryTypeOriginalLocation RecoveryType = "OriginalLocation" // RecoveryTypeRestoreDisks specifies the recovery type restore disks state for recovery type. RecoveryTypeRestoreDisks RecoveryType = "RestoreDisks" )
type Resource ¶
type Resource struct { ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Location *string `json:"location,omitempty"` Tags *map[string]*string `json:"tags,omitempty"` ETag *string `json:"eTag,omitempty"` }
Resource is ARM Resource.
type ResourceList ¶
type ResourceList struct {
NextLink *string `json:"nextLink,omitempty"`
}
ResourceList is base for all lists of resources.
type RestoreRequest ¶
type RestoreRequest interface {
AsIaasVMRestoreRequest() (*IaasVMRestoreRequest, bool)
}
RestoreRequest is base class for restore request. Workload-specific restore requests are derived from this class.
type RestoreRequestResource ¶
type RestoreRequestResource struct { ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Location *string `json:"location,omitempty"` Tags *map[string]*string `json:"tags,omitempty"` ETag *string `json:"eTag,omitempty"` Properties RestoreRequest `json:"properties,omitempty"` }
RestoreRequestResource is base class for restore request. Workload-specific restore requests are derived from this class.
func (*RestoreRequestResource) UnmarshalJSON ¶
func (rrr *RestoreRequestResource) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for RestoreRequestResource struct.
type RestoresClient ¶
type RestoresClient struct {
ManagementClient
}
RestoresClient is the open API 2.0 Specs for Azure RecoveryServices Backup service
func NewRestoresClient ¶
func NewRestoresClient(subscriptionID string) RestoresClient
NewRestoresClient creates an instance of the RestoresClient client.
func NewRestoresClientWithBaseURI ¶
func NewRestoresClientWithBaseURI(baseURI string, subscriptionID string) RestoresClient
NewRestoresClientWithBaseURI creates an instance of the RestoresClient client.
func (RestoresClient) Trigger ¶
func (client RestoresClient) Trigger(vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string, recoveryPointID string, parameters RestoreRequestResource) (result autorest.Response, err error)
Trigger restores the specified backed up data. This is an asynchronous operation. To know the status of this API call, use GetProtectedItemOperationResult API.
vaultName is the name of the recovery services vault. resourceGroupName is the name of the resource group where the recovery services vault is present. fabricName is fabric name associated with the backed up items. containerName is container name associated with the backed up items. protectedItemName is backed up item to be restored. recoveryPointID is recovery point ID which represents the backed up data to be restored. parameters is resource restore request
func (RestoresClient) TriggerPreparer ¶
func (client RestoresClient) TriggerPreparer(vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string, recoveryPointID string, parameters RestoreRequestResource) (*http.Request, error)
TriggerPreparer prepares the Trigger request.
func (RestoresClient) TriggerResponder ¶
func (client RestoresClient) TriggerResponder(resp *http.Response) (result autorest.Response, err error)
TriggerResponder handles the response to the Trigger request. The method always closes the http.Response Body.
func (RestoresClient) TriggerSender ¶
TriggerSender sends the Trigger request. The method will close the http.Response Body if it receives an error.
type RetentionDuration ¶
type RetentionDuration struct { Count *int32 `json:"count,omitempty"` DurationType RetentionDurationType `json:"durationType,omitempty"` }
RetentionDuration is retention duration.
type RetentionDurationType ¶
type RetentionDurationType string
RetentionDurationType enumerates the values for retention duration type.
const ( // RetentionDurationTypeDays specifies the retention duration type days state for retention duration type. RetentionDurationTypeDays RetentionDurationType = "Days" // RetentionDurationTypeInvalid specifies the retention duration type invalid state for retention duration type. RetentionDurationTypeInvalid RetentionDurationType = "Invalid" // RetentionDurationTypeMonths specifies the retention duration type months state for retention duration type. RetentionDurationTypeMonths RetentionDurationType = "Months" // RetentionDurationTypeWeeks specifies the retention duration type weeks state for retention duration type. RetentionDurationTypeWeeks RetentionDurationType = "Weeks" // RetentionDurationTypeYears specifies the retention duration type years state for retention duration type. RetentionDurationTypeYears RetentionDurationType = "Years" )
type RetentionPolicy ¶
type RetentionPolicy interface { AsLongTermRetentionPolicy() (*LongTermRetentionPolicy, bool) AsSimpleRetentionPolicy() (*SimpleRetentionPolicy, bool) }
RetentionPolicy is base class for retention policy.
type RetentionPolicyType ¶
type RetentionPolicyType string
RetentionPolicyType enumerates the values for retention policy type.
const ( // RetentionPolicyTypeLongTermRetentionPolicy specifies the retention policy type long term retention policy state for // retention policy type. RetentionPolicyTypeLongTermRetentionPolicy RetentionPolicyType = "LongTermRetentionPolicy" // RetentionPolicyTypeSimpleRetentionPolicy specifies the retention policy type simple retention policy state for // retention policy type. RetentionPolicyTypeSimpleRetentionPolicy RetentionPolicyType = "SimpleRetentionPolicy" )
type RetentionScheduleFormat ¶
type RetentionScheduleFormat string
RetentionScheduleFormat enumerates the values for retention schedule format.
const ( // RetentionScheduleFormatDaily specifies the retention schedule format daily state for retention schedule format. RetentionScheduleFormatDaily RetentionScheduleFormat = "Daily" // RetentionScheduleFormatInvalid specifies the retention schedule format invalid state for retention schedule format. RetentionScheduleFormatInvalid RetentionScheduleFormat = "Invalid" // RetentionScheduleFormatWeekly specifies the retention schedule format weekly state for retention schedule format. RetentionScheduleFormatWeekly RetentionScheduleFormat = "Weekly" )
type SchedulePolicy ¶
type SchedulePolicy interface { AsLongTermSchedulePolicy() (*LongTermSchedulePolicy, bool) AsSimpleSchedulePolicy() (*SimpleSchedulePolicy, bool) }
SchedulePolicy is base class for backup schedule.
type SchedulePolicyType ¶
type SchedulePolicyType string
SchedulePolicyType enumerates the values for schedule policy type.
const ( // SchedulePolicyTypeLongTermSchedulePolicy specifies the schedule policy type long term schedule policy state for // schedule policy type. SchedulePolicyTypeLongTermSchedulePolicy SchedulePolicyType = "LongTermSchedulePolicy" // SchedulePolicyTypeSimpleSchedulePolicy specifies the schedule policy type simple schedule policy state for schedule // policy type. SchedulePolicyTypeSimpleSchedulePolicy SchedulePolicyType = "SimpleSchedulePolicy" )
type ScheduleRunType ¶
type ScheduleRunType string
ScheduleRunType enumerates the values for schedule run type.
const ( // ScheduleRunTypeDaily specifies the schedule run type daily state for schedule run type. ScheduleRunTypeDaily ScheduleRunType = "Daily" // ScheduleRunTypeInvalid specifies the schedule run type invalid state for schedule run type. ScheduleRunTypeInvalid ScheduleRunType = "Invalid" // ScheduleRunTypeWeekly specifies the schedule run type weekly state for schedule run type. ScheduleRunTypeWeekly ScheduleRunType = "Weekly" )
type SecurityPINsClient ¶
type SecurityPINsClient struct {
ManagementClient
}
SecurityPINsClient is the open API 2.0 Specs for Azure RecoveryServices Backup service
func NewSecurityPINsClient ¶
func NewSecurityPINsClient(subscriptionID string) SecurityPINsClient
NewSecurityPINsClient creates an instance of the SecurityPINsClient client.
func NewSecurityPINsClientWithBaseURI ¶
func NewSecurityPINsClientWithBaseURI(baseURI string, subscriptionID string) SecurityPINsClient
NewSecurityPINsClientWithBaseURI creates an instance of the SecurityPINsClient client.
func (SecurityPINsClient) Get ¶
func (client SecurityPINsClient) Get(vaultName string, resourceGroupName string) (result TokenInformation, err error)
Get get the security PIN.
vaultName is the name of the recovery services vault. resourceGroupName is the name of the resource group where the recovery services vault is present.
func (SecurityPINsClient) GetPreparer ¶
func (client SecurityPINsClient) GetPreparer(vaultName string, resourceGroupName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (SecurityPINsClient) GetResponder ¶
func (client SecurityPINsClient) GetResponder(resp *http.Response) (result TokenInformation, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
type SimpleRetentionPolicy ¶
type SimpleRetentionPolicy struct { RetentionPolicyType RetentionPolicyType `json:"retentionPolicyType,omitempty"` RetentionDuration *RetentionDuration `json:"retentionDuration,omitempty"` }
SimpleRetentionPolicy is simple policy retention.
func (SimpleRetentionPolicy) AsLongTermRetentionPolicy ¶
func (srp SimpleRetentionPolicy) AsLongTermRetentionPolicy() (*LongTermRetentionPolicy, bool)
AsLongTermRetentionPolicy is the RetentionPolicy implementation for SimpleRetentionPolicy.
func (SimpleRetentionPolicy) AsSimpleRetentionPolicy ¶
func (srp SimpleRetentionPolicy) AsSimpleRetentionPolicy() (*SimpleRetentionPolicy, bool)
AsSimpleRetentionPolicy is the RetentionPolicy implementation for SimpleRetentionPolicy.
func (SimpleRetentionPolicy) MarshalJSON ¶
func (srp SimpleRetentionPolicy) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SimpleRetentionPolicy.
type SimpleSchedulePolicy ¶
type SimpleSchedulePolicy struct { SchedulePolicyType SchedulePolicyType `json:"schedulePolicyType,omitempty"` ScheduleRunFrequency ScheduleRunType `json:"scheduleRunFrequency,omitempty"` ScheduleRunDays *[]DayOfWeek `json:"scheduleRunDays,omitempty"` ScheduleRunTimes *[]date.Time `json:"scheduleRunTimes,omitempty"` ScheduleWeeklyFrequency *int32 `json:"scheduleWeeklyFrequency,omitempty"` }
SimpleSchedulePolicy is simple policy schedule.
func (SimpleSchedulePolicy) AsLongTermSchedulePolicy ¶
func (ssp SimpleSchedulePolicy) AsLongTermSchedulePolicy() (*LongTermSchedulePolicy, bool)
AsLongTermSchedulePolicy is the SchedulePolicy implementation for SimpleSchedulePolicy.
func (SimpleSchedulePolicy) AsSimpleSchedulePolicy ¶
func (ssp SimpleSchedulePolicy) AsSimpleSchedulePolicy() (*SimpleSchedulePolicy, bool)
AsSimpleSchedulePolicy is the SchedulePolicy implementation for SimpleSchedulePolicy.
func (SimpleSchedulePolicy) MarshalJSON ¶
func (ssp SimpleSchedulePolicy) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SimpleSchedulePolicy.
type StorageType ¶
type StorageType string
StorageType enumerates the values for storage type.
const ( // StorageTypeGeoRedundant specifies the storage type geo redundant state for storage type. StorageTypeGeoRedundant StorageType = "GeoRedundant" // StorageTypeInvalid specifies the storage type invalid state for storage type. StorageTypeInvalid StorageType = "Invalid" // StorageTypeLocallyRedundant specifies the storage type locally redundant state for storage type. StorageTypeLocallyRedundant StorageType = "LocallyRedundant" )
type StorageTypeState ¶
type StorageTypeState string
StorageTypeState enumerates the values for storage type state.
const ( // StorageTypeStateInvalid specifies the storage type state invalid state for storage type state. StorageTypeStateInvalid StorageTypeState = "Invalid" // StorageTypeStateLocked specifies the storage type state locked state for storage type state. StorageTypeStateLocked StorageTypeState = "Locked" // StorageTypeStateUnlocked specifies the storage type state unlocked state for storage type state. StorageTypeStateUnlocked StorageTypeState = "Unlocked" )
type TokenInformation ¶
type TokenInformation struct { autorest.Response `json:"-"` Token *string `json:"token,omitempty"` ExpiryTimeInUtcTicks *int64 `json:"expiryTimeInUtcTicks,omitempty"` SecurityPIN *string `json:"securityPIN,omitempty"` }
TokenInformation is the token information details.
type Type ¶
type Type string
Type enumerates the values for type.
const ( // TypeBackupProtectedItemCountSummary specifies the type backup protected item count summary state for type. TypeBackupProtectedItemCountSummary Type = "BackupProtectedItemCountSummary" // TypeBackupProtectionContainerCountSummary specifies the type backup protection container count summary state for // type. TypeBackupProtectionContainerCountSummary Type = "BackupProtectionContainerCountSummary" // TypeInvalid specifies the type invalid state for type. TypeInvalid Type = "Invalid" )
type UsagesUnit ¶
type UsagesUnit string
UsagesUnit enumerates the values for usages unit.
const ( // Bytes specifies the bytes state for usages unit. Bytes UsagesUnit = "Bytes" // BytesPerSecond specifies the bytes per second state for usages unit. BytesPerSecond UsagesUnit = "BytesPerSecond" // Count specifies the count state for usages unit. Count UsagesUnit = "Count" // CountPerSecond specifies the count per second state for usages unit. CountPerSecond UsagesUnit = "CountPerSecond" // Percent specifies the percent state for usages unit. Percent UsagesUnit = "Percent" // Seconds specifies the seconds state for usages unit. Seconds UsagesUnit = "Seconds" )
type WeekOfMonth ¶
type WeekOfMonth string
WeekOfMonth enumerates the values for week of month.
const ( // First specifies the first state for week of month. First WeekOfMonth = "First" // Fourth specifies the fourth state for week of month. Fourth WeekOfMonth = "Fourth" // Last specifies the last state for week of month. Last WeekOfMonth = "Last" // Second specifies the second state for week of month. Second WeekOfMonth = "Second" // Third specifies the third state for week of month. Third WeekOfMonth = "Third" )
type WeeklyRetentionFormat ¶
type WeeklyRetentionFormat struct { DaysOfTheWeek *[]DayOfWeek `json:"daysOfTheWeek,omitempty"` WeeksOfTheMonth *[]WeekOfMonth `json:"weeksOfTheMonth,omitempty"` }
WeeklyRetentionFormat is weekly retention format.
type WeeklyRetentionSchedule ¶
type WeeklyRetentionSchedule struct { DaysOfTheWeek *[]DayOfWeek `json:"daysOfTheWeek,omitempty"` RetentionTimes *[]date.Time `json:"retentionTimes,omitempty"` RetentionDuration *RetentionDuration `json:"retentionDuration,omitempty"` }
WeeklyRetentionSchedule is weekly retention schedule.
type WorkloadProtectableItem ¶
type WorkloadProtectableItem interface { AsAzureIaaSClassicComputeVMProtectableItem() (*AzureIaaSClassicComputeVMProtectableItem, bool) AsAzureIaaSComputeVMProtectableItem() (*AzureIaaSComputeVMProtectableItem, bool) AsIaaSVMProtectableItem() (*IaaSVMProtectableItem, bool) }
WorkloadProtectableItem is base class for backup item. Workload-specific backup items are derived from this class.
type WorkloadProtectableItemResource ¶
type WorkloadProtectableItemResource struct { ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Location *string `json:"location,omitempty"` Tags *map[string]*string `json:"tags,omitempty"` ETag *string `json:"eTag,omitempty"` Properties WorkloadProtectableItem `json:"properties,omitempty"` }
WorkloadProtectableItemResource is base class for backup item. Workload-specific backup items are derived from this class.
func (*WorkloadProtectableItemResource) UnmarshalJSON ¶
func (wpir *WorkloadProtectableItemResource) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for WorkloadProtectableItemResource struct.
type WorkloadProtectableItemResourceList ¶
type WorkloadProtectableItemResourceList struct { autorest.Response `json:"-"` NextLink *string `json:"nextLink,omitempty"` Value *[]WorkloadProtectableItemResource `json:"value,omitempty"` }
WorkloadProtectableItemResourceList is list of WorkloadProtectableItem resources
func (WorkloadProtectableItemResourceList) WorkloadProtectableItemResourceListPreparer ¶
func (client WorkloadProtectableItemResourceList) WorkloadProtectableItemResourceListPreparer() (*http.Request, error)
WorkloadProtectableItemResourceListPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type WorkloadType ¶
type WorkloadType string
WorkloadType enumerates the values for workload type.
const ( // WorkloadTypeAzureSQLDb specifies the workload type azure sql db state for workload type. WorkloadTypeAzureSQLDb WorkloadType = "AzureSqlDb" // WorkloadTypeClient specifies the workload type client state for workload type. WorkloadTypeClient WorkloadType = "Client" // WorkloadTypeExchange specifies the workload type exchange state for workload type. WorkloadTypeExchange WorkloadType = "Exchange" // WorkloadTypeFileFolder specifies the workload type file folder state for workload type. WorkloadTypeFileFolder WorkloadType = "FileFolder" // WorkloadTypeGenericDataSource specifies the workload type generic data source state for workload type. WorkloadTypeGenericDataSource WorkloadType = "GenericDataSource" // WorkloadTypeInvalid specifies the workload type invalid state for workload type. WorkloadTypeInvalid WorkloadType = "Invalid" WorkloadTypeSharepoint WorkloadType = "Sharepoint" // WorkloadTypeSQLDB specifies the workload type sqldb state for workload type. WorkloadTypeSQLDB WorkloadType = "SQLDB" // WorkloadTypeSystemState specifies the workload type system state state for workload type. WorkloadTypeSystemState WorkloadType = "SystemState" // WorkloadTypeVM specifies the workload type vm state for workload type. WorkloadTypeVM WorkloadType = "VM" // WorkloadTypeVMwareVM specifies the workload type v mware vm state for workload type. WorkloadTypeVMwareVM WorkloadType = "VMwareVM" )
type YearlyRetentionSchedule ¶
type YearlyRetentionSchedule struct { RetentionScheduleFormatType RetentionScheduleFormat `json:"retentionScheduleFormatType,omitempty"` MonthsOfYear *[]MonthOfYear `json:"monthsOfYear,omitempty"` RetentionScheduleDaily *DailyRetentionFormat `json:"retentionScheduleDaily,omitempty"` RetentionScheduleWeekly *WeeklyRetentionFormat `json:"retentionScheduleWeekly,omitempty"` RetentionTimes *[]date.Time `json:"retentionTimes,omitempty"` RetentionDuration *RetentionDuration `json:"retentionDuration,omitempty"` }
YearlyRetentionSchedule is yearly retention schedule.
Source Files ¶
- backupengines.go
- backupjobs.go
- backupoperationresults.go
- backupoperationstatuses.go
- backuppolicies.go
- backupprotectableitems.go
- backupprotecteditems.go
- backupprotectioncontainers.go
- backupresourcestorageconfigs.go
- backupresourcevaultconfigs.go
- backups.go
- backupusagesummaries.go
- client.go
- exportjobsoperationresults.go
- itemlevelrecoveryconnections.go
- jobcancellations.go
- jobdetails.go
- joboperationresults.go
- jobs.go
- models.go
- operations.go
- protecteditemoperationresults.go
- protecteditemoperationstatuses.go
- protecteditems.go
- protectioncontaineroperationresults.go
- protectioncontainerrefreshoperationresults.go
- protectioncontainers.go
- protectionpolicies.go
- protectionpolicyoperationresults.go
- protectionpolicyoperationstatuses.go
- recoverypoints.go
- restores.go
- securitypins.go
- version.go