...

Package backup

import "github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2016-06-01/backup"
Overview
Index
Subdirectories

Overview ▾

Deprecated: Please note, this package has been deprecated. A replacement package is available github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/recoveryservices/armrecoveryservicesbackup(https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/recoveryservices/armrecoveryservicesbackup). We strongly encourage you to upgrade to continue receiving updates. See [Migration Guide](https://aka.ms/azsdk/golang/t2/migration) for guidance on upgrading. Refer to our [deprecation policy](https://azure.github.io/azure-sdk/policies_support.html) for more details.

Package backup implements the Azure ARM Backup service API version 2016-06-01.

Open API 2.0 Specs for Azure RecoveryServices Backup service

Index ▾

Constants
func UserAgent() string
func Version() string
type AzureBackupServerEngine
    func (abse AzureBackupServerEngine) AsAzureBackupServerEngine() (*AzureBackupServerEngine, bool)
    func (abse AzureBackupServerEngine) AsBasicEngineBase() (BasicEngineBase, bool)
    func (abse AzureBackupServerEngine) AsDpmBackupEngine() (*DpmBackupEngine, bool)
    func (abse AzureBackupServerEngine) AsEngineBase() (*EngineBase, bool)
    func (abse AzureBackupServerEngine) MarshalJSON() ([]byte, error)
type AzureIaaSClassicComputeVMContainer
    func (aisccvc AzureIaaSClassicComputeVMContainer) AsAzureIaaSClassicComputeVMContainer() (*AzureIaaSClassicComputeVMContainer, bool)
    func (aisccvc AzureIaaSClassicComputeVMContainer) AsAzureIaaSComputeVMContainer() (*AzureIaaSComputeVMContainer, bool)
    func (aisccvc AzureIaaSClassicComputeVMContainer) AsAzureSQLContainer() (*AzureSQLContainer, bool)
    func (aisccvc AzureIaaSClassicComputeVMContainer) AsBasicIaaSVMContainer() (BasicIaaSVMContainer, bool)
    func (aisccvc AzureIaaSClassicComputeVMContainer) AsBasicProtectionContainer() (BasicProtectionContainer, bool)
    func (aisccvc AzureIaaSClassicComputeVMContainer) AsIaaSVMContainer() (*IaaSVMContainer, bool)
    func (aisccvc AzureIaaSClassicComputeVMContainer) AsMabContainer() (*MabContainer, bool)
    func (aisccvc AzureIaaSClassicComputeVMContainer) AsProtectionContainer() (*ProtectionContainer, bool)
    func (aisccvc AzureIaaSClassicComputeVMContainer) MarshalJSON() ([]byte, error)
type AzureIaaSClassicComputeVMProtectableItem
    func (aisccvpi AzureIaaSClassicComputeVMProtectableItem) AsAzureIaaSClassicComputeVMProtectableItem() (*AzureIaaSClassicComputeVMProtectableItem, bool)
    func (aisccvpi AzureIaaSClassicComputeVMProtectableItem) AsAzureIaaSComputeVMProtectableItem() (*AzureIaaSComputeVMProtectableItem, bool)
    func (aisccvpi AzureIaaSClassicComputeVMProtectableItem) AsBasicIaaSVMProtectableItem() (BasicIaaSVMProtectableItem, bool)
    func (aisccvpi AzureIaaSClassicComputeVMProtectableItem) AsBasicWorkloadProtectableItem() (BasicWorkloadProtectableItem, bool)
    func (aisccvpi AzureIaaSClassicComputeVMProtectableItem) AsIaaSVMProtectableItem() (*IaaSVMProtectableItem, bool)
    func (aisccvpi AzureIaaSClassicComputeVMProtectableItem) AsWorkloadProtectableItem() (*WorkloadProtectableItem, bool)
    func (aisccvpi AzureIaaSClassicComputeVMProtectableItem) MarshalJSON() ([]byte, error)
type AzureIaaSClassicComputeVMProtectedItem
    func (aisccvpi AzureIaaSClassicComputeVMProtectedItem) AsAzureIaaSClassicComputeVMProtectedItem() (*AzureIaaSClassicComputeVMProtectedItem, bool)
    func (aisccvpi AzureIaaSClassicComputeVMProtectedItem) AsAzureIaaSComputeVMProtectedItem() (*AzureIaaSComputeVMProtectedItem, bool)
    func (aisccvpi AzureIaaSClassicComputeVMProtectedItem) AsAzureIaaSVMProtectedItem() (*AzureIaaSVMProtectedItem, bool)
    func (aisccvpi AzureIaaSClassicComputeVMProtectedItem) AsAzureSQLProtectedItem() (*AzureSQLProtectedItem, bool)
    func (aisccvpi AzureIaaSClassicComputeVMProtectedItem) AsBasicAzureIaaSVMProtectedItem() (BasicAzureIaaSVMProtectedItem, bool)
    func (aisccvpi AzureIaaSClassicComputeVMProtectedItem) AsBasicProtectedItem() (BasicProtectedItem, bool)
    func (aisccvpi AzureIaaSClassicComputeVMProtectedItem) AsMabFileFolderProtectedItem() (*MabFileFolderProtectedItem, bool)
    func (aisccvpi AzureIaaSClassicComputeVMProtectedItem) AsProtectedItem() (*ProtectedItem, bool)
    func (aisccvpi AzureIaaSClassicComputeVMProtectedItem) MarshalJSON() ([]byte, error)
type AzureIaaSComputeVMContainer
    func (aiscvc AzureIaaSComputeVMContainer) AsAzureIaaSClassicComputeVMContainer() (*AzureIaaSClassicComputeVMContainer, bool)
    func (aiscvc AzureIaaSComputeVMContainer) AsAzureIaaSComputeVMContainer() (*AzureIaaSComputeVMContainer, bool)
    func (aiscvc AzureIaaSComputeVMContainer) AsAzureSQLContainer() (*AzureSQLContainer, bool)
    func (aiscvc AzureIaaSComputeVMContainer) AsBasicIaaSVMContainer() (BasicIaaSVMContainer, bool)
    func (aiscvc AzureIaaSComputeVMContainer) AsBasicProtectionContainer() (BasicProtectionContainer, bool)
    func (aiscvc AzureIaaSComputeVMContainer) AsIaaSVMContainer() (*IaaSVMContainer, bool)
    func (aiscvc AzureIaaSComputeVMContainer) AsMabContainer() (*MabContainer, bool)
    func (aiscvc AzureIaaSComputeVMContainer) AsProtectionContainer() (*ProtectionContainer, bool)
    func (aiscvc AzureIaaSComputeVMContainer) MarshalJSON() ([]byte, error)
type AzureIaaSComputeVMProtectableItem
    func (aiscvpi AzureIaaSComputeVMProtectableItem) AsAzureIaaSClassicComputeVMProtectableItem() (*AzureIaaSClassicComputeVMProtectableItem, bool)
    func (aiscvpi AzureIaaSComputeVMProtectableItem) AsAzureIaaSComputeVMProtectableItem() (*AzureIaaSComputeVMProtectableItem, bool)
    func (aiscvpi AzureIaaSComputeVMProtectableItem) AsBasicIaaSVMProtectableItem() (BasicIaaSVMProtectableItem, bool)
    func (aiscvpi AzureIaaSComputeVMProtectableItem) AsBasicWorkloadProtectableItem() (BasicWorkloadProtectableItem, bool)
    func (aiscvpi AzureIaaSComputeVMProtectableItem) AsIaaSVMProtectableItem() (*IaaSVMProtectableItem, bool)
    func (aiscvpi AzureIaaSComputeVMProtectableItem) AsWorkloadProtectableItem() (*WorkloadProtectableItem, bool)
    func (aiscvpi AzureIaaSComputeVMProtectableItem) MarshalJSON() ([]byte, error)
type AzureIaaSComputeVMProtectedItem
    func (aiscvpi AzureIaaSComputeVMProtectedItem) AsAzureIaaSClassicComputeVMProtectedItem() (*AzureIaaSClassicComputeVMProtectedItem, bool)
    func (aiscvpi AzureIaaSComputeVMProtectedItem) AsAzureIaaSComputeVMProtectedItem() (*AzureIaaSComputeVMProtectedItem, bool)
    func (aiscvpi AzureIaaSComputeVMProtectedItem) AsAzureIaaSVMProtectedItem() (*AzureIaaSVMProtectedItem, bool)
    func (aiscvpi AzureIaaSComputeVMProtectedItem) AsAzureSQLProtectedItem() (*AzureSQLProtectedItem, bool)
    func (aiscvpi AzureIaaSComputeVMProtectedItem) AsBasicAzureIaaSVMProtectedItem() (BasicAzureIaaSVMProtectedItem, bool)
    func (aiscvpi AzureIaaSComputeVMProtectedItem) AsBasicProtectedItem() (BasicProtectedItem, bool)
    func (aiscvpi AzureIaaSComputeVMProtectedItem) AsMabFileFolderProtectedItem() (*MabFileFolderProtectedItem, bool)
    func (aiscvpi AzureIaaSComputeVMProtectedItem) AsProtectedItem() (*ProtectedItem, bool)
    func (aiscvpi AzureIaaSComputeVMProtectedItem) MarshalJSON() ([]byte, error)
type AzureIaaSVMErrorInfo
type AzureIaaSVMJob
    func (aisj AzureIaaSVMJob) AsAzureIaaSVMJob() (*AzureIaaSVMJob, bool)
    func (aisj AzureIaaSVMJob) AsBasicJob() (BasicJob, bool)
    func (aisj AzureIaaSVMJob) AsDpmJob() (*DpmJob, bool)
    func (aisj AzureIaaSVMJob) AsJob() (*Job, bool)
    func (aisj AzureIaaSVMJob) AsMabJob() (*MabJob, bool)
    func (aisj AzureIaaSVMJob) MarshalJSON() ([]byte, error)
type AzureIaaSVMJobExtendedInfo
    func (aisjei AzureIaaSVMJobExtendedInfo) MarshalJSON() ([]byte, error)
type AzureIaaSVMJobTaskDetails
type AzureIaaSVMProtectedItem
    func (aispi AzureIaaSVMProtectedItem) AsAzureIaaSClassicComputeVMProtectedItem() (*AzureIaaSClassicComputeVMProtectedItem, bool)
    func (aispi AzureIaaSVMProtectedItem) AsAzureIaaSComputeVMProtectedItem() (*AzureIaaSComputeVMProtectedItem, bool)
    func (aispi AzureIaaSVMProtectedItem) AsAzureIaaSVMProtectedItem() (*AzureIaaSVMProtectedItem, bool)
    func (aispi AzureIaaSVMProtectedItem) AsAzureSQLProtectedItem() (*AzureSQLProtectedItem, bool)
    func (aispi AzureIaaSVMProtectedItem) AsBasicAzureIaaSVMProtectedItem() (BasicAzureIaaSVMProtectedItem, bool)
    func (aispi AzureIaaSVMProtectedItem) AsBasicProtectedItem() (BasicProtectedItem, bool)
    func (aispi AzureIaaSVMProtectedItem) AsMabFileFolderProtectedItem() (*MabFileFolderProtectedItem, bool)
    func (aispi AzureIaaSVMProtectedItem) AsProtectedItem() (*ProtectedItem, bool)
    func (aispi AzureIaaSVMProtectedItem) MarshalJSON() ([]byte, error)
type AzureIaaSVMProtectedItemExtendedInfo
type AzureIaaSVMProtectionPolicy
    func (aispp AzureIaaSVMProtectionPolicy) AsAzureIaaSVMProtectionPolicy() (*AzureIaaSVMProtectionPolicy, bool)
    func (aispp AzureIaaSVMProtectionPolicy) AsAzureSQLProtectionPolicy() (*AzureSQLProtectionPolicy, bool)
    func (aispp AzureIaaSVMProtectionPolicy) AsBasicProtectionPolicy() (BasicProtectionPolicy, bool)
    func (aispp AzureIaaSVMProtectionPolicy) AsMabProtectionPolicy() (*MabProtectionPolicy, bool)
    func (aispp AzureIaaSVMProtectionPolicy) AsProtectionPolicy() (*ProtectionPolicy, bool)
    func (aispp AzureIaaSVMProtectionPolicy) MarshalJSON() ([]byte, error)
    func (aispp *AzureIaaSVMProtectionPolicy) UnmarshalJSON(body []byte) error
type AzureSQLContainer
    func (asc AzureSQLContainer) AsAzureIaaSClassicComputeVMContainer() (*AzureIaaSClassicComputeVMContainer, bool)
    func (asc AzureSQLContainer) AsAzureIaaSComputeVMContainer() (*AzureIaaSComputeVMContainer, bool)
    func (asc AzureSQLContainer) AsAzureSQLContainer() (*AzureSQLContainer, bool)
    func (asc AzureSQLContainer) AsBasicIaaSVMContainer() (BasicIaaSVMContainer, bool)
    func (asc AzureSQLContainer) AsBasicProtectionContainer() (BasicProtectionContainer, bool)
    func (asc AzureSQLContainer) AsIaaSVMContainer() (*IaaSVMContainer, bool)
    func (asc AzureSQLContainer) AsMabContainer() (*MabContainer, bool)
    func (asc AzureSQLContainer) AsProtectionContainer() (*ProtectionContainer, bool)
    func (asc AzureSQLContainer) MarshalJSON() ([]byte, error)
type AzureSQLProtectedItem
    func (aspi AzureSQLProtectedItem) AsAzureIaaSClassicComputeVMProtectedItem() (*AzureIaaSClassicComputeVMProtectedItem, bool)
    func (aspi AzureSQLProtectedItem) AsAzureIaaSComputeVMProtectedItem() (*AzureIaaSComputeVMProtectedItem, bool)
    func (aspi AzureSQLProtectedItem) AsAzureIaaSVMProtectedItem() (*AzureIaaSVMProtectedItem, bool)
    func (aspi AzureSQLProtectedItem) AsAzureSQLProtectedItem() (*AzureSQLProtectedItem, bool)
    func (aspi AzureSQLProtectedItem) AsBasicAzureIaaSVMProtectedItem() (BasicAzureIaaSVMProtectedItem, bool)
    func (aspi AzureSQLProtectedItem) AsBasicProtectedItem() (BasicProtectedItem, bool)
    func (aspi AzureSQLProtectedItem) AsMabFileFolderProtectedItem() (*MabFileFolderProtectedItem, bool)
    func (aspi AzureSQLProtectedItem) AsProtectedItem() (*ProtectedItem, bool)
    func (aspi AzureSQLProtectedItem) MarshalJSON() ([]byte, error)
type AzureSQLProtectedItemExtendedInfo
type AzureSQLProtectionPolicy
    func (aspp AzureSQLProtectionPolicy) AsAzureIaaSVMProtectionPolicy() (*AzureIaaSVMProtectionPolicy, bool)
    func (aspp AzureSQLProtectionPolicy) AsAzureSQLProtectionPolicy() (*AzureSQLProtectionPolicy, bool)
    func (aspp AzureSQLProtectionPolicy) AsBasicProtectionPolicy() (BasicProtectionPolicy, bool)
    func (aspp AzureSQLProtectionPolicy) AsMabProtectionPolicy() (*MabProtectionPolicy, bool)
    func (aspp AzureSQLProtectionPolicy) AsProtectionPolicy() (*ProtectionPolicy, bool)
    func (aspp AzureSQLProtectionPolicy) MarshalJSON() ([]byte, error)
    func (aspp *AzureSQLProtectionPolicy) UnmarshalJSON(body []byte) error
type BEKDetails
type BMSBackupEngineQueryObject
type BMSContainerQueryObject
type BMSPOQueryObject
type BMSRPQueryObject
type BackupsClient
    func NewBackupsClient(subscriptionID string) BackupsClient
    func NewBackupsClientWithBaseURI(baseURI string, subscriptionID string) BackupsClient
    func (client BackupsClient) Trigger(ctx context.Context, vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string, resourceBackupRequest RequestResource) (result autorest.Response, err error)
    func (client BackupsClient) TriggerPreparer(ctx context.Context, vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string, resourceBackupRequest RequestResource) (*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 BaseClient
    func New(subscriptionID string) BaseClient
    func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient
type BasicAzureIaaSVMProtectedItem
type BasicEngineBase
type BasicILRRequest
type BasicIaaSVMContainer
type BasicIaaSVMProtectableItem
type BasicJob
type BasicOperationResultInfoBase
type BasicOperationStatusExtendedInfo
type BasicProtectedItem
type BasicProtectionContainer
type BasicProtectionPolicy
type BasicRecoveryPoint
type BasicRequest
type BasicRestoreRequest
type BasicRetentionPolicy
type BasicSchedulePolicy
type BasicWorkloadProtectableItem
type ClientScriptForConnect
type DailyRetentionFormat
type DailyRetentionSchedule
type DataSourceType
    func PossibleDataSourceTypeValues() []DataSourceType
type Day
type DayOfWeek
    func PossibleDayOfWeekValues() []DayOfWeek
type DpmBackupEngine
    func (dbe DpmBackupEngine) AsAzureBackupServerEngine() (*AzureBackupServerEngine, bool)
    func (dbe DpmBackupEngine) AsBasicEngineBase() (BasicEngineBase, bool)
    func (dbe DpmBackupEngine) AsDpmBackupEngine() (*DpmBackupEngine, bool)
    func (dbe DpmBackupEngine) AsEngineBase() (*EngineBase, bool)
    func (dbe DpmBackupEngine) MarshalJSON() ([]byte, error)
type DpmErrorInfo
type DpmJob
    func (dj DpmJob) AsAzureIaaSVMJob() (*AzureIaaSVMJob, bool)
    func (dj DpmJob) AsBasicJob() (BasicJob, bool)
    func (dj DpmJob) AsDpmJob() (*DpmJob, bool)
    func (dj DpmJob) AsJob() (*Job, bool)
    func (dj DpmJob) AsMabJob() (*MabJob, bool)
    func (dj DpmJob) MarshalJSON() ([]byte, error)
type DpmJobExtendedInfo
    func (djei DpmJobExtendedInfo) MarshalJSON() ([]byte, error)
type DpmJobTaskDetails
type EncryptionDetails
type EngineBase
    func (eb EngineBase) AsAzureBackupServerEngine() (*AzureBackupServerEngine, bool)
    func (eb EngineBase) AsBasicEngineBase() (BasicEngineBase, bool)
    func (eb EngineBase) AsDpmBackupEngine() (*DpmBackupEngine, bool)
    func (eb EngineBase) AsEngineBase() (*EngineBase, bool)
    func (eb EngineBase) MarshalJSON() ([]byte, error)
type EngineBaseResource
    func (ebr EngineBaseResource) MarshalJSON() ([]byte, error)
    func (ebr *EngineBaseResource) UnmarshalJSON(body []byte) error
type EngineBaseResourceList
    func (ebrl EngineBaseResourceList) IsEmpty() bool
type EngineBaseResourceListIterator
    func NewEngineBaseResourceListIterator(page EngineBaseResourceListPage) EngineBaseResourceListIterator
    func (iter *EngineBaseResourceListIterator) Next() error
    func (iter *EngineBaseResourceListIterator) NextWithContext(ctx context.Context) (err error)
    func (iter EngineBaseResourceListIterator) NotDone() bool
    func (iter EngineBaseResourceListIterator) Response() EngineBaseResourceList
    func (iter EngineBaseResourceListIterator) Value() EngineBaseResource
type EngineBaseResourceListPage
    func NewEngineBaseResourceListPage(cur EngineBaseResourceList, getNextPage func(context.Context, EngineBaseResourceList) (EngineBaseResourceList, error)) EngineBaseResourceListPage
    func (page *EngineBaseResourceListPage) Next() error
    func (page *EngineBaseResourceListPage) NextWithContext(ctx context.Context) (err error)
    func (page EngineBaseResourceListPage) NotDone() bool
    func (page EngineBaseResourceListPage) Response() EngineBaseResourceList
    func (page EngineBaseResourceListPage) Values() []EngineBaseResource
type EngineType
    func PossibleEngineTypeValues() []EngineType
type EnginesClient
    func NewEnginesClient(subscriptionID string) EnginesClient
    func NewEnginesClientWithBaseURI(baseURI string, subscriptionID string) EnginesClient
    func (client EnginesClient) Get(ctx context.Context, vaultName string, resourceGroupName string, filter string, skipToken string) (result EngineBaseResourceListPage, err error)
    func (client EnginesClient) GetComplete(ctx context.Context, vaultName string, resourceGroupName string, filter string, skipToken string) (result EngineBaseResourceListIterator, err error)
    func (client EnginesClient) GetPreparer(ctx context.Context, vaultName string, resourceGroupName string, filter string, skipToken string) (*http.Request, error)
    func (client EnginesClient) GetResponder(resp *http.Response) (result EngineBaseResourceList, err error)
    func (client EnginesClient) GetSender(req *http.Request) (*http.Response, error)
type ExportJobsOperationResultInfo
    func (ejori ExportJobsOperationResultInfo) AsBasicOperationResultInfoBase() (BasicOperationResultInfoBase, bool)
    func (ejori ExportJobsOperationResultInfo) AsExportJobsOperationResultInfo() (*ExportJobsOperationResultInfo, bool)
    func (ejori ExportJobsOperationResultInfo) AsOperationResultInfo() (*OperationResultInfo, bool)
    func (ejori ExportJobsOperationResultInfo) AsOperationResultInfoBase() (*OperationResultInfoBase, bool)
    func (ejori ExportJobsOperationResultInfo) MarshalJSON() ([]byte, error)
type ExportJobsOperationResultsClient
    func NewExportJobsOperationResultsClient(subscriptionID string) ExportJobsOperationResultsClient
    func NewExportJobsOperationResultsClientWithBaseURI(baseURI string, subscriptionID string) ExportJobsOperationResultsClient
    func (client ExportJobsOperationResultsClient) Get(ctx context.Context, vaultName string, resourceGroupName string, operationID string) (result OperationResultInfoBaseResource, err error)
    func (client ExportJobsOperationResultsClient) GetPreparer(ctx context.Context, 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
    func (grp GenericRecoveryPoint) AsBasicRecoveryPoint() (BasicRecoveryPoint, bool)
    func (grp GenericRecoveryPoint) AsGenericRecoveryPoint() (*GenericRecoveryPoint, bool)
    func (grp GenericRecoveryPoint) AsIaasVMRecoveryPoint() (*IaasVMRecoveryPoint, bool)
    func (grp GenericRecoveryPoint) AsRecoveryPoint() (*RecoveryPoint, bool)
    func (grp GenericRecoveryPoint) MarshalJSON() ([]byte, error)
type GetProtectedItemQueryObject
type HTTPStatusCode
    func PossibleHTTPStatusCodeValues() []HTTPStatusCode
type ILRRequest
    func (ir ILRRequest) AsBasicILRRequest() (BasicILRRequest, bool)
    func (ir ILRRequest) AsILRRequest() (*ILRRequest, bool)
    func (ir ILRRequest) AsIaasVMILRRegistrationRequest() (*IaasVMILRRegistrationRequest, bool)
    func (ir ILRRequest) MarshalJSON() ([]byte, error)
type ILRRequestResource
    func (irr ILRRequestResource) MarshalJSON() ([]byte, error)
    func (irr *ILRRequestResource) UnmarshalJSON(body []byte) error
type IaaSVMContainer
    func (isc IaaSVMContainer) AsAzureIaaSClassicComputeVMContainer() (*AzureIaaSClassicComputeVMContainer, bool)
    func (isc IaaSVMContainer) AsAzureIaaSComputeVMContainer() (*AzureIaaSComputeVMContainer, bool)
    func (isc IaaSVMContainer) AsAzureSQLContainer() (*AzureSQLContainer, bool)
    func (isc IaaSVMContainer) AsBasicIaaSVMContainer() (BasicIaaSVMContainer, bool)
    func (isc IaaSVMContainer) AsBasicProtectionContainer() (BasicProtectionContainer, bool)
    func (isc IaaSVMContainer) AsIaaSVMContainer() (*IaaSVMContainer, bool)
    func (isc IaaSVMContainer) AsMabContainer() (*MabContainer, bool)
    func (isc IaaSVMContainer) AsProtectionContainer() (*ProtectionContainer, bool)
    func (isc IaaSVMContainer) MarshalJSON() ([]byte, error)
type IaaSVMProtectableItem
    func (ispi IaaSVMProtectableItem) AsAzureIaaSClassicComputeVMProtectableItem() (*AzureIaaSClassicComputeVMProtectableItem, bool)
    func (ispi IaaSVMProtectableItem) AsAzureIaaSComputeVMProtectableItem() (*AzureIaaSComputeVMProtectableItem, bool)
    func (ispi IaaSVMProtectableItem) AsBasicIaaSVMProtectableItem() (BasicIaaSVMProtectableItem, bool)
    func (ispi IaaSVMProtectableItem) AsBasicWorkloadProtectableItem() (BasicWorkloadProtectableItem, bool)
    func (ispi IaaSVMProtectableItem) AsIaaSVMProtectableItem() (*IaaSVMProtectableItem, bool)
    func (ispi IaaSVMProtectableItem) AsWorkloadProtectableItem() (*WorkloadProtectableItem, bool)
    func (ispi IaaSVMProtectableItem) MarshalJSON() ([]byte, error)
type IaasVMBackupRequest
    func (ivbr IaasVMBackupRequest) AsBasicRequest() (BasicRequest, bool)
    func (ivbr IaasVMBackupRequest) AsIaasVMBackupRequest() (*IaasVMBackupRequest, bool)
    func (ivbr IaasVMBackupRequest) AsRequest() (*Request, bool)
    func (ivbr IaasVMBackupRequest) MarshalJSON() ([]byte, error)
type IaasVMILRRegistrationRequest
    func (ivrr IaasVMILRRegistrationRequest) AsBasicILRRequest() (BasicILRRequest, bool)
    func (ivrr IaasVMILRRegistrationRequest) AsILRRequest() (*ILRRequest, bool)
    func (ivrr IaasVMILRRegistrationRequest) AsIaasVMILRRegistrationRequest() (*IaasVMILRRegistrationRequest, bool)
    func (ivrr IaasVMILRRegistrationRequest) MarshalJSON() ([]byte, error)
type IaasVMRecoveryPoint
    func (ivrp IaasVMRecoveryPoint) AsBasicRecoveryPoint() (BasicRecoveryPoint, bool)
    func (ivrp IaasVMRecoveryPoint) AsGenericRecoveryPoint() (*GenericRecoveryPoint, bool)
    func (ivrp IaasVMRecoveryPoint) AsIaasVMRecoveryPoint() (*IaasVMRecoveryPoint, bool)
    func (ivrp IaasVMRecoveryPoint) AsRecoveryPoint() (*RecoveryPoint, bool)
    func (ivrp IaasVMRecoveryPoint) MarshalJSON() ([]byte, error)
type IaasVMRestoreRequest
    func (ivrr IaasVMRestoreRequest) AsBasicRestoreRequest() (BasicRestoreRequest, bool)
    func (ivrr IaasVMRestoreRequest) AsIaasVMRestoreRequest() (*IaasVMRestoreRequest, bool)
    func (ivrr IaasVMRestoreRequest) AsRestoreRequest() (*RestoreRequest, bool)
    func (ivrr IaasVMRestoreRequest) MarshalJSON() ([]byte, error)
type InstantItemRecoveryTarget
type ItemLevelRecoveryConnectionsClient
    func NewItemLevelRecoveryConnectionsClient(subscriptionID string) ItemLevelRecoveryConnectionsClient
    func NewItemLevelRecoveryConnectionsClientWithBaseURI(baseURI string, subscriptionID string) ItemLevelRecoveryConnectionsClient
    func (client ItemLevelRecoveryConnectionsClient) Provision(ctx context.Context, vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string, recoveryPointID string, resourceILRRequest ILRRequestResource) (result autorest.Response, err error)
    func (client ItemLevelRecoveryConnectionsClient) ProvisionPreparer(ctx context.Context, vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string, recoveryPointID string, resourceILRRequest ILRRequestResource) (*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(ctx context.Context, vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string, recoveryPointID string) (result autorest.Response, err error)
    func (client ItemLevelRecoveryConnectionsClient) RevokePreparer(ctx context.Context, vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string, recoveryPointID 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 ItemType
    func PossibleItemTypeValues() []ItemType
type Job
    func (j Job) AsAzureIaaSVMJob() (*AzureIaaSVMJob, bool)
    func (j Job) AsBasicJob() (BasicJob, bool)
    func (j Job) AsDpmJob() (*DpmJob, bool)
    func (j Job) AsJob() (*Job, bool)
    func (j Job) AsMabJob() (*MabJob, bool)
    func (j Job) MarshalJSON() ([]byte, error)
type JobCancellationsClient
    func NewJobCancellationsClient(subscriptionID string) JobCancellationsClient
    func NewJobCancellationsClientWithBaseURI(baseURI string, subscriptionID string) JobCancellationsClient
    func (client JobCancellationsClient) Trigger(ctx context.Context, vaultName string, resourceGroupName string, jobName string) (result autorest.Response, err error)
    func (client JobCancellationsClient) TriggerPreparer(ctx context.Context, 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 NewJobDetailsClient(subscriptionID string) JobDetailsClient
    func NewJobDetailsClientWithBaseURI(baseURI string, subscriptionID string) JobDetailsClient
    func (client JobDetailsClient) Get(ctx context.Context, vaultName string, resourceGroupName string, jobName string) (result JobResource, err error)
    func (client JobDetailsClient) GetPreparer(ctx context.Context, 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 NewJobOperationResultsClient(subscriptionID string) JobOperationResultsClient
    func NewJobOperationResultsClientWithBaseURI(baseURI string, subscriptionID string) JobOperationResultsClient
    func (client JobOperationResultsClient) Get(ctx context.Context, vaultName string, resourceGroupName string, jobName string, operationID string) (result autorest.Response, err error)
    func (client JobOperationResultsClient) GetPreparer(ctx context.Context, 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
    func PossibleJobOperationTypeValues() []JobOperationType
type JobQueryObject
type JobResource
    func (jr JobResource) MarshalJSON() ([]byte, error)
    func (jr *JobResource) UnmarshalJSON(body []byte) error
type JobResourceList
    func (jrl JobResourceList) IsEmpty() bool
type JobResourceListIterator
    func NewJobResourceListIterator(page JobResourceListPage) JobResourceListIterator
    func (iter *JobResourceListIterator) Next() error
    func (iter *JobResourceListIterator) NextWithContext(ctx context.Context) (err error)
    func (iter JobResourceListIterator) NotDone() bool
    func (iter JobResourceListIterator) Response() JobResourceList
    func (iter JobResourceListIterator) Value() JobResource
type JobResourceListPage
    func NewJobResourceListPage(cur JobResourceList, getNextPage func(context.Context, JobResourceList) (JobResourceList, error)) JobResourceListPage
    func (page *JobResourceListPage) Next() error
    func (page *JobResourceListPage) NextWithContext(ctx context.Context) (err error)
    func (page JobResourceListPage) NotDone() bool
    func (page JobResourceListPage) Response() JobResourceList
    func (page JobResourceListPage) Values() []JobResource
type JobStatus
    func PossibleJobStatusValues() []JobStatus
type JobSupportedAction
    func PossibleJobSupportedActionValues() []JobSupportedAction
type JobType
    func PossibleJobTypeValues() []JobType
type JobsClient
    func NewJobsClient(subscriptionID string) JobsClient
    func NewJobsClientWithBaseURI(baseURI string, subscriptionID string) JobsClient
    func (client JobsClient) Export(ctx context.Context, vaultName string, resourceGroupName string, filter string) (result autorest.Response, err error)
    func (client JobsClient) ExportPreparer(ctx context.Context, 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)
    func (client JobsClient) List(ctx context.Context, vaultName string, resourceGroupName string, filter string, skipToken string) (result JobResourceListPage, err error)
    func (client JobsClient) ListComplete(ctx context.Context, vaultName string, resourceGroupName string, filter string, skipToken string) (result JobResourceListIterator, err error)
    func (client JobsClient) ListPreparer(ctx context.Context, vaultName string, resourceGroupName string, filter string, skipToken string) (*http.Request, error)
    func (client JobsClient) ListResponder(resp *http.Response) (result JobResourceList, err error)
    func (client JobsClient) ListSender(req *http.Request) (*http.Response, error)
type KEKDetails
type KeyAndSecretDetails
type LongTermRetentionPolicy
    func (ltrp LongTermRetentionPolicy) AsBasicRetentionPolicy() (BasicRetentionPolicy, bool)
    func (ltrp LongTermRetentionPolicy) AsLongTermRetentionPolicy() (*LongTermRetentionPolicy, bool)
    func (ltrp LongTermRetentionPolicy) AsRetentionPolicy() (*RetentionPolicy, bool)
    func (ltrp LongTermRetentionPolicy) AsSimpleRetentionPolicy() (*SimpleRetentionPolicy, bool)
    func (ltrp LongTermRetentionPolicy) MarshalJSON() ([]byte, error)
type LongTermSchedulePolicy
    func (ltsp LongTermSchedulePolicy) AsBasicSchedulePolicy() (BasicSchedulePolicy, bool)
    func (ltsp LongTermSchedulePolicy) AsLongTermSchedulePolicy() (*LongTermSchedulePolicy, bool)
    func (ltsp LongTermSchedulePolicy) AsSchedulePolicy() (*SchedulePolicy, bool)
    func (ltsp LongTermSchedulePolicy) AsSimpleSchedulePolicy() (*SimpleSchedulePolicy, bool)
    func (ltsp LongTermSchedulePolicy) MarshalJSON() ([]byte, error)
type MabContainer
    func (mc MabContainer) AsAzureIaaSClassicComputeVMContainer() (*AzureIaaSClassicComputeVMContainer, bool)
    func (mc MabContainer) AsAzureIaaSComputeVMContainer() (*AzureIaaSComputeVMContainer, bool)
    func (mc MabContainer) AsAzureSQLContainer() (*AzureSQLContainer, bool)
    func (mc MabContainer) AsBasicIaaSVMContainer() (BasicIaaSVMContainer, bool)
    func (mc MabContainer) AsBasicProtectionContainer() (BasicProtectionContainer, bool)
    func (mc MabContainer) AsIaaSVMContainer() (*IaaSVMContainer, bool)
    func (mc MabContainer) AsMabContainer() (*MabContainer, bool)
    func (mc MabContainer) AsProtectionContainer() (*ProtectionContainer, bool)
    func (mc MabContainer) MarshalJSON() ([]byte, error)
type MabContainerExtendedInfo
type MabErrorInfo
type MabFileFolderProtectedItem
    func (mffpi MabFileFolderProtectedItem) AsAzureIaaSClassicComputeVMProtectedItem() (*AzureIaaSClassicComputeVMProtectedItem, bool)
    func (mffpi MabFileFolderProtectedItem) AsAzureIaaSComputeVMProtectedItem() (*AzureIaaSComputeVMProtectedItem, bool)
    func (mffpi MabFileFolderProtectedItem) AsAzureIaaSVMProtectedItem() (*AzureIaaSVMProtectedItem, bool)
    func (mffpi MabFileFolderProtectedItem) AsAzureSQLProtectedItem() (*AzureSQLProtectedItem, bool)
    func (mffpi MabFileFolderProtectedItem) AsBasicAzureIaaSVMProtectedItem() (BasicAzureIaaSVMProtectedItem, bool)
    func (mffpi MabFileFolderProtectedItem) AsBasicProtectedItem() (BasicProtectedItem, bool)
    func (mffpi MabFileFolderProtectedItem) AsMabFileFolderProtectedItem() (*MabFileFolderProtectedItem, bool)
    func (mffpi MabFileFolderProtectedItem) AsProtectedItem() (*ProtectedItem, bool)
    func (mffpi MabFileFolderProtectedItem) MarshalJSON() ([]byte, error)
type MabFileFolderProtectedItemExtendedInfo
type MabJob
    func (mj MabJob) AsAzureIaaSVMJob() (*AzureIaaSVMJob, bool)
    func (mj MabJob) AsBasicJob() (BasicJob, bool)
    func (mj MabJob) AsDpmJob() (*DpmJob, bool)
    func (mj MabJob) AsJob() (*Job, bool)
    func (mj MabJob) AsMabJob() (*MabJob, bool)
    func (mj MabJob) MarshalJSON() ([]byte, error)
type MabJobExtendedInfo
    func (mjei MabJobExtendedInfo) MarshalJSON() ([]byte, error)
type MabJobTaskDetails
type MabProtectionPolicy
    func (mpp MabProtectionPolicy) AsAzureIaaSVMProtectionPolicy() (*AzureIaaSVMProtectionPolicy, bool)
    func (mpp MabProtectionPolicy) AsAzureSQLProtectionPolicy() (*AzureSQLProtectionPolicy, bool)
    func (mpp MabProtectionPolicy) AsBasicProtectionPolicy() (BasicProtectionPolicy, bool)
    func (mpp MabProtectionPolicy) AsMabProtectionPolicy() (*MabProtectionPolicy, bool)
    func (mpp MabProtectionPolicy) AsProtectionPolicy() (*ProtectionPolicy, bool)
    func (mpp MabProtectionPolicy) MarshalJSON() ([]byte, error)
    func (mpp *MabProtectionPolicy) UnmarshalJSON(body []byte) error
type MabServerType
    func PossibleMabServerTypeValues() []MabServerType
type ManagementType
    func PossibleManagementTypeValues() []ManagementType
type ManagementTypeBasicProtectionPolicy
    func PossibleManagementTypeBasicProtectionPolicyValues() []ManagementTypeBasicProtectionPolicy
type MonthOfYear
    func PossibleMonthOfYearValues() []MonthOfYear
type MonthlyRetentionSchedule
type ObjectType
    func PossibleObjectTypeValues() []ObjectType
type ObjectTypeBasicILRRequest
    func PossibleObjectTypeBasicILRRequestValues() []ObjectTypeBasicILRRequest
type ObjectTypeBasicOperationResultInfoBase
    func PossibleObjectTypeBasicOperationResultInfoBaseValues() []ObjectTypeBasicOperationResultInfoBase
type ObjectTypeBasicRecoveryPoint
    func PossibleObjectTypeBasicRecoveryPointValues() []ObjectTypeBasicRecoveryPoint
type ObjectTypeBasicRequest
    func PossibleObjectTypeBasicRequestValues() []ObjectTypeBasicRequest
type ObjectTypeBasicRestoreRequest
    func PossibleObjectTypeBasicRestoreRequestValues() []ObjectTypeBasicRestoreRequest
type OperationResultInfo
    func (ori OperationResultInfo) AsBasicOperationResultInfoBase() (BasicOperationResultInfoBase, bool)
    func (ori OperationResultInfo) AsExportJobsOperationResultInfo() (*ExportJobsOperationResultInfo, bool)
    func (ori OperationResultInfo) AsOperationResultInfo() (*OperationResultInfo, bool)
    func (ori OperationResultInfo) AsOperationResultInfoBase() (*OperationResultInfoBase, bool)
    func (ori OperationResultInfo) MarshalJSON() ([]byte, error)
type OperationResultInfoBase
    func (orib OperationResultInfoBase) AsBasicOperationResultInfoBase() (BasicOperationResultInfoBase, bool)
    func (orib OperationResultInfoBase) AsExportJobsOperationResultInfo() (*ExportJobsOperationResultInfo, bool)
    func (orib OperationResultInfoBase) AsOperationResultInfo() (*OperationResultInfo, bool)
    func (orib OperationResultInfoBase) AsOperationResultInfoBase() (*OperationResultInfoBase, bool)
    func (orib OperationResultInfoBase) MarshalJSON() ([]byte, error)
type OperationResultInfoBaseResource
    func (oribr OperationResultInfoBaseResource) MarshalJSON() ([]byte, error)
    func (oribr *OperationResultInfoBaseResource) UnmarshalJSON(body []byte) error
type OperationResultsClient
    func NewOperationResultsClient(subscriptionID string) OperationResultsClient
    func NewOperationResultsClientWithBaseURI(baseURI string, subscriptionID string) OperationResultsClient
    func (client OperationResultsClient) Get(ctx context.Context, vaultName string, resourceGroupName string, operationID string) (result autorest.Response, err error)
    func (client OperationResultsClient) GetPreparer(ctx context.Context, vaultName string, resourceGroupName string, operationID string) (*http.Request, error)
    func (client OperationResultsClient) GetResponder(resp *http.Response) (result autorest.Response, err error)
    func (client OperationResultsClient) GetSender(req *http.Request) (*http.Response, error)
type OperationStatus
    func (osVar *OperationStatus) UnmarshalJSON(body []byte) error
type OperationStatusError
type OperationStatusExtendedInfo
    func (osei OperationStatusExtendedInfo) AsBasicOperationStatusExtendedInfo() (BasicOperationStatusExtendedInfo, bool)
    func (osei OperationStatusExtendedInfo) AsOperationStatusExtendedInfo() (*OperationStatusExtendedInfo, bool)
    func (osei OperationStatusExtendedInfo) AsOperationStatusJobExtendedInfo() (*OperationStatusJobExtendedInfo, bool)
    func (osei OperationStatusExtendedInfo) AsOperationStatusJobsExtendedInfo() (*OperationStatusJobsExtendedInfo, bool)
    func (osei OperationStatusExtendedInfo) AsOperationStatusProvisionILRExtendedInfo() (*OperationStatusProvisionILRExtendedInfo, bool)
    func (osei OperationStatusExtendedInfo) MarshalJSON() ([]byte, error)
type OperationStatusJobExtendedInfo
    func (osjei OperationStatusJobExtendedInfo) AsBasicOperationStatusExtendedInfo() (BasicOperationStatusExtendedInfo, bool)
    func (osjei OperationStatusJobExtendedInfo) AsOperationStatusExtendedInfo() (*OperationStatusExtendedInfo, bool)
    func (osjei OperationStatusJobExtendedInfo) AsOperationStatusJobExtendedInfo() (*OperationStatusJobExtendedInfo, bool)
    func (osjei OperationStatusJobExtendedInfo) AsOperationStatusJobsExtendedInfo() (*OperationStatusJobsExtendedInfo, bool)
    func (osjei OperationStatusJobExtendedInfo) AsOperationStatusProvisionILRExtendedInfo() (*OperationStatusProvisionILRExtendedInfo, bool)
    func (osjei OperationStatusJobExtendedInfo) MarshalJSON() ([]byte, error)
type OperationStatusJobsExtendedInfo
    func (osjei OperationStatusJobsExtendedInfo) AsBasicOperationStatusExtendedInfo() (BasicOperationStatusExtendedInfo, bool)
    func (osjei OperationStatusJobsExtendedInfo) AsOperationStatusExtendedInfo() (*OperationStatusExtendedInfo, bool)
    func (osjei OperationStatusJobsExtendedInfo) AsOperationStatusJobExtendedInfo() (*OperationStatusJobExtendedInfo, bool)
    func (osjei OperationStatusJobsExtendedInfo) AsOperationStatusJobsExtendedInfo() (*OperationStatusJobsExtendedInfo, bool)
    func (osjei OperationStatusJobsExtendedInfo) AsOperationStatusProvisionILRExtendedInfo() (*OperationStatusProvisionILRExtendedInfo, bool)
    func (osjei OperationStatusJobsExtendedInfo) MarshalJSON() ([]byte, error)
type OperationStatusProvisionILRExtendedInfo
    func (ospiei OperationStatusProvisionILRExtendedInfo) AsBasicOperationStatusExtendedInfo() (BasicOperationStatusExtendedInfo, bool)
    func (ospiei OperationStatusProvisionILRExtendedInfo) AsOperationStatusExtendedInfo() (*OperationStatusExtendedInfo, bool)
    func (ospiei OperationStatusProvisionILRExtendedInfo) AsOperationStatusJobExtendedInfo() (*OperationStatusJobExtendedInfo, bool)
    func (ospiei OperationStatusProvisionILRExtendedInfo) AsOperationStatusJobsExtendedInfo() (*OperationStatusJobsExtendedInfo, bool)
    func (ospiei OperationStatusProvisionILRExtendedInfo) AsOperationStatusProvisionILRExtendedInfo() (*OperationStatusProvisionILRExtendedInfo, bool)
    func (ospiei OperationStatusProvisionILRExtendedInfo) MarshalJSON() ([]byte, error)
type OperationStatusValues
    func PossibleOperationStatusValuesValues() []OperationStatusValues
type OperationStatusesClient
    func NewOperationStatusesClient(subscriptionID string) OperationStatusesClient
    func NewOperationStatusesClientWithBaseURI(baseURI string, subscriptionID string) OperationStatusesClient
    func (client OperationStatusesClient) Get(ctx context.Context, vaultName string, resourceGroupName string, operationID string) (result OperationStatus, err error)
    func (client OperationStatusesClient) GetPreparer(ctx context.Context, vaultName string, resourceGroupName string, operationID string) (*http.Request, error)
    func (client OperationStatusesClient) GetResponder(resp *http.Response) (result OperationStatus, err error)
    func (client OperationStatusesClient) GetSender(req *http.Request) (*http.Response, error)
type OperationWorkerResponse
    func (owr OperationWorkerResponse) MarshalJSON() ([]byte, error)
type ProtectableItemType
    func PossibleProtectableItemTypeValues() []ProtectableItemType
type ProtectableItemsClient
    func NewProtectableItemsClient(subscriptionID string) ProtectableItemsClient
    func NewProtectableItemsClientWithBaseURI(baseURI string, subscriptionID string) ProtectableItemsClient
    func (client ProtectableItemsClient) List(ctx context.Context, vaultName string, resourceGroupName string, filter string, skipToken string) (result WorkloadProtectableItemResourceListPage, err error)
    func (client ProtectableItemsClient) ListComplete(ctx context.Context, vaultName string, resourceGroupName string, filter string, skipToken string) (result WorkloadProtectableItemResourceListIterator, err error)
    func (client ProtectableItemsClient) ListPreparer(ctx context.Context, vaultName string, resourceGroupName string, filter string, skipToken string) (*http.Request, error)
    func (client ProtectableItemsClient) ListResponder(resp *http.Response) (result WorkloadProtectableItemResourceList, err error)
    func (client ProtectableItemsClient) ListSender(req *http.Request) (*http.Response, error)
type ProtectableObjectType
    func PossibleProtectableObjectTypeValues() []ProtectableObjectType
type ProtectedItem
    func (pi ProtectedItem) AsAzureIaaSClassicComputeVMProtectedItem() (*AzureIaaSClassicComputeVMProtectedItem, bool)
    func (pi ProtectedItem) AsAzureIaaSComputeVMProtectedItem() (*AzureIaaSComputeVMProtectedItem, bool)
    func (pi ProtectedItem) AsAzureIaaSVMProtectedItem() (*AzureIaaSVMProtectedItem, bool)
    func (pi ProtectedItem) AsAzureSQLProtectedItem() (*AzureSQLProtectedItem, bool)
    func (pi ProtectedItem) AsBasicAzureIaaSVMProtectedItem() (BasicAzureIaaSVMProtectedItem, bool)
    func (pi ProtectedItem) AsBasicProtectedItem() (BasicProtectedItem, bool)
    func (pi ProtectedItem) AsMabFileFolderProtectedItem() (*MabFileFolderProtectedItem, bool)
    func (pi ProtectedItem) AsProtectedItem() (*ProtectedItem, bool)
    func (pi ProtectedItem) MarshalJSON() ([]byte, error)
type ProtectedItemOperationResultsClient
    func NewProtectedItemOperationResultsClient(subscriptionID string) ProtectedItemOperationResultsClient
    func NewProtectedItemOperationResultsClientWithBaseURI(baseURI string, subscriptionID string) ProtectedItemOperationResultsClient
    func (client ProtectedItemOperationResultsClient) Get(ctx context.Context, vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string, operationID string) (result ProtectedItemResource, err error)
    func (client ProtectedItemOperationResultsClient) GetPreparer(ctx context.Context, vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string, operationID 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 NewProtectedItemOperationStatusesClient(subscriptionID string) ProtectedItemOperationStatusesClient
    func NewProtectedItemOperationStatusesClientWithBaseURI(baseURI string, subscriptionID string) ProtectedItemOperationStatusesClient
    func (client ProtectedItemOperationStatusesClient) Get(ctx context.Context, vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string, operationID string) (result OperationStatus, err error)
    func (client ProtectedItemOperationStatusesClient) GetPreparer(ctx context.Context, vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string, operationID 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
    func (pir ProtectedItemResource) MarshalJSON() ([]byte, error)
    func (pir *ProtectedItemResource) UnmarshalJSON(body []byte) error
type ProtectedItemResourceList
    func (pirl ProtectedItemResourceList) IsEmpty() bool
type ProtectedItemResourceListIterator
    func NewProtectedItemResourceListIterator(page ProtectedItemResourceListPage) ProtectedItemResourceListIterator
    func (iter *ProtectedItemResourceListIterator) Next() error
    func (iter *ProtectedItemResourceListIterator) NextWithContext(ctx context.Context) (err error)
    func (iter ProtectedItemResourceListIterator) NotDone() bool
    func (iter ProtectedItemResourceListIterator) Response() ProtectedItemResourceList
    func (iter ProtectedItemResourceListIterator) Value() ProtectedItemResource
type ProtectedItemResourceListPage
    func NewProtectedItemResourceListPage(cur ProtectedItemResourceList, getNextPage func(context.Context, ProtectedItemResourceList) (ProtectedItemResourceList, error)) ProtectedItemResourceListPage
    func (page *ProtectedItemResourceListPage) Next() error
    func (page *ProtectedItemResourceListPage) NextWithContext(ctx context.Context) (err error)
    func (page ProtectedItemResourceListPage) NotDone() bool
    func (page ProtectedItemResourceListPage) Response() ProtectedItemResourceList
    func (page ProtectedItemResourceListPage) Values() []ProtectedItemResource
type ProtectedItemState
    func PossibleProtectedItemStateValues() []ProtectedItemState
type ProtectedItemType
    func PossibleProtectedItemTypeValues() []ProtectedItemType
type ProtectedItemsClient
    func NewProtectedItemsClient(subscriptionID string) ProtectedItemsClient
    func NewProtectedItemsClientWithBaseURI(baseURI string, subscriptionID string) ProtectedItemsClient
    func (client ProtectedItemsClient) CreateOrUpdate(ctx context.Context, vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string, resourceProtectedItem ProtectedItemResource) (result autorest.Response, err error)
    func (client ProtectedItemsClient) CreateOrUpdatePreparer(ctx context.Context, vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string, resourceProtectedItem ProtectedItemResource) (*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(ctx context.Context, vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string) (result autorest.Response, err error)
    func (client ProtectedItemsClient) DeletePreparer(ctx context.Context, vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName 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(ctx context.Context, vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string, filter string) (result ProtectedItemResource, err error)
    func (client ProtectedItemsClient) GetPreparer(ctx context.Context, vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string, filter 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)
    func (client ProtectedItemsClient) List(ctx context.Context, vaultName string, resourceGroupName string, filter string, skipToken string) (result ProtectedItemResourceListPage, err error)
    func (client ProtectedItemsClient) ListComplete(ctx context.Context, vaultName string, resourceGroupName string, filter string, skipToken string) (result ProtectedItemResourceListIterator, err error)
    func (client ProtectedItemsClient) ListPreparer(ctx context.Context, vaultName string, resourceGroupName string, filter string, skipToken string) (*http.Request, error)
    func (client ProtectedItemsClient) ListResponder(resp *http.Response) (result ProtectedItemResourceList, err error)
    func (client ProtectedItemsClient) ListSender(req *http.Request) (*http.Response, error)
type ProtectionContainer
    func (pc ProtectionContainer) AsAzureIaaSClassicComputeVMContainer() (*AzureIaaSClassicComputeVMContainer, bool)
    func (pc ProtectionContainer) AsAzureIaaSComputeVMContainer() (*AzureIaaSComputeVMContainer, bool)
    func (pc ProtectionContainer) AsAzureSQLContainer() (*AzureSQLContainer, bool)
    func (pc ProtectionContainer) AsBasicIaaSVMContainer() (BasicIaaSVMContainer, bool)
    func (pc ProtectionContainer) AsBasicProtectionContainer() (BasicProtectionContainer, bool)
    func (pc ProtectionContainer) AsIaaSVMContainer() (*IaaSVMContainer, bool)
    func (pc ProtectionContainer) AsMabContainer() (*MabContainer, bool)
    func (pc ProtectionContainer) AsProtectionContainer() (*ProtectionContainer, bool)
    func (pc ProtectionContainer) MarshalJSON() ([]byte, error)
type ProtectionContainerOperationResultsClient
    func NewProtectionContainerOperationResultsClient(subscriptionID string) ProtectionContainerOperationResultsClient
    func NewProtectionContainerOperationResultsClientWithBaseURI(baseURI string, subscriptionID string) ProtectionContainerOperationResultsClient
    func (client ProtectionContainerOperationResultsClient) Get(ctx context.Context, vaultName string, resourceGroupName string, fabricName string, containerName string, operationID string) (result ProtectionContainerResource, err error)
    func (client ProtectionContainerOperationResultsClient) GetPreparer(ctx context.Context, vaultName string, resourceGroupName string, fabricName string, containerName string, operationID 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 NewProtectionContainerRefreshOperationResultsClient(subscriptionID string) ProtectionContainerRefreshOperationResultsClient
    func NewProtectionContainerRefreshOperationResultsClientWithBaseURI(baseURI string, subscriptionID string) ProtectionContainerRefreshOperationResultsClient
    func (client ProtectionContainerRefreshOperationResultsClient) Get(ctx context.Context, vaultName string, resourceGroupName string, fabricName string, operationID string) (result autorest.Response, err error)
    func (client ProtectionContainerRefreshOperationResultsClient) GetPreparer(ctx context.Context, vaultName string, resourceGroupName string, fabricName string, operationID 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
    func (pcr ProtectionContainerResource) MarshalJSON() ([]byte, error)
    func (pcr *ProtectionContainerResource) UnmarshalJSON(body []byte) error
type ProtectionContainerResourceList
type ProtectionContainersClient
    func NewProtectionContainersClient(subscriptionID string) ProtectionContainersClient
    func NewProtectionContainersClientWithBaseURI(baseURI string, subscriptionID string) ProtectionContainersClient
    func (client ProtectionContainersClient) Get(ctx context.Context, vaultName string, resourceGroupName string, fabricName string, containerName string) (result ProtectionContainerResource, err error)
    func (client ProtectionContainersClient) GetPreparer(ctx context.Context, vaultName string, resourceGroupName string, fabricName string, containerName 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) List(ctx context.Context, vaultName string, resourceGroupName string, filter string) (result ProtectionContainerResourceList, err error)
    func (client ProtectionContainersClient) ListPreparer(ctx context.Context, vaultName string, resourceGroupName string, filter string) (*http.Request, error)
    func (client ProtectionContainersClient) ListResponder(resp *http.Response) (result ProtectionContainerResourceList, err error)
    func (client ProtectionContainersClient) ListSender(req *http.Request) (*http.Response, error)
    func (client ProtectionContainersClient) Refresh(ctx context.Context, vaultName string, resourceGroupName string, fabricName string) (result autorest.Response, err error)
    func (client ProtectionContainersClient) RefreshPreparer(ctx context.Context, 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)
    func (client ProtectionContainersClient) Unregister(ctx context.Context, resourceGroupName string, vaultName string, identityName string) (result autorest.Response, err error)
    func (client ProtectionContainersClient) UnregisterPreparer(ctx context.Context, resourceGroupName string, vaultName string, identityName string) (*http.Request, error)
    func (client ProtectionContainersClient) UnregisterResponder(resp *http.Response) (result autorest.Response, err error)
    func (client ProtectionContainersClient) UnregisterSender(req *http.Request) (*http.Response, error)
type ProtectionPoliciesClient
    func NewProtectionPoliciesClient(subscriptionID string) ProtectionPoliciesClient
    func NewProtectionPoliciesClientWithBaseURI(baseURI string, subscriptionID string) ProtectionPoliciesClient
    func (client ProtectionPoliciesClient) CreateOrUpdate(ctx context.Context, vaultName string, resourceGroupName string, policyName string, resourceProtectionPolicy ProtectionPolicyResource) (result ProtectionPolicyResource, err error)
    func (client ProtectionPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, vaultName string, resourceGroupName string, policyName string, resourceProtectionPolicy ProtectionPolicyResource) (*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(ctx context.Context, vaultName string, resourceGroupName string, policyName string) (result autorest.Response, err error)
    func (client ProtectionPoliciesClient) DeletePreparer(ctx context.Context, 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(ctx context.Context, vaultName string, resourceGroupName string, policyName string) (result ProtectionPolicyResource, err error)
    func (client ProtectionPoliciesClient) GetPreparer(ctx context.Context, 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)
    func (client ProtectionPoliciesClient) List(ctx context.Context, vaultName string, resourceGroupName string, filter string) (result ProtectionPolicyResourceList, err error)
    func (client ProtectionPoliciesClient) ListPreparer(ctx context.Context, vaultName string, resourceGroupName string, filter string) (*http.Request, error)
    func (client ProtectionPoliciesClient) ListResponder(resp *http.Response) (result ProtectionPolicyResourceList, err error)
    func (client ProtectionPoliciesClient) ListSender(req *http.Request) (*http.Response, error)
type ProtectionPolicy
    func (pp ProtectionPolicy) AsAzureIaaSVMProtectionPolicy() (*AzureIaaSVMProtectionPolicy, bool)
    func (pp ProtectionPolicy) AsAzureSQLProtectionPolicy() (*AzureSQLProtectionPolicy, bool)
    func (pp ProtectionPolicy) AsBasicProtectionPolicy() (BasicProtectionPolicy, bool)
    func (pp ProtectionPolicy) AsMabProtectionPolicy() (*MabProtectionPolicy, bool)
    func (pp ProtectionPolicy) AsProtectionPolicy() (*ProtectionPolicy, bool)
    func (pp ProtectionPolicy) MarshalJSON() ([]byte, error)
type ProtectionPolicyOperationResultsClient
    func NewProtectionPolicyOperationResultsClient(subscriptionID string) ProtectionPolicyOperationResultsClient
    func NewProtectionPolicyOperationResultsClientWithBaseURI(baseURI string, subscriptionID string) ProtectionPolicyOperationResultsClient
    func (client ProtectionPolicyOperationResultsClient) Get(ctx context.Context, vaultName string, resourceGroupName string, policyName string, operationID string) (result ProtectionPolicyResource, err error)
    func (client ProtectionPolicyOperationResultsClient) GetPreparer(ctx context.Context, vaultName string, resourceGroupName string, policyName string, operationID 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 NewProtectionPolicyOperationStatusesClient(subscriptionID string) ProtectionPolicyOperationStatusesClient
    func NewProtectionPolicyOperationStatusesClientWithBaseURI(baseURI string, subscriptionID string) ProtectionPolicyOperationStatusesClient
    func (client ProtectionPolicyOperationStatusesClient) Get(ctx context.Context, vaultName string, resourceGroupName string, policyName string, operationID string) (result OperationStatus, err error)
    func (client ProtectionPolicyOperationStatusesClient) GetPreparer(ctx context.Context, vaultName string, resourceGroupName string, policyName string, operationID 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
    func (ppr ProtectionPolicyResource) MarshalJSON() ([]byte, error)
    func (ppr *ProtectionPolicyResource) UnmarshalJSON(body []byte) error
type ProtectionPolicyResourceList
type ProtectionState
    func PossibleProtectionStateValues() []ProtectionState
type ProtectionStatus
    func PossibleProtectionStatusValues() []ProtectionStatus
type RecoveryPoint
    func (rp RecoveryPoint) AsBasicRecoveryPoint() (BasicRecoveryPoint, bool)
    func (rp RecoveryPoint) AsGenericRecoveryPoint() (*GenericRecoveryPoint, bool)
    func (rp RecoveryPoint) AsIaasVMRecoveryPoint() (*IaasVMRecoveryPoint, bool)
    func (rp RecoveryPoint) AsRecoveryPoint() (*RecoveryPoint, bool)
    func (rp RecoveryPoint) MarshalJSON() ([]byte, error)
type RecoveryPointResource
    func (rpr RecoveryPointResource) MarshalJSON() ([]byte, error)
    func (rpr *RecoveryPointResource) UnmarshalJSON(body []byte) error
type RecoveryPointResourceList
type RecoveryPointsClient
    func NewRecoveryPointsClient(subscriptionID string) RecoveryPointsClient
    func NewRecoveryPointsClientWithBaseURI(baseURI string, subscriptionID string) RecoveryPointsClient
    func (client RecoveryPointsClient) Get(ctx context.Context, vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string, recoveryPointID string) (result RecoveryPointResource, err error)
    func (client RecoveryPointsClient) GetPreparer(ctx context.Context, vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string, recoveryPointID 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(ctx context.Context, vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string, filter string) (result RecoveryPointResourceList, err error)
    func (client RecoveryPointsClient) ListPreparer(ctx context.Context, vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string, filter 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
    func PossibleRecoveryTypeValues() []RecoveryType
type Request
    func (r Request) AsBasicRequest() (BasicRequest, bool)
    func (r Request) AsIaasVMBackupRequest() (*IaasVMBackupRequest, bool)
    func (r Request) AsRequest() (*Request, bool)
    func (r Request) MarshalJSON() ([]byte, error)
type RequestResource
    func (rr RequestResource) MarshalJSON() ([]byte, error)
    func (rr *RequestResource) UnmarshalJSON(body []byte) error
type Resource
    func (r Resource) MarshalJSON() ([]byte, error)
type ResourceList
type RestoreRequest
    func (rr RestoreRequest) AsBasicRestoreRequest() (BasicRestoreRequest, bool)
    func (rr RestoreRequest) AsIaasVMRestoreRequest() (*IaasVMRestoreRequest, bool)
    func (rr RestoreRequest) AsRestoreRequest() (*RestoreRequest, bool)
    func (rr RestoreRequest) MarshalJSON() ([]byte, error)
type RestoreRequestResource
    func (rrr RestoreRequestResource) MarshalJSON() ([]byte, error)
    func (rrr *RestoreRequestResource) UnmarshalJSON(body []byte) error
type RestoresClient
    func NewRestoresClient(subscriptionID string) RestoresClient
    func NewRestoresClientWithBaseURI(baseURI string, subscriptionID string) RestoresClient
    func (client RestoresClient) Trigger(ctx context.Context, vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string, recoveryPointID string, resourceRestoreRequest RestoreRequestResource) (result autorest.Response, err error)
    func (client RestoresClient) TriggerPreparer(ctx context.Context, vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string, recoveryPointID string, resourceRestoreRequest RestoreRequestResource) (*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
    func PossibleRetentionDurationTypeValues() []RetentionDurationType
type RetentionPolicy
    func (rp RetentionPolicy) AsBasicRetentionPolicy() (BasicRetentionPolicy, bool)
    func (rp RetentionPolicy) AsLongTermRetentionPolicy() (*LongTermRetentionPolicy, bool)
    func (rp RetentionPolicy) AsRetentionPolicy() (*RetentionPolicy, bool)
    func (rp RetentionPolicy) AsSimpleRetentionPolicy() (*SimpleRetentionPolicy, bool)
    func (rp RetentionPolicy) MarshalJSON() ([]byte, error)
type RetentionPolicyType
    func PossibleRetentionPolicyTypeValues() []RetentionPolicyType
type RetentionScheduleFormat
    func PossibleRetentionScheduleFormatValues() []RetentionScheduleFormat
type SchedulePolicy
    func (sp SchedulePolicy) AsBasicSchedulePolicy() (BasicSchedulePolicy, bool)
    func (sp SchedulePolicy) AsLongTermSchedulePolicy() (*LongTermSchedulePolicy, bool)
    func (sp SchedulePolicy) AsSchedulePolicy() (*SchedulePolicy, bool)
    func (sp SchedulePolicy) AsSimpleSchedulePolicy() (*SimpleSchedulePolicy, bool)
    func (sp SchedulePolicy) MarshalJSON() ([]byte, error)
type SchedulePolicyType
    func PossibleSchedulePolicyTypeValues() []SchedulePolicyType
type ScheduleRunType
    func PossibleScheduleRunTypeValues() []ScheduleRunType
type SimpleRetentionPolicy
    func (srp SimpleRetentionPolicy) AsBasicRetentionPolicy() (BasicRetentionPolicy, bool)
    func (srp SimpleRetentionPolicy) AsLongTermRetentionPolicy() (*LongTermRetentionPolicy, bool)
    func (srp SimpleRetentionPolicy) AsRetentionPolicy() (*RetentionPolicy, bool)
    func (srp SimpleRetentionPolicy) AsSimpleRetentionPolicy() (*SimpleRetentionPolicy, bool)
    func (srp SimpleRetentionPolicy) MarshalJSON() ([]byte, error)
type SimpleSchedulePolicy
    func (ssp SimpleSchedulePolicy) AsBasicSchedulePolicy() (BasicSchedulePolicy, bool)
    func (ssp SimpleSchedulePolicy) AsLongTermSchedulePolicy() (*LongTermSchedulePolicy, bool)
    func (ssp SimpleSchedulePolicy) AsSchedulePolicy() (*SchedulePolicy, bool)
    func (ssp SimpleSchedulePolicy) AsSimpleSchedulePolicy() (*SimpleSchedulePolicy, bool)
    func (ssp SimpleSchedulePolicy) MarshalJSON() ([]byte, error)
type WeekOfMonth
    func PossibleWeekOfMonthValues() []WeekOfMonth
type WeeklyRetentionFormat
type WeeklyRetentionSchedule
type WorkloadProtectableItem
    func (wpi WorkloadProtectableItem) AsAzureIaaSClassicComputeVMProtectableItem() (*AzureIaaSClassicComputeVMProtectableItem, bool)
    func (wpi WorkloadProtectableItem) AsAzureIaaSComputeVMProtectableItem() (*AzureIaaSComputeVMProtectableItem, bool)
    func (wpi WorkloadProtectableItem) AsBasicIaaSVMProtectableItem() (BasicIaaSVMProtectableItem, bool)
    func (wpi WorkloadProtectableItem) AsBasicWorkloadProtectableItem() (BasicWorkloadProtectableItem, bool)
    func (wpi WorkloadProtectableItem) AsIaaSVMProtectableItem() (*IaaSVMProtectableItem, bool)
    func (wpi WorkloadProtectableItem) AsWorkloadProtectableItem() (*WorkloadProtectableItem, bool)
    func (wpi WorkloadProtectableItem) MarshalJSON() ([]byte, error)
type WorkloadProtectableItemResource
    func (wpir WorkloadProtectableItemResource) MarshalJSON() ([]byte, error)
    func (wpir *WorkloadProtectableItemResource) UnmarshalJSON(body []byte) error
type WorkloadProtectableItemResourceList
    func (wpirl WorkloadProtectableItemResourceList) IsEmpty() bool
type WorkloadProtectableItemResourceListIterator
    func NewWorkloadProtectableItemResourceListIterator(page WorkloadProtectableItemResourceListPage) WorkloadProtectableItemResourceListIterator
    func (iter *WorkloadProtectableItemResourceListIterator) Next() error
    func (iter *WorkloadProtectableItemResourceListIterator) NextWithContext(ctx context.Context) (err error)
    func (iter WorkloadProtectableItemResourceListIterator) NotDone() bool
    func (iter WorkloadProtectableItemResourceListIterator) Response() WorkloadProtectableItemResourceList
    func (iter WorkloadProtectableItemResourceListIterator) Value() WorkloadProtectableItemResource
type WorkloadProtectableItemResourceListPage
    func NewWorkloadProtectableItemResourceListPage(cur WorkloadProtectableItemResourceList, getNextPage func(context.Context, WorkloadProtectableItemResourceList) (WorkloadProtectableItemResourceList, error)) WorkloadProtectableItemResourceListPage
    func (page *WorkloadProtectableItemResourceListPage) Next() error
    func (page *WorkloadProtectableItemResourceListPage) NextWithContext(ctx context.Context) (err error)
    func (page WorkloadProtectableItemResourceListPage) NotDone() bool
    func (page WorkloadProtectableItemResourceListPage) Response() WorkloadProtectableItemResourceList
    func (page WorkloadProtectableItemResourceListPage) Values() []WorkloadProtectableItemResource
type WorkloadType
    func PossibleWorkloadTypeValues() []WorkloadType
type YearlyRetentionSchedule

Package files

backups.go client.go engines.go enums.go exportjobsoperationresults.go itemlevelrecoveryconnections.go jobcancellations.go jobdetails.go joboperationresults.go jobs.go models.go operationresults.go operationstatuses.go protectableitems.go protecteditemoperationresults.go protecteditemoperationstatuses.go protecteditems.go protectioncontaineroperationresults.go protectioncontainerrefreshoperationresults.go protectioncontainers.go protectionpolicies.go protectionpolicyoperationresults.go protectionpolicyoperationstatuses.go recoverypoints.go restores.go version.go

Constants

const (
    // DefaultBaseURI is the default URI used for the service Backup
    DefaultBaseURI = "https://management.azure.com"
)

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.

type AzureBackupServerEngine

AzureBackupServerEngine the backup engine type when Azure Backup Server is used to manage the backups.

type AzureBackupServerEngine struct {
    // FriendlyName - The friendly name of the backup engine.
    FriendlyName *string `json:"friendlyName,omitempty"`
    // BackupManagementType - The type of backup management associated with the backup engine. Possible values include: 'ManagementTypeInvalid', 'ManagementTypeAzureIaasVM', 'ManagementTypeMAB', 'ManagementTypeDPM', 'ManagementTypeAzureBackupServer', 'ManagementTypeAzureSQL'
    BackupManagementType ManagementType `json:"backupManagementType,omitempty"`
    // RegistrationStatus - The status of the backup engine registration with the Recovery Services vault.
    RegistrationStatus *string `json:"registrationStatus,omitempty"`
    // HealthStatus - The backup status of the backup engine.
    HealthStatus *string `json:"healthStatus,omitempty"`
    // CanReRegister - The flag indicating whether the backup engine be registered again, once the engine has been initially registered.
    CanReRegister *bool `json:"canReRegister,omitempty"`
    // BackupEngineID - The ID of the backup engine.
    BackupEngineID *string `json:"backupEngineId,omitempty"`
    // BackupEngineType - Possible values include: 'BackupEngineTypeBackupEngineBase', 'BackupEngineTypeAzureBackupServerEngine', 'BackupEngineTypeDpmBackupEngine'
    BackupEngineType EngineType `json:"backupEngineType,omitempty"`
}

func (AzureBackupServerEngine) AsAzureBackupServerEngine

func (abse AzureBackupServerEngine) AsAzureBackupServerEngine() (*AzureBackupServerEngine, bool)

AsAzureBackupServerEngine is the BasicEngineBase implementation for AzureBackupServerEngine.

func (AzureBackupServerEngine) AsBasicEngineBase

func (abse AzureBackupServerEngine) AsBasicEngineBase() (BasicEngineBase, bool)

AsBasicEngineBase is the BasicEngineBase implementation for AzureBackupServerEngine.

func (AzureBackupServerEngine) AsDpmBackupEngine

func (abse AzureBackupServerEngine) AsDpmBackupEngine() (*DpmBackupEngine, bool)

AsDpmBackupEngine is the BasicEngineBase implementation for AzureBackupServerEngine.

func (AzureBackupServerEngine) AsEngineBase

func (abse AzureBackupServerEngine) AsEngineBase() (*EngineBase, bool)

AsEngineBase is the BasicEngineBase implementation for AzureBackupServerEngine.

func (AzureBackupServerEngine) MarshalJSON

func (abse AzureBackupServerEngine) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureBackupServerEngine.

type AzureIaaSClassicComputeVMContainer

AzureIaaSClassicComputeVMContainer iaaS VM workload-specific backup item representing a classic-deployed virtual machine.

type AzureIaaSClassicComputeVMContainer struct {
    // VirtualMachineID - The fully qualified Resource Manager URL of the virtual machine represented by this Azure IaaS VM container.
    VirtualMachineID *string `json:"virtualMachineId,omitempty"`
    // VirtualMachineVersion - Specifies whether the container represents a classic or a Resource Manager-deployed virtual machine.
    VirtualMachineVersion *string `json:"virtualMachineVersion,omitempty"`
    // ResourceGroup - The resource group name associated with the Recovery Services vault.
    ResourceGroup *string `json:"resourceGroup,omitempty"`
    // FriendlyName - Friendly name of the container.
    FriendlyName *string `json:"friendlyName,omitempty"`
    // BackupManagementType - The backup management type for the container. Possible values include: 'ManagementTypeInvalid', 'ManagementTypeAzureIaasVM', 'ManagementTypeMAB', 'ManagementTypeDPM', 'ManagementTypeAzureBackupServer', 'ManagementTypeAzureSQL'
    BackupManagementType ManagementType `json:"backupManagementType,omitempty"`
    // RegistrationStatus - The container's registration status with the Recovery Services vault.
    RegistrationStatus *string `json:"registrationStatus,omitempty"`
    // HealthStatus - The status of the container's health.
    HealthStatus *string `json:"healthStatus,omitempty"`
    // ContainerType - READ-ONLY; The type assigned to the container. The values to use for each of these properties are:<br/> 1. Compute Azure VM is Microsoft.Compute/virtualMachines<br/> 2. Classic Compute Azure VM is Microsoft.ClassicCompute/virtualMachines<br/> 3. Windows machines (like Azure Backup Server and DPM) is Windows<br/> 4. Azure SQL instance is AzureSqlContainer.
    ContainerType *string `json:"containerType,omitempty"`
    // ProtectableObjectType - Possible values include: 'ProtectableObjectTypeProtectionContainer', 'ProtectableObjectTypeAzureSQLContainer', 'ProtectableObjectTypeIaaSVMContainer', 'ProtectableObjectTypeMABWindowsContainer', 'ProtectableObjectTypeMicrosoftComputevirtualMachines', 'ProtectableObjectTypeMicrosoftClassicComputevirtualMachines'
    ProtectableObjectType ProtectableObjectType `json:"protectableObjectType,omitempty"`
}

func (AzureIaaSClassicComputeVMContainer) AsAzureIaaSClassicComputeVMContainer

func (aisccvc AzureIaaSClassicComputeVMContainer) AsAzureIaaSClassicComputeVMContainer() (*AzureIaaSClassicComputeVMContainer, bool)

AsAzureIaaSClassicComputeVMContainer is the BasicProtectionContainer implementation for AzureIaaSClassicComputeVMContainer.

func (AzureIaaSClassicComputeVMContainer) AsAzureIaaSComputeVMContainer

func (aisccvc AzureIaaSClassicComputeVMContainer) AsAzureIaaSComputeVMContainer() (*AzureIaaSComputeVMContainer, bool)

AsAzureIaaSComputeVMContainer is the BasicProtectionContainer implementation for AzureIaaSClassicComputeVMContainer.

func (AzureIaaSClassicComputeVMContainer) AsAzureSQLContainer

func (aisccvc AzureIaaSClassicComputeVMContainer) AsAzureSQLContainer() (*AzureSQLContainer, bool)

AsAzureSQLContainer is the BasicProtectionContainer implementation for AzureIaaSClassicComputeVMContainer.

func (AzureIaaSClassicComputeVMContainer) AsBasicIaaSVMContainer

func (aisccvc AzureIaaSClassicComputeVMContainer) AsBasicIaaSVMContainer() (BasicIaaSVMContainer, bool)

AsBasicIaaSVMContainer is the BasicProtectionContainer implementation for AzureIaaSClassicComputeVMContainer.

func (AzureIaaSClassicComputeVMContainer) AsBasicProtectionContainer

func (aisccvc AzureIaaSClassicComputeVMContainer) AsBasicProtectionContainer() (BasicProtectionContainer, bool)

AsBasicProtectionContainer is the BasicProtectionContainer implementation for AzureIaaSClassicComputeVMContainer.

func (AzureIaaSClassicComputeVMContainer) AsIaaSVMContainer

func (aisccvc AzureIaaSClassicComputeVMContainer) AsIaaSVMContainer() (*IaaSVMContainer, bool)

AsIaaSVMContainer is the BasicProtectionContainer implementation for AzureIaaSClassicComputeVMContainer.

func (AzureIaaSClassicComputeVMContainer) AsMabContainer

func (aisccvc AzureIaaSClassicComputeVMContainer) AsMabContainer() (*MabContainer, bool)

AsMabContainer is the BasicProtectionContainer implementation for AzureIaaSClassicComputeVMContainer.

func (AzureIaaSClassicComputeVMContainer) AsProtectionContainer

func (aisccvc AzureIaaSClassicComputeVMContainer) AsProtectionContainer() (*ProtectionContainer, bool)

AsProtectionContainer is the BasicProtectionContainer implementation for AzureIaaSClassicComputeVMContainer.

func (AzureIaaSClassicComputeVMContainer) MarshalJSON

func (aisccvc AzureIaaSClassicComputeVMContainer) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureIaaSClassicComputeVMContainer.

type AzureIaaSClassicComputeVMProtectableItem

AzureIaaSClassicComputeVMProtectableItem iaaS VM workload-specific backup item representing a classic VM.

type AzureIaaSClassicComputeVMProtectableItem struct {
    // VirtualMachineID - The fully qualified Resource Manager ID of the virtual machine.
    VirtualMachineID *string `json:"virtualMachineId,omitempty"`
    // BackupManagementType - The backup management type.
    BackupManagementType *string `json:"backupManagementType,omitempty"`
    // FriendlyName - The friendly name of the backup item.
    FriendlyName *string `json:"friendlyName,omitempty"`
    // ProtectionState - The state of the back up item. Possible values include: 'ProtectionStatusInvalid', 'ProtectionStatusNotProtected', 'ProtectionStatusProtecting', 'ProtectionStatusProtected'
    ProtectionState ProtectionStatus `json:"protectionState,omitempty"`
    // ProtectableItemType - Possible values include: 'ProtectableItemTypeWorkloadProtectableItem', 'ProtectableItemTypeIaaSVMProtectableItem', 'ProtectableItemTypeMicrosoftComputevirtualMachines', 'ProtectableItemTypeMicrosoftClassicComputevirtualMachines'
    ProtectableItemType ProtectableItemType `json:"protectableItemType,omitempty"`
}

func (AzureIaaSClassicComputeVMProtectableItem) AsAzureIaaSClassicComputeVMProtectableItem

func (aisccvpi AzureIaaSClassicComputeVMProtectableItem) AsAzureIaaSClassicComputeVMProtectableItem() (*AzureIaaSClassicComputeVMProtectableItem, bool)

AsAzureIaaSClassicComputeVMProtectableItem is the BasicWorkloadProtectableItem implementation for AzureIaaSClassicComputeVMProtectableItem.

func (AzureIaaSClassicComputeVMProtectableItem) AsAzureIaaSComputeVMProtectableItem

func (aisccvpi AzureIaaSClassicComputeVMProtectableItem) AsAzureIaaSComputeVMProtectableItem() (*AzureIaaSComputeVMProtectableItem, bool)

AsAzureIaaSComputeVMProtectableItem is the BasicWorkloadProtectableItem implementation for AzureIaaSClassicComputeVMProtectableItem.

func (AzureIaaSClassicComputeVMProtectableItem) AsBasicIaaSVMProtectableItem

func (aisccvpi AzureIaaSClassicComputeVMProtectableItem) AsBasicIaaSVMProtectableItem() (BasicIaaSVMProtectableItem, bool)

AsBasicIaaSVMProtectableItem is the BasicWorkloadProtectableItem implementation for AzureIaaSClassicComputeVMProtectableItem.

func (AzureIaaSClassicComputeVMProtectableItem) AsBasicWorkloadProtectableItem

func (aisccvpi AzureIaaSClassicComputeVMProtectableItem) AsBasicWorkloadProtectableItem() (BasicWorkloadProtectableItem, bool)

AsBasicWorkloadProtectableItem is the BasicWorkloadProtectableItem implementation for AzureIaaSClassicComputeVMProtectableItem.

func (AzureIaaSClassicComputeVMProtectableItem) AsIaaSVMProtectableItem

func (aisccvpi AzureIaaSClassicComputeVMProtectableItem) AsIaaSVMProtectableItem() (*IaaSVMProtectableItem, bool)

AsIaaSVMProtectableItem is the BasicWorkloadProtectableItem implementation for AzureIaaSClassicComputeVMProtectableItem.

func (AzureIaaSClassicComputeVMProtectableItem) AsWorkloadProtectableItem

func (aisccvpi AzureIaaSClassicComputeVMProtectableItem) AsWorkloadProtectableItem() (*WorkloadProtectableItem, bool)

AsWorkloadProtectableItem is the BasicWorkloadProtectableItem implementation for AzureIaaSClassicComputeVMProtectableItem.

func (AzureIaaSClassicComputeVMProtectableItem) MarshalJSON

func (aisccvpi AzureIaaSClassicComputeVMProtectableItem) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureIaaSClassicComputeVMProtectableItem.

type AzureIaaSClassicComputeVMProtectedItem

AzureIaaSClassicComputeVMProtectedItem iaaS VM workload-specific backup item representing the classic VM.

type AzureIaaSClassicComputeVMProtectedItem struct {
    // FriendlyName - The friendly name of the VM represented by this backup item.
    FriendlyName *string `json:"friendlyName,omitempty"`
    // VirtualMachineID - The fully qualified Resource Manager ID of the virtual machine represented by this item.
    VirtualMachineID *string `json:"virtualMachineId,omitempty"`
    // ProtectionStatus - The backup status of this backup item.
    ProtectionStatus *string `json:"protectionStatus,omitempty"`
    // ProtectionState - The backup state of this backup item. Possible values include: 'ProtectionStateInvalid', 'ProtectionStateIRPending', 'ProtectionStateProtected', 'ProtectionStateProtectionError', 'ProtectionStateProtectionStopped', 'ProtectionStateProtectionPaused'
    ProtectionState ProtectionState `json:"protectionState,omitempty"`
    // LastBackupStatus - The last backup operation status. The possible values are: Healthy or Unhealthy.
    LastBackupStatus *string `json:"lastBackupStatus,omitempty"`
    // LastBackupTime - The timestamp of the last backup operation for this backup item.
    LastBackupTime *date.Time `json:"lastBackupTime,omitempty"`
    // ExtendedInfo - Additional information for this backup item.
    ExtendedInfo *AzureIaaSVMProtectedItemExtendedInfo `json:"extendedInfo,omitempty"`
    // BackupManagementType - The backup management type associated with the backup item. Possible values include: 'ManagementTypeInvalid', 'ManagementTypeAzureIaasVM', 'ManagementTypeMAB', 'ManagementTypeDPM', 'ManagementTypeAzureBackupServer', 'ManagementTypeAzureSQL'
    BackupManagementType ManagementType `json:"backupManagementType,omitempty"`
    // WorkloadType - The workload type for this item. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSQLDb', 'SQLDB', 'Exchange', 'Sharepoint', 'DPMUnknown'
    WorkloadType DataSourceType `json:"workloadType,omitempty"`
    // SourceResourceID - The ID of the resource to be backed up.
    SourceResourceID *string `json:"sourceResourceId,omitempty"`
    // PolicyID - The ID of the backup policy associated with this backup item.
    PolicyID *string `json:"policyId,omitempty"`
    // LastRecoveryPoint - The timestamp when the most recent backup copy was created for this backup item.
    LastRecoveryPoint *date.Time `json:"lastRecoveryPoint,omitempty"`
    // ProtectedItemType - Possible values include: 'ProtectedItemTypeProtectedItem', 'ProtectedItemTypeAzureIaaSVMProtectedItem', 'ProtectedItemTypeMabFileFolderProtectedItem', 'ProtectedItemTypeMicrosoftSqlserversdatabases', 'ProtectedItemTypeMicrosoftComputevirtualMachines', 'ProtectedItemTypeMicrosoftClassicComputevirtualMachines'
    ProtectedItemType ProtectedItemType `json:"protectedItemType,omitempty"`
}

func (AzureIaaSClassicComputeVMProtectedItem) AsAzureIaaSClassicComputeVMProtectedItem

func (aisccvpi AzureIaaSClassicComputeVMProtectedItem) AsAzureIaaSClassicComputeVMProtectedItem() (*AzureIaaSClassicComputeVMProtectedItem, bool)

AsAzureIaaSClassicComputeVMProtectedItem is the BasicProtectedItem implementation for AzureIaaSClassicComputeVMProtectedItem.

func (AzureIaaSClassicComputeVMProtectedItem) AsAzureIaaSComputeVMProtectedItem

func (aisccvpi AzureIaaSClassicComputeVMProtectedItem) AsAzureIaaSComputeVMProtectedItem() (*AzureIaaSComputeVMProtectedItem, bool)

AsAzureIaaSComputeVMProtectedItem is the BasicProtectedItem implementation for AzureIaaSClassicComputeVMProtectedItem.

func (AzureIaaSClassicComputeVMProtectedItem) AsAzureIaaSVMProtectedItem

func (aisccvpi AzureIaaSClassicComputeVMProtectedItem) AsAzureIaaSVMProtectedItem() (*AzureIaaSVMProtectedItem, bool)

AsAzureIaaSVMProtectedItem is the BasicProtectedItem implementation for AzureIaaSClassicComputeVMProtectedItem.

func (AzureIaaSClassicComputeVMProtectedItem) AsAzureSQLProtectedItem

func (aisccvpi AzureIaaSClassicComputeVMProtectedItem) AsAzureSQLProtectedItem() (*AzureSQLProtectedItem, bool)

AsAzureSQLProtectedItem is the BasicProtectedItem implementation for AzureIaaSClassicComputeVMProtectedItem.

func (AzureIaaSClassicComputeVMProtectedItem) AsBasicAzureIaaSVMProtectedItem

func (aisccvpi AzureIaaSClassicComputeVMProtectedItem) AsBasicAzureIaaSVMProtectedItem() (BasicAzureIaaSVMProtectedItem, bool)

AsBasicAzureIaaSVMProtectedItem is the BasicProtectedItem implementation for AzureIaaSClassicComputeVMProtectedItem.

func (AzureIaaSClassicComputeVMProtectedItem) AsBasicProtectedItem

func (aisccvpi AzureIaaSClassicComputeVMProtectedItem) AsBasicProtectedItem() (BasicProtectedItem, bool)

AsBasicProtectedItem is the BasicProtectedItem implementation for AzureIaaSClassicComputeVMProtectedItem.

func (AzureIaaSClassicComputeVMProtectedItem) AsMabFileFolderProtectedItem

func (aisccvpi AzureIaaSClassicComputeVMProtectedItem) AsMabFileFolderProtectedItem() (*MabFileFolderProtectedItem, bool)

AsMabFileFolderProtectedItem is the BasicProtectedItem implementation for AzureIaaSClassicComputeVMProtectedItem.

func (AzureIaaSClassicComputeVMProtectedItem) AsProtectedItem

func (aisccvpi AzureIaaSClassicComputeVMProtectedItem) AsProtectedItem() (*ProtectedItem, bool)

AsProtectedItem is the BasicProtectedItem implementation for AzureIaaSClassicComputeVMProtectedItem.

func (AzureIaaSClassicComputeVMProtectedItem) MarshalJSON

func (aisccvpi AzureIaaSClassicComputeVMProtectedItem) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureIaaSClassicComputeVMProtectedItem.

type AzureIaaSComputeVMContainer

AzureIaaSComputeVMContainer iaaS VM workload-specific backup item representing a Resource Manager-deployed virtual machine.

type AzureIaaSComputeVMContainer struct {
    // VirtualMachineID - The fully qualified Resource Manager URL of the virtual machine represented by this Azure IaaS VM container.
    VirtualMachineID *string `json:"virtualMachineId,omitempty"`
    // VirtualMachineVersion - Specifies whether the container represents a classic or a Resource Manager-deployed virtual machine.
    VirtualMachineVersion *string `json:"virtualMachineVersion,omitempty"`
    // ResourceGroup - The resource group name associated with the Recovery Services vault.
    ResourceGroup *string `json:"resourceGroup,omitempty"`
    // FriendlyName - Friendly name of the container.
    FriendlyName *string `json:"friendlyName,omitempty"`
    // BackupManagementType - The backup management type for the container. Possible values include: 'ManagementTypeInvalid', 'ManagementTypeAzureIaasVM', 'ManagementTypeMAB', 'ManagementTypeDPM', 'ManagementTypeAzureBackupServer', 'ManagementTypeAzureSQL'
    BackupManagementType ManagementType `json:"backupManagementType,omitempty"`
    // RegistrationStatus - The container's registration status with the Recovery Services vault.
    RegistrationStatus *string `json:"registrationStatus,omitempty"`
    // HealthStatus - The status of the container's health.
    HealthStatus *string `json:"healthStatus,omitempty"`
    // ContainerType - READ-ONLY; The type assigned to the container. The values to use for each of these properties are:<br/> 1. Compute Azure VM is Microsoft.Compute/virtualMachines<br/> 2. Classic Compute Azure VM is Microsoft.ClassicCompute/virtualMachines<br/> 3. Windows machines (like Azure Backup Server and DPM) is Windows<br/> 4. Azure SQL instance is AzureSqlContainer.
    ContainerType *string `json:"containerType,omitempty"`
    // ProtectableObjectType - Possible values include: 'ProtectableObjectTypeProtectionContainer', 'ProtectableObjectTypeAzureSQLContainer', 'ProtectableObjectTypeIaaSVMContainer', 'ProtectableObjectTypeMABWindowsContainer', 'ProtectableObjectTypeMicrosoftComputevirtualMachines', 'ProtectableObjectTypeMicrosoftClassicComputevirtualMachines'
    ProtectableObjectType ProtectableObjectType `json:"protectableObjectType,omitempty"`
}

func (AzureIaaSComputeVMContainer) AsAzureIaaSClassicComputeVMContainer

func (aiscvc AzureIaaSComputeVMContainer) AsAzureIaaSClassicComputeVMContainer() (*AzureIaaSClassicComputeVMContainer, bool)

AsAzureIaaSClassicComputeVMContainer is the BasicProtectionContainer implementation for AzureIaaSComputeVMContainer.

func (AzureIaaSComputeVMContainer) AsAzureIaaSComputeVMContainer

func (aiscvc AzureIaaSComputeVMContainer) AsAzureIaaSComputeVMContainer() (*AzureIaaSComputeVMContainer, bool)

AsAzureIaaSComputeVMContainer is the BasicProtectionContainer implementation for AzureIaaSComputeVMContainer.

func (AzureIaaSComputeVMContainer) AsAzureSQLContainer

func (aiscvc AzureIaaSComputeVMContainer) AsAzureSQLContainer() (*AzureSQLContainer, bool)

AsAzureSQLContainer is the BasicProtectionContainer implementation for AzureIaaSComputeVMContainer.

func (AzureIaaSComputeVMContainer) AsBasicIaaSVMContainer

func (aiscvc AzureIaaSComputeVMContainer) AsBasicIaaSVMContainer() (BasicIaaSVMContainer, bool)

AsBasicIaaSVMContainer is the BasicProtectionContainer implementation for AzureIaaSComputeVMContainer.

func (AzureIaaSComputeVMContainer) AsBasicProtectionContainer

func (aiscvc AzureIaaSComputeVMContainer) AsBasicProtectionContainer() (BasicProtectionContainer, bool)

AsBasicProtectionContainer is the BasicProtectionContainer implementation for AzureIaaSComputeVMContainer.

func (AzureIaaSComputeVMContainer) AsIaaSVMContainer

func (aiscvc AzureIaaSComputeVMContainer) AsIaaSVMContainer() (*IaaSVMContainer, bool)

AsIaaSVMContainer is the BasicProtectionContainer implementation for AzureIaaSComputeVMContainer.

func (AzureIaaSComputeVMContainer) AsMabContainer

func (aiscvc AzureIaaSComputeVMContainer) AsMabContainer() (*MabContainer, bool)

AsMabContainer is the BasicProtectionContainer implementation for AzureIaaSComputeVMContainer.

func (AzureIaaSComputeVMContainer) AsProtectionContainer

func (aiscvc AzureIaaSComputeVMContainer) AsProtectionContainer() (*ProtectionContainer, bool)

AsProtectionContainer is the BasicProtectionContainer implementation for AzureIaaSComputeVMContainer.

func (AzureIaaSComputeVMContainer) MarshalJSON

func (aiscvc AzureIaaSComputeVMContainer) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureIaaSComputeVMContainer.

type AzureIaaSComputeVMProtectableItem

AzureIaaSComputeVMProtectableItem iaaS VM workload-specific backup item representing a Resource Manager VM.

type AzureIaaSComputeVMProtectableItem struct {
    // VirtualMachineID - The fully qualified Resource Manager ID of the virtual machine.
    VirtualMachineID *string `json:"virtualMachineId,omitempty"`
    // BackupManagementType - The backup management type.
    BackupManagementType *string `json:"backupManagementType,omitempty"`
    // FriendlyName - The friendly name of the backup item.
    FriendlyName *string `json:"friendlyName,omitempty"`
    // ProtectionState - The state of the back up item. Possible values include: 'ProtectionStatusInvalid', 'ProtectionStatusNotProtected', 'ProtectionStatusProtecting', 'ProtectionStatusProtected'
    ProtectionState ProtectionStatus `json:"protectionState,omitempty"`
    // ProtectableItemType - Possible values include: 'ProtectableItemTypeWorkloadProtectableItem', 'ProtectableItemTypeIaaSVMProtectableItem', 'ProtectableItemTypeMicrosoftComputevirtualMachines', 'ProtectableItemTypeMicrosoftClassicComputevirtualMachines'
    ProtectableItemType ProtectableItemType `json:"protectableItemType,omitempty"`
}

func (AzureIaaSComputeVMProtectableItem) AsAzureIaaSClassicComputeVMProtectableItem

func (aiscvpi AzureIaaSComputeVMProtectableItem) AsAzureIaaSClassicComputeVMProtectableItem() (*AzureIaaSClassicComputeVMProtectableItem, bool)

AsAzureIaaSClassicComputeVMProtectableItem is the BasicWorkloadProtectableItem implementation for AzureIaaSComputeVMProtectableItem.

func (AzureIaaSComputeVMProtectableItem) AsAzureIaaSComputeVMProtectableItem

func (aiscvpi AzureIaaSComputeVMProtectableItem) AsAzureIaaSComputeVMProtectableItem() (*AzureIaaSComputeVMProtectableItem, bool)

AsAzureIaaSComputeVMProtectableItem is the BasicWorkloadProtectableItem implementation for AzureIaaSComputeVMProtectableItem.

func (AzureIaaSComputeVMProtectableItem) AsBasicIaaSVMProtectableItem

func (aiscvpi AzureIaaSComputeVMProtectableItem) AsBasicIaaSVMProtectableItem() (BasicIaaSVMProtectableItem, bool)

AsBasicIaaSVMProtectableItem is the BasicWorkloadProtectableItem implementation for AzureIaaSComputeVMProtectableItem.

func (AzureIaaSComputeVMProtectableItem) AsBasicWorkloadProtectableItem

func (aiscvpi AzureIaaSComputeVMProtectableItem) AsBasicWorkloadProtectableItem() (BasicWorkloadProtectableItem, bool)

AsBasicWorkloadProtectableItem is the BasicWorkloadProtectableItem implementation for AzureIaaSComputeVMProtectableItem.

func (AzureIaaSComputeVMProtectableItem) AsIaaSVMProtectableItem

func (aiscvpi AzureIaaSComputeVMProtectableItem) AsIaaSVMProtectableItem() (*IaaSVMProtectableItem, bool)

AsIaaSVMProtectableItem is the BasicWorkloadProtectableItem implementation for AzureIaaSComputeVMProtectableItem.

func (AzureIaaSComputeVMProtectableItem) AsWorkloadProtectableItem

func (aiscvpi AzureIaaSComputeVMProtectableItem) AsWorkloadProtectableItem() (*WorkloadProtectableItem, bool)

AsWorkloadProtectableItem is the BasicWorkloadProtectableItem implementation for AzureIaaSComputeVMProtectableItem.

func (AzureIaaSComputeVMProtectableItem) MarshalJSON

func (aiscvpi AzureIaaSComputeVMProtectableItem) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureIaaSComputeVMProtectableItem.

type AzureIaaSComputeVMProtectedItem

AzureIaaSComputeVMProtectedItem iaaS VM workload-specific backup item representing the Resource Manager VM.

type AzureIaaSComputeVMProtectedItem struct {
    // FriendlyName - The friendly name of the VM represented by this backup item.
    FriendlyName *string `json:"friendlyName,omitempty"`
    // VirtualMachineID - The fully qualified Resource Manager ID of the virtual machine represented by this item.
    VirtualMachineID *string `json:"virtualMachineId,omitempty"`
    // ProtectionStatus - The backup status of this backup item.
    ProtectionStatus *string `json:"protectionStatus,omitempty"`
    // ProtectionState - The backup state of this backup item. Possible values include: 'ProtectionStateInvalid', 'ProtectionStateIRPending', 'ProtectionStateProtected', 'ProtectionStateProtectionError', 'ProtectionStateProtectionStopped', 'ProtectionStateProtectionPaused'
    ProtectionState ProtectionState `json:"protectionState,omitempty"`
    // LastBackupStatus - The last backup operation status. The possible values are: Healthy or Unhealthy.
    LastBackupStatus *string `json:"lastBackupStatus,omitempty"`
    // LastBackupTime - The timestamp of the last backup operation for this backup item.
    LastBackupTime *date.Time `json:"lastBackupTime,omitempty"`
    // ExtendedInfo - Additional information for this backup item.
    ExtendedInfo *AzureIaaSVMProtectedItemExtendedInfo `json:"extendedInfo,omitempty"`
    // BackupManagementType - The backup management type associated with the backup item. Possible values include: 'ManagementTypeInvalid', 'ManagementTypeAzureIaasVM', 'ManagementTypeMAB', 'ManagementTypeDPM', 'ManagementTypeAzureBackupServer', 'ManagementTypeAzureSQL'
    BackupManagementType ManagementType `json:"backupManagementType,omitempty"`
    // WorkloadType - The workload type for this item. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSQLDb', 'SQLDB', 'Exchange', 'Sharepoint', 'DPMUnknown'
    WorkloadType DataSourceType `json:"workloadType,omitempty"`
    // SourceResourceID - The ID of the resource to be backed up.
    SourceResourceID *string `json:"sourceResourceId,omitempty"`
    // PolicyID - The ID of the backup policy associated with this backup item.
    PolicyID *string `json:"policyId,omitempty"`
    // LastRecoveryPoint - The timestamp when the most recent backup copy was created for this backup item.
    LastRecoveryPoint *date.Time `json:"lastRecoveryPoint,omitempty"`
    // ProtectedItemType - Possible values include: 'ProtectedItemTypeProtectedItem', 'ProtectedItemTypeAzureIaaSVMProtectedItem', 'ProtectedItemTypeMabFileFolderProtectedItem', 'ProtectedItemTypeMicrosoftSqlserversdatabases', 'ProtectedItemTypeMicrosoftComputevirtualMachines', 'ProtectedItemTypeMicrosoftClassicComputevirtualMachines'
    ProtectedItemType ProtectedItemType `json:"protectedItemType,omitempty"`
}

func (AzureIaaSComputeVMProtectedItem) AsAzureIaaSClassicComputeVMProtectedItem

func (aiscvpi AzureIaaSComputeVMProtectedItem) AsAzureIaaSClassicComputeVMProtectedItem() (*AzureIaaSClassicComputeVMProtectedItem, bool)

AsAzureIaaSClassicComputeVMProtectedItem is the BasicProtectedItem implementation for AzureIaaSComputeVMProtectedItem.

func (AzureIaaSComputeVMProtectedItem) AsAzureIaaSComputeVMProtectedItem

func (aiscvpi AzureIaaSComputeVMProtectedItem) AsAzureIaaSComputeVMProtectedItem() (*AzureIaaSComputeVMProtectedItem, bool)

AsAzureIaaSComputeVMProtectedItem is the BasicProtectedItem implementation for AzureIaaSComputeVMProtectedItem.

func (AzureIaaSComputeVMProtectedItem) AsAzureIaaSVMProtectedItem

func (aiscvpi AzureIaaSComputeVMProtectedItem) AsAzureIaaSVMProtectedItem() (*AzureIaaSVMProtectedItem, bool)

AsAzureIaaSVMProtectedItem is the BasicProtectedItem implementation for AzureIaaSComputeVMProtectedItem.

func (AzureIaaSComputeVMProtectedItem) AsAzureSQLProtectedItem

func (aiscvpi AzureIaaSComputeVMProtectedItem) AsAzureSQLProtectedItem() (*AzureSQLProtectedItem, bool)

AsAzureSQLProtectedItem is the BasicProtectedItem implementation for AzureIaaSComputeVMProtectedItem.

func (AzureIaaSComputeVMProtectedItem) AsBasicAzureIaaSVMProtectedItem

func (aiscvpi AzureIaaSComputeVMProtectedItem) AsBasicAzureIaaSVMProtectedItem() (BasicAzureIaaSVMProtectedItem, bool)

AsBasicAzureIaaSVMProtectedItem is the BasicProtectedItem implementation for AzureIaaSComputeVMProtectedItem.

func (AzureIaaSComputeVMProtectedItem) AsBasicProtectedItem

func (aiscvpi AzureIaaSComputeVMProtectedItem) AsBasicProtectedItem() (BasicProtectedItem, bool)

AsBasicProtectedItem is the BasicProtectedItem implementation for AzureIaaSComputeVMProtectedItem.

func (AzureIaaSComputeVMProtectedItem) AsMabFileFolderProtectedItem

func (aiscvpi AzureIaaSComputeVMProtectedItem) AsMabFileFolderProtectedItem() (*MabFileFolderProtectedItem, bool)

AsMabFileFolderProtectedItem is the BasicProtectedItem implementation for AzureIaaSComputeVMProtectedItem.

func (AzureIaaSComputeVMProtectedItem) AsProtectedItem

func (aiscvpi AzureIaaSComputeVMProtectedItem) AsProtectedItem() (*ProtectedItem, bool)

AsProtectedItem is the BasicProtectedItem implementation for AzureIaaSComputeVMProtectedItem.

func (AzureIaaSComputeVMProtectedItem) MarshalJSON

func (aiscvpi AzureIaaSComputeVMProtectedItem) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureIaaSComputeVMProtectedItem.

type AzureIaaSVMErrorInfo

AzureIaaSVMErrorInfo azure IaaS VM workload-specific error information.

type AzureIaaSVMErrorInfo struct {
    // ErrorCode - Error code.
    ErrorCode *int32 `json:"errorCode,omitempty"`
    // ErrorTitle - Title: typically, the entity associated the error.
    ErrorTitle *string `json:"errorTitle,omitempty"`
    // ErrorString - Localized error string.
    ErrorString *string `json:"errorString,omitempty"`
    // Recommendations - List of localized recommendations for the error string.
    Recommendations *[]string `json:"recommendations,omitempty"`
}

type AzureIaaSVMJob

AzureIaaSVMJob the Azure IaaS VM workload-specific job object.

type AzureIaaSVMJob struct {
    // Duration - The time that elapsed during the execution of this job.
    Duration *string `json:"duration,omitempty"`
    // ActionsInfo - Gets or sets the state, or actions, applicable on this job. Examples of the actions are: Cancel or Retry.
    ActionsInfo *[]JobSupportedAction `json:"actionsInfo,omitempty"`
    // ErrorDetails - Error details about this job.
    ErrorDetails *[]AzureIaaSVMErrorInfo `json:"errorDetails,omitempty"`
    // VirtualMachineVersion - Specifies whether the backup item is a Classic VM or a Resource Manager VM.
    VirtualMachineVersion *string `json:"virtualMachineVersion,omitempty"`
    // ExtendedInfo - Additional information for this job.
    ExtendedInfo *AzureIaaSVMJobExtendedInfo `json:"extendedInfo,omitempty"`
    // EntityFriendlyName - The friendly name of the entity on which the current job is executing.
    EntityFriendlyName *string `json:"entityFriendlyName,omitempty"`
    // BackupManagementType - The backup management type for the current job. Possible values include: 'ManagementTypeInvalid', 'ManagementTypeAzureIaasVM', 'ManagementTypeMAB', 'ManagementTypeDPM', 'ManagementTypeAzureBackupServer', 'ManagementTypeAzureSQL'
    BackupManagementType ManagementType `json:"backupManagementType,omitempty"`
    // Operation - The operation name.
    Operation *string `json:"operation,omitempty"`
    // Status - The job status.
    Status *string `json:"status,omitempty"`
    // StartTime - The start time.
    StartTime *date.Time `json:"startTime,omitempty"`
    // EndTime - The end time.
    EndTime *date.Time `json:"endTime,omitempty"`
    // ActivityID - ActivityId of job.
    ActivityID *string `json:"activityId,omitempty"`
    // JobType - Possible values include: 'JobTypeJob', 'JobTypeAzureIaaSVMJob', 'JobTypeDpmJob', 'JobTypeMabJob'
    JobType JobType `json:"jobType,omitempty"`
}

func (AzureIaaSVMJob) AsAzureIaaSVMJob

func (aisj AzureIaaSVMJob) AsAzureIaaSVMJob() (*AzureIaaSVMJob, bool)

AsAzureIaaSVMJob is the BasicJob implementation for AzureIaaSVMJob.

func (AzureIaaSVMJob) AsBasicJob

func (aisj AzureIaaSVMJob) AsBasicJob() (BasicJob, bool)

AsBasicJob is the BasicJob implementation for AzureIaaSVMJob.

func (AzureIaaSVMJob) AsDpmJob

func (aisj AzureIaaSVMJob) AsDpmJob() (*DpmJob, bool)

AsDpmJob is the BasicJob implementation for AzureIaaSVMJob.

func (AzureIaaSVMJob) AsJob

func (aisj AzureIaaSVMJob) AsJob() (*Job, bool)

AsJob is the BasicJob implementation for AzureIaaSVMJob.

func (AzureIaaSVMJob) AsMabJob

func (aisj AzureIaaSVMJob) AsMabJob() (*MabJob, bool)

AsMabJob is the BasicJob implementation for AzureIaaSVMJob.

func (AzureIaaSVMJob) MarshalJSON

func (aisj AzureIaaSVMJob) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureIaaSVMJob.

type AzureIaaSVMJobExtendedInfo

AzureIaaSVMJobExtendedInfo additional information for the Azure IaaS VM workload-specific job.

type AzureIaaSVMJobExtendedInfo struct {
    // TasksList - List of tasks associated with this job.
    TasksList *[]AzureIaaSVMJobTaskDetails `json:"tasksList,omitempty"`
    // PropertyBag - Job properties.
    PropertyBag map[string]*string `json:"propertyBag"`
    // ProgressPercentage - Indicates progress of the job. Null if it has not started or completed.
    ProgressPercentage *float64 `json:"progressPercentage,omitempty"`
    // DynamicErrorMessage - Non-localized error message for job execution.
    DynamicErrorMessage *string `json:"dynamicErrorMessage,omitempty"`
}

func (AzureIaaSVMJobExtendedInfo) MarshalJSON

func (aisjei AzureIaaSVMJobExtendedInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureIaaSVMJobExtendedInfo.

type AzureIaaSVMJobTaskDetails

AzureIaaSVMJobTaskDetails azure IaaS VM workload-specific job task details.

type AzureIaaSVMJobTaskDetails struct {
    // TaskID - The task display name.
    TaskID *string `json:"taskId,omitempty"`
    // StartTime - The start time.
    StartTime *date.Time `json:"startTime,omitempty"`
    // EndTime - The end time.
    EndTime *date.Time `json:"endTime,omitempty"`
    // InstanceID - The instance ID.
    InstanceID *string `json:"instanceId,omitempty"`
    // Duration - The time elapsed for the task.
    Duration *string `json:"duration,omitempty"`
    // Status - The status.
    Status *string `json:"status,omitempty"`
    // ProgressPercentage - The progress of the task, as a percentage.
    ProgressPercentage *float64 `json:"progressPercentage,omitempty"`
}

type AzureIaaSVMProtectedItem

AzureIaaSVMProtectedItem this Azure VM workload-specific (also known as IaaS VM workload-specific) backup item has been backed up.

type AzureIaaSVMProtectedItem struct {
    // FriendlyName - The friendly name of the VM represented by this backup item.
    FriendlyName *string `json:"friendlyName,omitempty"`
    // VirtualMachineID - The fully qualified Resource Manager ID of the virtual machine represented by this item.
    VirtualMachineID *string `json:"virtualMachineId,omitempty"`
    // ProtectionStatus - The backup status of this backup item.
    ProtectionStatus *string `json:"protectionStatus,omitempty"`
    // ProtectionState - The backup state of this backup item. Possible values include: 'ProtectionStateInvalid', 'ProtectionStateIRPending', 'ProtectionStateProtected', 'ProtectionStateProtectionError', 'ProtectionStateProtectionStopped', 'ProtectionStateProtectionPaused'
    ProtectionState ProtectionState `json:"protectionState,omitempty"`
    // LastBackupStatus - The last backup operation status. The possible values are: Healthy or Unhealthy.
    LastBackupStatus *string `json:"lastBackupStatus,omitempty"`
    // LastBackupTime - The timestamp of the last backup operation for this backup item.
    LastBackupTime *date.Time `json:"lastBackupTime,omitempty"`
    // ExtendedInfo - Additional information for this backup item.
    ExtendedInfo *AzureIaaSVMProtectedItemExtendedInfo `json:"extendedInfo,omitempty"`
    // BackupManagementType - The backup management type associated with the backup item. Possible values include: 'ManagementTypeInvalid', 'ManagementTypeAzureIaasVM', 'ManagementTypeMAB', 'ManagementTypeDPM', 'ManagementTypeAzureBackupServer', 'ManagementTypeAzureSQL'
    BackupManagementType ManagementType `json:"backupManagementType,omitempty"`
    // WorkloadType - The workload type for this item. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSQLDb', 'SQLDB', 'Exchange', 'Sharepoint', 'DPMUnknown'
    WorkloadType DataSourceType `json:"workloadType,omitempty"`
    // SourceResourceID - The ID of the resource to be backed up.
    SourceResourceID *string `json:"sourceResourceId,omitempty"`
    // PolicyID - The ID of the backup policy associated with this backup item.
    PolicyID *string `json:"policyId,omitempty"`
    // LastRecoveryPoint - The timestamp when the most recent backup copy was created for this backup item.
    LastRecoveryPoint *date.Time `json:"lastRecoveryPoint,omitempty"`
    // ProtectedItemType - Possible values include: 'ProtectedItemTypeProtectedItem', 'ProtectedItemTypeAzureIaaSVMProtectedItem', 'ProtectedItemTypeMabFileFolderProtectedItem', 'ProtectedItemTypeMicrosoftSqlserversdatabases', 'ProtectedItemTypeMicrosoftComputevirtualMachines', 'ProtectedItemTypeMicrosoftClassicComputevirtualMachines'
    ProtectedItemType ProtectedItemType `json:"protectedItemType,omitempty"`
}

func (AzureIaaSVMProtectedItem) AsAzureIaaSClassicComputeVMProtectedItem

func (aispi AzureIaaSVMProtectedItem) AsAzureIaaSClassicComputeVMProtectedItem() (*AzureIaaSClassicComputeVMProtectedItem, bool)

AsAzureIaaSClassicComputeVMProtectedItem is the BasicProtectedItem implementation for AzureIaaSVMProtectedItem.

func (AzureIaaSVMProtectedItem) AsAzureIaaSComputeVMProtectedItem

func (aispi AzureIaaSVMProtectedItem) AsAzureIaaSComputeVMProtectedItem() (*AzureIaaSComputeVMProtectedItem, bool)

AsAzureIaaSComputeVMProtectedItem is the BasicProtectedItem implementation for AzureIaaSVMProtectedItem.

func (AzureIaaSVMProtectedItem) AsAzureIaaSVMProtectedItem

func (aispi AzureIaaSVMProtectedItem) AsAzureIaaSVMProtectedItem() (*AzureIaaSVMProtectedItem, bool)

AsAzureIaaSVMProtectedItem is the BasicProtectedItem implementation for AzureIaaSVMProtectedItem.

func (AzureIaaSVMProtectedItem) AsAzureSQLProtectedItem

func (aispi AzureIaaSVMProtectedItem) AsAzureSQLProtectedItem() (*AzureSQLProtectedItem, bool)

AsAzureSQLProtectedItem is the BasicProtectedItem implementation for AzureIaaSVMProtectedItem.

func (AzureIaaSVMProtectedItem) AsBasicAzureIaaSVMProtectedItem

func (aispi AzureIaaSVMProtectedItem) AsBasicAzureIaaSVMProtectedItem() (BasicAzureIaaSVMProtectedItem, bool)

AsBasicAzureIaaSVMProtectedItem is the BasicProtectedItem implementation for AzureIaaSVMProtectedItem.

func (AzureIaaSVMProtectedItem) AsBasicProtectedItem

func (aispi AzureIaaSVMProtectedItem) AsBasicProtectedItem() (BasicProtectedItem, bool)

AsBasicProtectedItem is the BasicProtectedItem implementation for AzureIaaSVMProtectedItem.

func (AzureIaaSVMProtectedItem) AsMabFileFolderProtectedItem

func (aispi AzureIaaSVMProtectedItem) AsMabFileFolderProtectedItem() (*MabFileFolderProtectedItem, bool)

AsMabFileFolderProtectedItem is the BasicProtectedItem implementation for AzureIaaSVMProtectedItem.

func (AzureIaaSVMProtectedItem) AsProtectedItem

func (aispi AzureIaaSVMProtectedItem) AsProtectedItem() (*ProtectedItem, bool)

AsProtectedItem is the BasicProtectedItem implementation for AzureIaaSVMProtectedItem.

func (AzureIaaSVMProtectedItem) MarshalJSON

func (aispi AzureIaaSVMProtectedItem) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureIaaSVMProtectedItem.

type AzureIaaSVMProtectedItemExtendedInfo

AzureIaaSVMProtectedItemExtendedInfo additional information for the Azure VM (also known as IaaS VM)-specific backup item.

type AzureIaaSVMProtectedItemExtendedInfo struct {
    // OldestRecoveryPoint - The oldest backup copy available for this backup item.
    OldestRecoveryPoint *date.Time `json:"oldestRecoveryPoint,omitempty"`
    // RecoveryPointCount - The number of backup copies available for this backup item.
    RecoveryPointCount *int32 `json:"recoveryPointCount,omitempty"`
    // PolicyInconsistent - Specifies if the backup policy associated with the backup item is inconsistent.
    PolicyInconsistent *bool `json:"policyInconsistent,omitempty"`
}

type AzureIaaSVMProtectionPolicy

AzureIaaSVMProtectionPolicy azure VM (also known as IaaS VM) workload-specific backup policy.

type AzureIaaSVMProtectionPolicy struct {
    // SchedulePolicy - The backup schedule specified as part of backup policy.
    SchedulePolicy BasicSchedulePolicy `json:"schedulePolicy,omitempty"`
    // RetentionPolicy - The retention policy with the details on backup copy retention ranges.
    RetentionPolicy BasicRetentionPolicy `json:"retentionPolicy,omitempty"`
    // ProtectedItemsCount - The number of items associated with this policy.
    ProtectedItemsCount *int32 `json:"protectedItemsCount,omitempty"`
    // BackupManagementType - Possible values include: 'BackupManagementTypeProtectionPolicy', 'BackupManagementTypeAzureIaasVM', 'BackupManagementTypeMAB', 'BackupManagementTypeAzureSQL'
    BackupManagementType ManagementTypeBasicProtectionPolicy `json:"backupManagementType,omitempty"`
}

func (AzureIaaSVMProtectionPolicy) AsAzureIaaSVMProtectionPolicy

func (aispp AzureIaaSVMProtectionPolicy) AsAzureIaaSVMProtectionPolicy() (*AzureIaaSVMProtectionPolicy, bool)

AsAzureIaaSVMProtectionPolicy is the BasicProtectionPolicy implementation for AzureIaaSVMProtectionPolicy.

func (AzureIaaSVMProtectionPolicy) AsAzureSQLProtectionPolicy

func (aispp AzureIaaSVMProtectionPolicy) AsAzureSQLProtectionPolicy() (*AzureSQLProtectionPolicy, bool)

AsAzureSQLProtectionPolicy is the BasicProtectionPolicy implementation for AzureIaaSVMProtectionPolicy.

func (AzureIaaSVMProtectionPolicy) AsBasicProtectionPolicy

func (aispp AzureIaaSVMProtectionPolicy) AsBasicProtectionPolicy() (BasicProtectionPolicy, bool)

AsBasicProtectionPolicy is the BasicProtectionPolicy implementation for AzureIaaSVMProtectionPolicy.

func (AzureIaaSVMProtectionPolicy) AsMabProtectionPolicy

func (aispp AzureIaaSVMProtectionPolicy) AsMabProtectionPolicy() (*MabProtectionPolicy, bool)

AsMabProtectionPolicy is the BasicProtectionPolicy implementation for AzureIaaSVMProtectionPolicy.

func (AzureIaaSVMProtectionPolicy) AsProtectionPolicy

func (aispp AzureIaaSVMProtectionPolicy) AsProtectionPolicy() (*ProtectionPolicy, bool)

AsProtectionPolicy is the BasicProtectionPolicy implementation for AzureIaaSVMProtectionPolicy.

func (AzureIaaSVMProtectionPolicy) MarshalJSON

func (aispp AzureIaaSVMProtectionPolicy) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureIaaSVMProtectionPolicy.

func (*AzureIaaSVMProtectionPolicy) UnmarshalJSON

func (aispp *AzureIaaSVMProtectionPolicy) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AzureIaaSVMProtectionPolicy struct.

type AzureSQLContainer

AzureSQLContainer azure SQL workload-specific container.

type AzureSQLContainer struct {
    // FriendlyName - Friendly name of the container.
    FriendlyName *string `json:"friendlyName,omitempty"`
    // BackupManagementType - The backup management type for the container. Possible values include: 'ManagementTypeInvalid', 'ManagementTypeAzureIaasVM', 'ManagementTypeMAB', 'ManagementTypeDPM', 'ManagementTypeAzureBackupServer', 'ManagementTypeAzureSQL'
    BackupManagementType ManagementType `json:"backupManagementType,omitempty"`
    // RegistrationStatus - The container's registration status with the Recovery Services vault.
    RegistrationStatus *string `json:"registrationStatus,omitempty"`
    // HealthStatus - The status of the container's health.
    HealthStatus *string `json:"healthStatus,omitempty"`
    // ContainerType - READ-ONLY; The type assigned to the container. The values to use for each of these properties are:<br/> 1. Compute Azure VM is Microsoft.Compute/virtualMachines<br/> 2. Classic Compute Azure VM is Microsoft.ClassicCompute/virtualMachines<br/> 3. Windows machines (like Azure Backup Server and DPM) is Windows<br/> 4. Azure SQL instance is AzureSqlContainer.
    ContainerType *string `json:"containerType,omitempty"`
    // ProtectableObjectType - Possible values include: 'ProtectableObjectTypeProtectionContainer', 'ProtectableObjectTypeAzureSQLContainer', 'ProtectableObjectTypeIaaSVMContainer', 'ProtectableObjectTypeMABWindowsContainer', 'ProtectableObjectTypeMicrosoftComputevirtualMachines', 'ProtectableObjectTypeMicrosoftClassicComputevirtualMachines'
    ProtectableObjectType ProtectableObjectType `json:"protectableObjectType,omitempty"`
}

func (AzureSQLContainer) AsAzureIaaSClassicComputeVMContainer

func (asc AzureSQLContainer) AsAzureIaaSClassicComputeVMContainer() (*AzureIaaSClassicComputeVMContainer, bool)

AsAzureIaaSClassicComputeVMContainer is the BasicProtectionContainer implementation for AzureSQLContainer.

func (AzureSQLContainer) AsAzureIaaSComputeVMContainer

func (asc AzureSQLContainer) AsAzureIaaSComputeVMContainer() (*AzureIaaSComputeVMContainer, bool)

AsAzureIaaSComputeVMContainer is the BasicProtectionContainer implementation for AzureSQLContainer.

func (AzureSQLContainer) AsAzureSQLContainer

func (asc AzureSQLContainer) AsAzureSQLContainer() (*AzureSQLContainer, bool)

AsAzureSQLContainer is the BasicProtectionContainer implementation for AzureSQLContainer.

func (AzureSQLContainer) AsBasicIaaSVMContainer

func (asc AzureSQLContainer) AsBasicIaaSVMContainer() (BasicIaaSVMContainer, bool)

AsBasicIaaSVMContainer is the BasicProtectionContainer implementation for AzureSQLContainer.

func (AzureSQLContainer) AsBasicProtectionContainer

func (asc AzureSQLContainer) AsBasicProtectionContainer() (BasicProtectionContainer, bool)

AsBasicProtectionContainer is the BasicProtectionContainer implementation for AzureSQLContainer.

func (AzureSQLContainer) AsIaaSVMContainer

func (asc AzureSQLContainer) AsIaaSVMContainer() (*IaaSVMContainer, bool)

AsIaaSVMContainer is the BasicProtectionContainer implementation for AzureSQLContainer.

func (AzureSQLContainer) AsMabContainer

func (asc AzureSQLContainer) AsMabContainer() (*MabContainer, bool)

AsMabContainer is the BasicProtectionContainer implementation for AzureSQLContainer.

func (AzureSQLContainer) AsProtectionContainer

func (asc AzureSQLContainer) AsProtectionContainer() (*ProtectionContainer, bool)

AsProtectionContainer is the BasicProtectionContainer implementation for AzureSQLContainer.

func (AzureSQLContainer) MarshalJSON

func (asc AzureSQLContainer) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureSQLContainer.

type AzureSQLProtectedItem

AzureSQLProtectedItem this is an Azure SQL workload-specific backup item.

type AzureSQLProtectedItem struct {
    // ProtectedItemDataID - The internal ID of a backup item. The internal ID is used by the Azure SQL Backup engine to contact Recovery Services.
    ProtectedItemDataID *string `json:"protectedItemDataId,omitempty"`
    // ProtectionState - The backup state of the backup item. Possible values include: 'ProtectedItemStateInvalid', 'ProtectedItemStateIRPending', 'ProtectedItemStateProtected', 'ProtectedItemStateProtectionError', 'ProtectedItemStateProtectionStopped', 'ProtectedItemStateProtectionPaused'
    ProtectionState ProtectedItemState `json:"protectionState,omitempty"`
    // ExtendedInfo - Additional information for this backup item.
    ExtendedInfo *AzureSQLProtectedItemExtendedInfo `json:"extendedInfo,omitempty"`
    // BackupManagementType - The backup management type associated with the backup item. Possible values include: 'ManagementTypeInvalid', 'ManagementTypeAzureIaasVM', 'ManagementTypeMAB', 'ManagementTypeDPM', 'ManagementTypeAzureBackupServer', 'ManagementTypeAzureSQL'
    BackupManagementType ManagementType `json:"backupManagementType,omitempty"`
    // WorkloadType - The workload type for this item. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSQLDb', 'SQLDB', 'Exchange', 'Sharepoint', 'DPMUnknown'
    WorkloadType DataSourceType `json:"workloadType,omitempty"`
    // SourceResourceID - The ID of the resource to be backed up.
    SourceResourceID *string `json:"sourceResourceId,omitempty"`
    // PolicyID - The ID of the backup policy associated with this backup item.
    PolicyID *string `json:"policyId,omitempty"`
    // LastRecoveryPoint - The timestamp when the most recent backup copy was created for this backup item.
    LastRecoveryPoint *date.Time `json:"lastRecoveryPoint,omitempty"`
    // ProtectedItemType - Possible values include: 'ProtectedItemTypeProtectedItem', 'ProtectedItemTypeAzureIaaSVMProtectedItem', 'ProtectedItemTypeMabFileFolderProtectedItem', 'ProtectedItemTypeMicrosoftSqlserversdatabases', 'ProtectedItemTypeMicrosoftComputevirtualMachines', 'ProtectedItemTypeMicrosoftClassicComputevirtualMachines'
    ProtectedItemType ProtectedItemType `json:"protectedItemType,omitempty"`
}

func (AzureSQLProtectedItem) AsAzureIaaSClassicComputeVMProtectedItem

func (aspi AzureSQLProtectedItem) AsAzureIaaSClassicComputeVMProtectedItem() (*AzureIaaSClassicComputeVMProtectedItem, bool)

AsAzureIaaSClassicComputeVMProtectedItem is the BasicProtectedItem implementation for AzureSQLProtectedItem.

func (AzureSQLProtectedItem) AsAzureIaaSComputeVMProtectedItem

func (aspi AzureSQLProtectedItem) AsAzureIaaSComputeVMProtectedItem() (*AzureIaaSComputeVMProtectedItem, bool)

AsAzureIaaSComputeVMProtectedItem is the BasicProtectedItem implementation for AzureSQLProtectedItem.

func (AzureSQLProtectedItem) AsAzureIaaSVMProtectedItem

func (aspi AzureSQLProtectedItem) AsAzureIaaSVMProtectedItem() (*AzureIaaSVMProtectedItem, bool)

AsAzureIaaSVMProtectedItem is the BasicProtectedItem implementation for AzureSQLProtectedItem.

func (AzureSQLProtectedItem) AsAzureSQLProtectedItem

func (aspi AzureSQLProtectedItem) AsAzureSQLProtectedItem() (*AzureSQLProtectedItem, bool)

AsAzureSQLProtectedItem is the BasicProtectedItem implementation for AzureSQLProtectedItem.

func (AzureSQLProtectedItem) AsBasicAzureIaaSVMProtectedItem

func (aspi AzureSQLProtectedItem) AsBasicAzureIaaSVMProtectedItem() (BasicAzureIaaSVMProtectedItem, bool)

AsBasicAzureIaaSVMProtectedItem is the BasicProtectedItem implementation for AzureSQLProtectedItem.

func (AzureSQLProtectedItem) AsBasicProtectedItem

func (aspi AzureSQLProtectedItem) AsBasicProtectedItem() (BasicProtectedItem, bool)

AsBasicProtectedItem is the BasicProtectedItem implementation for AzureSQLProtectedItem.

func (AzureSQLProtectedItem) AsMabFileFolderProtectedItem

func (aspi AzureSQLProtectedItem) AsMabFileFolderProtectedItem() (*MabFileFolderProtectedItem, bool)

AsMabFileFolderProtectedItem is the BasicProtectedItem implementation for AzureSQLProtectedItem.

func (AzureSQLProtectedItem) AsProtectedItem

func (aspi AzureSQLProtectedItem) AsProtectedItem() (*ProtectedItem, bool)

AsProtectedItem is the BasicProtectedItem implementation for AzureSQLProtectedItem.

func (AzureSQLProtectedItem) MarshalJSON

func (aspi AzureSQLProtectedItem) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureSQLProtectedItem.

type AzureSQLProtectedItemExtendedInfo

AzureSQLProtectedItemExtendedInfo additional information for the Azure SQL specific backup item.

type AzureSQLProtectedItemExtendedInfo struct {
    // OldestRecoveryPoint - The oldest backup copy available for this item in the service.
    OldestRecoveryPoint *date.Time `json:"oldestRecoveryPoint,omitempty"`
    // RecoveryPointCount - The number of available backup copies for this backup item.
    RecoveryPointCount *int32 `json:"recoveryPointCount,omitempty"`
    // PolicyState - The state of the backup policy associated with this backup item.
    PolicyState *string `json:"policyState,omitempty"`
}

type AzureSQLProtectionPolicy

AzureSQLProtectionPolicy the Azure SQL workload-specific backup policy.

type AzureSQLProtectionPolicy struct {
    // RetentionPolicy - The retention policy details.
    RetentionPolicy BasicRetentionPolicy `json:"retentionPolicy,omitempty"`
    // ProtectedItemsCount - The number of items associated with this policy.
    ProtectedItemsCount *int32 `json:"protectedItemsCount,omitempty"`
    // BackupManagementType - Possible values include: 'BackupManagementTypeProtectionPolicy', 'BackupManagementTypeAzureIaasVM', 'BackupManagementTypeMAB', 'BackupManagementTypeAzureSQL'
    BackupManagementType ManagementTypeBasicProtectionPolicy `json:"backupManagementType,omitempty"`
}

func (AzureSQLProtectionPolicy) AsAzureIaaSVMProtectionPolicy

func (aspp AzureSQLProtectionPolicy) AsAzureIaaSVMProtectionPolicy() (*AzureIaaSVMProtectionPolicy, bool)

AsAzureIaaSVMProtectionPolicy is the BasicProtectionPolicy implementation for AzureSQLProtectionPolicy.

func (AzureSQLProtectionPolicy) AsAzureSQLProtectionPolicy

func (aspp AzureSQLProtectionPolicy) AsAzureSQLProtectionPolicy() (*AzureSQLProtectionPolicy, bool)

AsAzureSQLProtectionPolicy is the BasicProtectionPolicy implementation for AzureSQLProtectionPolicy.

func (AzureSQLProtectionPolicy) AsBasicProtectionPolicy

func (aspp AzureSQLProtectionPolicy) AsBasicProtectionPolicy() (BasicProtectionPolicy, bool)

AsBasicProtectionPolicy is the BasicProtectionPolicy implementation for AzureSQLProtectionPolicy.

func (AzureSQLProtectionPolicy) AsMabProtectionPolicy

func (aspp AzureSQLProtectionPolicy) AsMabProtectionPolicy() (*MabProtectionPolicy, bool)

AsMabProtectionPolicy is the BasicProtectionPolicy implementation for AzureSQLProtectionPolicy.

func (AzureSQLProtectionPolicy) AsProtectionPolicy

func (aspp AzureSQLProtectionPolicy) AsProtectionPolicy() (*ProtectionPolicy, bool)

AsProtectionPolicy is the BasicProtectionPolicy implementation for AzureSQLProtectionPolicy.

func (AzureSQLProtectionPolicy) MarshalJSON

func (aspp AzureSQLProtectionPolicy) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureSQLProtectionPolicy.

func (*AzureSQLProtectionPolicy) UnmarshalJSON

func (aspp *AzureSQLProtectionPolicy) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AzureSQLProtectionPolicy struct.

type BEKDetails

BEKDetails BEK is Bitlocker Encryption Key.

type BEKDetails struct {
    // SecretURL - Secret refers to Bitlocker Encryption Key (BEK). The Secret can be unlocked by the key (or KEK).
    SecretURL *string `json:"secretUrl,omitempty"`
    // SecretVaultID - ID of the Key Vault where this Secret is stored.
    SecretVaultID *string `json:"secretVaultId,omitempty"`
    // SecretData - Bitlocker Encryption Key (BEK) data.
    SecretData *string `json:"secretData,omitempty"`
}

type BMSBackupEngineQueryObject

BMSBackupEngineQueryObject the query parameters used to GET the list of backup engines.

type BMSBackupEngineQueryObject struct {
    // BackupManagementType - The backup management type associated with the backup engine. Possible values include: 'ManagementTypeInvalid', 'ManagementTypeAzureIaasVM', 'ManagementTypeMAB', 'ManagementTypeDPM', 'ManagementTypeAzureBackupServer', 'ManagementTypeAzureSQL'
    BackupManagementType ManagementType `json:"backupManagementType,omitempty"`
}

type BMSContainerQueryObject

BMSContainerQueryObject the query filters that can be used with the list containers API.

type BMSContainerQueryObject struct {
    // BackupManagementType - The backup management type for this container. Possible values include: 'ManagementTypeInvalid', 'ManagementTypeAzureIaasVM', 'ManagementTypeMAB', 'ManagementTypeDPM', 'ManagementTypeAzureBackupServer', 'ManagementTypeAzureSQL'
    BackupManagementType ManagementType `json:"backupManagementType,omitempty"`
    // Status - The status of the container's registration with the Recovery Services vault.
    Status *string `json:"status,omitempty"`
    // FriendlyName - The friendly name of the container.
    FriendlyName *string `json:"friendlyName,omitempty"`
}

type BMSPOQueryObject

BMSPOQueryObject filters the list of backup items.

type BMSPOQueryObject struct {
    // BackupManagementType - The backup management type. Possible values include: 'ManagementTypeInvalid', 'ManagementTypeAzureIaasVM', 'ManagementTypeMAB', 'ManagementTypeDPM', 'ManagementTypeAzureBackupServer', 'ManagementTypeAzureSQL'
    BackupManagementType ManagementType `json:"backupManagementType,omitempty"`
    // Status - The backup status query parameter.
    Status *string `json:"status,omitempty"`
    // FriendlyName - The friendly name for the item.
    FriendlyName *string `json:"friendlyName,omitempty"`
}

type BMSRPQueryObject

BMSRPQueryObject filters the list of backup copies based on the property.

type BMSRPQueryObject struct {
    // StartDate - Use backup copies created after this time.
    StartDate *date.Time `json:"startDate,omitempty"`
    // EndDate - Use backup copies created before this time.
    EndDate *date.Time `json:"endDate,omitempty"`
}

type BackupsClient

BackupsClient is the open API 2.0 Specs for Azure RecoveryServices Backup service

type BackupsClient struct {
    BaseClient
}

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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (BackupsClient) Trigger

func (client BackupsClient) Trigger(ctx context.Context, vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string, resourceBackupRequest RequestResource) (result autorest.Response, err error)

Trigger triggers the backup job for the specified backup item. This is an asynchronous operation. To know the status of the operation, call GetProtectedItemOperationResult API. Parameters: vaultName - the name of the Recovery Services vault. resourceGroupName - the name of the resource group associated with the Recovery Services vault. fabricName - the fabric name associated with the backup item. containerName - the container name associated with the backup item. protectedItemName - the name of backup item used in this POST operation. resourceBackupRequest - the resource backup request.

func (BackupsClient) TriggerPreparer

func (client BackupsClient) TriggerPreparer(ctx context.Context, vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string, resourceBackupRequest RequestResource) (*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

func (client BackupsClient) TriggerSender(req *http.Request) (*http.Response, error)

TriggerSender sends the Trigger request. The method will close the http.Response Body if it receives an error.

type BaseClient

BaseClient is the base client for Backup.

type BaseClient struct {
    autorest.Client
    BaseURI        string
    SubscriptionID string
}

func New

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

type BasicAzureIaaSVMProtectedItem

BasicAzureIaaSVMProtectedItem this Azure VM workload-specific (also known as IaaS VM workload-specific) backup item has been backed up.

type BasicAzureIaaSVMProtectedItem interface {
    AsAzureIaaSComputeVMProtectedItem() (*AzureIaaSComputeVMProtectedItem, bool)
    AsAzureIaaSClassicComputeVMProtectedItem() (*AzureIaaSClassicComputeVMProtectedItem, bool)
    AsAzureIaaSVMProtectedItem() (*AzureIaaSVMProtectedItem, bool)
}

type BasicEngineBase

BasicEngineBase the base backup engine class. All workload-specific backup engines derive from this class.

type BasicEngineBase interface {
    AsAzureBackupServerEngine() (*AzureBackupServerEngine, bool)
    AsDpmBackupEngine() (*DpmBackupEngine, bool)
    AsEngineBase() (*EngineBase, bool)
}

type BasicILRRequest

BasicILRRequest parameters to restore file or folders API.

type BasicILRRequest interface {
    AsIaasVMILRRegistrationRequest() (*IaasVMILRRegistrationRequest, bool)
    AsILRRequest() (*ILRRequest, bool)
}

type BasicIaaSVMContainer

BasicIaaSVMContainer iaaS VM workload-specific container.

type BasicIaaSVMContainer interface {
    AsAzureIaaSComputeVMContainer() (*AzureIaaSComputeVMContainer, bool)
    AsAzureIaaSClassicComputeVMContainer() (*AzureIaaSClassicComputeVMContainer, bool)
    AsIaaSVMContainer() (*IaaSVMContainer, bool)
}

type BasicIaaSVMProtectableItem

BasicIaaSVMProtectableItem this Azure VM workload-specific (also known as IaaS VM workload-specific) backup item can be backed up.

type BasicIaaSVMProtectableItem interface {
    AsAzureIaaSComputeVMProtectableItem() (*AzureIaaSComputeVMProtectableItem, bool)
    AsAzureIaaSClassicComputeVMProtectableItem() (*AzureIaaSClassicComputeVMProtectableItem, bool)
    AsIaaSVMProtectableItem() (*IaaSVMProtectableItem, bool)
}

type BasicJob

BasicJob defines workload-agnostic properties for a job.

type BasicJob interface {
    AsAzureIaaSVMJob() (*AzureIaaSVMJob, bool)
    AsDpmJob() (*DpmJob, bool)
    AsMabJob() (*MabJob, bool)
    AsJob() (*Job, bool)
}

type BasicOperationResultInfoBase

BasicOperationResultInfoBase the base class for operation result information.

type BasicOperationResultInfoBase interface {
    AsOperationResultInfo() (*OperationResultInfo, bool)
    AsExportJobsOperationResultInfo() (*ExportJobsOperationResultInfo, bool)
    AsOperationResultInfoBase() (*OperationResultInfoBase, bool)
}

type BasicOperationStatusExtendedInfo

BasicOperationStatusExtendedInfo the base class for additional information about the operation status.

type BasicOperationStatusExtendedInfo interface {
    AsOperationStatusJobExtendedInfo() (*OperationStatusJobExtendedInfo, bool)
    AsOperationStatusProvisionILRExtendedInfo() (*OperationStatusProvisionILRExtendedInfo, bool)
    AsOperationStatusJobsExtendedInfo() (*OperationStatusJobsExtendedInfo, bool)
    AsOperationStatusExtendedInfo() (*OperationStatusExtendedInfo, bool)
}

type BasicProtectedItem

BasicProtectedItem the base class for backup items.

type BasicProtectedItem interface {
    AsAzureIaaSVMProtectedItem() (*AzureIaaSVMProtectedItem, bool)
    AsBasicAzureIaaSVMProtectedItem() (BasicAzureIaaSVMProtectedItem, bool)
    AsMabFileFolderProtectedItem() (*MabFileFolderProtectedItem, bool)
    AsAzureSQLProtectedItem() (*AzureSQLProtectedItem, bool)
    AsAzureIaaSComputeVMProtectedItem() (*AzureIaaSComputeVMProtectedItem, bool)
    AsAzureIaaSClassicComputeVMProtectedItem() (*AzureIaaSClassicComputeVMProtectedItem, bool)
    AsProtectedItem() (*ProtectedItem, bool)
}

type BasicProtectionContainer

BasicProtectionContainer the base class for a container with backup items. Containers with specific workloads are derived from this class.

type BasicProtectionContainer interface {
    AsAzureSQLContainer() (*AzureSQLContainer, bool)
    AsIaaSVMContainer() (*IaaSVMContainer, bool)
    AsBasicIaaSVMContainer() (BasicIaaSVMContainer, bool)
    AsMabContainer() (*MabContainer, bool)
    AsAzureIaaSComputeVMContainer() (*AzureIaaSComputeVMContainer, bool)
    AsAzureIaaSClassicComputeVMContainer() (*AzureIaaSClassicComputeVMContainer, bool)
    AsProtectionContainer() (*ProtectionContainer, bool)
}

type BasicProtectionPolicy

BasicProtectionPolicy the base class for a backup policy. Workload-specific backup policies are derived from this class.

type BasicProtectionPolicy interface {
    AsAzureIaaSVMProtectionPolicy() (*AzureIaaSVMProtectionPolicy, bool)
    AsMabProtectionPolicy() (*MabProtectionPolicy, bool)
    AsAzureSQLProtectionPolicy() (*AzureSQLProtectionPolicy, bool)
    AsProtectionPolicy() (*ProtectionPolicy, bool)
}

type BasicRecoveryPoint

BasicRecoveryPoint the base class for backup copies. Workload-specific backup copies are derived from this class.

type BasicRecoveryPoint interface {
    AsIaasVMRecoveryPoint() (*IaasVMRecoveryPoint, bool)
    AsGenericRecoveryPoint() (*GenericRecoveryPoint, bool)
    AsRecoveryPoint() (*RecoveryPoint, bool)
}

type BasicRequest

BasicRequest the base class for a backup request. Workload-specific backup requests are derived from this class.

type BasicRequest interface {
    AsIaasVMBackupRequest() (*IaasVMBackupRequest, bool)
    AsRequest() (*Request, bool)
}

type BasicRestoreRequest

BasicRestoreRequest the base class for restore requests. Workload-specific restore requests are derived from this class.

type BasicRestoreRequest interface {
    AsIaasVMRestoreRequest() (*IaasVMRestoreRequest, bool)
    AsRestoreRequest() (*RestoreRequest, bool)
}

type BasicRetentionPolicy

BasicRetentionPolicy the base class for retention policy.

type BasicRetentionPolicy interface {
    AsSimpleRetentionPolicy() (*SimpleRetentionPolicy, bool)
    AsLongTermRetentionPolicy() (*LongTermRetentionPolicy, bool)
    AsRetentionPolicy() (*RetentionPolicy, bool)
}

type BasicSchedulePolicy

BasicSchedulePolicy the base class for backup schedules.

type BasicSchedulePolicy interface {
    AsLongTermSchedulePolicy() (*LongTermSchedulePolicy, bool)
    AsSimpleSchedulePolicy() (*SimpleSchedulePolicy, bool)
    AsSchedulePolicy() (*SchedulePolicy, bool)
}

type BasicWorkloadProtectableItem

BasicWorkloadProtectableItem the base class for backup item. Workload-specific backup items are derived from this class.

type BasicWorkloadProtectableItem interface {
    AsIaaSVMProtectableItem() (*IaaSVMProtectableItem, bool)
    AsBasicIaaSVMProtectableItem() (BasicIaaSVMProtectableItem, bool)
    AsAzureIaaSComputeVMProtectableItem() (*AzureIaaSComputeVMProtectableItem, bool)
    AsAzureIaaSClassicComputeVMProtectableItem() (*AzureIaaSClassicComputeVMProtectableItem, bool)
    AsWorkloadProtectableItem() (*WorkloadProtectableItem, bool)
}

type ClientScriptForConnect

ClientScriptForConnect client script details for the file or folder restore.

type ClientScriptForConnect struct {
    // ScriptContent - File content of the client script for file or folder restore.
    ScriptContent *string `json:"scriptContent,omitempty"`
    // ScriptExtension - File extension of the client script for the file or folder restore. Some examples of the extension are: .ps1 and .sh.
    ScriptExtension *string `json:"scriptExtension,omitempty"`
    // OsType - The operating system platform ("Windows" or "Linux") for which this file or folder restore client script works.
    OsType *string `json:"osType,omitempty"`
}

type DailyRetentionFormat

DailyRetentionFormat daily retention format.

type DailyRetentionFormat struct {
    // DaysOfTheMonth - List of days of the month.
    DaysOfTheMonth *[]Day `json:"daysOfTheMonth,omitempty"`
}

type DailyRetentionSchedule

DailyRetentionSchedule daily retention schedule.

type DailyRetentionSchedule struct {
    // RetentionTimes - The retention times of retention policy.
    RetentionTimes *[]date.Time `json:"retentionTimes,omitempty"`
    // RetentionDuration - The retention duration of retention policy.
    RetentionDuration *RetentionDuration `json:"retentionDuration,omitempty"`
}

type DataSourceType

DataSourceType enumerates the values for data source type.

type DataSourceType string
const (
    // AzureSQLDb ...
    AzureSQLDb DataSourceType = "AzureSqlDb"
    // DPMUnknown ...
    DPMUnknown DataSourceType = "DPMUnknown"
    // Exchange ...
    Exchange DataSourceType = "Exchange"
    // FileFolder ...
    FileFolder DataSourceType = "FileFolder"
    // Invalid ...
    Invalid DataSourceType = "Invalid"
    // Sharepoint ...
    Sharepoint DataSourceType = "Sharepoint"
    // SQLDB ...
    SQLDB DataSourceType = "SQLDB"
    // VM ...
    VM DataSourceType = "VM"
)

func PossibleDataSourceTypeValues

func PossibleDataSourceTypeValues() []DataSourceType

PossibleDataSourceTypeValues returns an array of possible values for the DataSourceType const type.

type Day

Day day of the week.

type Day struct {
    Date   *int32 `json:"date,omitempty"`
    IsLast *bool  `json:"isLast,omitempty"`
}

type DayOfWeek

DayOfWeek enumerates the values for day of week.

type DayOfWeek string
const (
    // Friday ...
    Friday DayOfWeek = "Friday"
    // Monday ...
    Monday DayOfWeek = "Monday"
    // Saturday ...
    Saturday DayOfWeek = "Saturday"
    // Sunday ...
    Sunday DayOfWeek = "Sunday"
    // Thursday ...
    Thursday DayOfWeek = "Thursday"
    // Tuesday ...
    Tuesday DayOfWeek = "Tuesday"
    // Wednesday ...
    Wednesday DayOfWeek = "Wednesday"
)

func PossibleDayOfWeekValues

func PossibleDayOfWeekValues() []DayOfWeek

PossibleDayOfWeekValues returns an array of possible values for the DayOfWeek const type.

type DpmBackupEngine

DpmBackupEngine the backup engine type when Data Protection Manager (DPM) is used to manage backups.

type DpmBackupEngine struct {
    // FriendlyName - The friendly name of the backup engine.
    FriendlyName *string `json:"friendlyName,omitempty"`
    // BackupManagementType - The type of backup management associated with the backup engine. Possible values include: 'ManagementTypeInvalid', 'ManagementTypeAzureIaasVM', 'ManagementTypeMAB', 'ManagementTypeDPM', 'ManagementTypeAzureBackupServer', 'ManagementTypeAzureSQL'
    BackupManagementType ManagementType `json:"backupManagementType,omitempty"`
    // RegistrationStatus - The status of the backup engine registration with the Recovery Services vault.
    RegistrationStatus *string `json:"registrationStatus,omitempty"`
    // HealthStatus - The backup status of the backup engine.
    HealthStatus *string `json:"healthStatus,omitempty"`
    // CanReRegister - The flag indicating whether the backup engine be registered again, once the engine has been initially registered.
    CanReRegister *bool `json:"canReRegister,omitempty"`
    // BackupEngineID - The ID of the backup engine.
    BackupEngineID *string `json:"backupEngineId,omitempty"`
    // BackupEngineType - Possible values include: 'BackupEngineTypeBackupEngineBase', 'BackupEngineTypeAzureBackupServerEngine', 'BackupEngineTypeDpmBackupEngine'
    BackupEngineType EngineType `json:"backupEngineType,omitempty"`
}

func (DpmBackupEngine) AsAzureBackupServerEngine

func (dbe DpmBackupEngine) AsAzureBackupServerEngine() (*AzureBackupServerEngine, bool)

AsAzureBackupServerEngine is the BasicEngineBase implementation for DpmBackupEngine.

func (DpmBackupEngine) AsBasicEngineBase

func (dbe DpmBackupEngine) AsBasicEngineBase() (BasicEngineBase, bool)

AsBasicEngineBase is the BasicEngineBase implementation for DpmBackupEngine.

func (DpmBackupEngine) AsDpmBackupEngine

func (dbe DpmBackupEngine) AsDpmBackupEngine() (*DpmBackupEngine, bool)

AsDpmBackupEngine is the BasicEngineBase implementation for DpmBackupEngine.

func (DpmBackupEngine) AsEngineBase

func (dbe DpmBackupEngine) AsEngineBase() (*EngineBase, bool)

AsEngineBase is the BasicEngineBase implementation for DpmBackupEngine.

func (DpmBackupEngine) MarshalJSON

func (dbe DpmBackupEngine) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DpmBackupEngine.

type DpmErrorInfo

DpmErrorInfo DPM workload-specific error information.

type DpmErrorInfo struct {
    // ErrorString - Localized error string.
    ErrorString *string `json:"errorString,omitempty"`
    // Recommendations - The list of localized recommendations for the error string.
    Recommendations *[]string `json:"recommendations,omitempty"`
}

type DpmJob

DpmJob the DPM workload-specific job object.

type DpmJob struct {
    // Duration - The time elapsed for the job.
    Duration *string `json:"duration,omitempty"`
    // DpmServerName - DPM server name managing the backup item or backup job.
    DpmServerName *string `json:"dpmServerName,omitempty"`
    // ContainerName - The name of the cluster or server protecting the current backup item, if any.
    ContainerName *string `json:"containerName,omitempty"`
    // ContainerType - The type of container.
    ContainerType *string `json:"containerType,omitempty"`
    // WorkloadType - The type of backup item.
    WorkloadType *string `json:"workloadType,omitempty"`
    // ActionsInfo - The state or actions applicable on this job, such as Cancel or Retry.
    ActionsInfo *[]JobSupportedAction `json:"actionsInfo,omitempty"`
    // ErrorDetails - The errors.
    ErrorDetails *[]DpmErrorInfo `json:"errorDetails,omitempty"`
    // ExtendedInfo - Additional information for this job.
    ExtendedInfo *DpmJobExtendedInfo `json:"extendedInfo,omitempty"`
    // EntityFriendlyName - The friendly name of the entity on which the current job is executing.
    EntityFriendlyName *string `json:"entityFriendlyName,omitempty"`
    // BackupManagementType - The backup management type for the current job. Possible values include: 'ManagementTypeInvalid', 'ManagementTypeAzureIaasVM', 'ManagementTypeMAB', 'ManagementTypeDPM', 'ManagementTypeAzureBackupServer', 'ManagementTypeAzureSQL'
    BackupManagementType ManagementType `json:"backupManagementType,omitempty"`
    // Operation - The operation name.
    Operation *string `json:"operation,omitempty"`
    // Status - The job status.
    Status *string `json:"status,omitempty"`
    // StartTime - The start time.
    StartTime *date.Time `json:"startTime,omitempty"`
    // EndTime - The end time.
    EndTime *date.Time `json:"endTime,omitempty"`
    // ActivityID - ActivityId of job.
    ActivityID *string `json:"activityId,omitempty"`
    // JobType - Possible values include: 'JobTypeJob', 'JobTypeAzureIaaSVMJob', 'JobTypeDpmJob', 'JobTypeMabJob'
    JobType JobType `json:"jobType,omitempty"`
}

func (DpmJob) AsAzureIaaSVMJob

func (dj DpmJob) AsAzureIaaSVMJob() (*AzureIaaSVMJob, bool)

AsAzureIaaSVMJob is the BasicJob implementation for DpmJob.

func (DpmJob) AsBasicJob

func (dj DpmJob) AsBasicJob() (BasicJob, bool)

AsBasicJob is the BasicJob implementation for DpmJob.

func (DpmJob) AsDpmJob

func (dj DpmJob) AsDpmJob() (*DpmJob, bool)

AsDpmJob is the BasicJob implementation for DpmJob.

func (DpmJob) AsJob

func (dj DpmJob) AsJob() (*Job, bool)

AsJob is the BasicJob implementation for DpmJob.

func (DpmJob) AsMabJob

func (dj DpmJob) AsMabJob() (*MabJob, bool)

AsMabJob is the BasicJob implementation for DpmJob.

func (DpmJob) MarshalJSON

func (dj DpmJob) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DpmJob.

type DpmJobExtendedInfo

DpmJobExtendedInfo additional information on the DPM workload-specific job.

type DpmJobExtendedInfo struct {
    // TasksList - List of tasks associated with this job.
    TasksList *[]DpmJobTaskDetails `json:"tasksList,omitempty"`
    // PropertyBag - The job properties.
    PropertyBag map[string]*string `json:"propertyBag"`
    // DynamicErrorMessage - Non-localized error message on job execution.
    DynamicErrorMessage *string `json:"dynamicErrorMessage,omitempty"`
}

func (DpmJobExtendedInfo) MarshalJSON

func (djei DpmJobExtendedInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DpmJobExtendedInfo.

type DpmJobTaskDetails

DpmJobTaskDetails DPM workload-specific job task details.

type DpmJobTaskDetails struct {
    // TaskID - The task display name.
    TaskID *string `json:"taskId,omitempty"`
    // StartTime - The start time.
    StartTime *date.Time `json:"startTime,omitempty"`
    // EndTime - The end time.
    EndTime *date.Time `json:"endTime,omitempty"`
    // Duration - The time elapsed for task.
    Duration *string `json:"duration,omitempty"`
    // Status - The status.
    Status *string `json:"status,omitempty"`
}

type EncryptionDetails

EncryptionDetails details needed if the VM was encrypted at the time of backup.

type EncryptionDetails struct {
    // EncryptionEnabled - Identifies whether the backup copy represents an encrypted VM at the time of backup.
    EncryptionEnabled *bool `json:"encryptionEnabled,omitempty"`
    // KekURL - URL of the Key Encryption Key (KEK).
    KekURL *string `json:"kekUrl,omitempty"`
    // SecretKeyURL - URL of the Bitlocker Encryption Key (BEK).
    SecretKeyURL *string `json:"secretKeyUrl,omitempty"`
    // KekVaultID - The ID of Key Vault where the Key Encryption Key (KEK) is stored.
    KekVaultID *string `json:"kekVaultId,omitempty"`
    // SecretKeyVaultID - The ID of Key Vault where the Bitlocker Encryption Key (BEK), or Secret, is stored.
    SecretKeyVaultID *string `json:"secretKeyVaultId,omitempty"`
}

type EngineBase

EngineBase the base backup engine class. All workload-specific backup engines derive from this class.

type EngineBase struct {
    // FriendlyName - The friendly name of the backup engine.
    FriendlyName *string `json:"friendlyName,omitempty"`
    // BackupManagementType - The type of backup management associated with the backup engine. Possible values include: 'ManagementTypeInvalid', 'ManagementTypeAzureIaasVM', 'ManagementTypeMAB', 'ManagementTypeDPM', 'ManagementTypeAzureBackupServer', 'ManagementTypeAzureSQL'
    BackupManagementType ManagementType `json:"backupManagementType,omitempty"`
    // RegistrationStatus - The status of the backup engine registration with the Recovery Services vault.
    RegistrationStatus *string `json:"registrationStatus,omitempty"`
    // HealthStatus - The backup status of the backup engine.
    HealthStatus *string `json:"healthStatus,omitempty"`
    // CanReRegister - The flag indicating whether the backup engine be registered again, once the engine has been initially registered.
    CanReRegister *bool `json:"canReRegister,omitempty"`
    // BackupEngineID - The ID of the backup engine.
    BackupEngineID *string `json:"backupEngineId,omitempty"`
    // BackupEngineType - Possible values include: 'BackupEngineTypeBackupEngineBase', 'BackupEngineTypeAzureBackupServerEngine', 'BackupEngineTypeDpmBackupEngine'
    BackupEngineType EngineType `json:"backupEngineType,omitempty"`
}

func (EngineBase) AsAzureBackupServerEngine

func (eb EngineBase) AsAzureBackupServerEngine() (*AzureBackupServerEngine, bool)

AsAzureBackupServerEngine is the BasicEngineBase implementation for EngineBase.

func (EngineBase) AsBasicEngineBase

func (eb EngineBase) AsBasicEngineBase() (BasicEngineBase, bool)

AsBasicEngineBase is the BasicEngineBase implementation for EngineBase.

func (EngineBase) AsDpmBackupEngine

func (eb EngineBase) AsDpmBackupEngine() (*DpmBackupEngine, bool)

AsDpmBackupEngine is the BasicEngineBase implementation for EngineBase.

func (EngineBase) AsEngineBase

func (eb EngineBase) AsEngineBase() (*EngineBase, bool)

AsEngineBase is the BasicEngineBase implementation for EngineBase.

func (EngineBase) MarshalJSON

func (eb EngineBase) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EngineBase.

type EngineBaseResource

EngineBaseResource the base backup engine class. All workload-specific backup engines derive from this class.

type EngineBaseResource struct {
    Properties BasicEngineBase `json:"properties,omitempty"`
    // ID - Resource ID represents the complete path to the resource.
    ID *string `json:"id,omitempty"`
    // Name - Resource name associated with the resource.
    Name *string `json:"name,omitempty"`
    // Type - Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
    Type *string `json:"type,omitempty"`
    // Location - Resource location.
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
    // ETag - Optional ETag.
    ETag *string `json:"eTag,omitempty"`
}

func (EngineBaseResource) MarshalJSON

func (ebr EngineBaseResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EngineBaseResource.

func (*EngineBaseResource) UnmarshalJSON

func (ebr *EngineBaseResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for EngineBaseResource struct.

type EngineBaseResourceList

EngineBaseResourceList list of BackupEngineBase resources

type EngineBaseResourceList struct {
    autorest.Response `json:"-"`
    // Value - List of resources.
    Value *[]EngineBaseResource `json:"value,omitempty"`
    // NextLink - The URI to GET the next page of resources. Call ListNext() gets the next page of resources.
    NextLink *string `json:"nextLink,omitempty"`
}

func (EngineBaseResourceList) IsEmpty

func (ebrl EngineBaseResourceList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type EngineBaseResourceListIterator

EngineBaseResourceListIterator provides access to a complete listing of EngineBaseResource values.

type EngineBaseResourceListIterator struct {
    // contains filtered or unexported fields
}

func NewEngineBaseResourceListIterator

func NewEngineBaseResourceListIterator(page EngineBaseResourceListPage) EngineBaseResourceListIterator

Creates a new instance of the EngineBaseResourceListIterator type.

func (*EngineBaseResourceListIterator) Next

func (iter *EngineBaseResourceListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*EngineBaseResourceListIterator) NextWithContext

func (iter *EngineBaseResourceListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (EngineBaseResourceListIterator) NotDone

func (iter EngineBaseResourceListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (EngineBaseResourceListIterator) Response

func (iter EngineBaseResourceListIterator) Response() EngineBaseResourceList

Response returns the raw server response from the last page request.

func (EngineBaseResourceListIterator) Value

func (iter EngineBaseResourceListIterator) Value() EngineBaseResource

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type EngineBaseResourceListPage

EngineBaseResourceListPage contains a page of EngineBaseResource values.

type EngineBaseResourceListPage struct {
    // contains filtered or unexported fields
}

func NewEngineBaseResourceListPage

func NewEngineBaseResourceListPage(cur EngineBaseResourceList, getNextPage func(context.Context, EngineBaseResourceList) (EngineBaseResourceList, error)) EngineBaseResourceListPage

Creates a new instance of the EngineBaseResourceListPage type.

func (*EngineBaseResourceListPage) Next

func (page *EngineBaseResourceListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*EngineBaseResourceListPage) NextWithContext

func (page *EngineBaseResourceListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (EngineBaseResourceListPage) NotDone

func (page EngineBaseResourceListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (EngineBaseResourceListPage) Response

func (page EngineBaseResourceListPage) Response() EngineBaseResourceList

Response returns the raw server response from the last page request.

func (EngineBaseResourceListPage) Values

func (page EngineBaseResourceListPage) Values() []EngineBaseResource

Values returns the slice of values for the current page or nil if there are no values.

type EngineType

EngineType enumerates the values for engine type.

type EngineType string
const (
    // BackupEngineTypeAzureBackupServerEngine ...
    BackupEngineTypeAzureBackupServerEngine EngineType = "AzureBackupServerEngine"
    // BackupEngineTypeBackupEngineBase ...
    BackupEngineTypeBackupEngineBase EngineType = "BackupEngineBase"
    // BackupEngineTypeDpmBackupEngine ...
    BackupEngineTypeDpmBackupEngine EngineType = "DpmBackupEngine"
)

func PossibleEngineTypeValues

func PossibleEngineTypeValues() []EngineType

PossibleEngineTypeValues returns an array of possible values for the EngineType const type.

type EnginesClient

EnginesClient is the open API 2.0 Specs for Azure RecoveryServices Backup service

type EnginesClient struct {
    BaseClient
}

func NewEnginesClient

func NewEnginesClient(subscriptionID string) EnginesClient

NewEnginesClient creates an instance of the EnginesClient client.

func NewEnginesClientWithBaseURI

func NewEnginesClientWithBaseURI(baseURI string, subscriptionID string) EnginesClient

NewEnginesClientWithBaseURI creates an instance of the EnginesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (EnginesClient) Get

func (client EnginesClient) Get(ctx context.Context, vaultName string, resourceGroupName string, filter string, skipToken string) (result EngineBaseResourceListPage, err error)

Get the backup management servers registered to a Recovery Services vault. This returns a pageable list of servers. Parameters: vaultName - the name of the Recovery Services vault. resourceGroupName - the name of the resource group associated with the Recovery Services vault. filter - use this filter to choose the specific backup management server. backupManagementType { AzureIaasVM, MAB, DPM, AzureBackupServer, AzureSql }. skipToken - the Skip Token filter.

func (EnginesClient) GetComplete

func (client EnginesClient) GetComplete(ctx context.Context, vaultName string, resourceGroupName string, filter string, skipToken string) (result EngineBaseResourceListIterator, err error)

GetComplete enumerates all values, automatically crossing page boundaries as required.

func (EnginesClient) GetPreparer

func (client EnginesClient) GetPreparer(ctx context.Context, vaultName string, resourceGroupName string, filter string, skipToken string) (*http.Request, error)

GetPreparer prepares the Get request.

func (EnginesClient) GetResponder

func (client EnginesClient) GetResponder(resp *http.Response) (result EngineBaseResourceList, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (EnginesClient) GetSender

func (client EnginesClient) 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.

type ExportJobsOperationResultInfo

ExportJobsOperationResultInfo this class is used to send blob details after exporting jobs.

type ExportJobsOperationResultInfo struct {
    // BlobURL - The URL of the blob. The serialized string, which is the list of jobs, is exported to this URL.
    BlobURL *string `json:"blobUrl,omitempty"`
    // BlobSasKey - The Shared Access Signatures (SAS) key used to access the blob. The key expires after 15 minutes.
    BlobSasKey *string `json:"blobSasKey,omitempty"`
    // ObjectType - Possible values include: 'ObjectTypeOperationResultInfoBase', 'ObjectTypeOperationResultInfo', 'ObjectTypeExportJobsOperationResultInfo'
    ObjectType ObjectTypeBasicOperationResultInfoBase `json:"objectType,omitempty"`
}

func (ExportJobsOperationResultInfo) AsBasicOperationResultInfoBase

func (ejori ExportJobsOperationResultInfo) AsBasicOperationResultInfoBase() (BasicOperationResultInfoBase, bool)

AsBasicOperationResultInfoBase is the BasicOperationResultInfoBase implementation for ExportJobsOperationResultInfo.

func (ExportJobsOperationResultInfo) AsExportJobsOperationResultInfo

func (ejori ExportJobsOperationResultInfo) AsExportJobsOperationResultInfo() (*ExportJobsOperationResultInfo, bool)

AsExportJobsOperationResultInfo is the BasicOperationResultInfoBase implementation for ExportJobsOperationResultInfo.

func (ExportJobsOperationResultInfo) AsOperationResultInfo

func (ejori ExportJobsOperationResultInfo) AsOperationResultInfo() (*OperationResultInfo, bool)

AsOperationResultInfo is the BasicOperationResultInfoBase implementation for ExportJobsOperationResultInfo.

func (ExportJobsOperationResultInfo) AsOperationResultInfoBase

func (ejori ExportJobsOperationResultInfo) AsOperationResultInfoBase() (*OperationResultInfoBase, bool)

AsOperationResultInfoBase is the BasicOperationResultInfoBase implementation for ExportJobsOperationResultInfo.

func (ExportJobsOperationResultInfo) MarshalJSON

func (ejori ExportJobsOperationResultInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExportJobsOperationResultInfo.

type ExportJobsOperationResultsClient

ExportJobsOperationResultsClient is the open API 2.0 Specs for Azure RecoveryServices Backup service

type ExportJobsOperationResultsClient struct {
    BaseClient
}

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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ExportJobsOperationResultsClient) Get

func (client ExportJobsOperationResultsClient) Get(ctx context.Context, vaultName string, resourceGroupName string, operationID string) (result OperationResultInfoBaseResource, err error)

Get gets the result of the operation triggered by the ExportJob API. Parameters: vaultName - the name of the Recovery Services vault. resourceGroupName - the name of the resource group associated with the Recovery Services vault. operationID - the ID associated with the export job.

func (ExportJobsOperationResultsClient) GetPreparer

func (client ExportJobsOperationResultsClient) GetPreparer(ctx context.Context, 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.

func (ExportJobsOperationResultsClient) GetSender

func (client ExportJobsOperationResultsClient) 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.

type GenericRecoveryPoint

GenericRecoveryPoint generic backup copy.

type GenericRecoveryPoint struct {
    // FriendlyName - Friendly name of the backup copy.
    FriendlyName *string `json:"friendlyName,omitempty"`
    // RecoveryPointType - Type of the backup copy.
    RecoveryPointType *string `json:"recoveryPointType,omitempty"`
    // RecoveryPointTime - The time when this backup copy was created.
    RecoveryPointTime *date.Time `json:"recoveryPointTime,omitempty"`
    // RecoveryPointAdditionalInfo - Additional information associated with this backup copy.
    RecoveryPointAdditionalInfo *string `json:"recoveryPointAdditionalInfo,omitempty"`
    // ObjectType - Possible values include: 'ObjectTypeRecoveryPoint', 'ObjectTypeIaasVMRecoveryPoint', 'ObjectTypeGenericRecoveryPoint'
    ObjectType ObjectTypeBasicRecoveryPoint `json:"objectType,omitempty"`
}

func (GenericRecoveryPoint) AsBasicRecoveryPoint

func (grp GenericRecoveryPoint) AsBasicRecoveryPoint() (BasicRecoveryPoint, bool)

AsBasicRecoveryPoint is the BasicRecoveryPoint implementation for GenericRecoveryPoint.

func (GenericRecoveryPoint) AsGenericRecoveryPoint

func (grp GenericRecoveryPoint) AsGenericRecoveryPoint() (*GenericRecoveryPoint, bool)

AsGenericRecoveryPoint is the BasicRecoveryPoint implementation for GenericRecoveryPoint.

func (GenericRecoveryPoint) AsIaasVMRecoveryPoint

func (grp GenericRecoveryPoint) AsIaasVMRecoveryPoint() (*IaasVMRecoveryPoint, bool)

AsIaasVMRecoveryPoint is the BasicRecoveryPoint implementation for GenericRecoveryPoint.

func (GenericRecoveryPoint) AsRecoveryPoint

func (grp GenericRecoveryPoint) AsRecoveryPoint() (*RecoveryPoint, bool)

AsRecoveryPoint is the BasicRecoveryPoint implementation for GenericRecoveryPoint.

func (GenericRecoveryPoint) MarshalJSON

func (grp GenericRecoveryPoint) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GenericRecoveryPoint.

type GetProtectedItemQueryObject

GetProtectedItemQueryObject this object filters the list of backup items.

type GetProtectedItemQueryObject struct {
    // Expand - Specifies if the additional information should be provided for this item.
    Expand *string `json:"expand,omitempty"`
}

type HTTPStatusCode

HTTPStatusCode enumerates the values for http status code.

type HTTPStatusCode string
const (
    // Accepted ...
    Accepted HTTPStatusCode = "Accepted"
    // Ambiguous ...
    Ambiguous HTTPStatusCode = "Ambiguous"
    // BadGateway ...
    BadGateway HTTPStatusCode = "BadGateway"
    // BadRequest ...
    BadRequest HTTPStatusCode = "BadRequest"
    // Conflict ...
    Conflict HTTPStatusCode = "Conflict"
    // Continue ...
    Continue HTTPStatusCode = "Continue"
    // Created ...
    Created HTTPStatusCode = "Created"
    // ExpectationFailed ...
    ExpectationFailed HTTPStatusCode = "ExpectationFailed"
    // Forbidden ...
    Forbidden HTTPStatusCode = "Forbidden"
    // Found ...
    Found HTTPStatusCode = "Found"
    // GatewayTimeout ...
    GatewayTimeout HTTPStatusCode = "GatewayTimeout"
    // Gone ...
    Gone HTTPStatusCode = "Gone"
    // HTTPVersionNotSupported ...
    HTTPVersionNotSupported HTTPStatusCode = "HttpVersionNotSupported"
    // InternalServerError ...
    InternalServerError HTTPStatusCode = "InternalServerError"
    // LengthRequired ...
    LengthRequired HTTPStatusCode = "LengthRequired"
    // MethodNotAllowed ...
    MethodNotAllowed HTTPStatusCode = "MethodNotAllowed"
    // Moved ...
    Moved HTTPStatusCode = "Moved"
    // MovedPermanently ...
    MovedPermanently HTTPStatusCode = "MovedPermanently"
    // MultipleChoices ...
    MultipleChoices HTTPStatusCode = "MultipleChoices"
    // NoContent ...
    NoContent HTTPStatusCode = "NoContent"
    // NonAuthoritativeInformation ...
    NonAuthoritativeInformation HTTPStatusCode = "NonAuthoritativeInformation"
    // NotAcceptable ...
    NotAcceptable HTTPStatusCode = "NotAcceptable"
    // NotFound ...
    NotFound HTTPStatusCode = "NotFound"
    // NotImplemented ...
    NotImplemented HTTPStatusCode = "NotImplemented"
    // NotModified ...
    NotModified HTTPStatusCode = "NotModified"
    // OK ...
    OK HTTPStatusCode = "OK"
    // PartialContent ...
    PartialContent HTTPStatusCode = "PartialContent"
    // PaymentRequired ...
    PaymentRequired HTTPStatusCode = "PaymentRequired"
    // PreconditionFailed ...
    PreconditionFailed HTTPStatusCode = "PreconditionFailed"
    // ProxyAuthenticationRequired ...
    ProxyAuthenticationRequired HTTPStatusCode = "ProxyAuthenticationRequired"
    // Redirect ...
    Redirect HTTPStatusCode = "Redirect"
    // RedirectKeepVerb ...
    RedirectKeepVerb HTTPStatusCode = "RedirectKeepVerb"
    // RedirectMethod ...
    RedirectMethod HTTPStatusCode = "RedirectMethod"
    // RequestedRangeNotSatisfiable ...
    RequestedRangeNotSatisfiable HTTPStatusCode = "RequestedRangeNotSatisfiable"
    // RequestEntityTooLarge ...
    RequestEntityTooLarge HTTPStatusCode = "RequestEntityTooLarge"
    // RequestTimeout ...
    RequestTimeout HTTPStatusCode = "RequestTimeout"
    // RequestURITooLong ...
    RequestURITooLong HTTPStatusCode = "RequestUriTooLong"
    // ResetContent ...
    ResetContent HTTPStatusCode = "ResetContent"
    // SeeOther ...
    SeeOther HTTPStatusCode = "SeeOther"
    // ServiceUnavailable ...
    ServiceUnavailable HTTPStatusCode = "ServiceUnavailable"
    // SwitchingProtocols ...
    SwitchingProtocols HTTPStatusCode = "SwitchingProtocols"
    // TemporaryRedirect ...
    TemporaryRedirect HTTPStatusCode = "TemporaryRedirect"
    // Unauthorized ...
    Unauthorized HTTPStatusCode = "Unauthorized"
    // UnsupportedMediaType ...
    UnsupportedMediaType HTTPStatusCode = "UnsupportedMediaType"
    // Unused ...
    Unused HTTPStatusCode = "Unused"
    // UpgradeRequired ...
    UpgradeRequired HTTPStatusCode = "UpgradeRequired"
    // UseProxy ...
    UseProxy HTTPStatusCode = "UseProxy"
)

func PossibleHTTPStatusCodeValues

func PossibleHTTPStatusCodeValues() []HTTPStatusCode

PossibleHTTPStatusCodeValues returns an array of possible values for the HTTPStatusCode const type.

type ILRRequest

ILRRequest parameters to restore file or folders API.

type ILRRequest struct {
    // ObjectType - Possible values include: 'ObjectTypeILRRequest', 'ObjectTypeIaasVMILRRegistrationRequest'
    ObjectType ObjectTypeBasicILRRequest `json:"objectType,omitempty"`
}

func (ILRRequest) AsBasicILRRequest

func (ir ILRRequest) AsBasicILRRequest() (BasicILRRequest, bool)

AsBasicILRRequest is the BasicILRRequest implementation for ILRRequest.

func (ILRRequest) AsILRRequest

func (ir ILRRequest) AsILRRequest() (*ILRRequest, bool)

AsILRRequest is the BasicILRRequest implementation for ILRRequest.

func (ILRRequest) AsIaasVMILRRegistrationRequest

func (ir ILRRequest) AsIaasVMILRRegistrationRequest() (*IaasVMILRRegistrationRequest, bool)

AsIaasVMILRRegistrationRequest is the BasicILRRequest implementation for ILRRequest.

func (ILRRequest) MarshalJSON

func (ir ILRRequest) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ILRRequest.

type ILRRequestResource

ILRRequestResource the parameters to restore files or folders.

type ILRRequestResource struct {
    Properties BasicILRRequest `json:"properties,omitempty"`
    // ID - Resource ID represents the complete path to the resource.
    ID *string `json:"id,omitempty"`
    // Name - Resource name associated with the resource.
    Name *string `json:"name,omitempty"`
    // Type - Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
    Type *string `json:"type,omitempty"`
    // Location - Resource location.
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
    // ETag - Optional ETag.
    ETag *string `json:"eTag,omitempty"`
}

func (ILRRequestResource) MarshalJSON

func (irr ILRRequestResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ILRRequestResource.

func (*ILRRequestResource) UnmarshalJSON

func (irr *ILRRequestResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ILRRequestResource struct.

type IaaSVMContainer

IaaSVMContainer iaaS VM workload-specific container.

type IaaSVMContainer struct {
    // VirtualMachineID - The fully qualified Resource Manager URL of the virtual machine represented by this Azure IaaS VM container.
    VirtualMachineID *string `json:"virtualMachineId,omitempty"`
    // VirtualMachineVersion - Specifies whether the container represents a classic or a Resource Manager-deployed virtual machine.
    VirtualMachineVersion *string `json:"virtualMachineVersion,omitempty"`
    // ResourceGroup - The resource group name associated with the Recovery Services vault.
    ResourceGroup *string `json:"resourceGroup,omitempty"`
    // FriendlyName - Friendly name of the container.
    FriendlyName *string `json:"friendlyName,omitempty"`
    // BackupManagementType - The backup management type for the container. Possible values include: 'ManagementTypeInvalid', 'ManagementTypeAzureIaasVM', 'ManagementTypeMAB', 'ManagementTypeDPM', 'ManagementTypeAzureBackupServer', 'ManagementTypeAzureSQL'
    BackupManagementType ManagementType `json:"backupManagementType,omitempty"`
    // RegistrationStatus - The container's registration status with the Recovery Services vault.
    RegistrationStatus *string `json:"registrationStatus,omitempty"`
    // HealthStatus - The status of the container's health.
    HealthStatus *string `json:"healthStatus,omitempty"`
    // ContainerType - READ-ONLY; The type assigned to the container. The values to use for each of these properties are:<br/> 1. Compute Azure VM is Microsoft.Compute/virtualMachines<br/> 2. Classic Compute Azure VM is Microsoft.ClassicCompute/virtualMachines<br/> 3. Windows machines (like Azure Backup Server and DPM) is Windows<br/> 4. Azure SQL instance is AzureSqlContainer.
    ContainerType *string `json:"containerType,omitempty"`
    // ProtectableObjectType - Possible values include: 'ProtectableObjectTypeProtectionContainer', 'ProtectableObjectTypeAzureSQLContainer', 'ProtectableObjectTypeIaaSVMContainer', 'ProtectableObjectTypeMABWindowsContainer', 'ProtectableObjectTypeMicrosoftComputevirtualMachines', 'ProtectableObjectTypeMicrosoftClassicComputevirtualMachines'
    ProtectableObjectType ProtectableObjectType `json:"protectableObjectType,omitempty"`
}

func (IaaSVMContainer) AsAzureIaaSClassicComputeVMContainer

func (isc IaaSVMContainer) AsAzureIaaSClassicComputeVMContainer() (*AzureIaaSClassicComputeVMContainer, bool)

AsAzureIaaSClassicComputeVMContainer is the BasicProtectionContainer implementation for IaaSVMContainer.

func (IaaSVMContainer) AsAzureIaaSComputeVMContainer

func (isc IaaSVMContainer) AsAzureIaaSComputeVMContainer() (*AzureIaaSComputeVMContainer, bool)

AsAzureIaaSComputeVMContainer is the BasicProtectionContainer implementation for IaaSVMContainer.

func (IaaSVMContainer) AsAzureSQLContainer

func (isc IaaSVMContainer) AsAzureSQLContainer() (*AzureSQLContainer, bool)

AsAzureSQLContainer is the BasicProtectionContainer implementation for IaaSVMContainer.

func (IaaSVMContainer) AsBasicIaaSVMContainer

func (isc IaaSVMContainer) AsBasicIaaSVMContainer() (BasicIaaSVMContainer, bool)

AsBasicIaaSVMContainer is the BasicProtectionContainer implementation for IaaSVMContainer.

func (IaaSVMContainer) AsBasicProtectionContainer

func (isc IaaSVMContainer) AsBasicProtectionContainer() (BasicProtectionContainer, bool)

AsBasicProtectionContainer is the BasicProtectionContainer implementation for IaaSVMContainer.

func (IaaSVMContainer) AsIaaSVMContainer

func (isc IaaSVMContainer) AsIaaSVMContainer() (*IaaSVMContainer, bool)

AsIaaSVMContainer is the BasicProtectionContainer implementation for IaaSVMContainer.

func (IaaSVMContainer) AsMabContainer

func (isc IaaSVMContainer) AsMabContainer() (*MabContainer, bool)

AsMabContainer is the BasicProtectionContainer implementation for IaaSVMContainer.

func (IaaSVMContainer) AsProtectionContainer

func (isc IaaSVMContainer) AsProtectionContainer() (*ProtectionContainer, bool)

AsProtectionContainer is the BasicProtectionContainer implementation for IaaSVMContainer.

func (IaaSVMContainer) MarshalJSON

func (isc IaaSVMContainer) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for IaaSVMContainer.

type IaaSVMProtectableItem

IaaSVMProtectableItem this Azure VM workload-specific (also known as IaaS VM workload-specific) backup item can be backed up.

type IaaSVMProtectableItem struct {
    // VirtualMachineID - The fully qualified Resource Manager ID of the virtual machine.
    VirtualMachineID *string `json:"virtualMachineId,omitempty"`
    // BackupManagementType - The backup management type.
    BackupManagementType *string `json:"backupManagementType,omitempty"`
    // FriendlyName - The friendly name of the backup item.
    FriendlyName *string `json:"friendlyName,omitempty"`
    // ProtectionState - The state of the back up item. Possible values include: 'ProtectionStatusInvalid', 'ProtectionStatusNotProtected', 'ProtectionStatusProtecting', 'ProtectionStatusProtected'
    ProtectionState ProtectionStatus `json:"protectionState,omitempty"`
    // ProtectableItemType - Possible values include: 'ProtectableItemTypeWorkloadProtectableItem', 'ProtectableItemTypeIaaSVMProtectableItem', 'ProtectableItemTypeMicrosoftComputevirtualMachines', 'ProtectableItemTypeMicrosoftClassicComputevirtualMachines'
    ProtectableItemType ProtectableItemType `json:"protectableItemType,omitempty"`
}

func (IaaSVMProtectableItem) AsAzureIaaSClassicComputeVMProtectableItem

func (ispi IaaSVMProtectableItem) AsAzureIaaSClassicComputeVMProtectableItem() (*AzureIaaSClassicComputeVMProtectableItem, bool)

AsAzureIaaSClassicComputeVMProtectableItem is the BasicWorkloadProtectableItem implementation for IaaSVMProtectableItem.

func (IaaSVMProtectableItem) AsAzureIaaSComputeVMProtectableItem

func (ispi IaaSVMProtectableItem) AsAzureIaaSComputeVMProtectableItem() (*AzureIaaSComputeVMProtectableItem, bool)

AsAzureIaaSComputeVMProtectableItem is the BasicWorkloadProtectableItem implementation for IaaSVMProtectableItem.

func (IaaSVMProtectableItem) AsBasicIaaSVMProtectableItem

func (ispi IaaSVMProtectableItem) AsBasicIaaSVMProtectableItem() (BasicIaaSVMProtectableItem, bool)

AsBasicIaaSVMProtectableItem is the BasicWorkloadProtectableItem implementation for IaaSVMProtectableItem.

func (IaaSVMProtectableItem) AsBasicWorkloadProtectableItem

func (ispi IaaSVMProtectableItem) AsBasicWorkloadProtectableItem() (BasicWorkloadProtectableItem, bool)

AsBasicWorkloadProtectableItem is the BasicWorkloadProtectableItem implementation for IaaSVMProtectableItem.

func (IaaSVMProtectableItem) AsIaaSVMProtectableItem

func (ispi IaaSVMProtectableItem) AsIaaSVMProtectableItem() (*IaaSVMProtectableItem, bool)

AsIaaSVMProtectableItem is the BasicWorkloadProtectableItem implementation for IaaSVMProtectableItem.

func (IaaSVMProtectableItem) AsWorkloadProtectableItem

func (ispi IaaSVMProtectableItem) AsWorkloadProtectableItem() (*WorkloadProtectableItem, bool)

AsWorkloadProtectableItem is the BasicWorkloadProtectableItem implementation for IaaSVMProtectableItem.

func (IaaSVMProtectableItem) MarshalJSON

func (ispi IaaSVMProtectableItem) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for IaaSVMProtectableItem.

type IaasVMBackupRequest

IaasVMBackupRequest this is an Azure VM (also known as IaaS VM) workload-specific backup request.

type IaasVMBackupRequest struct {
    // RecoveryPointExpiryTimeInUTC - The backup copy will expire after the time specified. The time is in UTC format.
    RecoveryPointExpiryTimeInUTC *date.Time `json:"recoveryPointExpiryTimeInUTC,omitempty"`
    // ObjectType - Possible values include: 'ObjectTypeBackupRequest', 'ObjectTypeIaasVMBackupRequest'
    ObjectType ObjectTypeBasicRequest `json:"objectType,omitempty"`
}

func (IaasVMBackupRequest) AsBasicRequest

func (ivbr IaasVMBackupRequest) AsBasicRequest() (BasicRequest, bool)

AsBasicRequest is the BasicRequest implementation for IaasVMBackupRequest.

func (IaasVMBackupRequest) AsIaasVMBackupRequest

func (ivbr IaasVMBackupRequest) AsIaasVMBackupRequest() (*IaasVMBackupRequest, bool)

AsIaasVMBackupRequest is the BasicRequest implementation for IaasVMBackupRequest.

func (IaasVMBackupRequest) AsRequest

func (ivbr IaasVMBackupRequest) AsRequest() (*Request, bool)

AsRequest is the BasicRequest implementation for IaasVMBackupRequest.

func (IaasVMBackupRequest) MarshalJSON

func (ivbr IaasVMBackupRequest) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for IaasVMBackupRequest.

type IaasVMILRRegistrationRequest

IaasVMILRRegistrationRequest restore files or folders from a backup copy, or recovery point, of an IaaS (or Azure) VM.

type IaasVMILRRegistrationRequest struct {
    // RecoveryPointID - The ID of the IaaS VM recovery point used to restore the files or folders.
    RecoveryPointID *string `json:"recoveryPointId,omitempty"`
    // VirtualMachineID - The fully qualified Resource Manager ID of the VM used to restore the files or folders.
    VirtualMachineID *string `json:"virtualMachineId,omitempty"`
    // InitiatorName - The iSCSI initiator name.
    InitiatorName *string `json:"initiatorName,omitempty"`
    // RenewExistingRegistration - Whether to renew the existing registration with the iSCSI server.
    RenewExistingRegistration *bool `json:"renewExistingRegistration,omitempty"`
    // ObjectType - Possible values include: 'ObjectTypeILRRequest', 'ObjectTypeIaasVMILRRegistrationRequest'
    ObjectType ObjectTypeBasicILRRequest `json:"objectType,omitempty"`
}

func (IaasVMILRRegistrationRequest) AsBasicILRRequest

func (ivrr IaasVMILRRegistrationRequest) AsBasicILRRequest() (BasicILRRequest, bool)

AsBasicILRRequest is the BasicILRRequest implementation for IaasVMILRRegistrationRequest.

func (IaasVMILRRegistrationRequest) AsILRRequest

func (ivrr IaasVMILRRegistrationRequest) AsILRRequest() (*ILRRequest, bool)

AsILRRequest is the BasicILRRequest implementation for IaasVMILRRegistrationRequest.

func (IaasVMILRRegistrationRequest) AsIaasVMILRRegistrationRequest

func (ivrr IaasVMILRRegistrationRequest) AsIaasVMILRRegistrationRequest() (*IaasVMILRRegistrationRequest, bool)

AsIaasVMILRRegistrationRequest is the BasicILRRequest implementation for IaasVMILRRegistrationRequest.

func (IaasVMILRRegistrationRequest) MarshalJSON

func (ivrr IaasVMILRRegistrationRequest) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for IaasVMILRRegistrationRequest.

type IaasVMRecoveryPoint

IaasVMRecoveryPoint azure VM (also known as IaaS VM) workload-specific backup copy.

type IaasVMRecoveryPoint struct {
    // RecoveryPointType - Type of the backup copy.
    RecoveryPointType *string `json:"recoveryPointType,omitempty"`
    // RecoveryPointTime - The date and time when the backup copy was created.
    RecoveryPointTime *date.Time `json:"recoveryPointTime,omitempty"`
    // RecoveryPointAdditionalInfo - Additional information associated with this backup copy.
    RecoveryPointAdditionalInfo *string `json:"recoveryPointAdditionalInfo,omitempty"`
    // SourceVMStorageType - The storage type for the VM whose backup copy was created.
    SourceVMStorageType *string `json:"sourceVMStorageType,omitempty"`
    // IsSourceVMEncrypted - Identifies whether the VM was encrypted when the backup copy is created.
    IsSourceVMEncrypted *bool `json:"isSourceVMEncrypted,omitempty"`
    // KeyAndSecret - Required details for recovering an encrypted VM. Applicable only when IsSourceVMEncrypted is true.
    KeyAndSecret *KeyAndSecretDetails `json:"keyAndSecret,omitempty"`
    // IsInstantILRSessionActive - Answer to the question - Is the session to recover items from this backup copy still active.
    IsInstantILRSessionActive *bool `json:"isInstantILRSessionActive,omitempty"`
    // ObjectType - Possible values include: 'ObjectTypeRecoveryPoint', 'ObjectTypeIaasVMRecoveryPoint', 'ObjectTypeGenericRecoveryPoint'
    ObjectType ObjectTypeBasicRecoveryPoint `json:"objectType,omitempty"`
}

func (IaasVMRecoveryPoint) AsBasicRecoveryPoint

func (ivrp IaasVMRecoveryPoint) AsBasicRecoveryPoint() (BasicRecoveryPoint, bool)

AsBasicRecoveryPoint is the BasicRecoveryPoint implementation for IaasVMRecoveryPoint.

func (IaasVMRecoveryPoint) AsGenericRecoveryPoint

func (ivrp IaasVMRecoveryPoint) AsGenericRecoveryPoint() (*GenericRecoveryPoint, bool)

AsGenericRecoveryPoint is the BasicRecoveryPoint implementation for IaasVMRecoveryPoint.

func (IaasVMRecoveryPoint) AsIaasVMRecoveryPoint

func (ivrp IaasVMRecoveryPoint) AsIaasVMRecoveryPoint() (*IaasVMRecoveryPoint, bool)

AsIaasVMRecoveryPoint is the BasicRecoveryPoint implementation for IaasVMRecoveryPoint.

func (IaasVMRecoveryPoint) AsRecoveryPoint

func (ivrp IaasVMRecoveryPoint) AsRecoveryPoint() (*RecoveryPoint, bool)

AsRecoveryPoint is the BasicRecoveryPoint implementation for IaasVMRecoveryPoint.

func (IaasVMRecoveryPoint) MarshalJSON

func (ivrp IaasVMRecoveryPoint) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for IaasVMRecoveryPoint.

type IaasVMRestoreRequest

IaasVMRestoreRequest iaaS VM workload-specific restore.

type IaasVMRestoreRequest struct {
    // RecoveryPointID - The ID of the backup copy to be recovered.
    RecoveryPointID *string `json:"recoveryPointId,omitempty"`
    // RecoveryType - The type of this recovery. Possible values include: 'RecoveryTypeInvalid', 'RecoveryTypeOriginalLocation', 'RecoveryTypeAlternateLocation', 'RecoveryTypeRestoreDisks'
    RecoveryType RecoveryType `json:"recoveryType,omitempty"`
    // SourceResourceID - The fully qualified Resource Manager ID of the VM being recovered.
    SourceResourceID *string `json:"sourceResourceId,omitempty"`
    // TargetVirtualMachineID - The complete Resource Manager ID of the VM that will be created.
    //             For example: /subscriptions/{subId}/resourcegroups/{rg}/provider/Microsoft.Compute/virtualmachines/{vm}
    TargetVirtualMachineID *string `json:"targetVirtualMachineId,omitempty"`
    // TargetResourceGroupID - The Resource Manager ID of the resource group you're creating for this VM and other artifacts.
    //     For example: /subscriptions/{subId}/resourcegroups/{rg}
    TargetResourceGroupID *string `json:"targetResourceGroupId,omitempty"`
    // StorageAccountID - The fully qualified Resource Manager ID of the storage account where the VM will be restored.
    StorageAccountID *string `json:"storageAccountId,omitempty"`
    // VirtualNetworkID - This is the virtual network ID of the vnet that is attached to the virtual machine.
    //             Your join action permissions are validated during the linked access.
    VirtualNetworkID *string `json:"virtualNetworkId,omitempty"`
    // SubnetID - Subnet ID is the identifier for the VM to be restored. For Classic VMs the subnet ID would be {VnetID}/Subnet/{SubnetName}, and for the Resource Manager VMs, the subnet ID would be the Resource Manager resource ID used to represent the subnet.
    SubnetID *string `json:"subnetId,omitempty"`
    // TargetDomainNameID - The fully qualified Resource Manager ID of the domain name to be associated with the VM being restored. Use the Resource Manager ID to identify the domain, only for Classic-deployed virtual machines.
    TargetDomainNameID *string `json:"targetDomainNameId,omitempty"`
    // Region - The region where the virtual machine is restored.
    Region *string `json:"region,omitempty"`
    // AffinityGroup - The affinity group associated with the VM to be restored. Affinity groups are used only for Classic-deployed virtual machines.
    AffinityGroup *string `json:"affinityGroup,omitempty"`
    // CreateNewCloudService - Asks the question if a new cloud service should be created while restoring the VM. If the answer is false, the VM is restored to the same cloud service.
    CreateNewCloudService *bool `json:"createNewCloudService,omitempty"`
    // EncryptionDetails - If the VM was encrypted at the time of backup, these details are needed.
    EncryptionDetails *EncryptionDetails `json:"encryptionDetails,omitempty"`
    // ObjectType - Possible values include: 'ObjectTypeRestoreRequest', 'ObjectTypeIaasVMRestoreRequest'
    ObjectType ObjectTypeBasicRestoreRequest `json:"objectType,omitempty"`
}

func (IaasVMRestoreRequest) AsBasicRestoreRequest

func (ivrr IaasVMRestoreRequest) AsBasicRestoreRequest() (BasicRestoreRequest, bool)

AsBasicRestoreRequest is the BasicRestoreRequest implementation for IaasVMRestoreRequest.

func (IaasVMRestoreRequest) AsIaasVMRestoreRequest

func (ivrr IaasVMRestoreRequest) AsIaasVMRestoreRequest() (*IaasVMRestoreRequest, bool)

AsIaasVMRestoreRequest is the BasicRestoreRequest implementation for IaasVMRestoreRequest.

func (IaasVMRestoreRequest) AsRestoreRequest

func (ivrr IaasVMRestoreRequest) AsRestoreRequest() (*RestoreRequest, bool)

AsRestoreRequest is the BasicRestoreRequest implementation for IaasVMRestoreRequest.

func (IaasVMRestoreRequest) MarshalJSON

func (ivrr IaasVMRestoreRequest) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for IaasVMRestoreRequest.

type InstantItemRecoveryTarget

InstantItemRecoveryTarget target details for the file or folder restore.

type InstantItemRecoveryTarget struct {
    // ClientScripts - List of client scripts.
    ClientScripts *[]ClientScriptForConnect `json:"clientScripts,omitempty"`
}

type ItemLevelRecoveryConnectionsClient

ItemLevelRecoveryConnectionsClient is the open API 2.0 Specs for Azure RecoveryServices Backup service

type ItemLevelRecoveryConnectionsClient struct {
    BaseClient
}

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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ItemLevelRecoveryConnectionsClient) Provision

func (client ItemLevelRecoveryConnectionsClient) Provision(ctx context.Context, vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string, recoveryPointID string, resourceILRRequest ILRRequestResource) (result autorest.Response, err error)

Provision provisions a script which invokes an iSCSI connection to the backup data. Executing this script opens File Explorer which displays the recoverable files and folders. This is an asynchronous operation. To get the provisioning status, call GetProtectedItemOperationResult API. Parameters: vaultName - the name of the Recovery Services vault. resourceGroupName - the name of the resource group associated with the Recovery Services vault. fabricName - the fabric name associated with the backup items. containerName - the container name associated with the backup items. protectedItemName - the name of the backup item whose files or folders are to be restored. recoveryPointID - the recovery point ID for backup data. The iSCSI connection will be provisioned for this backup data. resourceILRRequest - the resource Item Level Recovery (ILR) request.

func (ItemLevelRecoveryConnectionsClient) ProvisionPreparer

func (client ItemLevelRecoveryConnectionsClient) ProvisionPreparer(ctx context.Context, vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string, recoveryPointID string, resourceILRRequest 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(ctx context.Context, 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. Parameters: vaultName - the name of the Recovery Services vault. resourceGroupName - the name of the resource group associated with the Recovery Services vault. fabricName - the fabric name associated with the backup items. The value allowed is Azure. containerName - the container name associated with the backup items. protectedItemName - the name of the backup items whose files or folders will be restored. recoveryPointID - the string that identifies the recovery point. The iSCSI connection will be revoked for this protected data.

func (ItemLevelRecoveryConnectionsClient) RevokePreparer

func (client ItemLevelRecoveryConnectionsClient) RevokePreparer(ctx context.Context, 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 ItemType

ItemType enumerates the values for item type.

type ItemType string
const (
    // ItemTypeAzureSQLDb ...
    ItemTypeAzureSQLDb ItemType = "AzureSqlDb"
    // ItemTypeDPMUnknown ...
    ItemTypeDPMUnknown ItemType = "DPMUnknown"
    // ItemTypeExchange ...
    ItemTypeExchange ItemType = "Exchange"
    // ItemTypeFileFolder ...
    ItemTypeFileFolder ItemType = "FileFolder"
    // ItemTypeInvalid ...
    ItemTypeInvalid ItemType = "Invalid"
    // ItemTypeSharepoint ...
    ItemTypeSharepoint ItemType = "Sharepoint"
    // ItemTypeSQLDB ...
    ItemTypeSQLDB ItemType = "SQLDB"
    // ItemTypeVM ...
    ItemTypeVM ItemType = "VM"
)

func PossibleItemTypeValues

func PossibleItemTypeValues() []ItemType

PossibleItemTypeValues returns an array of possible values for the ItemType const type.

type Job

Job defines workload-agnostic properties for a job.

type Job struct {
    // EntityFriendlyName - The friendly name of the entity on which the current job is executing.
    EntityFriendlyName *string `json:"entityFriendlyName,omitempty"`
    // BackupManagementType - The backup management type for the current job. Possible values include: 'ManagementTypeInvalid', 'ManagementTypeAzureIaasVM', 'ManagementTypeMAB', 'ManagementTypeDPM', 'ManagementTypeAzureBackupServer', 'ManagementTypeAzureSQL'
    BackupManagementType ManagementType `json:"backupManagementType,omitempty"`
    // Operation - The operation name.
    Operation *string `json:"operation,omitempty"`
    // Status - The job status.
    Status *string `json:"status,omitempty"`
    // StartTime - The start time.
    StartTime *date.Time `json:"startTime,omitempty"`
    // EndTime - The end time.
    EndTime *date.Time `json:"endTime,omitempty"`
    // ActivityID - ActivityId of job.
    ActivityID *string `json:"activityId,omitempty"`
    // JobType - Possible values include: 'JobTypeJob', 'JobTypeAzureIaaSVMJob', 'JobTypeDpmJob', 'JobTypeMabJob'
    JobType JobType `json:"jobType,omitempty"`
}

func (Job) AsAzureIaaSVMJob

func (j Job) AsAzureIaaSVMJob() (*AzureIaaSVMJob, bool)

AsAzureIaaSVMJob is the BasicJob implementation for Job.

func (Job) AsBasicJob

func (j Job) AsBasicJob() (BasicJob, bool)

AsBasicJob is the BasicJob implementation for Job.

func (Job) AsDpmJob

func (j Job) AsDpmJob() (*DpmJob, bool)

AsDpmJob is the BasicJob implementation for Job.

func (Job) AsJob

func (j Job) AsJob() (*Job, bool)

AsJob is the BasicJob implementation for Job.

func (Job) AsMabJob

func (j Job) AsMabJob() (*MabJob, bool)

AsMabJob is the BasicJob implementation for Job.

func (Job) MarshalJSON

func (j Job) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Job.

type JobCancellationsClient

JobCancellationsClient is the open API 2.0 Specs for Azure RecoveryServices Backup service

type JobCancellationsClient struct {
    BaseClient
}

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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (JobCancellationsClient) Trigger

func (client JobCancellationsClient) Trigger(ctx context.Context, vaultName string, resourceGroupName string, jobName string) (result autorest.Response, err error)

Trigger cancels the job. This is an asynchronous operation. To know the status of the cancellation, call the GetCancelOperationResult API. Parameters: vaultName - the name of the Recovery Services vault. resourceGroupName - the name of the resource group associated with the Recovery Services vault. jobName - name of the job to cancel.

func (JobCancellationsClient) TriggerPreparer

func (client JobCancellationsClient) TriggerPreparer(ctx context.Context, 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

func (client JobCancellationsClient) TriggerSender(req *http.Request) (*http.Response, error)

TriggerSender sends the Trigger request. The method will close the http.Response Body if it receives an error.

type JobDetailsClient

JobDetailsClient is the open API 2.0 Specs for Azure RecoveryServices Backup service

type JobDetailsClient struct {
    BaseClient
}

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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (JobDetailsClient) Get

func (client JobDetailsClient) Get(ctx context.Context, vaultName string, resourceGroupName string, jobName string) (result JobResource, err error)

Get gets extended information associated with the job. Parameters: vaultName - the name of the Recovery Services vault. resourceGroupName - the name of the resource group associated with the Recovery Services vault. jobName - name of the job associated with this GET operation.

func (JobDetailsClient) GetPreparer

func (client JobDetailsClient) GetPreparer(ctx context.Context, 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.

func (JobDetailsClient) GetSender

func (client JobDetailsClient) 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.

type JobOperationResultsClient

JobOperationResultsClient is the open API 2.0 Specs for Azure RecoveryServices Backup service

type JobOperationResultsClient struct {
    BaseClient
}

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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (JobOperationResultsClient) Get

func (client JobOperationResultsClient) Get(ctx context.Context, vaultName string, resourceGroupName string, jobName string, operationID string) (result autorest.Response, err error)

Get gets the result of the operation. Parameters: vaultName - the name of the Recovery Services vault. resourceGroupName - the name of the resource group associated with the Recovery Services vault. jobName - job name associated with this GET operation. operationID - operationID associated with this GET operation.

func (JobOperationResultsClient) GetPreparer

func (client JobOperationResultsClient) GetPreparer(ctx context.Context, 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.

func (JobOperationResultsClient) GetSender

func (client JobOperationResultsClient) 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.

type JobOperationType

JobOperationType enumerates the values for job operation type.

type JobOperationType string
const (
    // JobOperationTypeBackup ...
    JobOperationTypeBackup JobOperationType = "Backup"
    // JobOperationTypeConfigureBackup ...
    JobOperationTypeConfigureBackup JobOperationType = "ConfigureBackup"
    // JobOperationTypeDeleteBackupData ...
    JobOperationTypeDeleteBackupData JobOperationType = "DeleteBackupData"
    // JobOperationTypeDisableBackup ...
    JobOperationTypeDisableBackup JobOperationType = "DisableBackup"
    // JobOperationTypeInvalid ...
    JobOperationTypeInvalid JobOperationType = "Invalid"
    // JobOperationTypeRestore ...
    JobOperationTypeRestore JobOperationType = "Restore"
)

func PossibleJobOperationTypeValues

func PossibleJobOperationTypeValues() []JobOperationType

PossibleJobOperationTypeValues returns an array of possible values for the JobOperationType const type.

type JobQueryObject

JobQueryObject the filters to list the jobs.

type JobQueryObject struct {
    // Status - Status of the job. Possible values include: 'JobStatusInvalid', 'JobStatusInProgress', 'JobStatusCompleted', 'JobStatusFailed', 'JobStatusCompletedWithWarnings', 'JobStatusCancelled', 'JobStatusCancelling'
    Status JobStatus `json:"status,omitempty"`
    // BackupManagementType - Type of backup management for the job. Possible values include: 'ManagementTypeInvalid', 'ManagementTypeAzureIaasVM', 'ManagementTypeMAB', 'ManagementTypeDPM', 'ManagementTypeAzureBackupServer', 'ManagementTypeAzureSQL'
    BackupManagementType ManagementType `json:"backupManagementType,omitempty"`
    // Operation - The type of operation. Possible values include: 'JobOperationTypeInvalid', 'JobOperationTypeConfigureBackup', 'JobOperationTypeBackup', 'JobOperationTypeRestore', 'JobOperationTypeDisableBackup', 'JobOperationTypeDeleteBackupData'
    Operation JobOperationType `json:"operation,omitempty"`
    // JobID - The ID of the job. Each jobID is unique.
    JobID *string `json:"jobId,omitempty"`
    // StartTime - The time when the job starts. The value is in UTC.
    StartTime *date.Time `json:"startTime,omitempty"`
    // EndTime - The time when the job ends. The value is in UTC.
    EndTime *date.Time `json:"endTime,omitempty"`
}

type JobResource

JobResource defines the workload-agnostic properties for a job.

type JobResource struct {
    autorest.Response `json:"-"`
    Properties        BasicJob `json:"properties,omitempty"`
    // ID - Resource ID represents the complete path to the resource.
    ID *string `json:"id,omitempty"`
    // Name - Resource name associated with the resource.
    Name *string `json:"name,omitempty"`
    // Type - Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
    Type *string `json:"type,omitempty"`
    // Location - Resource location.
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
    // ETag - Optional ETag.
    ETag *string `json:"eTag,omitempty"`
}

func (JobResource) MarshalJSON

func (jr JobResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for JobResource.

func (*JobResource) UnmarshalJSON

func (jr *JobResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for JobResource struct.

type JobResourceList

JobResourceList list of Job resources.

type JobResourceList struct {
    autorest.Response `json:"-"`
    // Value - List of resources.
    Value *[]JobResource `json:"value,omitempty"`
    // NextLink - The URI to GET the next page of resources. Call ListNext() gets the next page of resources.
    NextLink *string `json:"nextLink,omitempty"`
}

func (JobResourceList) IsEmpty

func (jrl JobResourceList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type JobResourceListIterator

JobResourceListIterator provides access to a complete listing of JobResource values.

type JobResourceListIterator struct {
    // contains filtered or unexported fields
}

func NewJobResourceListIterator

func NewJobResourceListIterator(page JobResourceListPage) JobResourceListIterator

Creates a new instance of the JobResourceListIterator type.

func (*JobResourceListIterator) Next

func (iter *JobResourceListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*JobResourceListIterator) NextWithContext

func (iter *JobResourceListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (JobResourceListIterator) NotDone

func (iter JobResourceListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (JobResourceListIterator) Response

func (iter JobResourceListIterator) Response() JobResourceList

Response returns the raw server response from the last page request.

func (JobResourceListIterator) Value

func (iter JobResourceListIterator) Value() JobResource

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type JobResourceListPage

JobResourceListPage contains a page of JobResource values.

type JobResourceListPage struct {
    // contains filtered or unexported fields
}

func NewJobResourceListPage

func NewJobResourceListPage(cur JobResourceList, getNextPage func(context.Context, JobResourceList) (JobResourceList, error)) JobResourceListPage

Creates a new instance of the JobResourceListPage type.

func (*JobResourceListPage) Next

func (page *JobResourceListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*JobResourceListPage) NextWithContext

func (page *JobResourceListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (JobResourceListPage) NotDone

func (page JobResourceListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (JobResourceListPage) Response

func (page JobResourceListPage) Response() JobResourceList

Response returns the raw server response from the last page request.

func (JobResourceListPage) Values

func (page JobResourceListPage) Values() []JobResource

Values returns the slice of values for the current page or nil if there are no values.

type JobStatus

JobStatus enumerates the values for job status.

type JobStatus string
const (
    // JobStatusCancelled ...
    JobStatusCancelled JobStatus = "Cancelled"
    // JobStatusCancelling ...
    JobStatusCancelling JobStatus = "Cancelling"
    // JobStatusCompleted ...
    JobStatusCompleted JobStatus = "Completed"
    // JobStatusCompletedWithWarnings ...
    JobStatusCompletedWithWarnings JobStatus = "CompletedWithWarnings"
    // JobStatusFailed ...
    JobStatusFailed JobStatus = "Failed"
    // JobStatusInProgress ...
    JobStatusInProgress JobStatus = "InProgress"
    // JobStatusInvalid ...
    JobStatusInvalid JobStatus = "Invalid"
)

func PossibleJobStatusValues

func PossibleJobStatusValues() []JobStatus

PossibleJobStatusValues returns an array of possible values for the JobStatus const type.

type JobSupportedAction

JobSupportedAction enumerates the values for job supported action.

type JobSupportedAction string
const (
    // JobSupportedActionCancellable ...
    JobSupportedActionCancellable JobSupportedAction = "Cancellable"
    // JobSupportedActionInvalid ...
    JobSupportedActionInvalid JobSupportedAction = "Invalid"
    // JobSupportedActionRetriable ...
    JobSupportedActionRetriable JobSupportedAction = "Retriable"
)

func PossibleJobSupportedActionValues

func PossibleJobSupportedActionValues() []JobSupportedAction

PossibleJobSupportedActionValues returns an array of possible values for the JobSupportedAction const type.

type JobType

JobType enumerates the values for job type.

type JobType string
const (
    // JobTypeAzureIaaSVMJob ...
    JobTypeAzureIaaSVMJob JobType = "AzureIaaSVMJob"
    // JobTypeDpmJob ...
    JobTypeDpmJob JobType = "DpmJob"
    // JobTypeJob ...
    JobTypeJob JobType = "Job"
    // JobTypeMabJob ...
    JobTypeMabJob JobType = "MabJob"
)

func PossibleJobTypeValues

func PossibleJobTypeValues() []JobType

PossibleJobTypeValues returns an array of possible values for the JobType const type.

type JobsClient

JobsClient is the open API 2.0 Specs for Azure RecoveryServices Backup service

type JobsClient struct {
    BaseClient
}

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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (JobsClient) Export

func (client JobsClient) Export(ctx context.Context, vaultName string, resourceGroupName string, filter string) (result autorest.Response, err error)

Export exports all jobs for a given Shared Access Signatures (SAS) URL. The SAS URL expires within 15 minutes of its creation. Parameters: vaultName - the name of the Recovery Services vault. resourceGroupName - the name of the resource group associated with the Recovery Services vault. filter - the OData filter options. status eq { InProgress , Completed , Failed , CompletedWithWarnings , Cancelled , Cancelling } and backupManagementType eq {AzureIaasVM, MAB, DPM, AzureBackupServer, AzureSql } and operation eq { ConfigureBackup , Backup , Restore , DisableBackup , DeleteBackupData } and jobId eq {guid} and startTime eq { yyyy-mm-dd hh:mm:ss PM } and endTime eq { yyyy-mm-dd hh:mm:ss PM }.

func (JobsClient) ExportPreparer

func (client JobsClient) ExportPreparer(ctx context.Context, vaultName string, resourceGroupName string, filter string) (*http.Request, error)

ExportPreparer prepares the Export request.

func (JobsClient) ExportResponder

func (client JobsClient) ExportResponder(resp *http.Response) (result autorest.Response, err error)

ExportResponder handles the response to the Export request. The method always closes the http.Response Body.

func (JobsClient) ExportSender

func (client JobsClient) ExportSender(req *http.Request) (*http.Response, error)

ExportSender sends the Export request. The method will close the http.Response Body if it receives an error.

func (JobsClient) List

func (client JobsClient) List(ctx context.Context, vaultName string, resourceGroupName string, filter string, skipToken string) (result JobResourceListPage, err error)

List provides a pageable list of jobs. Parameters: vaultName - the name of the Recovery Services vault. resourceGroupName - the name of the resource group associated with the Recovery Services vault. filter - the following equation can be used to filter the list of jobs based on status, type, start date, and end date. status eq { InProgress , Completed , Failed , CompletedWithWarnings , Cancelled , Cancelling } and backupManagementType eq {AzureIaasVM, MAB, DPM, AzureBackupServer, AzureSql } and operation eq { ConfigureBackup , Backup , Restore , DisableBackup , DeleteBackupData } and jobId eq {guid} and startTime eq { yyyy-mm-dd hh:mm:ss PM } and endTime eq { yyyy-mm-dd hh:mm:ss PM }. skipToken - the Skip Token filter.

func (JobsClient) ListComplete

func (client JobsClient) ListComplete(ctx context.Context, vaultName string, resourceGroupName string, filter string, skipToken string) (result JobResourceListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (JobsClient) ListPreparer

func (client JobsClient) ListPreparer(ctx context.Context, vaultName string, resourceGroupName string, filter string, skipToken string) (*http.Request, error)

ListPreparer prepares the List request.

func (JobsClient) ListResponder

func (client JobsClient) 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 (JobsClient) ListSender

func (client JobsClient) 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 KEKDetails

KEKDetails the Key Encryption Key (KEK) is the encryption key for the Bitlocker Encryption Key (BEK).

type KEKDetails struct {
    // KeyURL - Key refers to the Key Encryption Key (KEK). The KEK is the Key to unlock the Secret.
    KeyURL *string `json:"keyUrl,omitempty"`
    // KeyVaultID - Key Vault ID identifies where the KEK is stored.
    KeyVaultID *string `json:"keyVaultId,omitempty"`
    // KeyBackupData - Key Backup Data refers to Key Encryption Key (KEK) data.
    KeyBackupData *string `json:"keyBackupData,omitempty"`
}

type KeyAndSecretDetails

KeyAndSecretDetails BEK stands for Bitlocker Encryption Key. KEK stands for Key Encryption Key. KEK is the encryption key used to protect the Secret for the BEK If the VM is encrypted, then the service stores the following details : 1. Secret(BEK) - Url + Backup Data + vaultID. 2. Key(KEK) - Url + Backup Data + vaultID. It is possible for the BEK and KEK to have different vaultIDs.

type KeyAndSecretDetails struct {
    // KekDetails - The Key Encryption Key (KEK) is the encryption key for the Bitlocker Encryption Key (BEK).
    KekDetails *KEKDetails `json:"kekDetails,omitempty"`
    // BekDetails - BEK is Bitlocker Encryption Key.
    BekDetails *BEKDetails `json:"bekDetails,omitempty"`
}

type LongTermRetentionPolicy

LongTermRetentionPolicy long-term retention policy.

type LongTermRetentionPolicy struct {
    // DailySchedule - Daily retention schedule of the backup policy.
    DailySchedule *DailyRetentionSchedule `json:"dailySchedule,omitempty"`
    // WeeklySchedule - Weekly retention schedule of the backup policy.
    WeeklySchedule *WeeklyRetentionSchedule `json:"weeklySchedule,omitempty"`
    // MonthlySchedule - Monthly retention schedule of the backup policy.
    MonthlySchedule *MonthlyRetentionSchedule `json:"monthlySchedule,omitempty"`
    // YearlySchedule - Yearly retention schedule of the backup policy.
    YearlySchedule *YearlyRetentionSchedule `json:"yearlySchedule,omitempty"`
    // RetentionPolicyType - Possible values include: 'RetentionPolicyTypeRetentionPolicy', 'RetentionPolicyTypeSimpleRetentionPolicy', 'RetentionPolicyTypeLongTermRetentionPolicy'
    RetentionPolicyType RetentionPolicyType `json:"retentionPolicyType,omitempty"`
}

func (LongTermRetentionPolicy) AsBasicRetentionPolicy

func (ltrp LongTermRetentionPolicy) AsBasicRetentionPolicy() (BasicRetentionPolicy, bool)

AsBasicRetentionPolicy is the BasicRetentionPolicy implementation for LongTermRetentionPolicy.

func (LongTermRetentionPolicy) AsLongTermRetentionPolicy

func (ltrp LongTermRetentionPolicy) AsLongTermRetentionPolicy() (*LongTermRetentionPolicy, bool)

AsLongTermRetentionPolicy is the BasicRetentionPolicy implementation for LongTermRetentionPolicy.

func (LongTermRetentionPolicy) AsRetentionPolicy

func (ltrp LongTermRetentionPolicy) AsRetentionPolicy() (*RetentionPolicy, bool)

AsRetentionPolicy is the BasicRetentionPolicy implementation for LongTermRetentionPolicy.

func (LongTermRetentionPolicy) AsSimpleRetentionPolicy

func (ltrp LongTermRetentionPolicy) AsSimpleRetentionPolicy() (*SimpleRetentionPolicy, bool)

AsSimpleRetentionPolicy is the BasicRetentionPolicy implementation for LongTermRetentionPolicy.

func (LongTermRetentionPolicy) MarshalJSON

func (ltrp LongTermRetentionPolicy) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LongTermRetentionPolicy.

type LongTermSchedulePolicy

LongTermSchedulePolicy long-term policy schedule.

type LongTermSchedulePolicy struct {
    // SchedulePolicyType - Possible values include: 'SchedulePolicyTypeSchedulePolicy', 'SchedulePolicyTypeLongTermSchedulePolicy', 'SchedulePolicyTypeSimpleSchedulePolicy'
    SchedulePolicyType SchedulePolicyType `json:"schedulePolicyType,omitempty"`
}

func (LongTermSchedulePolicy) AsBasicSchedulePolicy

func (ltsp LongTermSchedulePolicy) AsBasicSchedulePolicy() (BasicSchedulePolicy, bool)

AsBasicSchedulePolicy is the BasicSchedulePolicy implementation for LongTermSchedulePolicy.

func (LongTermSchedulePolicy) AsLongTermSchedulePolicy

func (ltsp LongTermSchedulePolicy) AsLongTermSchedulePolicy() (*LongTermSchedulePolicy, bool)

AsLongTermSchedulePolicy is the BasicSchedulePolicy implementation for LongTermSchedulePolicy.

func (LongTermSchedulePolicy) AsSchedulePolicy

func (ltsp LongTermSchedulePolicy) AsSchedulePolicy() (*SchedulePolicy, bool)

AsSchedulePolicy is the BasicSchedulePolicy implementation for LongTermSchedulePolicy.

func (LongTermSchedulePolicy) AsSimpleSchedulePolicy

func (ltsp LongTermSchedulePolicy) AsSimpleSchedulePolicy() (*SimpleSchedulePolicy, bool)

AsSimpleSchedulePolicy is the BasicSchedulePolicy implementation for LongTermSchedulePolicy.

func (LongTermSchedulePolicy) MarshalJSON

func (ltsp LongTermSchedulePolicy) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LongTermSchedulePolicy.

type MabContainer

MabContainer the container associated with items backed up using Azure Backup Server.

type MabContainer struct {
    // CanReRegister - The container can be registered one more time.
    CanReRegister *bool `json:"canReRegister,omitempty"`
    // ContainerID - The ID for the container.
    ContainerID *int64 `json:"containerId,omitempty"`
    // ProtectedItemCount - The number of backup items in the container.
    ProtectedItemCount *int64 `json:"protectedItemCount,omitempty"`
    // AgentVersion - The version of the agent used with this container.
    AgentVersion *string `json:"agentVersion,omitempty"`
    // ExtendedInfo - Additional information for the container.
    ExtendedInfo *MabContainerExtendedInfo `json:"extendedInfo,omitempty"`
    // FriendlyName - Friendly name of the container.
    FriendlyName *string `json:"friendlyName,omitempty"`
    // BackupManagementType - The backup management type for the container. Possible values include: 'ManagementTypeInvalid', 'ManagementTypeAzureIaasVM', 'ManagementTypeMAB', 'ManagementTypeDPM', 'ManagementTypeAzureBackupServer', 'ManagementTypeAzureSQL'
    BackupManagementType ManagementType `json:"backupManagementType,omitempty"`
    // RegistrationStatus - The container's registration status with the Recovery Services vault.
    RegistrationStatus *string `json:"registrationStatus,omitempty"`
    // HealthStatus - The status of the container's health.
    HealthStatus *string `json:"healthStatus,omitempty"`
    // ContainerType - READ-ONLY; The type assigned to the container. The values to use for each of these properties are:<br/> 1. Compute Azure VM is Microsoft.Compute/virtualMachines<br/> 2. Classic Compute Azure VM is Microsoft.ClassicCompute/virtualMachines<br/> 3. Windows machines (like Azure Backup Server and DPM) is Windows<br/> 4. Azure SQL instance is AzureSqlContainer.
    ContainerType *string `json:"containerType,omitempty"`
    // ProtectableObjectType - Possible values include: 'ProtectableObjectTypeProtectionContainer', 'ProtectableObjectTypeAzureSQLContainer', 'ProtectableObjectTypeIaaSVMContainer', 'ProtectableObjectTypeMABWindowsContainer', 'ProtectableObjectTypeMicrosoftComputevirtualMachines', 'ProtectableObjectTypeMicrosoftClassicComputevirtualMachines'
    ProtectableObjectType ProtectableObjectType `json:"protectableObjectType,omitempty"`
}

func (MabContainer) AsAzureIaaSClassicComputeVMContainer

func (mc MabContainer) AsAzureIaaSClassicComputeVMContainer() (*AzureIaaSClassicComputeVMContainer, bool)

AsAzureIaaSClassicComputeVMContainer is the BasicProtectionContainer implementation for MabContainer.

func (MabContainer) AsAzureIaaSComputeVMContainer

func (mc MabContainer) AsAzureIaaSComputeVMContainer() (*AzureIaaSComputeVMContainer, bool)

AsAzureIaaSComputeVMContainer is the BasicProtectionContainer implementation for MabContainer.

func (MabContainer) AsAzureSQLContainer

func (mc MabContainer) AsAzureSQLContainer() (*AzureSQLContainer, bool)

AsAzureSQLContainer is the BasicProtectionContainer implementation for MabContainer.

func (MabContainer) AsBasicIaaSVMContainer

func (mc MabContainer) AsBasicIaaSVMContainer() (BasicIaaSVMContainer, bool)

AsBasicIaaSVMContainer is the BasicProtectionContainer implementation for MabContainer.

func (MabContainer) AsBasicProtectionContainer

func (mc MabContainer) AsBasicProtectionContainer() (BasicProtectionContainer, bool)

AsBasicProtectionContainer is the BasicProtectionContainer implementation for MabContainer.

func (MabContainer) AsIaaSVMContainer

func (mc MabContainer) AsIaaSVMContainer() (*IaaSVMContainer, bool)

AsIaaSVMContainer is the BasicProtectionContainer implementation for MabContainer.

func (MabContainer) AsMabContainer

func (mc MabContainer) AsMabContainer() (*MabContainer, bool)

AsMabContainer is the BasicProtectionContainer implementation for MabContainer.

func (MabContainer) AsProtectionContainer

func (mc MabContainer) AsProtectionContainer() (*ProtectionContainer, bool)

AsProtectionContainer is the BasicProtectionContainer implementation for MabContainer.

func (MabContainer) MarshalJSON

func (mc MabContainer) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MabContainer.

type MabContainerExtendedInfo

MabContainerExtendedInfo additional information for the container.

type MabContainerExtendedInfo struct {
    // LastRefreshedAt - The time stamp when this container was refreshed.
    LastRefreshedAt *date.Time `json:"lastRefreshedAt,omitempty"`
    // BackupItemType - The type of backup items associated with this container. Possible values include: 'ItemTypeInvalid', 'ItemTypeVM', 'ItemTypeFileFolder', 'ItemTypeAzureSQLDb', 'ItemTypeSQLDB', 'ItemTypeExchange', 'ItemTypeSharepoint', 'ItemTypeDPMUnknown'
    BackupItemType ItemType `json:"backupItemType,omitempty"`
    // BackupItems - The list of backup items associated with this container.
    BackupItems *[]string `json:"backupItems,omitempty"`
    // PolicyName - The backup policy associated with this container.
    PolicyName *string `json:"policyName,omitempty"`
    // LastBackupStatus - The latest backup status of this container.
    LastBackupStatus *string `json:"lastBackupStatus,omitempty"`
}

type MabErrorInfo

MabErrorInfo azure Backup Server workload-specific error information.

type MabErrorInfo struct {
    // ErrorString - Localized error string.
    ErrorString *string `json:"errorString,omitempty"`
    // Recommendations - List of localized recommendations.
    Recommendations *[]string `json:"recommendations,omitempty"`
}

type MabFileFolderProtectedItem

MabFileFolderProtectedItem this is a file or folder workload-specific backup item.

type MabFileFolderProtectedItem struct {
    // FriendlyName - The friendly name of this backup item.
    FriendlyName *string `json:"friendlyName,omitempty"`
    // ComputerName - The name of the computer associated with this backup item.
    ComputerName *string `json:"computerName,omitempty"`
    // LastBackupStatus - The status of last backup operation.
    LastBackupStatus *string `json:"lastBackupStatus,omitempty"`
    // ProtectionState - The states for this property are: Protected, ProtectionStopped, IRPending, or ProtectionError.
    ProtectionState              *string `json:"protectionState,omitempty"`
    IsScheduledForDeferredDelete *bool   `json:"isScheduledForDeferredDelete,omitempty"`
    // ExtendedInfo - Additional information for this backup item.
    ExtendedInfo *MabFileFolderProtectedItemExtendedInfo `json:"extendedInfo,omitempty"`
    // BackupManagementType - The backup management type associated with the backup item. Possible values include: 'ManagementTypeInvalid', 'ManagementTypeAzureIaasVM', 'ManagementTypeMAB', 'ManagementTypeDPM', 'ManagementTypeAzureBackupServer', 'ManagementTypeAzureSQL'
    BackupManagementType ManagementType `json:"backupManagementType,omitempty"`
    // WorkloadType - The workload type for this item. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSQLDb', 'SQLDB', 'Exchange', 'Sharepoint', 'DPMUnknown'
    WorkloadType DataSourceType `json:"workloadType,omitempty"`
    // SourceResourceID - The ID of the resource to be backed up.
    SourceResourceID *string `json:"sourceResourceId,omitempty"`
    // PolicyID - The ID of the backup policy associated with this backup item.
    PolicyID *string `json:"policyId,omitempty"`
    // LastRecoveryPoint - The timestamp when the most recent backup copy was created for this backup item.
    LastRecoveryPoint *date.Time `json:"lastRecoveryPoint,omitempty"`
    // ProtectedItemType - Possible values include: 'ProtectedItemTypeProtectedItem', 'ProtectedItemTypeAzureIaaSVMProtectedItem', 'ProtectedItemTypeMabFileFolderProtectedItem', 'ProtectedItemTypeMicrosoftSqlserversdatabases', 'ProtectedItemTypeMicrosoftComputevirtualMachines', 'ProtectedItemTypeMicrosoftClassicComputevirtualMachines'
    ProtectedItemType ProtectedItemType `json:"protectedItemType,omitempty"`
}

func (MabFileFolderProtectedItem) AsAzureIaaSClassicComputeVMProtectedItem

func (mffpi MabFileFolderProtectedItem) AsAzureIaaSClassicComputeVMProtectedItem() (*AzureIaaSClassicComputeVMProtectedItem, bool)

AsAzureIaaSClassicComputeVMProtectedItem is the BasicProtectedItem implementation for MabFileFolderProtectedItem.

func (MabFileFolderProtectedItem) AsAzureIaaSComputeVMProtectedItem

func (mffpi MabFileFolderProtectedItem) AsAzureIaaSComputeVMProtectedItem() (*AzureIaaSComputeVMProtectedItem, bool)

AsAzureIaaSComputeVMProtectedItem is the BasicProtectedItem implementation for MabFileFolderProtectedItem.

func (MabFileFolderProtectedItem) AsAzureIaaSVMProtectedItem

func (mffpi MabFileFolderProtectedItem) AsAzureIaaSVMProtectedItem() (*AzureIaaSVMProtectedItem, bool)

AsAzureIaaSVMProtectedItem is the BasicProtectedItem implementation for MabFileFolderProtectedItem.

func (MabFileFolderProtectedItem) AsAzureSQLProtectedItem

func (mffpi MabFileFolderProtectedItem) AsAzureSQLProtectedItem() (*AzureSQLProtectedItem, bool)

AsAzureSQLProtectedItem is the BasicProtectedItem implementation for MabFileFolderProtectedItem.

func (MabFileFolderProtectedItem) AsBasicAzureIaaSVMProtectedItem

func (mffpi MabFileFolderProtectedItem) AsBasicAzureIaaSVMProtectedItem() (BasicAzureIaaSVMProtectedItem, bool)

AsBasicAzureIaaSVMProtectedItem is the BasicProtectedItem implementation for MabFileFolderProtectedItem.

func (MabFileFolderProtectedItem) AsBasicProtectedItem

func (mffpi MabFileFolderProtectedItem) AsBasicProtectedItem() (BasicProtectedItem, bool)

AsBasicProtectedItem is the BasicProtectedItem implementation for MabFileFolderProtectedItem.

func (MabFileFolderProtectedItem) AsMabFileFolderProtectedItem

func (mffpi MabFileFolderProtectedItem) AsMabFileFolderProtectedItem() (*MabFileFolderProtectedItem, bool)

AsMabFileFolderProtectedItem is the BasicProtectedItem implementation for MabFileFolderProtectedItem.

func (MabFileFolderProtectedItem) AsProtectedItem

func (mffpi MabFileFolderProtectedItem) AsProtectedItem() (*ProtectedItem, bool)

AsProtectedItem is the BasicProtectedItem implementation for MabFileFolderProtectedItem.

func (MabFileFolderProtectedItem) MarshalJSON

func (mffpi MabFileFolderProtectedItem) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MabFileFolderProtectedItem.

type MabFileFolderProtectedItemExtendedInfo

MabFileFolderProtectedItemExtendedInfo additional information for the backup item.

type MabFileFolderProtectedItemExtendedInfo struct {
    // LastRefreshedAt - The last day and time the agent synced with the service.
    LastRefreshedAt *date.Time `json:"lastRefreshedAt,omitempty"`
    // OldestRecoveryPoint - The oldest backup copy available.
    OldestRecoveryPoint *date.Time `json:"oldestRecoveryPoint,omitempty"`
    // RecoveryPointCount - The number of backup copies associated with the backup item.
    RecoveryPointCount *int32 `json:"recoveryPointCount,omitempty"`
}

type MabJob

MabJob the Azure Backup Server workload-specific job.

type MabJob struct {
    // Duration - The time required for the job to run.
    Duration *string `json:"duration,omitempty"`
    // ActionsInfo - The state or actions applicable on jobs such as Cancel or Retry.
    ActionsInfo *[]JobSupportedAction `json:"actionsInfo,omitempty"`
    // MabServerName - The name of server protecting the data store.
    MabServerName *string `json:"mabServerName,omitempty"`
    // MabServerType - Server type of the Azure Backup Server container. Possible values include: 'MabServerTypeInvalid', 'MabServerTypeUnknown', 'MabServerTypeIaasVMContainer', 'MabServerTypeIaasVMServiceContainer', 'MabServerTypeDPMContainer', 'MabServerTypeDPMVenusContainer', 'MabServerTypeMABContainer', 'MabServerTypeClusterResource', 'MabServerTypeAzureSQLContainer', 'MabServerTypeWindowsServer', 'MabServerTypeWindows'
    MabServerType MabServerType `json:"mabServerType,omitempty"`
    // WorkloadType - Workload type of backup item. Possible values include: 'WorkloadTypeInvalid', 'WorkloadTypeVM', 'WorkloadTypeFileFolder', 'WorkloadTypeAzureSQLDb', 'WorkloadTypeSQLDB', 'WorkloadTypeExchange', 'WorkloadTypeSharepoint', 'WorkloadTypeDPMUnknown'
    WorkloadType WorkloadType `json:"workloadType,omitempty"`
    // ErrorDetails - The errors.
    ErrorDetails *[]MabErrorInfo `json:"errorDetails,omitempty"`
    // ExtendedInfo - Additional information on the job.
    ExtendedInfo *MabJobExtendedInfo `json:"extendedInfo,omitempty"`
    // EntityFriendlyName - The friendly name of the entity on which the current job is executing.
    EntityFriendlyName *string `json:"entityFriendlyName,omitempty"`
    // BackupManagementType - The backup management type for the current job. Possible values include: 'ManagementTypeInvalid', 'ManagementTypeAzureIaasVM', 'ManagementTypeMAB', 'ManagementTypeDPM', 'ManagementTypeAzureBackupServer', 'ManagementTypeAzureSQL'
    BackupManagementType ManagementType `json:"backupManagementType,omitempty"`
    // Operation - The operation name.
    Operation *string `json:"operation,omitempty"`
    // Status - The job status.
    Status *string `json:"status,omitempty"`
    // StartTime - The start time.
    StartTime *date.Time `json:"startTime,omitempty"`
    // EndTime - The end time.
    EndTime *date.Time `json:"endTime,omitempty"`
    // ActivityID - ActivityId of job.
    ActivityID *string `json:"activityId,omitempty"`
    // JobType - Possible values include: 'JobTypeJob', 'JobTypeAzureIaaSVMJob', 'JobTypeDpmJob', 'JobTypeMabJob'
    JobType JobType `json:"jobType,omitempty"`
}

func (MabJob) AsAzureIaaSVMJob

func (mj MabJob) AsAzureIaaSVMJob() (*AzureIaaSVMJob, bool)

AsAzureIaaSVMJob is the BasicJob implementation for MabJob.

func (MabJob) AsBasicJob

func (mj MabJob) AsBasicJob() (BasicJob, bool)

AsBasicJob is the BasicJob implementation for MabJob.

func (MabJob) AsDpmJob

func (mj MabJob) AsDpmJob() (*DpmJob, bool)

AsDpmJob is the BasicJob implementation for MabJob.

func (MabJob) AsJob

func (mj MabJob) AsJob() (*Job, bool)

AsJob is the BasicJob implementation for MabJob.

func (MabJob) AsMabJob

func (mj MabJob) AsMabJob() (*MabJob, bool)

AsMabJob is the BasicJob implementation for MabJob.

func (MabJob) MarshalJSON

func (mj MabJob) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MabJob.

type MabJobExtendedInfo

MabJobExtendedInfo additional information for the Azure Backup Server workload-specific job.

type MabJobExtendedInfo struct {
    // TasksList - List of tasks for this job.
    TasksList *[]MabJobTaskDetails `json:"tasksList,omitempty"`
    // PropertyBag - The job properties.
    PropertyBag map[string]*string `json:"propertyBag"`
    // DynamicErrorMessage - Non-localized error message specific to this job.
    DynamicErrorMessage *string `json:"dynamicErrorMessage,omitempty"`
}

func (MabJobExtendedInfo) MarshalJSON

func (mjei MabJobExtendedInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MabJobExtendedInfo.

type MabJobTaskDetails

MabJobTaskDetails azure Backup Server workload-specific job task details.

type MabJobTaskDetails struct {
    // TaskID - The task display name.
    TaskID *string `json:"taskId,omitempty"`
    // StartTime - The start time.
    StartTime *date.Time `json:"startTime,omitempty"`
    // EndTime - The end time.
    EndTime *date.Time `json:"endTime,omitempty"`
    // Duration - Time elapsed for task.
    Duration *string `json:"duration,omitempty"`
    // Status - The status.
    Status *string `json:"status,omitempty"`
}

type MabProtectionPolicy

MabProtectionPolicy the backup policy for the file or folder container.

type MabProtectionPolicy struct {
    // SchedulePolicy - The schedule specified in the backup policy.
    SchedulePolicy BasicSchedulePolicy `json:"schedulePolicy,omitempty"`
    // RetentionPolicy - The details specified in the Retention policy.
    RetentionPolicy BasicRetentionPolicy `json:"retentionPolicy,omitempty"`
    // ProtectedItemsCount - The number of items associated with this policy.
    ProtectedItemsCount *int32 `json:"protectedItemsCount,omitempty"`
    // BackupManagementType - Possible values include: 'BackupManagementTypeProtectionPolicy', 'BackupManagementTypeAzureIaasVM', 'BackupManagementTypeMAB', 'BackupManagementTypeAzureSQL'
    BackupManagementType ManagementTypeBasicProtectionPolicy `json:"backupManagementType,omitempty"`
}

func (MabProtectionPolicy) AsAzureIaaSVMProtectionPolicy

func (mpp MabProtectionPolicy) AsAzureIaaSVMProtectionPolicy() (*AzureIaaSVMProtectionPolicy, bool)

AsAzureIaaSVMProtectionPolicy is the BasicProtectionPolicy implementation for MabProtectionPolicy.

func (MabProtectionPolicy) AsAzureSQLProtectionPolicy

func (mpp MabProtectionPolicy) AsAzureSQLProtectionPolicy() (*AzureSQLProtectionPolicy, bool)

AsAzureSQLProtectionPolicy is the BasicProtectionPolicy implementation for MabProtectionPolicy.

func (MabProtectionPolicy) AsBasicProtectionPolicy

func (mpp MabProtectionPolicy) AsBasicProtectionPolicy() (BasicProtectionPolicy, bool)

AsBasicProtectionPolicy is the BasicProtectionPolicy implementation for MabProtectionPolicy.

func (MabProtectionPolicy) AsMabProtectionPolicy

func (mpp MabProtectionPolicy) AsMabProtectionPolicy() (*MabProtectionPolicy, bool)

AsMabProtectionPolicy is the BasicProtectionPolicy implementation for MabProtectionPolicy.

func (MabProtectionPolicy) AsProtectionPolicy

func (mpp MabProtectionPolicy) AsProtectionPolicy() (*ProtectionPolicy, bool)

AsProtectionPolicy is the BasicProtectionPolicy implementation for MabProtectionPolicy.

func (MabProtectionPolicy) MarshalJSON

func (mpp MabProtectionPolicy) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MabProtectionPolicy.

func (*MabProtectionPolicy) UnmarshalJSON

func (mpp *MabProtectionPolicy) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for MabProtectionPolicy struct.

type MabServerType

MabServerType enumerates the values for mab server type.

type MabServerType string
const (
    // MabServerTypeAzureSQLContainer ...
    MabServerTypeAzureSQLContainer MabServerType = "AzureSqlContainer"
    // MabServerTypeClusterResource ...
    MabServerTypeClusterResource MabServerType = "ClusterResource"
    // MabServerTypeDPMContainer ...
    MabServerTypeDPMContainer MabServerType = "DPMContainer"
    // MabServerTypeDPMVenusContainer ...
    MabServerTypeDPMVenusContainer MabServerType = "DPMVenusContainer"
    // MabServerTypeIaasVMContainer ...
    MabServerTypeIaasVMContainer MabServerType = "IaasVMContainer"
    // MabServerTypeIaasVMServiceContainer ...
    MabServerTypeIaasVMServiceContainer MabServerType = "IaasVMServiceContainer"
    // MabServerTypeInvalid ...
    MabServerTypeInvalid MabServerType = "Invalid"
    // MabServerTypeMABContainer ...
    MabServerTypeMABContainer MabServerType = "MABContainer"
    // MabServerTypeUnknown ...
    MabServerTypeUnknown MabServerType = "Unknown"
    // MabServerTypeWindows ...
    MabServerTypeWindows MabServerType = "Windows"
    // MabServerTypeWindowsServer ...
    MabServerTypeWindowsServer MabServerType = "WindowsServer"
)

func PossibleMabServerTypeValues

func PossibleMabServerTypeValues() []MabServerType

PossibleMabServerTypeValues returns an array of possible values for the MabServerType const type.

type ManagementType

ManagementType enumerates the values for management type.

type ManagementType string
const (
    // ManagementTypeAzureBackupServer ...
    ManagementTypeAzureBackupServer ManagementType = "AzureBackupServer"
    // ManagementTypeAzureIaasVM ...
    ManagementTypeAzureIaasVM ManagementType = "AzureIaasVM"
    // ManagementTypeAzureSQL ...
    ManagementTypeAzureSQL ManagementType = "AzureSql"
    // ManagementTypeDPM ...
    ManagementTypeDPM ManagementType = "DPM"
    // ManagementTypeInvalid ...
    ManagementTypeInvalid ManagementType = "Invalid"
    // ManagementTypeMAB ...
    ManagementTypeMAB ManagementType = "MAB"
)

func PossibleManagementTypeValues

func PossibleManagementTypeValues() []ManagementType

PossibleManagementTypeValues returns an array of possible values for the ManagementType const type.

type ManagementTypeBasicProtectionPolicy

ManagementTypeBasicProtectionPolicy enumerates the values for management type basic protection policy.

type ManagementTypeBasicProtectionPolicy string
const (
    // BackupManagementTypeAzureIaasVM ...
    BackupManagementTypeAzureIaasVM ManagementTypeBasicProtectionPolicy = "AzureIaasVM"
    // BackupManagementTypeAzureSQL ...
    BackupManagementTypeAzureSQL ManagementTypeBasicProtectionPolicy = "AzureSql"
    // BackupManagementTypeMAB ...
    BackupManagementTypeMAB ManagementTypeBasicProtectionPolicy = "MAB"
    // BackupManagementTypeProtectionPolicy ...
    BackupManagementTypeProtectionPolicy ManagementTypeBasicProtectionPolicy = "ProtectionPolicy"
)

func PossibleManagementTypeBasicProtectionPolicyValues

func PossibleManagementTypeBasicProtectionPolicyValues() []ManagementTypeBasicProtectionPolicy

PossibleManagementTypeBasicProtectionPolicyValues returns an array of possible values for the ManagementTypeBasicProtectionPolicy const type.

type MonthOfYear

MonthOfYear enumerates the values for month of year.

type MonthOfYear string
const (
    // MonthOfYearApril ...
    MonthOfYearApril MonthOfYear = "April"
    // MonthOfYearAugust ...
    MonthOfYearAugust MonthOfYear = "August"
    // MonthOfYearDecember ...
    MonthOfYearDecember MonthOfYear = "December"
    // MonthOfYearFebruary ...
    MonthOfYearFebruary MonthOfYear = "February"
    // MonthOfYearInvalid ...
    MonthOfYearInvalid MonthOfYear = "Invalid"
    // MonthOfYearJanuary ...
    MonthOfYearJanuary MonthOfYear = "January"
    // MonthOfYearJuly ...
    MonthOfYearJuly MonthOfYear = "July"
    // MonthOfYearJune ...
    MonthOfYearJune MonthOfYear = "June"
    // MonthOfYearMarch ...
    MonthOfYearMarch MonthOfYear = "March"
    // MonthOfYearMay ...
    MonthOfYearMay MonthOfYear = "May"
    // MonthOfYearNovember ...
    MonthOfYearNovember MonthOfYear = "November"
    // MonthOfYearOctober ...
    MonthOfYearOctober MonthOfYear = "October"
    // MonthOfYearSeptember ...
    MonthOfYearSeptember MonthOfYear = "September"
)

func PossibleMonthOfYearValues

func PossibleMonthOfYearValues() []MonthOfYear

PossibleMonthOfYearValues returns an array of possible values for the MonthOfYear const type.

type MonthlyRetentionSchedule

MonthlyRetentionSchedule the monthly retention schedule.

type MonthlyRetentionSchedule struct {
    // RetentionScheduleFormatType - Retention schedule format type for monthly retention policy. Possible values include: 'RetentionScheduleFormatInvalid', 'RetentionScheduleFormatDaily', 'RetentionScheduleFormatWeekly'
    RetentionScheduleFormatType RetentionScheduleFormat `json:"retentionScheduleFormatType,omitempty"`
    // RetentionScheduleDaily - Daily retention format for the monthly retention policy.
    RetentionScheduleDaily *DailyRetentionFormat `json:"retentionScheduleDaily,omitempty"`
    // RetentionScheduleWeekly - Weekly retention format for the monthly retention policy.
    RetentionScheduleWeekly *WeeklyRetentionFormat `json:"retentionScheduleWeekly,omitempty"`
    // RetentionTimes - Retention times of the retention policy.
    RetentionTimes *[]date.Time `json:"retentionTimes,omitempty"`
    // RetentionDuration - Retention duration of the retention policy.
    RetentionDuration *RetentionDuration `json:"retentionDuration,omitempty"`
}

type ObjectType

ObjectType enumerates the values for object type.

type ObjectType string
const (
    // ObjectTypeOperationStatusExtendedInfo ...
    ObjectTypeOperationStatusExtendedInfo ObjectType = "OperationStatusExtendedInfo"
    // ObjectTypeOperationStatusJobExtendedInfo ...
    ObjectTypeOperationStatusJobExtendedInfo ObjectType = "OperationStatusJobExtendedInfo"
    // ObjectTypeOperationStatusJobsExtendedInfo ...
    ObjectTypeOperationStatusJobsExtendedInfo ObjectType = "OperationStatusJobsExtendedInfo"
    // ObjectTypeOperationStatusProvisionILRExtendedInfo ...
    ObjectTypeOperationStatusProvisionILRExtendedInfo ObjectType = "OperationStatusProvisionILRExtendedInfo"
)

func PossibleObjectTypeValues

func PossibleObjectTypeValues() []ObjectType

PossibleObjectTypeValues returns an array of possible values for the ObjectType const type.

type ObjectTypeBasicILRRequest

ObjectTypeBasicILRRequest enumerates the values for object type basic ilr request.

type ObjectTypeBasicILRRequest string
const (
    // ObjectTypeIaasVMILRRegistrationRequest ...
    ObjectTypeIaasVMILRRegistrationRequest ObjectTypeBasicILRRequest = "IaasVMILRRegistrationRequest"
    // ObjectTypeILRRequest ...
    ObjectTypeILRRequest ObjectTypeBasicILRRequest = "ILRRequest"
)

func PossibleObjectTypeBasicILRRequestValues

func PossibleObjectTypeBasicILRRequestValues() []ObjectTypeBasicILRRequest

PossibleObjectTypeBasicILRRequestValues returns an array of possible values for the ObjectTypeBasicILRRequest const type.

type ObjectTypeBasicOperationResultInfoBase

ObjectTypeBasicOperationResultInfoBase enumerates the values for object type basic operation result info base.

type ObjectTypeBasicOperationResultInfoBase string
const (
    // ObjectTypeExportJobsOperationResultInfo ...
    ObjectTypeExportJobsOperationResultInfo ObjectTypeBasicOperationResultInfoBase = "ExportJobsOperationResultInfo"
    // ObjectTypeOperationResultInfo ...
    ObjectTypeOperationResultInfo ObjectTypeBasicOperationResultInfoBase = "OperationResultInfo"
    // ObjectTypeOperationResultInfoBase ...
    ObjectTypeOperationResultInfoBase ObjectTypeBasicOperationResultInfoBase = "OperationResultInfoBase"
)

func PossibleObjectTypeBasicOperationResultInfoBaseValues

func PossibleObjectTypeBasicOperationResultInfoBaseValues() []ObjectTypeBasicOperationResultInfoBase

PossibleObjectTypeBasicOperationResultInfoBaseValues returns an array of possible values for the ObjectTypeBasicOperationResultInfoBase const type.

type ObjectTypeBasicRecoveryPoint

ObjectTypeBasicRecoveryPoint enumerates the values for object type basic recovery point.

type ObjectTypeBasicRecoveryPoint string
const (
    // ObjectTypeGenericRecoveryPoint ...
    ObjectTypeGenericRecoveryPoint ObjectTypeBasicRecoveryPoint = "GenericRecoveryPoint"
    // ObjectTypeIaasVMRecoveryPoint ...
    ObjectTypeIaasVMRecoveryPoint ObjectTypeBasicRecoveryPoint = "IaasVMRecoveryPoint"
    // ObjectTypeRecoveryPoint ...
    ObjectTypeRecoveryPoint ObjectTypeBasicRecoveryPoint = "RecoveryPoint"
)

func PossibleObjectTypeBasicRecoveryPointValues

func PossibleObjectTypeBasicRecoveryPointValues() []ObjectTypeBasicRecoveryPoint

PossibleObjectTypeBasicRecoveryPointValues returns an array of possible values for the ObjectTypeBasicRecoveryPoint const type.

type ObjectTypeBasicRequest

ObjectTypeBasicRequest enumerates the values for object type basic request.

type ObjectTypeBasicRequest string
const (
    // ObjectTypeBackupRequest ...
    ObjectTypeBackupRequest ObjectTypeBasicRequest = "BackupRequest"
    // ObjectTypeIaasVMBackupRequest ...
    ObjectTypeIaasVMBackupRequest ObjectTypeBasicRequest = "IaasVMBackupRequest"
)

func PossibleObjectTypeBasicRequestValues

func PossibleObjectTypeBasicRequestValues() []ObjectTypeBasicRequest

PossibleObjectTypeBasicRequestValues returns an array of possible values for the ObjectTypeBasicRequest const type.

type ObjectTypeBasicRestoreRequest

ObjectTypeBasicRestoreRequest enumerates the values for object type basic restore request.

type ObjectTypeBasicRestoreRequest string
const (
    // ObjectTypeIaasVMRestoreRequest ...
    ObjectTypeIaasVMRestoreRequest ObjectTypeBasicRestoreRequest = "IaasVMRestoreRequest"
    // ObjectTypeRestoreRequest ...
    ObjectTypeRestoreRequest ObjectTypeBasicRestoreRequest = "RestoreRequest"
)

func PossibleObjectTypeBasicRestoreRequestValues

func PossibleObjectTypeBasicRestoreRequestValues() []ObjectTypeBasicRestoreRequest

PossibleObjectTypeBasicRestoreRequestValues returns an array of possible values for the ObjectTypeBasicRestoreRequest const type.

type OperationResultInfo

OperationResultInfo information about the result of the operation.

type OperationResultInfo struct {
    // JobList - List of jobs created by this operation.
    JobList *[]string `json:"jobList,omitempty"`
    // ObjectType - Possible values include: 'ObjectTypeOperationResultInfoBase', 'ObjectTypeOperationResultInfo', 'ObjectTypeExportJobsOperationResultInfo'
    ObjectType ObjectTypeBasicOperationResultInfoBase `json:"objectType,omitempty"`
}

func (OperationResultInfo) AsBasicOperationResultInfoBase

func (ori OperationResultInfo) AsBasicOperationResultInfoBase() (BasicOperationResultInfoBase, bool)

AsBasicOperationResultInfoBase is the BasicOperationResultInfoBase implementation for OperationResultInfo.

func (OperationResultInfo) AsExportJobsOperationResultInfo

func (ori OperationResultInfo) AsExportJobsOperationResultInfo() (*ExportJobsOperationResultInfo, bool)

AsExportJobsOperationResultInfo is the BasicOperationResultInfoBase implementation for OperationResultInfo.

func (OperationResultInfo) AsOperationResultInfo

func (ori OperationResultInfo) AsOperationResultInfo() (*OperationResultInfo, bool)

AsOperationResultInfo is the BasicOperationResultInfoBase implementation for OperationResultInfo.

func (OperationResultInfo) AsOperationResultInfoBase

func (ori OperationResultInfo) AsOperationResultInfoBase() (*OperationResultInfoBase, bool)

AsOperationResultInfoBase is the BasicOperationResultInfoBase implementation for OperationResultInfo.

func (OperationResultInfo) MarshalJSON

func (ori OperationResultInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OperationResultInfo.

type OperationResultInfoBase

OperationResultInfoBase the base class for operation result information.

type OperationResultInfoBase struct {
    // ObjectType - Possible values include: 'ObjectTypeOperationResultInfoBase', 'ObjectTypeOperationResultInfo', 'ObjectTypeExportJobsOperationResultInfo'
    ObjectType ObjectTypeBasicOperationResultInfoBase `json:"objectType,omitempty"`
}

func (OperationResultInfoBase) AsBasicOperationResultInfoBase

func (orib OperationResultInfoBase) AsBasicOperationResultInfoBase() (BasicOperationResultInfoBase, bool)

AsBasicOperationResultInfoBase is the BasicOperationResultInfoBase implementation for OperationResultInfoBase.

func (OperationResultInfoBase) AsExportJobsOperationResultInfo

func (orib OperationResultInfoBase) AsExportJobsOperationResultInfo() (*ExportJobsOperationResultInfo, bool)

AsExportJobsOperationResultInfo is the BasicOperationResultInfoBase implementation for OperationResultInfoBase.

func (OperationResultInfoBase) AsOperationResultInfo

func (orib OperationResultInfoBase) AsOperationResultInfo() (*OperationResultInfo, bool)

AsOperationResultInfo is the BasicOperationResultInfoBase implementation for OperationResultInfoBase.

func (OperationResultInfoBase) AsOperationResultInfoBase

func (orib OperationResultInfoBase) AsOperationResultInfoBase() (*OperationResultInfoBase, bool)

AsOperationResultInfoBase is the BasicOperationResultInfoBase implementation for OperationResultInfoBase.

func (OperationResultInfoBase) MarshalJSON

func (orib OperationResultInfoBase) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OperationResultInfoBase.

type OperationResultInfoBaseResource

OperationResultInfoBaseResource base class for operation result information.

type OperationResultInfoBaseResource struct {
    autorest.Response `json:"-"`
    Properties        BasicOperationResultInfoBase `json:"properties,omitempty"`
    // StatusCode - The HTTP status code of the operation. Possible values include: 'Continue', 'SwitchingProtocols', 'OK', 'Created', 'Accepted', 'NonAuthoritativeInformation', 'NoContent', 'ResetContent', 'PartialContent', 'MultipleChoices', 'Ambiguous', 'MovedPermanently', 'Moved', 'Found', 'Redirect', 'SeeOther', 'RedirectMethod', 'NotModified', 'UseProxy', 'Unused', 'TemporaryRedirect', 'RedirectKeepVerb', 'BadRequest', 'Unauthorized', 'PaymentRequired', 'Forbidden', 'NotFound', 'MethodNotAllowed', 'NotAcceptable', 'ProxyAuthenticationRequired', 'RequestTimeout', 'Conflict', 'Gone', 'LengthRequired', 'PreconditionFailed', 'RequestEntityTooLarge', 'RequestURITooLong', 'UnsupportedMediaType', 'RequestedRangeNotSatisfiable', 'ExpectationFailed', 'UpgradeRequired', 'InternalServerError', 'NotImplemented', 'BadGateway', 'ServiceUnavailable', 'GatewayTimeout', 'HTTPVersionNotSupported'
    StatusCode HTTPStatusCode `json:"statusCode,omitempty"`
    // Headers - The HTTP headers associated with this operation.
    Headers map[string][]string `json:"Headers"`
}

func (OperationResultInfoBaseResource) MarshalJSON

func (oribr OperationResultInfoBaseResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OperationResultInfoBaseResource.

func (*OperationResultInfoBaseResource) UnmarshalJSON

func (oribr *OperationResultInfoBaseResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for OperationResultInfoBaseResource struct.

type OperationResultsClient

OperationResultsClient is the open API 2.0 Specs for Azure RecoveryServices Backup service

type OperationResultsClient struct {
    BaseClient
}

func NewOperationResultsClient

func NewOperationResultsClient(subscriptionID string) OperationResultsClient

NewOperationResultsClient creates an instance of the OperationResultsClient client.

func NewOperationResultsClientWithBaseURI

func NewOperationResultsClientWithBaseURI(baseURI string, subscriptionID string) OperationResultsClient

NewOperationResultsClientWithBaseURI creates an instance of the OperationResultsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (OperationResultsClient) Get

func (client OperationResultsClient) Get(ctx context.Context, vaultName string, resourceGroupName string, operationID string) (result autorest.Response, err error)

Get provides the status of the delete operations, for example, deleting a backup item. Once the operation starts, the response status code is Accepted. The response status code remains in this state until the operation reaches completion. On successful completion, the status code changes to OK. This method expects OperationID as an argument. OperationID is part of the Location header of the operation response. Parameters: vaultName - the name of the Recovery Services vault. resourceGroupName - the name of the resource group associated with the Recovery Services vault. operationID - the ID of the operation.

func (OperationResultsClient) GetPreparer

func (client OperationResultsClient) GetPreparer(ctx context.Context, vaultName string, resourceGroupName string, operationID string) (*http.Request, error)

GetPreparer prepares the Get request.

func (OperationResultsClient) GetResponder

func (client OperationResultsClient) 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.

func (OperationResultsClient) GetSender

func (client OperationResultsClient) 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.

type OperationStatus

OperationStatus operation status.

type OperationStatus struct {
    autorest.Response `json:"-"`
    // ID - ID of the operation.
    ID *string `json:"id,omitempty"`
    // Name - Name of the operation.
    Name *string `json:"name,omitempty"`
    // Status - Operation status. Possible values include: 'OperationStatusValuesInvalid', 'OperationStatusValuesInProgress', 'OperationStatusValuesSucceeded', 'OperationStatusValuesFailed', 'OperationStatusValuesCanceled'
    Status OperationStatusValues `json:"status,omitempty"`
    // StartTime - The operation start time. The format of the time is ISO-8601.
    StartTime *date.Time `json:"startTime,omitempty"`
    // EndTime - The operation end time. The format of the time is ISO-8601.
    EndTime *date.Time `json:"endTime,omitempty"`
    // Error - Error information related to this operation.
    Error *OperationStatusError `json:"error,omitempty"`
    // Properties - Additional information associated with this operation.
    Properties BasicOperationStatusExtendedInfo `json:"properties,omitempty"`
}

func (*OperationStatus) UnmarshalJSON

func (osVar *OperationStatus) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for OperationStatus struct.

type OperationStatusError

OperationStatusError error information associated with the operation status call.

type OperationStatusError struct {
    // Code - The error code for the failed operation.
    Code *string `json:"code,omitempty"`
    // Message - The error message for the failed operation.
    Message *string `json:"message,omitempty"`
}

type OperationStatusExtendedInfo

OperationStatusExtendedInfo the base class for additional information about the operation status.

type OperationStatusExtendedInfo struct {
    // ObjectType - Possible values include: 'ObjectTypeOperationStatusExtendedInfo', 'ObjectTypeOperationStatusJobExtendedInfo', 'ObjectTypeOperationStatusProvisionILRExtendedInfo', 'ObjectTypeOperationStatusJobsExtendedInfo'
    ObjectType ObjectType `json:"objectType,omitempty"`
}

func (OperationStatusExtendedInfo) AsBasicOperationStatusExtendedInfo

func (osei OperationStatusExtendedInfo) AsBasicOperationStatusExtendedInfo() (BasicOperationStatusExtendedInfo, bool)

AsBasicOperationStatusExtendedInfo is the BasicOperationStatusExtendedInfo implementation for OperationStatusExtendedInfo.

func (OperationStatusExtendedInfo) AsOperationStatusExtendedInfo

func (osei OperationStatusExtendedInfo) AsOperationStatusExtendedInfo() (*OperationStatusExtendedInfo, bool)

AsOperationStatusExtendedInfo is the BasicOperationStatusExtendedInfo implementation for OperationStatusExtendedInfo.

func (OperationStatusExtendedInfo) AsOperationStatusJobExtendedInfo

func (osei OperationStatusExtendedInfo) AsOperationStatusJobExtendedInfo() (*OperationStatusJobExtendedInfo, bool)

AsOperationStatusJobExtendedInfo is the BasicOperationStatusExtendedInfo implementation for OperationStatusExtendedInfo.

func (OperationStatusExtendedInfo) AsOperationStatusJobsExtendedInfo

func (osei OperationStatusExtendedInfo) AsOperationStatusJobsExtendedInfo() (*OperationStatusJobsExtendedInfo, bool)

AsOperationStatusJobsExtendedInfo is the BasicOperationStatusExtendedInfo implementation for OperationStatusExtendedInfo.

func (OperationStatusExtendedInfo) AsOperationStatusProvisionILRExtendedInfo

func (osei OperationStatusExtendedInfo) AsOperationStatusProvisionILRExtendedInfo() (*OperationStatusProvisionILRExtendedInfo, bool)

AsOperationStatusProvisionILRExtendedInfo is the BasicOperationStatusExtendedInfo implementation for OperationStatusExtendedInfo.

func (OperationStatusExtendedInfo) MarshalJSON

func (osei OperationStatusExtendedInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OperationStatusExtendedInfo.

type OperationStatusJobExtendedInfo

OperationStatusJobExtendedInfo extended information about the operation status job.

type OperationStatusJobExtendedInfo struct {
    // JobID - ID of the job created for this backup item.
    JobID *string `json:"jobId,omitempty"`
    // ObjectType - Possible values include: 'ObjectTypeOperationStatusExtendedInfo', 'ObjectTypeOperationStatusJobExtendedInfo', 'ObjectTypeOperationStatusProvisionILRExtendedInfo', 'ObjectTypeOperationStatusJobsExtendedInfo'
    ObjectType ObjectType `json:"objectType,omitempty"`
}

func (OperationStatusJobExtendedInfo) AsBasicOperationStatusExtendedInfo

func (osjei OperationStatusJobExtendedInfo) AsBasicOperationStatusExtendedInfo() (BasicOperationStatusExtendedInfo, bool)

AsBasicOperationStatusExtendedInfo is the BasicOperationStatusExtendedInfo implementation for OperationStatusJobExtendedInfo.

func (OperationStatusJobExtendedInfo) AsOperationStatusExtendedInfo

func (osjei OperationStatusJobExtendedInfo) AsOperationStatusExtendedInfo() (*OperationStatusExtendedInfo, bool)

AsOperationStatusExtendedInfo is the BasicOperationStatusExtendedInfo implementation for OperationStatusJobExtendedInfo.

func (OperationStatusJobExtendedInfo) AsOperationStatusJobExtendedInfo

func (osjei OperationStatusJobExtendedInfo) AsOperationStatusJobExtendedInfo() (*OperationStatusJobExtendedInfo, bool)

AsOperationStatusJobExtendedInfo is the BasicOperationStatusExtendedInfo implementation for OperationStatusJobExtendedInfo.

func (OperationStatusJobExtendedInfo) AsOperationStatusJobsExtendedInfo

func (osjei OperationStatusJobExtendedInfo) AsOperationStatusJobsExtendedInfo() (*OperationStatusJobsExtendedInfo, bool)

AsOperationStatusJobsExtendedInfo is the BasicOperationStatusExtendedInfo implementation for OperationStatusJobExtendedInfo.

func (OperationStatusJobExtendedInfo) AsOperationStatusProvisionILRExtendedInfo

func (osjei OperationStatusJobExtendedInfo) AsOperationStatusProvisionILRExtendedInfo() (*OperationStatusProvisionILRExtendedInfo, bool)

AsOperationStatusProvisionILRExtendedInfo is the BasicOperationStatusExtendedInfo implementation for OperationStatusJobExtendedInfo.

func (OperationStatusJobExtendedInfo) MarshalJSON

func (osjei OperationStatusJobExtendedInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OperationStatusJobExtendedInfo.

type OperationStatusJobsExtendedInfo

OperationStatusJobsExtendedInfo operation status extended info for the job list.

type OperationStatusJobsExtendedInfo struct {
    // JobIds - IDs of the jobs created for the backup item.
    JobIds *[]string `json:"jobIds,omitempty"`
    // FailedJobsError - Stores all the failed jobs along with the corresponding error codes.
    FailedJobsError map[string]*string `json:"failedJobsError"`
    // ObjectType - Possible values include: 'ObjectTypeOperationStatusExtendedInfo', 'ObjectTypeOperationStatusJobExtendedInfo', 'ObjectTypeOperationStatusProvisionILRExtendedInfo', 'ObjectTypeOperationStatusJobsExtendedInfo'
    ObjectType ObjectType `json:"objectType,omitempty"`
}

func (OperationStatusJobsExtendedInfo) AsBasicOperationStatusExtendedInfo

func (osjei OperationStatusJobsExtendedInfo) AsBasicOperationStatusExtendedInfo() (BasicOperationStatusExtendedInfo, bool)

AsBasicOperationStatusExtendedInfo is the BasicOperationStatusExtendedInfo implementation for OperationStatusJobsExtendedInfo.

func (OperationStatusJobsExtendedInfo) AsOperationStatusExtendedInfo

func (osjei OperationStatusJobsExtendedInfo) AsOperationStatusExtendedInfo() (*OperationStatusExtendedInfo, bool)

AsOperationStatusExtendedInfo is the BasicOperationStatusExtendedInfo implementation for OperationStatusJobsExtendedInfo.

func (OperationStatusJobsExtendedInfo) AsOperationStatusJobExtendedInfo

func (osjei OperationStatusJobsExtendedInfo) AsOperationStatusJobExtendedInfo() (*OperationStatusJobExtendedInfo, bool)

AsOperationStatusJobExtendedInfo is the BasicOperationStatusExtendedInfo implementation for OperationStatusJobsExtendedInfo.

func (OperationStatusJobsExtendedInfo) AsOperationStatusJobsExtendedInfo

func (osjei OperationStatusJobsExtendedInfo) AsOperationStatusJobsExtendedInfo() (*OperationStatusJobsExtendedInfo, bool)

AsOperationStatusJobsExtendedInfo is the BasicOperationStatusExtendedInfo implementation for OperationStatusJobsExtendedInfo.

func (OperationStatusJobsExtendedInfo) AsOperationStatusProvisionILRExtendedInfo

func (osjei OperationStatusJobsExtendedInfo) AsOperationStatusProvisionILRExtendedInfo() (*OperationStatusProvisionILRExtendedInfo, bool)

AsOperationStatusProvisionILRExtendedInfo is the BasicOperationStatusExtendedInfo implementation for OperationStatusJobsExtendedInfo.

func (OperationStatusJobsExtendedInfo) MarshalJSON

func (osjei OperationStatusJobsExtendedInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OperationStatusJobsExtendedInfo.

type OperationStatusProvisionILRExtendedInfo

OperationStatusProvisionILRExtendedInfo extended information about the Item Level Recovery (ILR) provision action, operation status.

type OperationStatusProvisionILRExtendedInfo struct {
    // RecoveryTarget - Target details for the file or folder restore.
    RecoveryTarget *InstantItemRecoveryTarget `json:"recoveryTarget,omitempty"`
    // ObjectType - Possible values include: 'ObjectTypeOperationStatusExtendedInfo', 'ObjectTypeOperationStatusJobExtendedInfo', 'ObjectTypeOperationStatusProvisionILRExtendedInfo', 'ObjectTypeOperationStatusJobsExtendedInfo'
    ObjectType ObjectType `json:"objectType,omitempty"`
}

func (OperationStatusProvisionILRExtendedInfo) AsBasicOperationStatusExtendedInfo

func (ospiei OperationStatusProvisionILRExtendedInfo) AsBasicOperationStatusExtendedInfo() (BasicOperationStatusExtendedInfo, bool)

AsBasicOperationStatusExtendedInfo is the BasicOperationStatusExtendedInfo implementation for OperationStatusProvisionILRExtendedInfo.

func (OperationStatusProvisionILRExtendedInfo) AsOperationStatusExtendedInfo

func (ospiei OperationStatusProvisionILRExtendedInfo) AsOperationStatusExtendedInfo() (*OperationStatusExtendedInfo, bool)

AsOperationStatusExtendedInfo is the BasicOperationStatusExtendedInfo implementation for OperationStatusProvisionILRExtendedInfo.

func (OperationStatusProvisionILRExtendedInfo) AsOperationStatusJobExtendedInfo

func (ospiei OperationStatusProvisionILRExtendedInfo) AsOperationStatusJobExtendedInfo() (*OperationStatusJobExtendedInfo, bool)

AsOperationStatusJobExtendedInfo is the BasicOperationStatusExtendedInfo implementation for OperationStatusProvisionILRExtendedInfo.

func (OperationStatusProvisionILRExtendedInfo) AsOperationStatusJobsExtendedInfo

func (ospiei OperationStatusProvisionILRExtendedInfo) AsOperationStatusJobsExtendedInfo() (*OperationStatusJobsExtendedInfo, bool)

AsOperationStatusJobsExtendedInfo is the BasicOperationStatusExtendedInfo implementation for OperationStatusProvisionILRExtendedInfo.

func (OperationStatusProvisionILRExtendedInfo) AsOperationStatusProvisionILRExtendedInfo

func (ospiei OperationStatusProvisionILRExtendedInfo) AsOperationStatusProvisionILRExtendedInfo() (*OperationStatusProvisionILRExtendedInfo, bool)

AsOperationStatusProvisionILRExtendedInfo is the BasicOperationStatusExtendedInfo implementation for OperationStatusProvisionILRExtendedInfo.

func (OperationStatusProvisionILRExtendedInfo) MarshalJSON

func (ospiei OperationStatusProvisionILRExtendedInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OperationStatusProvisionILRExtendedInfo.

type OperationStatusValues

OperationStatusValues enumerates the values for operation status values.

type OperationStatusValues string
const (
    // OperationStatusValuesCanceled ...
    OperationStatusValuesCanceled OperationStatusValues = "Canceled"
    // OperationStatusValuesFailed ...
    OperationStatusValuesFailed OperationStatusValues = "Failed"
    // OperationStatusValuesInProgress ...
    OperationStatusValuesInProgress OperationStatusValues = "InProgress"
    // OperationStatusValuesInvalid ...
    OperationStatusValuesInvalid OperationStatusValues = "Invalid"
    // OperationStatusValuesSucceeded ...
    OperationStatusValuesSucceeded OperationStatusValues = "Succeeded"
)

func PossibleOperationStatusValuesValues

func PossibleOperationStatusValuesValues() []OperationStatusValues

PossibleOperationStatusValuesValues returns an array of possible values for the OperationStatusValues const type.

type OperationStatusesClient

OperationStatusesClient is the open API 2.0 Specs for Azure RecoveryServices Backup service

type OperationStatusesClient struct {
    BaseClient
}

func NewOperationStatusesClient

func NewOperationStatusesClient(subscriptionID string) OperationStatusesClient

NewOperationStatusesClient creates an instance of the OperationStatusesClient client.

func NewOperationStatusesClientWithBaseURI

func NewOperationStatusesClientWithBaseURI(baseURI string, subscriptionID string) OperationStatusesClient

NewOperationStatusesClientWithBaseURI creates an instance of the OperationStatusesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (OperationStatusesClient) Get

func (client OperationStatusesClient) Get(ctx context.Context, vaultName string, resourceGroupName string, operationID string) (result OperationStatus, err error)

Get gets the status of an operation such as triggering a backup or 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. Parameters: vaultName - the name of the Recovery Services vault. resourceGroupName - the name of the resource group associated with the Recovery Services vault. operationID - the ID of the operation.

func (OperationStatusesClient) GetPreparer

func (client OperationStatusesClient) GetPreparer(ctx context.Context, vaultName string, resourceGroupName string, operationID string) (*http.Request, error)

GetPreparer prepares the Get request.

func (OperationStatusesClient) GetResponder

func (client OperationStatusesClient) GetResponder(resp *http.Response) (result OperationStatus, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (OperationStatusesClient) GetSender

func (client OperationStatusesClient) 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.

type OperationWorkerResponse

OperationWorkerResponse the base class for operation result responses.

type OperationWorkerResponse struct {
    // StatusCode - The HTTP status code of the operation. Possible values include: 'Continue', 'SwitchingProtocols', 'OK', 'Created', 'Accepted', 'NonAuthoritativeInformation', 'NoContent', 'ResetContent', 'PartialContent', 'MultipleChoices', 'Ambiguous', 'MovedPermanently', 'Moved', 'Found', 'Redirect', 'SeeOther', 'RedirectMethod', 'NotModified', 'UseProxy', 'Unused', 'TemporaryRedirect', 'RedirectKeepVerb', 'BadRequest', 'Unauthorized', 'PaymentRequired', 'Forbidden', 'NotFound', 'MethodNotAllowed', 'NotAcceptable', 'ProxyAuthenticationRequired', 'RequestTimeout', 'Conflict', 'Gone', 'LengthRequired', 'PreconditionFailed', 'RequestEntityTooLarge', 'RequestURITooLong', 'UnsupportedMediaType', 'RequestedRangeNotSatisfiable', 'ExpectationFailed', 'UpgradeRequired', 'InternalServerError', 'NotImplemented', 'BadGateway', 'ServiceUnavailable', 'GatewayTimeout', 'HTTPVersionNotSupported'
    StatusCode HTTPStatusCode `json:"statusCode,omitempty"`
    // Headers - The HTTP headers associated with this operation.
    Headers map[string][]string `json:"Headers"`
}

func (OperationWorkerResponse) MarshalJSON

func (owr OperationWorkerResponse) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OperationWorkerResponse.

type ProtectableItemType

ProtectableItemType enumerates the values for protectable item type.

type ProtectableItemType string
const (
    // ProtectableItemTypeIaaSVMProtectableItem ...
    ProtectableItemTypeIaaSVMProtectableItem ProtectableItemType = "IaaSVMProtectableItem"
    // ProtectableItemTypeMicrosoftClassicComputevirtualMachines ...
    ProtectableItemTypeMicrosoftClassicComputevirtualMachines ProtectableItemType = "Microsoft.ClassicCompute/virtualMachines"
    // ProtectableItemTypeMicrosoftComputevirtualMachines ...
    ProtectableItemTypeMicrosoftComputevirtualMachines ProtectableItemType = "Microsoft.Compute/virtualMachines"
    // ProtectableItemTypeWorkloadProtectableItem ...
    ProtectableItemTypeWorkloadProtectableItem ProtectableItemType = "WorkloadProtectableItem"
)

func PossibleProtectableItemTypeValues

func PossibleProtectableItemTypeValues() []ProtectableItemType

PossibleProtectableItemTypeValues returns an array of possible values for the ProtectableItemType const type.

type ProtectableItemsClient

ProtectableItemsClient is the open API 2.0 Specs for Azure RecoveryServices Backup service

type ProtectableItemsClient struct {
    BaseClient
}

func NewProtectableItemsClient

func NewProtectableItemsClient(subscriptionID string) ProtectableItemsClient

NewProtectableItemsClient creates an instance of the ProtectableItemsClient client.

func NewProtectableItemsClientWithBaseURI

func NewProtectableItemsClientWithBaseURI(baseURI string, subscriptionID string) ProtectableItemsClient

NewProtectableItemsClientWithBaseURI creates an instance of the ProtectableItemsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ProtectableItemsClient) List

func (client ProtectableItemsClient) List(ctx context.Context, vaultName string, resourceGroupName string, filter string, skipToken string) (result WorkloadProtectableItemResourceListPage, err error)

List based on the query filter and the pagination parameters, this operation provides a pageable list of objects within the subscription that can be protected. Parameters: vaultName - the name of the Recovery Services vault. resourceGroupName - the name of the resource group associated with the Recovery Services vault. filter - using the following query filters, you can sort a specific backup item based on: type of backup item, status, name of the item, and more. providerType eq { AzureIaasVM, MAB, DPM, AzureBackupServer, AzureSql } and status eq { NotProtected , Protecting , Protected } and friendlyName {name} and skipToken eq {string which provides the next set of list} and topToken eq {int} and backupManagementType eq { AzureIaasVM, MAB, DPM, AzureBackupServer, AzureSql }. skipToken - the Skip Token filter.

func (ProtectableItemsClient) ListComplete

func (client ProtectableItemsClient) ListComplete(ctx context.Context, vaultName string, resourceGroupName string, filter string, skipToken string) (result WorkloadProtectableItemResourceListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ProtectableItemsClient) ListPreparer

func (client ProtectableItemsClient) ListPreparer(ctx context.Context, vaultName string, resourceGroupName string, filter string, skipToken string) (*http.Request, error)

ListPreparer prepares the List request.

func (ProtectableItemsClient) ListResponder

func (client ProtectableItemsClient) 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 (ProtectableItemsClient) ListSender

func (client ProtectableItemsClient) 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 ProtectableObjectType

ProtectableObjectType enumerates the values for protectable object type.

type ProtectableObjectType string
const (
    // ProtectableObjectTypeAzureSQLContainer ...
    ProtectableObjectTypeAzureSQLContainer ProtectableObjectType = "AzureSqlContainer"
    // ProtectableObjectTypeIaaSVMContainer ...
    ProtectableObjectTypeIaaSVMContainer ProtectableObjectType = "IaaSVMContainer"
    // ProtectableObjectTypeMABWindowsContainer ...
    ProtectableObjectTypeMABWindowsContainer ProtectableObjectType = "MABWindowsContainer"
    // ProtectableObjectTypeMicrosoftClassicComputevirtualMachines ...
    ProtectableObjectTypeMicrosoftClassicComputevirtualMachines ProtectableObjectType = "Microsoft.ClassicCompute/virtualMachines"
    // ProtectableObjectTypeMicrosoftComputevirtualMachines ...
    ProtectableObjectTypeMicrosoftComputevirtualMachines ProtectableObjectType = "Microsoft.Compute/virtualMachines"
    // ProtectableObjectTypeProtectionContainer ...
    ProtectableObjectTypeProtectionContainer ProtectableObjectType = "ProtectionContainer"
)

func PossibleProtectableObjectTypeValues

func PossibleProtectableObjectTypeValues() []ProtectableObjectType

PossibleProtectableObjectTypeValues returns an array of possible values for the ProtectableObjectType const type.

type ProtectedItem

ProtectedItem the base class for backup items.

type ProtectedItem struct {
    // BackupManagementType - The backup management type associated with the backup item. Possible values include: 'ManagementTypeInvalid', 'ManagementTypeAzureIaasVM', 'ManagementTypeMAB', 'ManagementTypeDPM', 'ManagementTypeAzureBackupServer', 'ManagementTypeAzureSQL'
    BackupManagementType ManagementType `json:"backupManagementType,omitempty"`
    // WorkloadType - The workload type for this item. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSQLDb', 'SQLDB', 'Exchange', 'Sharepoint', 'DPMUnknown'
    WorkloadType DataSourceType `json:"workloadType,omitempty"`
    // SourceResourceID - The ID of the resource to be backed up.
    SourceResourceID *string `json:"sourceResourceId,omitempty"`
    // PolicyID - The ID of the backup policy associated with this backup item.
    PolicyID *string `json:"policyId,omitempty"`
    // LastRecoveryPoint - The timestamp when the most recent backup copy was created for this backup item.
    LastRecoveryPoint *date.Time `json:"lastRecoveryPoint,omitempty"`
    // ProtectedItemType - Possible values include: 'ProtectedItemTypeProtectedItem', 'ProtectedItemTypeAzureIaaSVMProtectedItem', 'ProtectedItemTypeMabFileFolderProtectedItem', 'ProtectedItemTypeMicrosoftSqlserversdatabases', 'ProtectedItemTypeMicrosoftComputevirtualMachines', 'ProtectedItemTypeMicrosoftClassicComputevirtualMachines'
    ProtectedItemType ProtectedItemType `json:"protectedItemType,omitempty"`
}

func (ProtectedItem) AsAzureIaaSClassicComputeVMProtectedItem

func (pi ProtectedItem) AsAzureIaaSClassicComputeVMProtectedItem() (*AzureIaaSClassicComputeVMProtectedItem, bool)

AsAzureIaaSClassicComputeVMProtectedItem is the BasicProtectedItem implementation for ProtectedItem.

func (ProtectedItem) AsAzureIaaSComputeVMProtectedItem

func (pi ProtectedItem) AsAzureIaaSComputeVMProtectedItem() (*AzureIaaSComputeVMProtectedItem, bool)

AsAzureIaaSComputeVMProtectedItem is the BasicProtectedItem implementation for ProtectedItem.

func (ProtectedItem) AsAzureIaaSVMProtectedItem

func (pi ProtectedItem) AsAzureIaaSVMProtectedItem() (*AzureIaaSVMProtectedItem, bool)

AsAzureIaaSVMProtectedItem is the BasicProtectedItem implementation for ProtectedItem.

func (ProtectedItem) AsAzureSQLProtectedItem

func (pi ProtectedItem) AsAzureSQLProtectedItem() (*AzureSQLProtectedItem, bool)

AsAzureSQLProtectedItem is the BasicProtectedItem implementation for ProtectedItem.

func (ProtectedItem) AsBasicAzureIaaSVMProtectedItem

func (pi ProtectedItem) AsBasicAzureIaaSVMProtectedItem() (BasicAzureIaaSVMProtectedItem, bool)

AsBasicAzureIaaSVMProtectedItem is the BasicProtectedItem implementation for ProtectedItem.

func (ProtectedItem) AsBasicProtectedItem

func (pi ProtectedItem) AsBasicProtectedItem() (BasicProtectedItem, bool)

AsBasicProtectedItem is the BasicProtectedItem implementation for ProtectedItem.

func (ProtectedItem) AsMabFileFolderProtectedItem

func (pi ProtectedItem) AsMabFileFolderProtectedItem() (*MabFileFolderProtectedItem, bool)

AsMabFileFolderProtectedItem is the BasicProtectedItem implementation for ProtectedItem.

func (ProtectedItem) AsProtectedItem

func (pi ProtectedItem) AsProtectedItem() (*ProtectedItem, bool)

AsProtectedItem is the BasicProtectedItem implementation for ProtectedItem.

func (ProtectedItem) MarshalJSON

func (pi ProtectedItem) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ProtectedItem.

type ProtectedItemOperationResultsClient

ProtectedItemOperationResultsClient is the open API 2.0 Specs for Azure RecoveryServices Backup service

type ProtectedItemOperationResultsClient struct {
    BaseClient
}

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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ProtectedItemOperationResultsClient) Get

func (client ProtectedItemOperationResultsClient) Get(ctx context.Context, vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string, operationID string) (result ProtectedItemResource, err error)

Get gets the result of any operation on the backup item. Parameters: vaultName - the name of the Recovery Services vault. resourceGroupName - the name of the resource group associated with the Recovery Services vault. fabricName - the fabric name associated with the backup item. containerName - the container name associated with the backup item. protectedItemName - the name of backup item used in this GET operation. operationID - the OperationID used in this GET operation.

func (ProtectedItemOperationResultsClient) GetPreparer

func (client ProtectedItemOperationResultsClient) GetPreparer(ctx context.Context, 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.

func (ProtectedItemOperationResultsClient) GetSender

func (client ProtectedItemOperationResultsClient) 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.

type ProtectedItemOperationStatusesClient

ProtectedItemOperationStatusesClient is the open API 2.0 Specs for Azure RecoveryServices Backup service

type ProtectedItemOperationStatusesClient struct {
    BaseClient
}

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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ProtectedItemOperationStatusesClient) Get

func (client ProtectedItemOperationStatusesClient) Get(ctx context.Context, vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string, operationID string) (result OperationStatus, err error)

Get gets the status of an operation such as triggering a backup or 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. Parameters: vaultName - the name of the Recovery Services vault. resourceGroupName - the name of the resource group associated with the Recovery Services vault. fabricName - the fabric name associated with the backup item. containerName - the container name associated with the backup item. protectedItemName - the name of backup item used in this GET operation. operationID - the OperationID used in this GET operation.

func (ProtectedItemOperationStatusesClient) GetPreparer

func (client ProtectedItemOperationStatusesClient) GetPreparer(ctx context.Context, 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.

func (ProtectedItemOperationStatusesClient) GetSender

func (client ProtectedItemOperationStatusesClient) 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.

type ProtectedItemQueryObject

ProtectedItemQueryObject filters the list of backup items.

type ProtectedItemQueryObject struct {
    // BackupManagementType - The backup management type associated with an item. Possible values include: 'ManagementTypeInvalid', 'ManagementTypeAzureIaasVM', 'ManagementTypeMAB', 'ManagementTypeDPM', 'ManagementTypeAzureBackupServer', 'ManagementTypeAzureSQL'
    BackupManagementType ManagementType `json:"backupManagementType,omitempty"`
    // ItemType - The workload type associated with an item. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSQLDb', 'SQLDB', 'Exchange', 'Sharepoint', 'DPMUnknown'
    ItemType DataSourceType `json:"itemType,omitempty"`
    // PolicyName - The name of the backup policy associated with the item.
    PolicyName *string `json:"policyName,omitempty"`
    // ContainerName - The name of the container.
    ContainerName *string `json:"containerName,omitempty"`
}

type ProtectedItemResource

ProtectedItemResource the base class for backup items.

type ProtectedItemResource struct {
    autorest.Response `json:"-"`
    Properties        BasicProtectedItem `json:"properties,omitempty"`
    // ID - Resource ID represents the complete path to the resource.
    ID *string `json:"id,omitempty"`
    // Name - Resource name associated with the resource.
    Name *string `json:"name,omitempty"`
    // Type - Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
    Type *string `json:"type,omitempty"`
    // Location - Resource location.
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
    // ETag - Optional ETag.
    ETag *string `json:"eTag,omitempty"`
}

func (ProtectedItemResource) MarshalJSON

func (pir ProtectedItemResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ProtectedItemResource.

func (*ProtectedItemResource) UnmarshalJSON

func (pir *ProtectedItemResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ProtectedItemResource struct.

type ProtectedItemResourceList

ProtectedItemResourceList the list of ProtectedItem resources.

type ProtectedItemResourceList struct {
    autorest.Response `json:"-"`
    // Value - The list of resources.
    Value *[]ProtectedItemResource `json:"value,omitempty"`
    // NextLink - The URI to GET the next page of resources. Call ListNext() gets the next page of resources.
    NextLink *string `json:"nextLink,omitempty"`
}

func (ProtectedItemResourceList) IsEmpty

func (pirl ProtectedItemResourceList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ProtectedItemResourceListIterator

ProtectedItemResourceListIterator provides access to a complete listing of ProtectedItemResource values.

type ProtectedItemResourceListIterator struct {
    // contains filtered or unexported fields
}

func NewProtectedItemResourceListIterator

func NewProtectedItemResourceListIterator(page ProtectedItemResourceListPage) ProtectedItemResourceListIterator

Creates a new instance of the ProtectedItemResourceListIterator type.

func (*ProtectedItemResourceListIterator) Next

func (iter *ProtectedItemResourceListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ProtectedItemResourceListIterator) NextWithContext

func (iter *ProtectedItemResourceListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ProtectedItemResourceListIterator) NotDone

func (iter ProtectedItemResourceListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ProtectedItemResourceListIterator) Response

func (iter ProtectedItemResourceListIterator) Response() ProtectedItemResourceList

Response returns the raw server response from the last page request.

func (ProtectedItemResourceListIterator) Value

func (iter ProtectedItemResourceListIterator) Value() ProtectedItemResource

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ProtectedItemResourceListPage

ProtectedItemResourceListPage contains a page of ProtectedItemResource values.

type ProtectedItemResourceListPage struct {
    // contains filtered or unexported fields
}

func NewProtectedItemResourceListPage

func NewProtectedItemResourceListPage(cur ProtectedItemResourceList, getNextPage func(context.Context, ProtectedItemResourceList) (ProtectedItemResourceList, error)) ProtectedItemResourceListPage

Creates a new instance of the ProtectedItemResourceListPage type.

func (*ProtectedItemResourceListPage) Next

func (page *ProtectedItemResourceListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ProtectedItemResourceListPage) NextWithContext

func (page *ProtectedItemResourceListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ProtectedItemResourceListPage) NotDone

func (page ProtectedItemResourceListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ProtectedItemResourceListPage) Response

func (page ProtectedItemResourceListPage) Response() ProtectedItemResourceList

Response returns the raw server response from the last page request.

func (ProtectedItemResourceListPage) Values

func (page ProtectedItemResourceListPage) Values() []ProtectedItemResource

Values returns the slice of values for the current page or nil if there are no values.

type ProtectedItemState

ProtectedItemState enumerates the values for protected item state.

type ProtectedItemState string
const (
    // ProtectedItemStateInvalid ...
    ProtectedItemStateInvalid ProtectedItemState = "Invalid"
    // ProtectedItemStateIRPending ...
    ProtectedItemStateIRPending ProtectedItemState = "IRPending"
    // ProtectedItemStateProtected ...
    ProtectedItemStateProtected ProtectedItemState = "Protected"
    // ProtectedItemStateProtectionError ...
    ProtectedItemStateProtectionError ProtectedItemState = "ProtectionError"
    // ProtectedItemStateProtectionPaused ...
    ProtectedItemStateProtectionPaused ProtectedItemState = "ProtectionPaused"
    // ProtectedItemStateProtectionStopped ...
    ProtectedItemStateProtectionStopped ProtectedItemState = "ProtectionStopped"
)

func PossibleProtectedItemStateValues

func PossibleProtectedItemStateValues() []ProtectedItemState

PossibleProtectedItemStateValues returns an array of possible values for the ProtectedItemState const type.

type ProtectedItemType

ProtectedItemType enumerates the values for protected item type.

type ProtectedItemType string
const (
    // ProtectedItemTypeAzureIaaSVMProtectedItem ...
    ProtectedItemTypeAzureIaaSVMProtectedItem ProtectedItemType = "AzureIaaSVMProtectedItem"
    // ProtectedItemTypeMabFileFolderProtectedItem ...
    ProtectedItemTypeMabFileFolderProtectedItem ProtectedItemType = "MabFileFolderProtectedItem"
    // ProtectedItemTypeMicrosoftClassicComputevirtualMachines ...
    ProtectedItemTypeMicrosoftClassicComputevirtualMachines ProtectedItemType = "Microsoft.ClassicCompute/virtualMachines"
    // ProtectedItemTypeMicrosoftComputevirtualMachines ...
    ProtectedItemTypeMicrosoftComputevirtualMachines ProtectedItemType = "Microsoft.Compute/virtualMachines"
    // ProtectedItemTypeMicrosoftSqlserversdatabases ...
    ProtectedItemTypeMicrosoftSqlserversdatabases ProtectedItemType = "Microsoft.Sql/servers/databases"
    // ProtectedItemTypeProtectedItem ...
    ProtectedItemTypeProtectedItem ProtectedItemType = "ProtectedItem"
)

func PossibleProtectedItemTypeValues

func PossibleProtectedItemTypeValues() []ProtectedItemType

PossibleProtectedItemTypeValues returns an array of possible values for the ProtectedItemType const type.

type ProtectedItemsClient

ProtectedItemsClient is the open API 2.0 Specs for Azure RecoveryServices Backup service

type ProtectedItemsClient struct {
    BaseClient
}

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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ProtectedItemsClient) CreateOrUpdate

func (client ProtectedItemsClient) CreateOrUpdate(ctx context.Context, vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string, resourceProtectedItem ProtectedItemResource) (result autorest.Response, err error)

CreateOrUpdate this operation enables an item to be backed up, or modifies the existing backup policy information for an item that has been backed up. This is an asynchronous operation. To learn the status of the operation, call the GetItemOperationResult API. Parameters: vaultName - the name of the Recovery Services vault. resourceGroupName - the name of the resource group associated with the Recovery Services vault. fabricName - the fabric name associated with the backup item. containerName - the container name associated with the backup item. protectedItemName - the name of the backup item. resourceProtectedItem - the resource backup item.

func (ProtectedItemsClient) CreateOrUpdatePreparer

func (client ProtectedItemsClient) CreateOrUpdatePreparer(ctx context.Context, vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string, resourceProtectedItem 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

func (client ProtectedItemsClient) 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 (ProtectedItemsClient) Delete

func (client ProtectedItemsClient) Delete(ctx context.Context, vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string) (result autorest.Response, err error)

Delete used to disable the backup job for an item within a container. This is an asynchronous operation. To learn the status of the request, call the GetItemOperationResult API. Parameters: vaultName - the name of the Recovery Services vault. resourceGroupName - the name of the resource group associated with the Recovery Services vault. fabricName - the fabric name associated with the backup item. containerName - the container name associated with the backup item. protectedItemName - the backup item to be deleted.

func (ProtectedItemsClient) DeletePreparer

func (client ProtectedItemsClient) DeletePreparer(ctx context.Context, 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

func (client ProtectedItemsClient) DeleteSender(req *http.Request) (*http.Response, error)

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(ctx context.Context, vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string, filter string) (result ProtectedItemResource, err error)

Get provides the details of the backup item. This is an asynchronous operation. To know the status of the operation, call the GetItemOperationResult API. Parameters: vaultName - the name of the Recovery Services vault. resourceGroupName - the name of the resource group associated with the Recovery Services vault. fabricName - the fabric name associated with the backup item. containerName - the container name associated with the backup item. protectedItemName - the backup item name used in this GET operation. filter - expand eq {extendedInfo}. This filter enables you to choose (or filter) specific items in the list of backup items.

func (ProtectedItemsClient) GetPreparer

func (client ProtectedItemsClient) GetPreparer(ctx context.Context, 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.

func (ProtectedItemsClient) GetSender

func (client ProtectedItemsClient) 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 (ProtectedItemsClient) List

func (client ProtectedItemsClient) List(ctx context.Context, vaultName string, resourceGroupName string, filter string, skipToken string) (result ProtectedItemResourceListPage, err error)

List provides a pageable list of all items in a subscription, that can be protected. Parameters: vaultName - the name of the Recovery Services vault. resourceGroupName - the name of the resource group associated with the Recovery Services vault. filter - itemType eq { VM , FileFolder , AzureSqlDb , SQLDB , Exchange , Sharepoint , DPMUnknown } and providerType eq { AzureIaasVM, MAB, DPM, AzureBackupServer, AzureSql } and policyName eq {policyName} and containerName eq {containername} and backupManagementType eq { AzureIaasVM, MAB, DPM, AzureBackupServer, AzureSql }. skipToken - the Skip Token filter.

func (ProtectedItemsClient) ListComplete

func (client ProtectedItemsClient) ListComplete(ctx context.Context, vaultName string, resourceGroupName string, filter string, skipToken string) (result ProtectedItemResourceListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ProtectedItemsClient) ListPreparer

func (client ProtectedItemsClient) ListPreparer(ctx context.Context, vaultName string, resourceGroupName string, filter string, skipToken string) (*http.Request, error)

ListPreparer prepares the List request.

func (ProtectedItemsClient) ListResponder

func (client ProtectedItemsClient) 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 (ProtectedItemsClient) ListSender

func (client ProtectedItemsClient) 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 ProtectionContainer

ProtectionContainer the base class for a container with backup items. Containers with specific workloads are derived from this class.

type ProtectionContainer struct {
    // FriendlyName - Friendly name of the container.
    FriendlyName *string `json:"friendlyName,omitempty"`
    // BackupManagementType - The backup management type for the container. Possible values include: 'ManagementTypeInvalid', 'ManagementTypeAzureIaasVM', 'ManagementTypeMAB', 'ManagementTypeDPM', 'ManagementTypeAzureBackupServer', 'ManagementTypeAzureSQL'
    BackupManagementType ManagementType `json:"backupManagementType,omitempty"`
    // RegistrationStatus - The container's registration status with the Recovery Services vault.
    RegistrationStatus *string `json:"registrationStatus,omitempty"`
    // HealthStatus - The status of the container's health.
    HealthStatus *string `json:"healthStatus,omitempty"`
    // ContainerType - READ-ONLY; The type assigned to the container. The values to use for each of these properties are:<br/> 1. Compute Azure VM is Microsoft.Compute/virtualMachines<br/> 2. Classic Compute Azure VM is Microsoft.ClassicCompute/virtualMachines<br/> 3. Windows machines (like Azure Backup Server and DPM) is Windows<br/> 4. Azure SQL instance is AzureSqlContainer.
    ContainerType *string `json:"containerType,omitempty"`
    // ProtectableObjectType - Possible values include: 'ProtectableObjectTypeProtectionContainer', 'ProtectableObjectTypeAzureSQLContainer', 'ProtectableObjectTypeIaaSVMContainer', 'ProtectableObjectTypeMABWindowsContainer', 'ProtectableObjectTypeMicrosoftComputevirtualMachines', 'ProtectableObjectTypeMicrosoftClassicComputevirtualMachines'
    ProtectableObjectType ProtectableObjectType `json:"protectableObjectType,omitempty"`
}

func (ProtectionContainer) AsAzureIaaSClassicComputeVMContainer

func (pc ProtectionContainer) AsAzureIaaSClassicComputeVMContainer() (*AzureIaaSClassicComputeVMContainer, bool)

AsAzureIaaSClassicComputeVMContainer is the BasicProtectionContainer implementation for ProtectionContainer.

func (ProtectionContainer) AsAzureIaaSComputeVMContainer

func (pc ProtectionContainer) AsAzureIaaSComputeVMContainer() (*AzureIaaSComputeVMContainer, bool)

AsAzureIaaSComputeVMContainer is the BasicProtectionContainer implementation for ProtectionContainer.

func (ProtectionContainer) AsAzureSQLContainer

func (pc ProtectionContainer) AsAzureSQLContainer() (*AzureSQLContainer, bool)

AsAzureSQLContainer is the BasicProtectionContainer implementation for ProtectionContainer.

func (ProtectionContainer) AsBasicIaaSVMContainer

func (pc ProtectionContainer) AsBasicIaaSVMContainer() (BasicIaaSVMContainer, bool)

AsBasicIaaSVMContainer is the BasicProtectionContainer implementation for ProtectionContainer.

func (ProtectionContainer) AsBasicProtectionContainer

func (pc ProtectionContainer) AsBasicProtectionContainer() (BasicProtectionContainer, bool)

AsBasicProtectionContainer is the BasicProtectionContainer implementation for ProtectionContainer.

func (ProtectionContainer) AsIaaSVMContainer

func (pc ProtectionContainer) AsIaaSVMContainer() (*IaaSVMContainer, bool)

AsIaaSVMContainer is the BasicProtectionContainer implementation for ProtectionContainer.

func (ProtectionContainer) AsMabContainer

func (pc ProtectionContainer) AsMabContainer() (*MabContainer, bool)

AsMabContainer is the BasicProtectionContainer implementation for ProtectionContainer.

func (ProtectionContainer) AsProtectionContainer

func (pc ProtectionContainer) AsProtectionContainer() (*ProtectionContainer, bool)

AsProtectionContainer is the BasicProtectionContainer implementation for ProtectionContainer.

func (ProtectionContainer) MarshalJSON

func (pc ProtectionContainer) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ProtectionContainer.

type ProtectionContainerOperationResultsClient

ProtectionContainerOperationResultsClient is the open API 2.0 Specs for Azure RecoveryServices Backup service

type ProtectionContainerOperationResultsClient struct {
    BaseClient
}

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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ProtectionContainerOperationResultsClient) Get

func (client ProtectionContainerOperationResultsClient) Get(ctx context.Context, vaultName string, resourceGroupName string, fabricName string, containerName string, operationID string) (result ProtectionContainerResource, err error)

Get gets the result of any operation on the container. Parameters: vaultName - the name of the Recovery Services vault. resourceGroupName - the name of the resource group associated with the Recovery Services vault. fabricName - the fabric name associated with the container. containerName - the container name used for this GET operation. operationID - the operation ID used for this GET operation.

func (ProtectionContainerOperationResultsClient) GetPreparer

func (client ProtectionContainerOperationResultsClient) GetPreparer(ctx context.Context, 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.

func (ProtectionContainerOperationResultsClient) GetSender

func (client ProtectionContainerOperationResultsClient) 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.

type ProtectionContainerRefreshOperationResultsClient

ProtectionContainerRefreshOperationResultsClient is the open API 2.0 Specs for Azure RecoveryServices Backup service

type ProtectionContainerRefreshOperationResultsClient struct {
    BaseClient
}

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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ProtectionContainerRefreshOperationResultsClient) Get

func (client ProtectionContainerRefreshOperationResultsClient) Get(ctx context.Context, 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. Parameters: vaultName - the name of the Recovery Services vault. resourceGroupName - the name of the resource group associated with the Recovery Services vault. fabricName - the fabric name associated with the container. operationID - the operation ID used for this GET operation.

func (ProtectionContainerRefreshOperationResultsClient) GetPreparer

func (client ProtectionContainerRefreshOperationResultsClient) GetPreparer(ctx context.Context, 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.

func (ProtectionContainerRefreshOperationResultsClient) GetSender

func (client ProtectionContainerRefreshOperationResultsClient) 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.

type ProtectionContainerResource

ProtectionContainerResource base class for a container with backup items. Containers with specific workloads are derived from this class.

type ProtectionContainerResource struct {
    autorest.Response `json:"-"`
    Properties        BasicProtectionContainer `json:"properties,omitempty"`
    // ID - Resource ID represents the complete path to the resource.
    ID *string `json:"id,omitempty"`
    // Name - Resource name associated with the resource.
    Name *string `json:"name,omitempty"`
    // Type - Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
    Type *string `json:"type,omitempty"`
    // Location - Resource location.
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
    // ETag - Optional ETag.
    ETag *string `json:"eTag,omitempty"`
}

func (ProtectionContainerResource) MarshalJSON

func (pcr ProtectionContainerResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ProtectionContainerResource.

func (*ProtectionContainerResource) UnmarshalJSON

func (pcr *ProtectionContainerResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ProtectionContainerResource struct.

type ProtectionContainerResourceList

ProtectionContainerResourceList the list of ProtectionContainer resources.

type ProtectionContainerResourceList struct {
    autorest.Response `json:"-"`
    // Value - The list of resources.
    Value *[]ProtectionContainerResource `json:"value,omitempty"`
    // NextLink - The URI to GET the next page of resources. Call ListNext() gets the next page of resources.
    NextLink *string `json:"nextLink,omitempty"`
}

type ProtectionContainersClient

ProtectionContainersClient is the open API 2.0 Specs for Azure RecoveryServices Backup service

type ProtectionContainersClient struct {
    BaseClient
}

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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ProtectionContainersClient) Get

func (client ProtectionContainersClient) Get(ctx context.Context, 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. Parameters: vaultName - the name of the Recovery Services vault. resourceGroupName - the name of the resource group associated with the Recovery Services vault. fabricName - the fabric name associated with the container. containerName - the container name used for this GET operation.

func (ProtectionContainersClient) GetPreparer

func (client ProtectionContainersClient) GetPreparer(ctx context.Context, 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

func (client ProtectionContainersClient) 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 (ProtectionContainersClient) List

func (client ProtectionContainersClient) List(ctx context.Context, vaultName string, resourceGroupName string, filter string) (result ProtectionContainerResourceList, err error)

List lists the containers registered to the Recovery Services vault. Parameters: vaultName - the name of the Recovery Services vault. resourceGroupName - the name of the resource group associated with the Recovery Services vault. filter - the following equation is used to sort or filter the containers registered to the vault. providerType eq {AzureIaasVM, MAB, DPM, AzureBackupServer, AzureSql} and status eq {Unknown, NotRegistered, Registered, Registering} and friendlyName eq {containername} and backupManagementType eq {AzureIaasVM, MAB, DPM, AzureBackupServer, AzureSql}.

func (ProtectionContainersClient) ListPreparer

func (client ProtectionContainersClient) ListPreparer(ctx context.Context, vaultName string, resourceGroupName string, filter string) (*http.Request, error)

ListPreparer prepares the List request.

func (ProtectionContainersClient) ListResponder

func (client ProtectionContainersClient) 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 (ProtectionContainersClient) ListSender

func (client ProtectionContainersClient) 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.

func (ProtectionContainersClient) Refresh

func (client ProtectionContainersClient) Refresh(ctx context.Context, vaultName string, resourceGroupName string, fabricName string) (result autorest.Response, err error)

Refresh discovers the containers in the subscription that can be protected in a Recovery Services vault. This is an asynchronous operation. To learn the status of the operation, use the GetRefreshOperationResult API. Parameters: vaultName - the name of the Recovery Services vault. resourceGroupName - the name of the resource group associated with the Recovery Services vault. fabricName - the fabric name associated with the container.

func (ProtectionContainersClient) RefreshPreparer

func (client ProtectionContainersClient) RefreshPreparer(ctx context.Context, 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

func (client ProtectionContainersClient) RefreshSender(req *http.Request) (*http.Response, error)

RefreshSender sends the Refresh request. The method will close the http.Response Body if it receives an error.

func (ProtectionContainersClient) Unregister

func (client ProtectionContainersClient) Unregister(ctx context.Context, resourceGroupName string, vaultName string, identityName string) (result autorest.Response, err error)

Unregister unregisters the given container from your Recovery Services vault. Parameters: resourceGroupName - the name of the resource group associated with the Recovery Services vault. vaultName - the name of the Recovery Services vault. identityName - name of the protection container to unregister.

func (ProtectionContainersClient) UnregisterPreparer

func (client ProtectionContainersClient) UnregisterPreparer(ctx context.Context, resourceGroupName string, vaultName string, identityName string) (*http.Request, error)

UnregisterPreparer prepares the Unregister request.

func (ProtectionContainersClient) UnregisterResponder

func (client ProtectionContainersClient) UnregisterResponder(resp *http.Response) (result autorest.Response, err error)

UnregisterResponder handles the response to the Unregister request. The method always closes the http.Response Body.

func (ProtectionContainersClient) UnregisterSender

func (client ProtectionContainersClient) UnregisterSender(req *http.Request) (*http.Response, error)

UnregisterSender sends the Unregister request. The method will close the http.Response Body if it receives an error.

type ProtectionPoliciesClient

ProtectionPoliciesClient is the open API 2.0 Specs for Azure RecoveryServices Backup service

type ProtectionPoliciesClient struct {
    BaseClient
}

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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ProtectionPoliciesClient) CreateOrUpdate

func (client ProtectionPoliciesClient) CreateOrUpdate(ctx context.Context, vaultName string, resourceGroupName string, policyName string, resourceProtectionPolicy ProtectionPolicyResource) (result ProtectionPolicyResource, err error)

CreateOrUpdate creates or modifies a backup policy. This is an asynchronous operation. Use the GetPolicyOperationResult API to Get the operation status. Parameters: vaultName - the name of the Recovery Services vault. resourceGroupName - the name of the resource group associated with the Recovery Services vault. policyName - the backup policy to be created. resourceProtectionPolicy - the resource backup policy.

func (ProtectionPoliciesClient) CreateOrUpdatePreparer

func (client ProtectionPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, vaultName string, resourceGroupName string, policyName string, resourceProtectionPolicy 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(ctx context.Context, vaultName string, resourceGroupName string, policyName string) (result autorest.Response, err error)

Delete deletes the specified backup policy from your Recovery Services vault. This is an asynchronous operation. Use the GetPolicyOperationResult API to Get the operation status. Parameters: vaultName - the name of the Recovery Services vault. resourceGroupName - the name of the resource group associated with the Recovery Services vault. policyName - the name of the backup policy to be deleted.

func (ProtectionPoliciesClient) DeletePreparer

func (client ProtectionPoliciesClient) DeletePreparer(ctx context.Context, 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

func (client ProtectionPoliciesClient) DeleteSender(req *http.Request) (*http.Response, error)

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(ctx context.Context, vaultName string, resourceGroupName string, policyName string) (result ProtectionPolicyResource, err error)

Get gets the details of the backup policy associated with the Recovery Services vault. This is an asynchronous operation. Use the GetPolicyOperationResult API to Get the operation status. Parameters: vaultName - the name of the Recovery Services vault. resourceGroupName - the name of the resource group associated with the Recovery Services vault. policyName - the backup policy name used in this GET operation.

func (ProtectionPoliciesClient) GetPreparer

func (client ProtectionPoliciesClient) GetPreparer(ctx context.Context, 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.

func (ProtectionPoliciesClient) GetSender

func (client ProtectionPoliciesClient) 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 (ProtectionPoliciesClient) List

func (client ProtectionPoliciesClient) List(ctx context.Context, vaultName string, resourceGroupName string, filter string) (result ProtectionPolicyResourceList, err error)

List lists the backup policies associated with the Recovery Services vault. The API provides parameters to Get scoped results. Parameters: vaultName - the name of the Recovery Services vault. resourceGroupName - the name of the resource group associated with the Recovery Services vault. filter - the following equation can be used to filter the list of backup policies. backupManagementType eq {AzureIaasVM, MAB, DPM, AzureBackupServer, AzureSql}.

func (ProtectionPoliciesClient) ListPreparer

func (client ProtectionPoliciesClient) ListPreparer(ctx context.Context, vaultName string, resourceGroupName string, filter string) (*http.Request, error)

ListPreparer prepares the List request.

func (ProtectionPoliciesClient) ListResponder

func (client ProtectionPoliciesClient) 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 (ProtectionPoliciesClient) ListSender

func (client ProtectionPoliciesClient) 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 ProtectionPolicy

ProtectionPolicy the base class for a backup policy. Workload-specific backup policies are derived from this class.

type ProtectionPolicy struct {
    // ProtectedItemsCount - The number of items associated with this policy.
    ProtectedItemsCount *int32 `json:"protectedItemsCount,omitempty"`
    // BackupManagementType - Possible values include: 'BackupManagementTypeProtectionPolicy', 'BackupManagementTypeAzureIaasVM', 'BackupManagementTypeMAB', 'BackupManagementTypeAzureSQL'
    BackupManagementType ManagementTypeBasicProtectionPolicy `json:"backupManagementType,omitempty"`
}

func (ProtectionPolicy) AsAzureIaaSVMProtectionPolicy

func (pp ProtectionPolicy) AsAzureIaaSVMProtectionPolicy() (*AzureIaaSVMProtectionPolicy, bool)

AsAzureIaaSVMProtectionPolicy is the BasicProtectionPolicy implementation for ProtectionPolicy.

func (ProtectionPolicy) AsAzureSQLProtectionPolicy

func (pp ProtectionPolicy) AsAzureSQLProtectionPolicy() (*AzureSQLProtectionPolicy, bool)

AsAzureSQLProtectionPolicy is the BasicProtectionPolicy implementation for ProtectionPolicy.

func (ProtectionPolicy) AsBasicProtectionPolicy

func (pp ProtectionPolicy) AsBasicProtectionPolicy() (BasicProtectionPolicy, bool)

AsBasicProtectionPolicy is the BasicProtectionPolicy implementation for ProtectionPolicy.

func (ProtectionPolicy) AsMabProtectionPolicy

func (pp ProtectionPolicy) AsMabProtectionPolicy() (*MabProtectionPolicy, bool)

AsMabProtectionPolicy is the BasicProtectionPolicy implementation for ProtectionPolicy.

func (ProtectionPolicy) AsProtectionPolicy

func (pp ProtectionPolicy) AsProtectionPolicy() (*ProtectionPolicy, bool)

AsProtectionPolicy is the BasicProtectionPolicy implementation for ProtectionPolicy.

func (ProtectionPolicy) MarshalJSON

func (pp ProtectionPolicy) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ProtectionPolicy.

type ProtectionPolicyOperationResultsClient

ProtectionPolicyOperationResultsClient is the open API 2.0 Specs for Azure RecoveryServices Backup service

type ProtectionPolicyOperationResultsClient struct {
    BaseClient
}

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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ProtectionPolicyOperationResultsClient) Get

func (client ProtectionPolicyOperationResultsClient) Get(ctx context.Context, vaultName string, resourceGroupName string, policyName string, operationID string) (result ProtectionPolicyResource, err error)

Get provides the result of an operation. Parameters: vaultName - the name of the Recovery Services vault. resourceGroupName - the name of the resource group associated with the Recovery Services vault. policyName - the backup policy name used in this GET operation. operationID - the ID associated with this GET operation.

func (ProtectionPolicyOperationResultsClient) GetPreparer

func (client ProtectionPolicyOperationResultsClient) GetPreparer(ctx context.Context, 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.

func (ProtectionPolicyOperationResultsClient) GetSender

func (client ProtectionPolicyOperationResultsClient) 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.

type ProtectionPolicyOperationStatusesClient

ProtectionPolicyOperationStatusesClient is the open API 2.0 Specs for Azure RecoveryServices Backup service

type ProtectionPolicyOperationStatusesClient struct {
    BaseClient
}

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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ProtectionPolicyOperationStatusesClient) Get

func (client ProtectionPolicyOperationStatusesClient) Get(ctx context.Context, vaultName string, resourceGroupName string, policyName string, operationID string) (result OperationStatus, err error)

Get provides the status of the asynchronous operations like backup or restore. The status can be: in progress, completed, or failed. You can refer to the Operation Status enumeration for the possible states of an operation. Some operations create jobs. This method returns the list of jobs associated with the operation. Parameters: vaultName - the name of the Recovery Services vault. resourceGroupName - the name of the resource group associated with the Recovery Services vault. policyName - the backup policy name used in this GET operation. operationID - the ID associated with this GET operation.

func (ProtectionPolicyOperationStatusesClient) GetPreparer

func (client ProtectionPolicyOperationStatusesClient) GetPreparer(ctx context.Context, 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.

func (ProtectionPolicyOperationStatusesClient) GetSender

func (client ProtectionPolicyOperationStatusesClient) 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.

type ProtectionPolicyQueryObject

ProtectionPolicyQueryObject this object filters the list of backup policies.

type ProtectionPolicyQueryObject struct {
    // BackupManagementType - The backup management type associated with the backup policy. Possible values include: 'ManagementTypeInvalid', 'ManagementTypeAzureIaasVM', 'ManagementTypeMAB', 'ManagementTypeDPM', 'ManagementTypeAzureBackupServer', 'ManagementTypeAzureSQL'
    BackupManagementType ManagementType `json:"backupManagementType,omitempty"`
}

type ProtectionPolicyResource

ProtectionPolicyResource the base class for backup policy. Workload-specific backup policies are derived from this class.

type ProtectionPolicyResource struct {
    autorest.Response `json:"-"`
    Properties        BasicProtectionPolicy `json:"properties,omitempty"`
    // ID - Resource ID represents the complete path to the resource.
    ID *string `json:"id,omitempty"`
    // Name - Resource name associated with the resource.
    Name *string `json:"name,omitempty"`
    // Type - Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
    Type *string `json:"type,omitempty"`
    // Location - Resource location.
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
    // ETag - Optional ETag.
    ETag *string `json:"eTag,omitempty"`
}

func (ProtectionPolicyResource) MarshalJSON

func (ppr ProtectionPolicyResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ProtectionPolicyResource.

func (*ProtectionPolicyResource) UnmarshalJSON

func (ppr *ProtectionPolicyResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ProtectionPolicyResource struct.

type ProtectionPolicyResourceList

ProtectionPolicyResourceList the list of ProtectionPolicy resources.

type ProtectionPolicyResourceList struct {
    autorest.Response `json:"-"`
    // Value - The list of resources.
    Value *[]ProtectionPolicyResource `json:"value,omitempty"`
    // NextLink - The URI to GET the next page of resources. Call ListNext() gets the next page of resources.
    NextLink *string `json:"nextLink,omitempty"`
}

type ProtectionState

ProtectionState enumerates the values for protection state.

type ProtectionState string
const (
    // ProtectionStateInvalid ...
    ProtectionStateInvalid ProtectionState = "Invalid"
    // ProtectionStateIRPending ...
    ProtectionStateIRPending ProtectionState = "IRPending"
    // ProtectionStateProtected ...
    ProtectionStateProtected ProtectionState = "Protected"
    // ProtectionStateProtectionError ...
    ProtectionStateProtectionError ProtectionState = "ProtectionError"
    // ProtectionStateProtectionPaused ...
    ProtectionStateProtectionPaused ProtectionState = "ProtectionPaused"
    // ProtectionStateProtectionStopped ...
    ProtectionStateProtectionStopped ProtectionState = "ProtectionStopped"
)

func PossibleProtectionStateValues

func PossibleProtectionStateValues() []ProtectionState

PossibleProtectionStateValues returns an array of possible values for the ProtectionState const type.

type ProtectionStatus

ProtectionStatus enumerates the values for protection status.

type ProtectionStatus string
const (
    // ProtectionStatusInvalid ...
    ProtectionStatusInvalid ProtectionStatus = "Invalid"
    // ProtectionStatusNotProtected ...
    ProtectionStatusNotProtected ProtectionStatus = "NotProtected"
    // ProtectionStatusProtected ...
    ProtectionStatusProtected ProtectionStatus = "Protected"
    // ProtectionStatusProtecting ...
    ProtectionStatusProtecting ProtectionStatus = "Protecting"
)

func PossibleProtectionStatusValues

func PossibleProtectionStatusValues() []ProtectionStatus

PossibleProtectionStatusValues returns an array of possible values for the ProtectionStatus const type.

type RecoveryPoint

RecoveryPoint the base class for backup copies. Workload-specific backup copies are derived from this class.

type RecoveryPoint struct {
    // ObjectType - Possible values include: 'ObjectTypeRecoveryPoint', 'ObjectTypeIaasVMRecoveryPoint', 'ObjectTypeGenericRecoveryPoint'
    ObjectType ObjectTypeBasicRecoveryPoint `json:"objectType,omitempty"`
}

func (RecoveryPoint) AsBasicRecoveryPoint

func (rp RecoveryPoint) AsBasicRecoveryPoint() (BasicRecoveryPoint, bool)

AsBasicRecoveryPoint is the BasicRecoveryPoint implementation for RecoveryPoint.

func (RecoveryPoint) AsGenericRecoveryPoint

func (rp RecoveryPoint) AsGenericRecoveryPoint() (*GenericRecoveryPoint, bool)

AsGenericRecoveryPoint is the BasicRecoveryPoint implementation for RecoveryPoint.

func (RecoveryPoint) AsIaasVMRecoveryPoint

func (rp RecoveryPoint) AsIaasVMRecoveryPoint() (*IaasVMRecoveryPoint, bool)

AsIaasVMRecoveryPoint is the BasicRecoveryPoint implementation for RecoveryPoint.

func (RecoveryPoint) AsRecoveryPoint

func (rp RecoveryPoint) AsRecoveryPoint() (*RecoveryPoint, bool)

AsRecoveryPoint is the BasicRecoveryPoint implementation for RecoveryPoint.

func (RecoveryPoint) MarshalJSON

func (rp RecoveryPoint) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RecoveryPoint.

type RecoveryPointResource

RecoveryPointResource the base class for backup copies. Workload-specific backup copies are derived from this class.

type RecoveryPointResource struct {
    autorest.Response `json:"-"`
    Properties        BasicRecoveryPoint `json:"properties,omitempty"`
    // ID - Resource ID represents the complete path to the resource.
    ID *string `json:"id,omitempty"`
    // Name - Resource name associated with the resource.
    Name *string `json:"name,omitempty"`
    // Type - Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
    Type *string `json:"type,omitempty"`
    // Location - Resource location.
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
    // ETag - Optional ETag.
    ETag *string `json:"eTag,omitempty"`
}

func (RecoveryPointResource) MarshalJSON

func (rpr RecoveryPointResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RecoveryPointResource.

func (*RecoveryPointResource) UnmarshalJSON

func (rpr *RecoveryPointResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for RecoveryPointResource struct.

type RecoveryPointResourceList

RecoveryPointResourceList the list of RecoveryPoint resources.

type RecoveryPointResourceList struct {
    autorest.Response `json:"-"`
    // Value - The list of resources.
    Value *[]RecoveryPointResource `json:"value,omitempty"`
    // NextLink - The URI to GET the next page of resources. Call ListNext() gets the next page of resources.
    NextLink *string `json:"nextLink,omitempty"`
}

type RecoveryPointsClient

RecoveryPointsClient is the open API 2.0 Specs for Azure RecoveryServices Backup service

type RecoveryPointsClient struct {
    BaseClient
}

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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (RecoveryPointsClient) Get

func (client RecoveryPointsClient) Get(ctx context.Context, vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string, recoveryPointID string) (result RecoveryPointResource, err error)

Get provides the backup data for the RecoveryPointID. This is an asynchronous operation. To learn the status of the operation, call the GetProtectedItemOperationResult API. Parameters: vaultName - the name of the Recovery Services vault. resourceGroupName - the name of the resource group associated with the Recovery Services vault. fabricName - the fabric name associated with backup item. containerName - the container name associated with backup item. protectedItemName - the name of the backup item used in this GET operation. recoveryPointID - the RecoveryPointID associated with this GET operation.

func (RecoveryPointsClient) GetPreparer

func (client RecoveryPointsClient) GetPreparer(ctx context.Context, 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

func (client RecoveryPointsClient) 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 (RecoveryPointsClient) List

func (client RecoveryPointsClient) List(ctx context.Context, vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string, filter string) (result RecoveryPointResourceList, err error)

List lists the recovery points, or backup copies, for the specified backup item. Parameters: vaultName - the name of the Recovery Services vault. resourceGroupName - the name of the resource group associated with the Recovery Services vault. fabricName - the fabric name associated with the backup item. containerName - the container name associated with the backup item. protectedItemName - the name of backup item used in this GET operation. filter - startDate eq {yyyy-mm-dd hh:mm:ss PM} and endDate { yyyy-mm-dd hh:mm:ss PM}.

func (RecoveryPointsClient) ListPreparer

func (client RecoveryPointsClient) ListPreparer(ctx context.Context, 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

func (client RecoveryPointsClient) 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 RecoveryType

RecoveryType enumerates the values for recovery type.

type RecoveryType string
const (
    // RecoveryTypeAlternateLocation ...
    RecoveryTypeAlternateLocation RecoveryType = "AlternateLocation"
    // RecoveryTypeInvalid ...
    RecoveryTypeInvalid RecoveryType = "Invalid"
    // RecoveryTypeOriginalLocation ...
    RecoveryTypeOriginalLocation RecoveryType = "OriginalLocation"
    // RecoveryTypeRestoreDisks ...
    RecoveryTypeRestoreDisks RecoveryType = "RestoreDisks"
)

func PossibleRecoveryTypeValues

func PossibleRecoveryTypeValues() []RecoveryType

PossibleRecoveryTypeValues returns an array of possible values for the RecoveryType const type.

type Request

Request the base class for a backup request. Workload-specific backup requests are derived from this class.

type Request struct {
    // ObjectType - Possible values include: 'ObjectTypeBackupRequest', 'ObjectTypeIaasVMBackupRequest'
    ObjectType ObjectTypeBasicRequest `json:"objectType,omitempty"`
}

func (Request) AsBasicRequest

func (r Request) AsBasicRequest() (BasicRequest, bool)

AsBasicRequest is the BasicRequest implementation for Request.

func (Request) AsIaasVMBackupRequest

func (r Request) AsIaasVMBackupRequest() (*IaasVMBackupRequest, bool)

AsIaasVMBackupRequest is the BasicRequest implementation for Request.

func (Request) AsRequest

func (r Request) AsRequest() (*Request, bool)

AsRequest is the BasicRequest implementation for Request.

func (Request) MarshalJSON

func (r Request) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Request.

type RequestResource

RequestResource base class for the backup request. Workload-specific backup requests are derived from this class.

type RequestResource struct {
    Properties BasicRequest `json:"properties,omitempty"`
    // ID - Resource ID represents the complete path to the resource.
    ID *string `json:"id,omitempty"`
    // Name - Resource name associated with the resource.
    Name *string `json:"name,omitempty"`
    // Type - Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
    Type *string `json:"type,omitempty"`
    // Location - Resource location.
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
    // ETag - Optional ETag.
    ETag *string `json:"eTag,omitempty"`
}

func (RequestResource) MarshalJSON

func (rr RequestResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RequestResource.

func (*RequestResource) UnmarshalJSON

func (rr *RequestResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for RequestResource struct.

type Resource

Resource base for all resources.

type Resource struct {
    // ID - Resource ID represents the complete path to the resource.
    ID *string `json:"id,omitempty"`
    // Name - Resource name associated with the resource.
    Name *string `json:"name,omitempty"`
    // Type - Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
    Type *string `json:"type,omitempty"`
    // Location - Resource location.
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
    // ETag - Optional ETag.
    ETag *string `json:"eTag,omitempty"`
}

func (Resource) MarshalJSON

func (r Resource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Resource.

type ResourceList

ResourceList base for all lists of resources.

type ResourceList struct {
    // NextLink - The URI to GET the next page of resources. Call ListNext() gets the next page of resources.
    NextLink *string `json:"nextLink,omitempty"`
}

type RestoreRequest

RestoreRequest the base class for restore requests. Workload-specific restore requests are derived from this class.

type RestoreRequest struct {
    // ObjectType - Possible values include: 'ObjectTypeRestoreRequest', 'ObjectTypeIaasVMRestoreRequest'
    ObjectType ObjectTypeBasicRestoreRequest `json:"objectType,omitempty"`
}

func (RestoreRequest) AsBasicRestoreRequest

func (rr RestoreRequest) AsBasicRestoreRequest() (BasicRestoreRequest, bool)

AsBasicRestoreRequest is the BasicRestoreRequest implementation for RestoreRequest.

func (RestoreRequest) AsIaasVMRestoreRequest

func (rr RestoreRequest) AsIaasVMRestoreRequest() (*IaasVMRestoreRequest, bool)

AsIaasVMRestoreRequest is the BasicRestoreRequest implementation for RestoreRequest.

func (RestoreRequest) AsRestoreRequest

func (rr RestoreRequest) AsRestoreRequest() (*RestoreRequest, bool)

AsRestoreRequest is the BasicRestoreRequest implementation for RestoreRequest.

func (RestoreRequest) MarshalJSON

func (rr RestoreRequest) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RestoreRequest.

type RestoreRequestResource

RestoreRequestResource the base class for a restore request. Workload-specific restore requests are derived from this class.

type RestoreRequestResource struct {
    Properties BasicRestoreRequest `json:"properties,omitempty"`
    // ID - Resource ID represents the complete path to the resource.
    ID *string `json:"id,omitempty"`
    // Name - Resource name associated with the resource.
    Name *string `json:"name,omitempty"`
    // Type - Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
    Type *string `json:"type,omitempty"`
    // Location - Resource location.
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
    // ETag - Optional ETag.
    ETag *string `json:"eTag,omitempty"`
}

func (RestoreRequestResource) MarshalJSON

func (rrr RestoreRequestResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RestoreRequestResource.

func (*RestoreRequestResource) UnmarshalJSON

func (rrr *RestoreRequestResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for RestoreRequestResource struct.

type RestoresClient

RestoresClient is the open API 2.0 Specs for Azure RecoveryServices Backup service

type RestoresClient struct {
    BaseClient
}

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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (RestoresClient) Trigger

func (client RestoresClient) Trigger(ctx context.Context, vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string, recoveryPointID string, resourceRestoreRequest RestoreRequestResource) (result autorest.Response, err error)

Trigger restores the specified backup data. This is an asynchronous operation. To know the status of this API call, use GetProtectedItemOperationResult API. Parameters: vaultName - the name of the Recovery Services vault. resourceGroupName - the name of the resource group associated with the Recovery Services vault. fabricName - the fabric name associated with the backup items. containerName - the container name associated with the backup items. protectedItemName - the backup item to be restored. recoveryPointID - the recovery point ID for the backup data to be restored. resourceRestoreRequest - the resource restore request.

func (RestoresClient) TriggerPreparer

func (client RestoresClient) TriggerPreparer(ctx context.Context, vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string, recoveryPointID string, resourceRestoreRequest 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

func (client RestoresClient) TriggerSender(req *http.Request) (*http.Response, error)

TriggerSender sends the Trigger request. The method will close the http.Response Body if it receives an error.

type RetentionDuration

RetentionDuration retention duration.

type RetentionDuration struct {
    // Count - Count of the duration types. Retention duration is determined by the combining the Count times and durationType.
    //    For example, if Count = 3 and durationType = Weeks, then the retention duration is three weeks.
    Count *int32 `json:"count,omitempty"`
    // DurationType - The retention duration type of the retention policy. Possible values include: 'RetentionDurationTypeInvalid', 'RetentionDurationTypeDays', 'RetentionDurationTypeWeeks', 'RetentionDurationTypeMonths', 'RetentionDurationTypeYears'
    DurationType RetentionDurationType `json:"durationType,omitempty"`
}

type RetentionDurationType

RetentionDurationType enumerates the values for retention duration type.

type RetentionDurationType string
const (
    // RetentionDurationTypeDays ...
    RetentionDurationTypeDays RetentionDurationType = "Days"
    // RetentionDurationTypeInvalid ...
    RetentionDurationTypeInvalid RetentionDurationType = "Invalid"
    // RetentionDurationTypeMonths ...
    RetentionDurationTypeMonths RetentionDurationType = "Months"
    // RetentionDurationTypeWeeks ...
    RetentionDurationTypeWeeks RetentionDurationType = "Weeks"
    // RetentionDurationTypeYears ...
    RetentionDurationTypeYears RetentionDurationType = "Years"
)

func PossibleRetentionDurationTypeValues

func PossibleRetentionDurationTypeValues() []RetentionDurationType

PossibleRetentionDurationTypeValues returns an array of possible values for the RetentionDurationType const type.

type RetentionPolicy

RetentionPolicy the base class for retention policy.

type RetentionPolicy struct {
    // RetentionPolicyType - Possible values include: 'RetentionPolicyTypeRetentionPolicy', 'RetentionPolicyTypeSimpleRetentionPolicy', 'RetentionPolicyTypeLongTermRetentionPolicy'
    RetentionPolicyType RetentionPolicyType `json:"retentionPolicyType,omitempty"`
}

func (RetentionPolicy) AsBasicRetentionPolicy

func (rp RetentionPolicy) AsBasicRetentionPolicy() (BasicRetentionPolicy, bool)

AsBasicRetentionPolicy is the BasicRetentionPolicy implementation for RetentionPolicy.

func (RetentionPolicy) AsLongTermRetentionPolicy

func (rp RetentionPolicy) AsLongTermRetentionPolicy() (*LongTermRetentionPolicy, bool)

AsLongTermRetentionPolicy is the BasicRetentionPolicy implementation for RetentionPolicy.

func (RetentionPolicy) AsRetentionPolicy

func (rp RetentionPolicy) AsRetentionPolicy() (*RetentionPolicy, bool)

AsRetentionPolicy is the BasicRetentionPolicy implementation for RetentionPolicy.

func (RetentionPolicy) AsSimpleRetentionPolicy

func (rp RetentionPolicy) AsSimpleRetentionPolicy() (*SimpleRetentionPolicy, bool)

AsSimpleRetentionPolicy is the BasicRetentionPolicy implementation for RetentionPolicy.

func (RetentionPolicy) MarshalJSON

func (rp RetentionPolicy) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RetentionPolicy.

type RetentionPolicyType

RetentionPolicyType enumerates the values for retention policy type.

type RetentionPolicyType string
const (
    // RetentionPolicyTypeLongTermRetentionPolicy ...
    RetentionPolicyTypeLongTermRetentionPolicy RetentionPolicyType = "LongTermRetentionPolicy"
    // RetentionPolicyTypeRetentionPolicy ...
    RetentionPolicyTypeRetentionPolicy RetentionPolicyType = "RetentionPolicy"
    // RetentionPolicyTypeSimpleRetentionPolicy ...
    RetentionPolicyTypeSimpleRetentionPolicy RetentionPolicyType = "SimpleRetentionPolicy"
)

func PossibleRetentionPolicyTypeValues

func PossibleRetentionPolicyTypeValues() []RetentionPolicyType

PossibleRetentionPolicyTypeValues returns an array of possible values for the RetentionPolicyType const type.

type RetentionScheduleFormat

RetentionScheduleFormat enumerates the values for retention schedule format.

type RetentionScheduleFormat string
const (
    // RetentionScheduleFormatDaily ...
    RetentionScheduleFormatDaily RetentionScheduleFormat = "Daily"
    // RetentionScheduleFormatInvalid ...
    RetentionScheduleFormatInvalid RetentionScheduleFormat = "Invalid"
    // RetentionScheduleFormatWeekly ...
    RetentionScheduleFormatWeekly RetentionScheduleFormat = "Weekly"
)

func PossibleRetentionScheduleFormatValues

func PossibleRetentionScheduleFormatValues() []RetentionScheduleFormat

PossibleRetentionScheduleFormatValues returns an array of possible values for the RetentionScheduleFormat const type.

type SchedulePolicy

SchedulePolicy the base class for backup schedules.

type SchedulePolicy struct {
    // SchedulePolicyType - Possible values include: 'SchedulePolicyTypeSchedulePolicy', 'SchedulePolicyTypeLongTermSchedulePolicy', 'SchedulePolicyTypeSimpleSchedulePolicy'
    SchedulePolicyType SchedulePolicyType `json:"schedulePolicyType,omitempty"`
}

func (SchedulePolicy) AsBasicSchedulePolicy

func (sp SchedulePolicy) AsBasicSchedulePolicy() (BasicSchedulePolicy, bool)

AsBasicSchedulePolicy is the BasicSchedulePolicy implementation for SchedulePolicy.

func (SchedulePolicy) AsLongTermSchedulePolicy

func (sp SchedulePolicy) AsLongTermSchedulePolicy() (*LongTermSchedulePolicy, bool)

AsLongTermSchedulePolicy is the BasicSchedulePolicy implementation for SchedulePolicy.

func (SchedulePolicy) AsSchedulePolicy

func (sp SchedulePolicy) AsSchedulePolicy() (*SchedulePolicy, bool)

AsSchedulePolicy is the BasicSchedulePolicy implementation for SchedulePolicy.

func (SchedulePolicy) AsSimpleSchedulePolicy

func (sp SchedulePolicy) AsSimpleSchedulePolicy() (*SimpleSchedulePolicy, bool)

AsSimpleSchedulePolicy is the BasicSchedulePolicy implementation for SchedulePolicy.

func (SchedulePolicy) MarshalJSON

func (sp SchedulePolicy) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SchedulePolicy.

type SchedulePolicyType

SchedulePolicyType enumerates the values for schedule policy type.

type SchedulePolicyType string
const (
    // SchedulePolicyTypeLongTermSchedulePolicy ...
    SchedulePolicyTypeLongTermSchedulePolicy SchedulePolicyType = "LongTermSchedulePolicy"
    // SchedulePolicyTypeSchedulePolicy ...
    SchedulePolicyTypeSchedulePolicy SchedulePolicyType = "SchedulePolicy"
    // SchedulePolicyTypeSimpleSchedulePolicy ...
    SchedulePolicyTypeSimpleSchedulePolicy SchedulePolicyType = "SimpleSchedulePolicy"
)

func PossibleSchedulePolicyTypeValues

func PossibleSchedulePolicyTypeValues() []SchedulePolicyType

PossibleSchedulePolicyTypeValues returns an array of possible values for the SchedulePolicyType const type.

type ScheduleRunType

ScheduleRunType enumerates the values for schedule run type.

type ScheduleRunType string
const (
    // ScheduleRunTypeDaily ...
    ScheduleRunTypeDaily ScheduleRunType = "Daily"
    // ScheduleRunTypeInvalid ...
    ScheduleRunTypeInvalid ScheduleRunType = "Invalid"
    // ScheduleRunTypeWeekly ...
    ScheduleRunTypeWeekly ScheduleRunType = "Weekly"
)

func PossibleScheduleRunTypeValues

func PossibleScheduleRunTypeValues() []ScheduleRunType

PossibleScheduleRunTypeValues returns an array of possible values for the ScheduleRunType const type.

type SimpleRetentionPolicy

SimpleRetentionPolicy simple policy retention.

type SimpleRetentionPolicy struct {
    // RetentionDuration - Retention duration of the protection policy.
    RetentionDuration *RetentionDuration `json:"retentionDuration,omitempty"`
    // RetentionPolicyType - Possible values include: 'RetentionPolicyTypeRetentionPolicy', 'RetentionPolicyTypeSimpleRetentionPolicy', 'RetentionPolicyTypeLongTermRetentionPolicy'
    RetentionPolicyType RetentionPolicyType `json:"retentionPolicyType,omitempty"`
}

func (SimpleRetentionPolicy) AsBasicRetentionPolicy

func (srp SimpleRetentionPolicy) AsBasicRetentionPolicy() (BasicRetentionPolicy, bool)

AsBasicRetentionPolicy is the BasicRetentionPolicy implementation for SimpleRetentionPolicy.

func (SimpleRetentionPolicy) AsLongTermRetentionPolicy

func (srp SimpleRetentionPolicy) AsLongTermRetentionPolicy() (*LongTermRetentionPolicy, bool)

AsLongTermRetentionPolicy is the BasicRetentionPolicy implementation for SimpleRetentionPolicy.

func (SimpleRetentionPolicy) AsRetentionPolicy

func (srp SimpleRetentionPolicy) AsRetentionPolicy() (*RetentionPolicy, bool)

AsRetentionPolicy is the BasicRetentionPolicy implementation for SimpleRetentionPolicy.

func (SimpleRetentionPolicy) AsSimpleRetentionPolicy

func (srp SimpleRetentionPolicy) AsSimpleRetentionPolicy() (*SimpleRetentionPolicy, bool)

AsSimpleRetentionPolicy is the BasicRetentionPolicy implementation for SimpleRetentionPolicy.

func (SimpleRetentionPolicy) MarshalJSON

func (srp SimpleRetentionPolicy) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SimpleRetentionPolicy.

type SimpleSchedulePolicy

SimpleSchedulePolicy simple policy schedule.

type SimpleSchedulePolicy struct {
    // ScheduleRunFrequency - Defines the frequency interval (daily or weekly) for the schedule policy. Possible values include: 'ScheduleRunTypeInvalid', 'ScheduleRunTypeDaily', 'ScheduleRunTypeWeekly'
    ScheduleRunFrequency ScheduleRunType `json:"scheduleRunFrequency,omitempty"`
    // ScheduleRunDays - This list is the days of the week when the schedule runs.
    ScheduleRunDays *[]DayOfWeek `json:"scheduleRunDays,omitempty"`
    // ScheduleRunTimes - List of times, during a day, when the schedule runs.
    ScheduleRunTimes *[]date.Time `json:"scheduleRunTimes,omitempty"`
    // ScheduleWeeklyFrequency - The number of times per week the schedule runs.
    ScheduleWeeklyFrequency *int32 `json:"scheduleWeeklyFrequency,omitempty"`
    // SchedulePolicyType - Possible values include: 'SchedulePolicyTypeSchedulePolicy', 'SchedulePolicyTypeLongTermSchedulePolicy', 'SchedulePolicyTypeSimpleSchedulePolicy'
    SchedulePolicyType SchedulePolicyType `json:"schedulePolicyType,omitempty"`
}

func (SimpleSchedulePolicy) AsBasicSchedulePolicy

func (ssp SimpleSchedulePolicy) AsBasicSchedulePolicy() (BasicSchedulePolicy, bool)

AsBasicSchedulePolicy is the BasicSchedulePolicy implementation for SimpleSchedulePolicy.

func (SimpleSchedulePolicy) AsLongTermSchedulePolicy

func (ssp SimpleSchedulePolicy) AsLongTermSchedulePolicy() (*LongTermSchedulePolicy, bool)

AsLongTermSchedulePolicy is the BasicSchedulePolicy implementation for SimpleSchedulePolicy.

func (SimpleSchedulePolicy) AsSchedulePolicy

func (ssp SimpleSchedulePolicy) AsSchedulePolicy() (*SchedulePolicy, bool)

AsSchedulePolicy is the BasicSchedulePolicy implementation for SimpleSchedulePolicy.

func (SimpleSchedulePolicy) AsSimpleSchedulePolicy

func (ssp SimpleSchedulePolicy) AsSimpleSchedulePolicy() (*SimpleSchedulePolicy, bool)

AsSimpleSchedulePolicy is the BasicSchedulePolicy implementation for SimpleSchedulePolicy.

func (SimpleSchedulePolicy) MarshalJSON

func (ssp SimpleSchedulePolicy) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SimpleSchedulePolicy.

type WeekOfMonth

WeekOfMonth enumerates the values for week of month.

type WeekOfMonth string
const (
    // First ...
    First WeekOfMonth = "First"
    // Fourth ...
    Fourth WeekOfMonth = "Fourth"
    // Last ...
    Last WeekOfMonth = "Last"
    // Second ...
    Second WeekOfMonth = "Second"
    // Third ...
    Third WeekOfMonth = "Third"
)

func PossibleWeekOfMonthValues

func PossibleWeekOfMonthValues() []WeekOfMonth

PossibleWeekOfMonthValues returns an array of possible values for the WeekOfMonth const type.

type WeeklyRetentionFormat

WeeklyRetentionFormat weekly retention format.

type WeeklyRetentionFormat struct {
    // DaysOfTheWeek - List of days of the week.
    DaysOfTheWeek *[]DayOfWeek `json:"daysOfTheWeek,omitempty"`
    // WeeksOfTheMonth - List of weeks of the month.
    WeeksOfTheMonth *[]WeekOfMonth `json:"weeksOfTheMonth,omitempty"`
}

type WeeklyRetentionSchedule

WeeklyRetentionSchedule weekly retention schedule.

type WeeklyRetentionSchedule struct {
    // DaysOfTheWeek - List of the days of the week for the weekly retention policy.
    DaysOfTheWeek *[]DayOfWeek `json:"daysOfTheWeek,omitempty"`
    // RetentionTimes - Retention times of the retention policy.
    RetentionTimes *[]date.Time `json:"retentionTimes,omitempty"`
    // RetentionDuration - Retention duration of retention policy.
    RetentionDuration *RetentionDuration `json:"retentionDuration,omitempty"`
}

type WorkloadProtectableItem

WorkloadProtectableItem the base class for backup item. Workload-specific backup items are derived from this class.

type WorkloadProtectableItem struct {
    // BackupManagementType - The backup management type.
    BackupManagementType *string `json:"backupManagementType,omitempty"`
    // FriendlyName - The friendly name of the backup item.
    FriendlyName *string `json:"friendlyName,omitempty"`
    // ProtectionState - The state of the back up item. Possible values include: 'ProtectionStatusInvalid', 'ProtectionStatusNotProtected', 'ProtectionStatusProtecting', 'ProtectionStatusProtected'
    ProtectionState ProtectionStatus `json:"protectionState,omitempty"`
    // ProtectableItemType - Possible values include: 'ProtectableItemTypeWorkloadProtectableItem', 'ProtectableItemTypeIaaSVMProtectableItem', 'ProtectableItemTypeMicrosoftComputevirtualMachines', 'ProtectableItemTypeMicrosoftClassicComputevirtualMachines'
    ProtectableItemType ProtectableItemType `json:"protectableItemType,omitempty"`
}

func (WorkloadProtectableItem) AsAzureIaaSClassicComputeVMProtectableItem

func (wpi WorkloadProtectableItem) AsAzureIaaSClassicComputeVMProtectableItem() (*AzureIaaSClassicComputeVMProtectableItem, bool)

AsAzureIaaSClassicComputeVMProtectableItem is the BasicWorkloadProtectableItem implementation for WorkloadProtectableItem.

func (WorkloadProtectableItem) AsAzureIaaSComputeVMProtectableItem

func (wpi WorkloadProtectableItem) AsAzureIaaSComputeVMProtectableItem() (*AzureIaaSComputeVMProtectableItem, bool)

AsAzureIaaSComputeVMProtectableItem is the BasicWorkloadProtectableItem implementation for WorkloadProtectableItem.

func (WorkloadProtectableItem) AsBasicIaaSVMProtectableItem

func (wpi WorkloadProtectableItem) AsBasicIaaSVMProtectableItem() (BasicIaaSVMProtectableItem, bool)

AsBasicIaaSVMProtectableItem is the BasicWorkloadProtectableItem implementation for WorkloadProtectableItem.

func (WorkloadProtectableItem) AsBasicWorkloadProtectableItem

func (wpi WorkloadProtectableItem) AsBasicWorkloadProtectableItem() (BasicWorkloadProtectableItem, bool)

AsBasicWorkloadProtectableItem is the BasicWorkloadProtectableItem implementation for WorkloadProtectableItem.

func (WorkloadProtectableItem) AsIaaSVMProtectableItem

func (wpi WorkloadProtectableItem) AsIaaSVMProtectableItem() (*IaaSVMProtectableItem, bool)

AsIaaSVMProtectableItem is the BasicWorkloadProtectableItem implementation for WorkloadProtectableItem.

func (WorkloadProtectableItem) AsWorkloadProtectableItem

func (wpi WorkloadProtectableItem) AsWorkloadProtectableItem() (*WorkloadProtectableItem, bool)

AsWorkloadProtectableItem is the BasicWorkloadProtectableItem implementation for WorkloadProtectableItem.

func (WorkloadProtectableItem) MarshalJSON

func (wpi WorkloadProtectableItem) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkloadProtectableItem.

type WorkloadProtectableItemResource

WorkloadProtectableItemResource the base class for the backup item. Workload-specific backup items are derived from this class.

type WorkloadProtectableItemResource struct {
    Properties BasicWorkloadProtectableItem `json:"properties,omitempty"`
    // ID - Resource ID represents the complete path to the resource.
    ID *string `json:"id,omitempty"`
    // Name - Resource name associated with the resource.
    Name *string `json:"name,omitempty"`
    // Type - Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
    Type *string `json:"type,omitempty"`
    // Location - Resource location.
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
    // ETag - Optional ETag.
    ETag *string `json:"eTag,omitempty"`
}

func (WorkloadProtectableItemResource) MarshalJSON

func (wpir WorkloadProtectableItemResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkloadProtectableItemResource.

func (*WorkloadProtectableItemResource) UnmarshalJSON

func (wpir *WorkloadProtectableItemResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for WorkloadProtectableItemResource struct.

type WorkloadProtectableItemResourceList

WorkloadProtectableItemResourceList the list of WorkloadProtectableItem resources.

type WorkloadProtectableItemResourceList struct {
    autorest.Response `json:"-"`
    // Value - List of resources.
    Value *[]WorkloadProtectableItemResource `json:"value,omitempty"`
    // NextLink - The URI to GET the next page of resources. Call ListNext() gets the next page of resources.
    NextLink *string `json:"nextLink,omitempty"`
}

func (WorkloadProtectableItemResourceList) IsEmpty

func (wpirl WorkloadProtectableItemResourceList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type WorkloadProtectableItemResourceListIterator

WorkloadProtectableItemResourceListIterator provides access to a complete listing of WorkloadProtectableItemResource values.

type WorkloadProtectableItemResourceListIterator struct {
    // contains filtered or unexported fields
}

func NewWorkloadProtectableItemResourceListIterator

func NewWorkloadProtectableItemResourceListIterator(page WorkloadProtectableItemResourceListPage) WorkloadProtectableItemResourceListIterator

Creates a new instance of the WorkloadProtectableItemResourceListIterator type.

func (*WorkloadProtectableItemResourceListIterator) Next

func (iter *WorkloadProtectableItemResourceListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*WorkloadProtectableItemResourceListIterator) NextWithContext

func (iter *WorkloadProtectableItemResourceListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (WorkloadProtectableItemResourceListIterator) NotDone

func (iter WorkloadProtectableItemResourceListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (WorkloadProtectableItemResourceListIterator) Response

func (iter WorkloadProtectableItemResourceListIterator) Response() WorkloadProtectableItemResourceList

Response returns the raw server response from the last page request.

func (WorkloadProtectableItemResourceListIterator) Value

func (iter WorkloadProtectableItemResourceListIterator) Value() WorkloadProtectableItemResource

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type WorkloadProtectableItemResourceListPage

WorkloadProtectableItemResourceListPage contains a page of WorkloadProtectableItemResource values.

type WorkloadProtectableItemResourceListPage struct {
    // contains filtered or unexported fields
}

func NewWorkloadProtectableItemResourceListPage

func NewWorkloadProtectableItemResourceListPage(cur WorkloadProtectableItemResourceList, getNextPage func(context.Context, WorkloadProtectableItemResourceList) (WorkloadProtectableItemResourceList, error)) WorkloadProtectableItemResourceListPage

Creates a new instance of the WorkloadProtectableItemResourceListPage type.

func (*WorkloadProtectableItemResourceListPage) Next

func (page *WorkloadProtectableItemResourceListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*WorkloadProtectableItemResourceListPage) NextWithContext

func (page *WorkloadProtectableItemResourceListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (WorkloadProtectableItemResourceListPage) NotDone

func (page WorkloadProtectableItemResourceListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (WorkloadProtectableItemResourceListPage) Response

func (page WorkloadProtectableItemResourceListPage) Response() WorkloadProtectableItemResourceList

Response returns the raw server response from the last page request.

func (WorkloadProtectableItemResourceListPage) Values

func (page WorkloadProtectableItemResourceListPage) Values() []WorkloadProtectableItemResource

Values returns the slice of values for the current page or nil if there are no values.

type WorkloadType

WorkloadType enumerates the values for workload type.

type WorkloadType string
const (
    // WorkloadTypeAzureSQLDb ...
    WorkloadTypeAzureSQLDb WorkloadType = "AzureSqlDb"
    // WorkloadTypeDPMUnknown ...
    WorkloadTypeDPMUnknown WorkloadType = "DPMUnknown"
    // WorkloadTypeExchange ...
    WorkloadTypeExchange WorkloadType = "Exchange"
    // WorkloadTypeFileFolder ...
    WorkloadTypeFileFolder WorkloadType = "FileFolder"
    // WorkloadTypeInvalid ...
    WorkloadTypeInvalid WorkloadType = "Invalid"
    // WorkloadTypeSharepoint ...
    WorkloadTypeSharepoint WorkloadType = "Sharepoint"
    // WorkloadTypeSQLDB ...
    WorkloadTypeSQLDB WorkloadType = "SQLDB"
    // WorkloadTypeVM ...
    WorkloadTypeVM WorkloadType = "VM"
)

func PossibleWorkloadTypeValues

func PossibleWorkloadTypeValues() []WorkloadType

PossibleWorkloadTypeValues returns an array of possible values for the WorkloadType const type.

type YearlyRetentionSchedule

YearlyRetentionSchedule yearly retention schedule.

type YearlyRetentionSchedule struct {
    // RetentionScheduleFormatType - Retention schedule format for the yearly retention policy. Possible values include: 'RetentionScheduleFormatInvalid', 'RetentionScheduleFormatDaily', 'RetentionScheduleFormatWeekly'
    RetentionScheduleFormatType RetentionScheduleFormat `json:"retentionScheduleFormatType,omitempty"`
    // MonthsOfYear - List of the months of year for the yearly retention policy.
    MonthsOfYear *[]MonthOfYear `json:"monthsOfYear,omitempty"`
    // RetentionScheduleDaily - Daily retention format for the yearly retention policy.
    RetentionScheduleDaily *DailyRetentionFormat `json:"retentionScheduleDaily,omitempty"`
    // RetentionScheduleWeekly - Weekly retention format for the yearly retention policy.
    RetentionScheduleWeekly *WeeklyRetentionFormat `json:"retentionScheduleWeekly,omitempty"`
    // RetentionTimes - Retention times for the retention policy.
    RetentionTimes *[]date.Time `json:"retentionTimes,omitempty"`
    // RetentionDuration - Retention duration for the retention policy.
    RetentionDuration *RetentionDuration `json:"retentionDuration,omitempty"`
}

Subdirectories

Name Synopsis
..
backupapi Deprecated: Please note, this package has been deprecated.