Documentation ¶
Overview ¶
Package recoveryservicesbackup implements the Azure ARM Recoveryservicesbackup service API version 2016-12-01.
Index ¶
- Constants
- func UserAgent() string
- func Version() string
- type AzureBackupServerContainer
- type AzureBackupServerEngine
- type AzureIaaSClassicComputeVMContainer
- type AzureIaaSClassicComputeVMProtectableItem
- type AzureIaaSClassicComputeVMProtectedItem
- type AzureIaaSComputeVMContainer
- type AzureIaaSComputeVMProtectableItem
- type AzureIaaSComputeVMProtectedItem
- type AzureIaaSVMErrorInfo
- type AzureIaaSVMHealthDetails
- type AzureIaaSVMJob
- type AzureIaaSVMJobExtendedInfo
- type AzureIaaSVMJobTaskDetails
- type AzureIaaSVMProtectedItem
- type AzureIaaSVMProtectedItemExtendedInfo
- type AzureIaaSVMProtectionPolicy
- type AzureSQLContainer
- type AzureSQLProtectedItem
- type AzureSQLProtectedItemExtendedInfo
- type AzureSQLProtectionPolicy
- type BEKDetails
- type BMSBackupEngineQueryObject
- type BMSBackupEnginesQueryObject
- type BMSBackupSummariesQueryObject
- type BMSContainerQueryObject
- type BMSPOQueryObject
- type BMSRPQueryObject
- type BackupEngineBase
- type BackupEngineBaseResource
- type BackupEngineBaseResourceList
- type BackupEngineExtendedInfo
- 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) 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) 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) 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) 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) 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) 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
- type DPMProtectedItemExtendedInfo
- type DailyRetentionFormat
- type DailyRetentionSchedule
- type DataSourceType
- type Day
- type DayOfWeek
- type DpmBackupEngine
- type DpmContainer
- 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
- type IaaSVMProtectableItem
- 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 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
- type MabContainerExtendedInfo
- type MabErrorInfo
- type MabFileFolderProtectedItem
- type MabFileFolderProtectedItemExtendedInfo
- type MabJob
- type MabJobExtendedInfo
- type MabJobTaskDetails
- type MabProtectionPolicy
- type MabServerType
- type ManagementClient
- type MonthOfYear
- type MonthlyRetentionSchedule
- type NameInfo
- type OperationResultInfo
- type OperationResultInfoBase
- type OperationResultInfoBaseResource
- type OperationStatus
- type OperationStatusError
- type OperationStatusExtendedInfo
- type OperationStatusJobExtendedInfo
- type OperationStatusJobsExtendedInfo
- type OperationStatusProvisionILRExtendedInfo
- type OperationStatusValues
- type OperationWorkerResponse
- type OperationsClient
- func (client OperationsClient) List(resourceGroupName string) (result ClientDiscoveryResponse, err error)
- func (client OperationsClient) ListNextResults(lastResults ClientDiscoveryResponse) (result ClientDiscoveryResponse, err error)
- func (client OperationsClient) ListPreparer(resourceGroupName string) (*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 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 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) 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 RetentionScheduleFormat
- type SchedulePolicy
- 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"` 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.
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"` }
AzureBackupServerEngine is backup engine type when Azure Backup Server is used to manage the backups.
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"` 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.
type AzureIaaSClassicComputeVMProtectableItem ¶
type AzureIaaSClassicComputeVMProtectableItem struct { BackupManagementType *string `json:"backupManagementType,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` ProtectionState ProtectionStatus `json:"protectionState,omitempty"` VirtualMachineID *string `json:"virtualMachineId,omitempty"` }
AzureIaaSClassicComputeVMProtectableItem is iaaS VM workload-specific backup item representing the Classic Compute VM.
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"` 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.
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"` 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.
type AzureIaaSComputeVMProtectableItem ¶
type AzureIaaSComputeVMProtectableItem struct { BackupManagementType *string `json:"backupManagementType,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` ProtectionState ProtectionStatus `json:"protectionState,omitempty"` VirtualMachineID *string `json:"virtualMachineId,omitempty"` }
AzureIaaSComputeVMProtectableItem is iaaS VM workload-specific backup item representing the Azure Resource Manager VM.
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"` 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.
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"` 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.
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"` 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.
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"` SchedulePolicy *SchedulePolicy `json:"schedulePolicy,omitempty"` RetentionPolicy *RetentionPolicy `json:"retentionPolicy,omitempty"` TimeZone *string `json:"timeZone,omitempty"` }
AzureIaaSVMProtectionPolicy is iaaS VM workload-specific backup policy.
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"` }
AzureSQLContainer is azure Sql workload-specific container.
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"` ProtectedItemDataID *string `json:"protectedItemDataId,omitempty"` ProtectionState ProtectedItemState `json:"protectionState,omitempty"` ExtendedInfo *AzureSQLProtectedItemExtendedInfo `json:"extendedInfo,omitempty"` }
AzureSQLProtectedItem is azure SQL workload-specific backup item.
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"` RetentionPolicy *RetentionPolicy `json:"retentionPolicy,omitempty"` }
AzureSQLProtectionPolicy is azure SQL workload-specific backup policy.
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 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"` }
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.
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 BackupEnginesClient ¶
type BackupEnginesClient struct {
ManagementClient
}
BackupEnginesClient is the client for the BackupEngines methods of the Recoveryservicesbackup 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) 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 client for the BackupJobs methods of the Recoveryservicesbackup 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) 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 client for the BackupOperationResults methods of the Recoveryservicesbackup 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 client for the BackupOperationStatuses methods of the Recoveryservicesbackup 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 client for the BackupPolicies methods of the Recoveryservicesbackup 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) 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 client for the BackupProtectableItems methods of the Recoveryservicesbackup 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) 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 client for the BackupProtectedItems methods of the Recoveryservicesbackup 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 can be backed up within a subscription.
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) 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 client for the BackupProtectionContainers methods of the Recoveryservicesbackup 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) 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 struct { }
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.
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 client for the BackupResourceStorageConfigs methods of the Recoveryservicesbackup 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 client for the BackupResourceVaultConfigs methods of the Recoveryservicesbackup 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 client for the BackupUsageSummaries methods of the Recoveryservicesbackup 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 client for the Backups methods of the Recoveryservicesbackup 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"` 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.
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" // for data source type. 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"` }
DpmBackupEngine is data Protection Manager (DPM) specific backup engine.
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"` 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.
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"` 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.
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 { BlobURL *string `json:"blobUrl,omitempty"` BlobSasKey *string `json:"blobSasKey,omitempty"` }
ExportJobsOperationResultInfo is this class is used to send blob details after exporting jobs.
type ExportJobsOperationResultsClient ¶
type ExportJobsOperationResultsClient struct {
ManagementClient
}
ExportJobsOperationResultsClient is the client for the ExportJobsOperationResults methods of the Recoveryservicesbackup 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 { 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.
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" // status code. 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 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.
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"` VirtualMachineID *string `json:"virtualMachineId,omitempty"` VirtualMachineVersion *string `json:"virtualMachineVersion,omitempty"` ResourceGroup *string `json:"resourceGroup,omitempty"` }
IaaSVMContainer is iaaS VM workload-specific container.
type IaaSVMProtectableItem ¶
type IaaSVMProtectableItem struct { BackupManagementType *string `json:"backupManagementType,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` ProtectionState ProtectionStatus `json:"protectionState,omitempty"` VirtualMachineID *string `json:"virtualMachineId,omitempty"` }
IaaSVMProtectableItem is iaaS VM workload-specific backup item.
type IaasVMBackupRequest ¶
type IaasVMBackupRequest struct {
RecoveryPointExpiryTimeInUTC *date.Time `json:"recoveryPointExpiryTimeInUTC,omitempty"`
}
IaasVMBackupRequest is iaaS VM workload-specific backup request.
type IaasVMILRRegistrationRequest ¶
type IaasVMILRRegistrationRequest struct { 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.
type IaasVMRecoveryPoint ¶
type IaasVMRecoveryPoint struct { 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"` }
IaasVMRecoveryPoint is iaaS VM workload specific backup copy.
type IaasVMRestoreRequest ¶
type IaasVMRestoreRequest struct { 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"` EncryptionDetails *EncryptionDetails `json:"encryptionDetails,omitempty"` }
IaasVMRestoreRequest is iaaS VM workload-specific restore.
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 client for the ItemLevelRecoveryConnections methods of the Recoveryservicesbackup 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 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"` }
Job is defines workload agnostic properties for a job.
type JobCancellationsClient ¶
type JobCancellationsClient struct {
ManagementClient
}
JobCancellationsClient is the client for the JobCancellations methods of the Recoveryservicesbackup 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 client for the JobDetails methods of the Recoveryservicesbackup 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 client for the JobOperationResults methods of the Recoveryservicesbackup 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.
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 JobsClient ¶
type JobsClient struct {
ManagementClient
}
JobsClient is the client for the Jobs methods of the Recoveryservicesbackup 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 { 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.
type LongTermSchedulePolicy ¶
type LongTermSchedulePolicy struct { }
LongTermSchedulePolicy is long term policy schedule.
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"` 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.
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"` 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.
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"` 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.
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"` SchedulePolicy *SchedulePolicy `json:"schedulePolicy,omitempty"` RetentionPolicy *RetentionPolicy `json:"retentionPolicy,omitempty"` }
MabProtectionPolicy is mab container-specific backup policy.
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 OperationResultInfo ¶
type OperationResultInfo struct {
JobList *[]string `json:"jobList,omitempty"`
}
OperationResultInfo is operation result info.
type OperationResultInfoBase ¶
type OperationResultInfoBase struct { }
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.
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.
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 struct { }
OperationStatusExtendedInfo is base class for additional information of operation status.
type OperationStatusJobExtendedInfo ¶
type OperationStatusJobExtendedInfo struct {
JobID *string `json:"jobId,omitempty"`
}
OperationStatusJobExtendedInfo is operation status job extended info.
type OperationStatusJobsExtendedInfo ¶
type OperationStatusJobsExtendedInfo struct { JobIds *[]string `json:"jobIds,omitempty"` FailedJobsError *map[string]*string `json:"failedJobsError,omitempty"` }
OperationStatusJobsExtendedInfo is operation status extended info for list of jobs.
type OperationStatusProvisionILRExtendedInfo ¶
type OperationStatusProvisionILRExtendedInfo struct {
RecoveryTarget *InstantItemRecoveryTarget `json:"recoveryTarget,omitempty"`
}
OperationStatusProvisionILRExtendedInfo is operation status extended info for ILR provision action.
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 client for the Operations methods of the Recoveryservicesbackup 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(resourceGroupName string) (result ClientDiscoveryResponse, err error)
List returns the list of available operations.
resourceGroupName is the name of the resource group where the recovery services vault is present.
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(resourceGroupName string) (*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 ProtectedItem ¶
type ProtectedItem 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"` }
ProtectedItem is base class for backup items.
type ProtectedItemOperationResultsClient ¶
type ProtectedItemOperationResultsClient struct {
ManagementClient
}
ProtectedItemOperationResultsClient is the client for the ProtectedItemOperationResults methods of the Recoveryservicesbackup 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 client for the ProtectedItemOperationStatuses methods of the Recoveryservicesbackup 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.
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 ProtectedItemsClient ¶
type ProtectedItemsClient struct {
ManagementClient
}
ProtectedItemsClient is the client for the ProtectedItems methods of the Recoveryservicesbackup 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 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"` }
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 client for the ProtectionContainerOperationResults methods of the Recoveryservicesbackup 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 client for the ProtectionContainerRefreshOperationResults methods of the Recoveryservicesbackup 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.
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 client for the ProtectionContainers methods of the Recoveryservicesbackup 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 client for the ProtectionPolicies methods of the Recoveryservicesbackup 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 struct {
ProtectedItemsCount *int32 `json:"protectedItemsCount,omitempty"`
}
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 client for the ProtectionPolicyOperationResults methods of the Recoveryservicesbackup 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 client for the ProtectionPolicyOperationStatuses methods of the Recoveryservicesbackup 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.
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 struct { }
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.
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 client for the RecoveryPoints methods of the Recoveryservicesbackup 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) 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 struct { }
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.
type RestoresClient ¶
type RestoresClient struct {
ManagementClient
}
RestoresClient is the client for the Restores methods of the Recoveryservicesbackup 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 struct { }
RetentionPolicy is base class for retention policy.
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 struct { }
SchedulePolicy is base class for backup schedule.
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 client for the SecurityPINs methods of the Recoveryservicesbackup 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 {
RetentionDuration *RetentionDuration `json:"retentionDuration,omitempty"`
}
SimpleRetentionPolicy is simple policy retention.
type SimpleSchedulePolicy ¶
type SimpleSchedulePolicy struct { 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.
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 struct { BackupManagementType *string `json:"backupManagementType,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` ProtectionState ProtectionStatus `json:"protectionState,omitempty"` }
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.
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" // workload type. 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