azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2016-06-01/backup Index | Files | Directories

package backup

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

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

Open API 2.0 Specs for Azure RecoveryServices Backup service

Index

Package Files

backups.go client.go engines.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 Uses

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version Uses

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

type AzureBackupServerEngine Uses

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"`
}

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

func (AzureBackupServerEngine) AsAzureBackupServerEngine Uses

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

AsAzureBackupServerEngine is the BasicEngineBase implementation for AzureBackupServerEngine.

func (AzureBackupServerEngine) AsBasicEngineBase Uses

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

AsBasicEngineBase is the BasicEngineBase implementation for AzureBackupServerEngine.

func (AzureBackupServerEngine) AsDpmBackupEngine Uses

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

AsDpmBackupEngine is the BasicEngineBase implementation for AzureBackupServerEngine.

func (AzureBackupServerEngine) AsEngineBase Uses

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

AsEngineBase is the BasicEngineBase implementation for AzureBackupServerEngine.

func (AzureBackupServerEngine) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for AzureBackupServerEngine.

type AzureIaaSClassicComputeVMContainer Uses

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"`
}

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

func (AzureIaaSClassicComputeVMContainer) AsAzureIaaSClassicComputeVMContainer Uses

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

AsAzureIaaSClassicComputeVMContainer is the BasicProtectionContainer implementation for AzureIaaSClassicComputeVMContainer.

func (AzureIaaSClassicComputeVMContainer) AsAzureIaaSComputeVMContainer Uses

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

AsAzureIaaSComputeVMContainer is the BasicProtectionContainer implementation for AzureIaaSClassicComputeVMContainer.

func (AzureIaaSClassicComputeVMContainer) AsAzureSQLContainer Uses

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

AsAzureSQLContainer is the BasicProtectionContainer implementation for AzureIaaSClassicComputeVMContainer.

func (AzureIaaSClassicComputeVMContainer) AsBasicIaaSVMContainer Uses

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

AsBasicIaaSVMContainer is the BasicProtectionContainer implementation for AzureIaaSClassicComputeVMContainer.

func (AzureIaaSClassicComputeVMContainer) AsBasicProtectionContainer Uses

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

AsBasicProtectionContainer is the BasicProtectionContainer implementation for AzureIaaSClassicComputeVMContainer.

func (AzureIaaSClassicComputeVMContainer) AsIaaSVMContainer Uses

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

AsIaaSVMContainer is the BasicProtectionContainer implementation for AzureIaaSClassicComputeVMContainer.

func (AzureIaaSClassicComputeVMContainer) AsMabContainer Uses

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

AsMabContainer is the BasicProtectionContainer implementation for AzureIaaSClassicComputeVMContainer.

func (AzureIaaSClassicComputeVMContainer) AsProtectionContainer Uses

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

AsProtectionContainer is the BasicProtectionContainer implementation for AzureIaaSClassicComputeVMContainer.

func (AzureIaaSClassicComputeVMContainer) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for AzureIaaSClassicComputeVMContainer.

type AzureIaaSClassicComputeVMProtectableItem Uses

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"`
}

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

func (AzureIaaSClassicComputeVMProtectableItem) AsAzureIaaSClassicComputeVMProtectableItem Uses

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

AsAzureIaaSClassicComputeVMProtectableItem is the BasicWorkloadProtectableItem implementation for AzureIaaSClassicComputeVMProtectableItem.

func (AzureIaaSClassicComputeVMProtectableItem) AsAzureIaaSComputeVMProtectableItem Uses

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

AsAzureIaaSComputeVMProtectableItem is the BasicWorkloadProtectableItem implementation for AzureIaaSClassicComputeVMProtectableItem.

func (AzureIaaSClassicComputeVMProtectableItem) AsBasicIaaSVMProtectableItem Uses

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

AsBasicIaaSVMProtectableItem is the BasicWorkloadProtectableItem implementation for AzureIaaSClassicComputeVMProtectableItem.

func (AzureIaaSClassicComputeVMProtectableItem) AsBasicWorkloadProtectableItem Uses

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

AsBasicWorkloadProtectableItem is the BasicWorkloadProtectableItem implementation for AzureIaaSClassicComputeVMProtectableItem.

func (AzureIaaSClassicComputeVMProtectableItem) AsIaaSVMProtectableItem Uses

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

AsIaaSVMProtectableItem is the BasicWorkloadProtectableItem implementation for AzureIaaSClassicComputeVMProtectableItem.

func (AzureIaaSClassicComputeVMProtectableItem) AsWorkloadProtectableItem Uses

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

AsWorkloadProtectableItem is the BasicWorkloadProtectableItem implementation for AzureIaaSClassicComputeVMProtectableItem.

func (AzureIaaSClassicComputeVMProtectableItem) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for AzureIaaSClassicComputeVMProtectableItem.

type AzureIaaSClassicComputeVMProtectedItem Uses

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"`
}

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

func (AzureIaaSClassicComputeVMProtectedItem) AsAzureIaaSClassicComputeVMProtectedItem Uses

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

AsAzureIaaSClassicComputeVMProtectedItem is the BasicProtectedItem implementation for AzureIaaSClassicComputeVMProtectedItem.

func (AzureIaaSClassicComputeVMProtectedItem) AsAzureIaaSComputeVMProtectedItem Uses

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

AsAzureIaaSComputeVMProtectedItem is the BasicProtectedItem implementation for AzureIaaSClassicComputeVMProtectedItem.

func (AzureIaaSClassicComputeVMProtectedItem) AsAzureIaaSVMProtectedItem Uses

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

AsAzureIaaSVMProtectedItem is the BasicProtectedItem implementation for AzureIaaSClassicComputeVMProtectedItem.

func (AzureIaaSClassicComputeVMProtectedItem) AsAzureSQLProtectedItem Uses

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

AsAzureSQLProtectedItem is the BasicProtectedItem implementation for AzureIaaSClassicComputeVMProtectedItem.

func (AzureIaaSClassicComputeVMProtectedItem) AsBasicAzureIaaSVMProtectedItem Uses

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

AsBasicAzureIaaSVMProtectedItem is the BasicProtectedItem implementation for AzureIaaSClassicComputeVMProtectedItem.

func (AzureIaaSClassicComputeVMProtectedItem) AsBasicProtectedItem Uses

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

AsBasicProtectedItem is the BasicProtectedItem implementation for AzureIaaSClassicComputeVMProtectedItem.

func (AzureIaaSClassicComputeVMProtectedItem) AsMabFileFolderProtectedItem Uses

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

AsMabFileFolderProtectedItem is the BasicProtectedItem implementation for AzureIaaSClassicComputeVMProtectedItem.

func (AzureIaaSClassicComputeVMProtectedItem) AsProtectedItem Uses

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

AsProtectedItem is the BasicProtectedItem implementation for AzureIaaSClassicComputeVMProtectedItem.

func (AzureIaaSClassicComputeVMProtectedItem) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for AzureIaaSClassicComputeVMProtectedItem.

type AzureIaaSComputeVMContainer Uses

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"`
}

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

func (AzureIaaSComputeVMContainer) AsAzureIaaSClassicComputeVMContainer Uses

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

AsAzureIaaSClassicComputeVMContainer is the BasicProtectionContainer implementation for AzureIaaSComputeVMContainer.

func (AzureIaaSComputeVMContainer) AsAzureIaaSComputeVMContainer Uses

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

AsAzureIaaSComputeVMContainer is the BasicProtectionContainer implementation for AzureIaaSComputeVMContainer.

func (AzureIaaSComputeVMContainer) AsAzureSQLContainer Uses

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

AsAzureSQLContainer is the BasicProtectionContainer implementation for AzureIaaSComputeVMContainer.

func (AzureIaaSComputeVMContainer) AsBasicIaaSVMContainer Uses

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

AsBasicIaaSVMContainer is the BasicProtectionContainer implementation for AzureIaaSComputeVMContainer.

func (AzureIaaSComputeVMContainer) AsBasicProtectionContainer Uses

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

AsBasicProtectionContainer is the BasicProtectionContainer implementation for AzureIaaSComputeVMContainer.

func (AzureIaaSComputeVMContainer) AsIaaSVMContainer Uses

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

AsIaaSVMContainer is the BasicProtectionContainer implementation for AzureIaaSComputeVMContainer.

func (AzureIaaSComputeVMContainer) AsMabContainer Uses

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

AsMabContainer is the BasicProtectionContainer implementation for AzureIaaSComputeVMContainer.

func (AzureIaaSComputeVMContainer) AsProtectionContainer Uses

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

AsProtectionContainer is the BasicProtectionContainer implementation for AzureIaaSComputeVMContainer.

func (AzureIaaSComputeVMContainer) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for AzureIaaSComputeVMContainer.

type AzureIaaSComputeVMProtectableItem Uses

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"`
}

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

func (AzureIaaSComputeVMProtectableItem) AsAzureIaaSClassicComputeVMProtectableItem Uses

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

AsAzureIaaSClassicComputeVMProtectableItem is the BasicWorkloadProtectableItem implementation for AzureIaaSComputeVMProtectableItem.

func (AzureIaaSComputeVMProtectableItem) AsAzureIaaSComputeVMProtectableItem Uses

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

AsAzureIaaSComputeVMProtectableItem is the BasicWorkloadProtectableItem implementation for AzureIaaSComputeVMProtectableItem.

func (AzureIaaSComputeVMProtectableItem) AsBasicIaaSVMProtectableItem Uses

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

AsBasicIaaSVMProtectableItem is the BasicWorkloadProtectableItem implementation for AzureIaaSComputeVMProtectableItem.

func (AzureIaaSComputeVMProtectableItem) AsBasicWorkloadProtectableItem Uses

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

AsBasicWorkloadProtectableItem is the BasicWorkloadProtectableItem implementation for AzureIaaSComputeVMProtectableItem.

func (AzureIaaSComputeVMProtectableItem) AsIaaSVMProtectableItem Uses

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

AsIaaSVMProtectableItem is the BasicWorkloadProtectableItem implementation for AzureIaaSComputeVMProtectableItem.

func (AzureIaaSComputeVMProtectableItem) AsWorkloadProtectableItem Uses

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

AsWorkloadProtectableItem is the BasicWorkloadProtectableItem implementation for AzureIaaSComputeVMProtectableItem.

func (AzureIaaSComputeVMProtectableItem) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for AzureIaaSComputeVMProtectableItem.

type AzureIaaSComputeVMProtectedItem Uses

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"`
}

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

func (AzureIaaSComputeVMProtectedItem) AsAzureIaaSClassicComputeVMProtectedItem Uses

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

AsAzureIaaSClassicComputeVMProtectedItem is the BasicProtectedItem implementation for AzureIaaSComputeVMProtectedItem.

func (AzureIaaSComputeVMProtectedItem) AsAzureIaaSComputeVMProtectedItem Uses

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

AsAzureIaaSComputeVMProtectedItem is the BasicProtectedItem implementation for AzureIaaSComputeVMProtectedItem.

func (AzureIaaSComputeVMProtectedItem) AsAzureIaaSVMProtectedItem Uses

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

AsAzureIaaSVMProtectedItem is the BasicProtectedItem implementation for AzureIaaSComputeVMProtectedItem.

func (AzureIaaSComputeVMProtectedItem) AsAzureSQLProtectedItem Uses

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

AsAzureSQLProtectedItem is the BasicProtectedItem implementation for AzureIaaSComputeVMProtectedItem.

func (AzureIaaSComputeVMProtectedItem) AsBasicAzureIaaSVMProtectedItem Uses

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

AsBasicAzureIaaSVMProtectedItem is the BasicProtectedItem implementation for AzureIaaSComputeVMProtectedItem.

func (AzureIaaSComputeVMProtectedItem) AsBasicProtectedItem Uses

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

AsBasicProtectedItem is the BasicProtectedItem implementation for AzureIaaSComputeVMProtectedItem.

func (AzureIaaSComputeVMProtectedItem) AsMabFileFolderProtectedItem Uses

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

AsMabFileFolderProtectedItem is the BasicProtectedItem implementation for AzureIaaSComputeVMProtectedItem.

func (AzureIaaSComputeVMProtectedItem) AsProtectedItem Uses

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

AsProtectedItem is the BasicProtectedItem implementation for AzureIaaSComputeVMProtectedItem.

func (AzureIaaSComputeVMProtectedItem) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for AzureIaaSComputeVMProtectedItem.

type AzureIaaSVMErrorInfo Uses

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"`
}

AzureIaaSVMErrorInfo azure IaaS VM workload-specific error information.

type AzureIaaSVMJob Uses

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"`
}

AzureIaaSVMJob the Azure IaaS VM workload-specific job object.

func (AzureIaaSVMJob) AsAzureIaaSVMJob Uses

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

AsAzureIaaSVMJob is the BasicJob implementation for AzureIaaSVMJob.

func (AzureIaaSVMJob) AsBasicJob Uses

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

AsBasicJob is the BasicJob implementation for AzureIaaSVMJob.

func (AzureIaaSVMJob) AsDpmJob Uses

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

AsDpmJob is the BasicJob implementation for AzureIaaSVMJob.

func (AzureIaaSVMJob) AsJob Uses

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

AsJob is the BasicJob implementation for AzureIaaSVMJob.

func (AzureIaaSVMJob) AsMabJob Uses

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

AsMabJob is the BasicJob implementation for AzureIaaSVMJob.

func (AzureIaaSVMJob) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for AzureIaaSVMJob.

type AzureIaaSVMJobExtendedInfo Uses

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"`
}

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

func (AzureIaaSVMJobExtendedInfo) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for AzureIaaSVMJobExtendedInfo.

type AzureIaaSVMJobTaskDetails Uses

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"`
}

AzureIaaSVMJobTaskDetails azure IaaS VM workload-specific job task details.

type AzureIaaSVMProtectedItem Uses

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"`
}

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

func (AzureIaaSVMProtectedItem) AsAzureIaaSClassicComputeVMProtectedItem Uses

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

AsAzureIaaSClassicComputeVMProtectedItem is the BasicProtectedItem implementation for AzureIaaSVMProtectedItem.

func (AzureIaaSVMProtectedItem) AsAzureIaaSComputeVMProtectedItem Uses

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

AsAzureIaaSComputeVMProtectedItem is the BasicProtectedItem implementation for AzureIaaSVMProtectedItem.

func (AzureIaaSVMProtectedItem) AsAzureIaaSVMProtectedItem Uses

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

AsAzureIaaSVMProtectedItem is the BasicProtectedItem implementation for AzureIaaSVMProtectedItem.

func (AzureIaaSVMProtectedItem) AsAzureSQLProtectedItem Uses

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

AsAzureSQLProtectedItem is the BasicProtectedItem implementation for AzureIaaSVMProtectedItem.

func (AzureIaaSVMProtectedItem) AsBasicAzureIaaSVMProtectedItem Uses

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

AsBasicAzureIaaSVMProtectedItem is the BasicProtectedItem implementation for AzureIaaSVMProtectedItem.

func (AzureIaaSVMProtectedItem) AsBasicProtectedItem Uses

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

AsBasicProtectedItem is the BasicProtectedItem implementation for AzureIaaSVMProtectedItem.

func (AzureIaaSVMProtectedItem) AsMabFileFolderProtectedItem Uses

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

AsMabFileFolderProtectedItem is the BasicProtectedItem implementation for AzureIaaSVMProtectedItem.

func (AzureIaaSVMProtectedItem) AsProtectedItem Uses

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

AsProtectedItem is the BasicProtectedItem implementation for AzureIaaSVMProtectedItem.

func (AzureIaaSVMProtectedItem) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for AzureIaaSVMProtectedItem.

type AzureIaaSVMProtectedItemExtendedInfo Uses

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"`
}

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

type AzureIaaSVMProtectionPolicy Uses

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"`
}

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

func (AzureIaaSVMProtectionPolicy) AsAzureIaaSVMProtectionPolicy Uses

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

AsAzureIaaSVMProtectionPolicy is the BasicProtectionPolicy implementation for AzureIaaSVMProtectionPolicy.

func (AzureIaaSVMProtectionPolicy) AsAzureSQLProtectionPolicy Uses

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

AsAzureSQLProtectionPolicy is the BasicProtectionPolicy implementation for AzureIaaSVMProtectionPolicy.

func (AzureIaaSVMProtectionPolicy) AsBasicProtectionPolicy Uses

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

AsBasicProtectionPolicy is the BasicProtectionPolicy implementation for AzureIaaSVMProtectionPolicy.

func (AzureIaaSVMProtectionPolicy) AsMabProtectionPolicy Uses

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

AsMabProtectionPolicy is the BasicProtectionPolicy implementation for AzureIaaSVMProtectionPolicy.

func (AzureIaaSVMProtectionPolicy) AsProtectionPolicy Uses

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

AsProtectionPolicy is the BasicProtectionPolicy implementation for AzureIaaSVMProtectionPolicy.

func (AzureIaaSVMProtectionPolicy) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for AzureIaaSVMProtectionPolicy.

func (*AzureIaaSVMProtectionPolicy) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for AzureIaaSVMProtectionPolicy struct.

type AzureSQLContainer Uses

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"`
}

AzureSQLContainer azure SQL workload-specific container.

func (AzureSQLContainer) AsAzureIaaSClassicComputeVMContainer Uses

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

AsAzureIaaSClassicComputeVMContainer is the BasicProtectionContainer implementation for AzureSQLContainer.

func (AzureSQLContainer) AsAzureIaaSComputeVMContainer Uses

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

AsAzureIaaSComputeVMContainer is the BasicProtectionContainer implementation for AzureSQLContainer.

func (AzureSQLContainer) AsAzureSQLContainer Uses

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

AsAzureSQLContainer is the BasicProtectionContainer implementation for AzureSQLContainer.

func (AzureSQLContainer) AsBasicIaaSVMContainer Uses

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

AsBasicIaaSVMContainer is the BasicProtectionContainer implementation for AzureSQLContainer.

func (AzureSQLContainer) AsBasicProtectionContainer Uses

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

AsBasicProtectionContainer is the BasicProtectionContainer implementation for AzureSQLContainer.

func (AzureSQLContainer) AsIaaSVMContainer Uses

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

AsIaaSVMContainer is the BasicProtectionContainer implementation for AzureSQLContainer.

func (AzureSQLContainer) AsMabContainer Uses

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

AsMabContainer is the BasicProtectionContainer implementation for AzureSQLContainer.

func (AzureSQLContainer) AsProtectionContainer Uses

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

AsProtectionContainer is the BasicProtectionContainer implementation for AzureSQLContainer.

func (AzureSQLContainer) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for AzureSQLContainer.

type AzureSQLProtectedItem Uses

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"`
}

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

func (AzureSQLProtectedItem) AsAzureIaaSClassicComputeVMProtectedItem Uses

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

AsAzureIaaSClassicComputeVMProtectedItem is the BasicProtectedItem implementation for AzureSQLProtectedItem.

func (AzureSQLProtectedItem) AsAzureIaaSComputeVMProtectedItem Uses

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

AsAzureIaaSComputeVMProtectedItem is the BasicProtectedItem implementation for AzureSQLProtectedItem.

func (AzureSQLProtectedItem) AsAzureIaaSVMProtectedItem Uses

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

AsAzureIaaSVMProtectedItem is the BasicProtectedItem implementation for AzureSQLProtectedItem.

func (AzureSQLProtectedItem) AsAzureSQLProtectedItem Uses

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

AsAzureSQLProtectedItem is the BasicProtectedItem implementation for AzureSQLProtectedItem.

func (AzureSQLProtectedItem) AsBasicAzureIaaSVMProtectedItem Uses

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

AsBasicAzureIaaSVMProtectedItem is the BasicProtectedItem implementation for AzureSQLProtectedItem.

func (AzureSQLProtectedItem) AsBasicProtectedItem Uses

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

AsBasicProtectedItem is the BasicProtectedItem implementation for AzureSQLProtectedItem.

func (AzureSQLProtectedItem) AsMabFileFolderProtectedItem Uses

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

AsMabFileFolderProtectedItem is the BasicProtectedItem implementation for AzureSQLProtectedItem.

func (AzureSQLProtectedItem) AsProtectedItem Uses

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

AsProtectedItem is the BasicProtectedItem implementation for AzureSQLProtectedItem.

func (AzureSQLProtectedItem) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for AzureSQLProtectedItem.

type AzureSQLProtectedItemExtendedInfo Uses

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"`
}

AzureSQLProtectedItemExtendedInfo additional information for the Azure SQL specific backup item.

type AzureSQLProtectionPolicy Uses

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"`
}

AzureSQLProtectionPolicy the Azure SQL workload-specific backup policy.

func (AzureSQLProtectionPolicy) AsAzureIaaSVMProtectionPolicy Uses

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

AsAzureIaaSVMProtectionPolicy is the BasicProtectionPolicy implementation for AzureSQLProtectionPolicy.

func (AzureSQLProtectionPolicy) AsAzureSQLProtectionPolicy Uses

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

AsAzureSQLProtectionPolicy is the BasicProtectionPolicy implementation for AzureSQLProtectionPolicy.

func (AzureSQLProtectionPolicy) AsBasicProtectionPolicy Uses

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

AsBasicProtectionPolicy is the BasicProtectionPolicy implementation for AzureSQLProtectionPolicy.

func (AzureSQLProtectionPolicy) AsMabProtectionPolicy Uses

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

AsMabProtectionPolicy is the BasicProtectionPolicy implementation for AzureSQLProtectionPolicy.

func (AzureSQLProtectionPolicy) AsProtectionPolicy Uses

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

AsProtectionPolicy is the BasicProtectionPolicy implementation for AzureSQLProtectionPolicy.

func (AzureSQLProtectionPolicy) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for AzureSQLProtectionPolicy.

func (*AzureSQLProtectionPolicy) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for AzureSQLProtectionPolicy struct.

type BEKDetails Uses

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"`
}

BEKDetails BEK is Bitlocker Encryption Key.

type BMSBackupEngineQueryObject Uses

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"`
}

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

type BMSContainerQueryObject Uses

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"`
}

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

type BMSPOQueryObject Uses

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"`
}

BMSPOQueryObject filters the list of backup items.

type BMSRPQueryObject Uses

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"`
}

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

type BackupsClient Uses

type BackupsClient struct {
    BaseClient
}

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

func NewBackupsClient Uses

func NewBackupsClient(subscriptionID string) BackupsClient

NewBackupsClient creates an instance of the BackupsClient client.

func NewBackupsClientWithBaseURI Uses

func NewBackupsClientWithBaseURI(baseURI string, subscriptionID string) BackupsClient

NewBackupsClientWithBaseURI creates an instance of the BackupsClient client.

func (BackupsClient) Trigger Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

BaseClient is the base client for Backup.

func New Uses

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI Uses

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

type BasicAzureIaaSVMProtectedItem Uses

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

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

type BasicEngineBase Uses

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

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

type BasicILRRequest Uses

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

BasicILRRequest parameters to restore file or folders API.

type BasicIaaSVMContainer Uses

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

BasicIaaSVMContainer iaaS VM workload-specific container.

type BasicIaaSVMProtectableItem Uses

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

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

type BasicJob Uses

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

BasicJob defines workload-agnostic properties for a job.

type BasicOperationResultInfoBase Uses

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

BasicOperationResultInfoBase the base class for operation result information.

type BasicOperationStatusExtendedInfo Uses

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

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

type BasicProtectedItem Uses

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

BasicProtectedItem the base class for backup items.

type BasicProtectionContainer Uses

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

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

type BasicProtectionPolicy Uses

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

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

type BasicRecoveryPoint Uses

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

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

type BasicRequest Uses

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

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

type BasicRestoreRequest Uses

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

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

type BasicRetentionPolicy Uses

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

BasicRetentionPolicy the base class for retention policy.

type BasicSchedulePolicy Uses

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

BasicSchedulePolicy the base class for backup schedules.

type BasicWorkloadProtectableItem Uses

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

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

type ClientScriptForConnect Uses

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"`
}

ClientScriptForConnect client script details for the file or folder restore.

type DailyRetentionFormat Uses

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

DailyRetentionFormat daily retention format.

type DailyRetentionSchedule Uses

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"`
}

DailyRetentionSchedule daily retention schedule.

type DataSourceType Uses

type DataSourceType string

DataSourceType enumerates the values for data source type.

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 Uses

func PossibleDataSourceTypeValues() []DataSourceType

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

type Day Uses

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

Day day of the week.

type DayOfWeek Uses

type DayOfWeek string

DayOfWeek enumerates the values for day of week.

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 Uses

func PossibleDayOfWeekValues() []DayOfWeek

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

type DpmBackupEngine Uses

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"`
}

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

func (DpmBackupEngine) AsAzureBackupServerEngine Uses

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

AsAzureBackupServerEngine is the BasicEngineBase implementation for DpmBackupEngine.

func (DpmBackupEngine) AsBasicEngineBase Uses

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

AsBasicEngineBase is the BasicEngineBase implementation for DpmBackupEngine.

func (DpmBackupEngine) AsDpmBackupEngine Uses

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

AsDpmBackupEngine is the BasicEngineBase implementation for DpmBackupEngine.

func (DpmBackupEngine) AsEngineBase Uses

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

AsEngineBase is the BasicEngineBase implementation for DpmBackupEngine.

func (DpmBackupEngine) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for DpmBackupEngine.

type DpmErrorInfo Uses

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"`
}

DpmErrorInfo DPM workload-specific error information.

type DpmJob Uses

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"`
}

DpmJob the DPM workload-specific job object.

func (DpmJob) AsAzureIaaSVMJob Uses

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

AsAzureIaaSVMJob is the BasicJob implementation for DpmJob.

func (DpmJob) AsBasicJob Uses

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

AsBasicJob is the BasicJob implementation for DpmJob.

func (DpmJob) AsDpmJob Uses

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

AsDpmJob is the BasicJob implementation for DpmJob.

func (DpmJob) AsJob Uses

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

AsJob is the BasicJob implementation for DpmJob.

func (DpmJob) AsMabJob Uses

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

AsMabJob is the BasicJob implementation for DpmJob.

func (DpmJob) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for DpmJob.

type DpmJobExtendedInfo Uses

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"`
}

DpmJobExtendedInfo additional information on the DPM workload-specific job.

func (DpmJobExtendedInfo) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for DpmJobExtendedInfo.

type DpmJobTaskDetails Uses

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"`
}

DpmJobTaskDetails DPM workload-specific job task details.

type EncryptionDetails Uses

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"`
}

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

type EngineBase Uses

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"`
}

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

func (EngineBase) AsAzureBackupServerEngine Uses

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

AsAzureBackupServerEngine is the BasicEngineBase implementation for EngineBase.

func (EngineBase) AsBasicEngineBase Uses

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

AsBasicEngineBase is the BasicEngineBase implementation for EngineBase.

func (EngineBase) AsDpmBackupEngine Uses

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

AsDpmBackupEngine is the BasicEngineBase implementation for EngineBase.

func (EngineBase) AsEngineBase Uses

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

AsEngineBase is the BasicEngineBase implementation for EngineBase.

func (EngineBase) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for EngineBase.

type EngineBaseResource Uses

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"`
}

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

func (EngineBaseResource) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for EngineBaseResource.

func (*EngineBaseResource) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for EngineBaseResource struct.

type EngineBaseResourceList Uses

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"`
}

EngineBaseResourceList list of BackupEngineBase resources

func (EngineBaseResourceList) IsEmpty Uses

func (ebrl EngineBaseResourceList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type EngineBaseResourceListIterator Uses

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

EngineBaseResourceListIterator provides access to a complete listing of EngineBaseResource values.

func NewEngineBaseResourceListIterator Uses

func NewEngineBaseResourceListIterator(page EngineBaseResourceListPage) EngineBaseResourceListIterator

Creates a new instance of the EngineBaseResourceListIterator type.

func (*EngineBaseResourceListIterator) Next Uses

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 Uses

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 Uses

func (iter EngineBaseResourceListIterator) NotDone() bool

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

func (EngineBaseResourceListIterator) Response Uses

func (iter EngineBaseResourceListIterator) Response() EngineBaseResourceList

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

func (EngineBaseResourceListIterator) Value Uses

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 Uses

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

EngineBaseResourceListPage contains a page of EngineBaseResource values.

func NewEngineBaseResourceListPage Uses

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

Creates a new instance of the EngineBaseResourceListPage type.

func (*EngineBaseResourceListPage) Next Uses

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 Uses

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 Uses

func (page EngineBaseResourceListPage) NotDone() bool

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

func (EngineBaseResourceListPage) Response Uses

func (page EngineBaseResourceListPage) Response() EngineBaseResourceList

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

func (EngineBaseResourceListPage) Values Uses

func (page EngineBaseResourceListPage) Values() []EngineBaseResource

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

type EngineType Uses

type EngineType string

EngineType enumerates the values for engine type.

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

func PossibleEngineTypeValues Uses

func PossibleEngineTypeValues() []EngineType

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

type EnginesClient Uses

type EnginesClient struct {
    BaseClient
}

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

func NewEnginesClient Uses

func NewEnginesClient(subscriptionID string) EnginesClient

NewEnginesClient creates an instance of the EnginesClient client.

func NewEnginesClientWithBaseURI Uses

func NewEnginesClientWithBaseURI(baseURI string, subscriptionID string) EnginesClient

NewEnginesClientWithBaseURI creates an instance of the EnginesClient client.

func (EnginesClient) Get Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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"`
}

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

func (ExportJobsOperationResultInfo) AsBasicOperationResultInfoBase Uses

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

AsBasicOperationResultInfoBase is the BasicOperationResultInfoBase implementation for ExportJobsOperationResultInfo.

func (ExportJobsOperationResultInfo) AsExportJobsOperationResultInfo Uses

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

AsExportJobsOperationResultInfo is the BasicOperationResultInfoBase implementation for ExportJobsOperationResultInfo.

func (ExportJobsOperationResultInfo) AsOperationResultInfo Uses

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

AsOperationResultInfo is the BasicOperationResultInfoBase implementation for ExportJobsOperationResultInfo.

func (ExportJobsOperationResultInfo) AsOperationResultInfoBase Uses

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

AsOperationResultInfoBase is the BasicOperationResultInfoBase implementation for ExportJobsOperationResultInfo.

func (ExportJobsOperationResultInfo) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ExportJobsOperationResultInfo.

type ExportJobsOperationResultsClient Uses

type ExportJobsOperationResultsClient struct {
    BaseClient
}

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

func NewExportJobsOperationResultsClient Uses

func NewExportJobsOperationResultsClient(subscriptionID string) ExportJobsOperationResultsClient

NewExportJobsOperationResultsClient creates an instance of the ExportJobsOperationResultsClient client.

func NewExportJobsOperationResultsClientWithBaseURI Uses

func NewExportJobsOperationResultsClientWithBaseURI(baseURI string, subscriptionID string) ExportJobsOperationResultsClient

NewExportJobsOperationResultsClientWithBaseURI creates an instance of the ExportJobsOperationResultsClient client.

func (ExportJobsOperationResultsClient) Get Uses

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 Uses

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

GetPreparer prepares the Get request.

func (ExportJobsOperationResultsClient) GetResponder Uses

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 Uses

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 Uses

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"`
}

GenericRecoveryPoint generic backup copy.

func (GenericRecoveryPoint) AsBasicRecoveryPoint Uses

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

AsBasicRecoveryPoint is the BasicRecoveryPoint implementation for GenericRecoveryPoint.

func (GenericRecoveryPoint) AsGenericRecoveryPoint Uses

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

AsGenericRecoveryPoint is the BasicRecoveryPoint implementation for GenericRecoveryPoint.

func (GenericRecoveryPoint) AsIaasVMRecoveryPoint Uses

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

AsIaasVMRecoveryPoint is the BasicRecoveryPoint implementation for GenericRecoveryPoint.

func (GenericRecoveryPoint) AsRecoveryPoint Uses

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

AsRecoveryPoint is the BasicRecoveryPoint implementation for GenericRecoveryPoint.

func (GenericRecoveryPoint) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for GenericRecoveryPoint.

type GetProtectedItemQueryObject Uses

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

GetProtectedItemQueryObject this object filters the list of backup items.

type HTTPStatusCode Uses

type HTTPStatusCode string

HTTPStatusCode enumerates the values for http status code.

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 Uses

func PossibleHTTPStatusCodeValues() []HTTPStatusCode

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

type ILRRequest Uses

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

ILRRequest parameters to restore file or folders API.

func (ILRRequest) AsBasicILRRequest Uses

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

AsBasicILRRequest is the BasicILRRequest implementation for ILRRequest.

func (ILRRequest) AsILRRequest Uses

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

AsILRRequest is the BasicILRRequest implementation for ILRRequest.

func (ILRRequest) AsIaasVMILRRegistrationRequest Uses

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

AsIaasVMILRRegistrationRequest is the BasicILRRequest implementation for ILRRequest.

func (ILRRequest) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ILRRequest.

type ILRRequestResource Uses

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"`
}

ILRRequestResource the parameters to restore files or folders.

func (ILRRequestResource) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ILRRequestResource.

func (*ILRRequestResource) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for ILRRequestResource struct.

type IaaSVMContainer Uses

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"`
}

IaaSVMContainer iaaS VM workload-specific container.

func (IaaSVMContainer) AsAzureIaaSClassicComputeVMContainer Uses

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

AsAzureIaaSClassicComputeVMContainer is the BasicProtectionContainer implementation for IaaSVMContainer.

func (IaaSVMContainer) AsAzureIaaSComputeVMContainer Uses

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

AsAzureIaaSComputeVMContainer is the BasicProtectionContainer implementation for IaaSVMContainer.

func (IaaSVMContainer) AsAzureSQLContainer Uses

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

AsAzureSQLContainer is the BasicProtectionContainer implementation for IaaSVMContainer.

func (IaaSVMContainer) AsBasicIaaSVMContainer Uses

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

AsBasicIaaSVMContainer is the BasicProtectionContainer implementation for IaaSVMContainer.

func (IaaSVMContainer) AsBasicProtectionContainer Uses

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

AsBasicProtectionContainer is the BasicProtectionContainer implementation for IaaSVMContainer.

func (IaaSVMContainer) AsIaaSVMContainer Uses

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

AsIaaSVMContainer is the BasicProtectionContainer implementation for IaaSVMContainer.

func (IaaSVMContainer) AsMabContainer Uses

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

AsMabContainer is the BasicProtectionContainer implementation for IaaSVMContainer.

func (IaaSVMContainer) AsProtectionContainer Uses

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

AsProtectionContainer is the BasicProtectionContainer implementation for IaaSVMContainer.

func (IaaSVMContainer) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for IaaSVMContainer.

type IaaSVMProtectableItem Uses

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"`
}

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

func (IaaSVMProtectableItem) AsAzureIaaSClassicComputeVMProtectableItem Uses

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

AsAzureIaaSClassicComputeVMProtectableItem is the BasicWorkloadProtectableItem implementation for IaaSVMProtectableItem.

func (IaaSVMProtectableItem) AsAzureIaaSComputeVMProtectableItem Uses

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

AsAzureIaaSComputeVMProtectableItem is the BasicWorkloadProtectableItem implementation for IaaSVMProtectableItem.

func (IaaSVMProtectableItem) AsBasicIaaSVMProtectableItem Uses

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

AsBasicIaaSVMProtectableItem is the BasicWorkloadProtectableItem implementation for IaaSVMProtectableItem.

func (IaaSVMProtectableItem) AsBasicWorkloadProtectableItem Uses

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

AsBasicWorkloadProtectableItem is the BasicWorkloadProtectableItem implementation for IaaSVMProtectableItem.

func (IaaSVMProtectableItem) AsIaaSVMProtectableItem Uses

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

AsIaaSVMProtectableItem is the BasicWorkloadProtectableItem implementation for IaaSVMProtectableItem.

func (IaaSVMProtectableItem) AsWorkloadProtectableItem Uses

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

AsWorkloadProtectableItem is the BasicWorkloadProtectableItem implementation for IaaSVMProtectableItem.

func (IaaSVMProtectableItem) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for IaaSVMProtectableItem.

type IaasVMBackupRequest Uses

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"`
}

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

func (IaasVMBackupRequest) AsBasicRequest Uses

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

AsBasicRequest is the BasicRequest implementation for IaasVMBackupRequest.

func (IaasVMBackupRequest) AsIaasVMBackupRequest Uses

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

AsIaasVMBackupRequest is the BasicRequest implementation for IaasVMBackupRequest.

func (IaasVMBackupRequest) AsRequest Uses

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

AsRequest is the BasicRequest implementation for IaasVMBackupRequest.

func (IaasVMBackupRequest) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for IaasVMBackupRequest.

type IaasVMILRRegistrationRequest Uses

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"`
}

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

func (IaasVMILRRegistrationRequest) AsBasicILRRequest Uses

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

AsBasicILRRequest is the BasicILRRequest implementation for IaasVMILRRegistrationRequest.

func (IaasVMILRRegistrationRequest) AsILRRequest Uses

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

AsILRRequest is the BasicILRRequest implementation for IaasVMILRRegistrationRequest.

func (IaasVMILRRegistrationRequest) AsIaasVMILRRegistrationRequest Uses

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

AsIaasVMILRRegistrationRequest is the BasicILRRequest implementation for IaasVMILRRegistrationRequest.

func (IaasVMILRRegistrationRequest) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for IaasVMILRRegistrationRequest.

type IaasVMRecoveryPoint Uses

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"`
}

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

func (IaasVMRecoveryPoint) AsBasicRecoveryPoint Uses

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

AsBasicRecoveryPoint is the BasicRecoveryPoint implementation for IaasVMRecoveryPoint.

func (IaasVMRecoveryPoint) AsGenericRecoveryPoint Uses

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

AsGenericRecoveryPoint is the BasicRecoveryPoint implementation for IaasVMRecoveryPoint.

func (IaasVMRecoveryPoint) AsIaasVMRecoveryPoint Uses

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

AsIaasVMRecoveryPoint is the BasicRecoveryPoint implementation for IaasVMRecoveryPoint.

func (IaasVMRecoveryPoint) AsRecoveryPoint Uses

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

AsRecoveryPoint is the BasicRecoveryPoint implementation for IaasVMRecoveryPoint.

func (IaasVMRecoveryPoint) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for IaasVMRecoveryPoint.

type IaasVMRestoreRequest Uses

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"`
}

IaasVMRestoreRequest iaaS VM workload-specific restore.

func (IaasVMRestoreRequest) AsBasicRestoreRequest Uses

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

AsBasicRestoreRequest is the BasicRestoreRequest implementation for IaasVMRestoreRequest.

func (IaasVMRestoreRequest) AsIaasVMRestoreRequest Uses

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

AsIaasVMRestoreRequest is the BasicRestoreRequest implementation for IaasVMRestoreRequest.

func (IaasVMRestoreRequest) AsRestoreRequest Uses

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

AsRestoreRequest is the BasicRestoreRequest implementation for IaasVMRestoreRequest.

func (IaasVMRestoreRequest) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for IaasVMRestoreRequest.

type InstantItemRecoveryTarget Uses

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

InstantItemRecoveryTarget target details for the file or folder restore.

type ItemLevelRecoveryConnectionsClient Uses

type ItemLevelRecoveryConnectionsClient struct {
    BaseClient
}

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

func NewItemLevelRecoveryConnectionsClient Uses

func NewItemLevelRecoveryConnectionsClient(subscriptionID string) ItemLevelRecoveryConnectionsClient

NewItemLevelRecoveryConnectionsClient creates an instance of the ItemLevelRecoveryConnectionsClient client.

func NewItemLevelRecoveryConnectionsClientWithBaseURI Uses

func NewItemLevelRecoveryConnectionsClientWithBaseURI(baseURI string, subscriptionID string) ItemLevelRecoveryConnectionsClient

NewItemLevelRecoveryConnectionsClientWithBaseURI creates an instance of the ItemLevelRecoveryConnectionsClient client.

func (ItemLevelRecoveryConnectionsClient) Provision Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

type ItemType string

ItemType enumerates the values for item type.

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 Uses

func PossibleItemTypeValues() []ItemType

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

type Job Uses

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"`
}

Job defines workload-agnostic properties for a job.

func (Job) AsAzureIaaSVMJob Uses

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

AsAzureIaaSVMJob is the BasicJob implementation for Job.

func (Job) AsBasicJob Uses

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

AsBasicJob is the BasicJob implementation for Job.

func (Job) AsDpmJob Uses

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

AsDpmJob is the BasicJob implementation for Job.

func (Job) AsJob Uses

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

AsJob is the BasicJob implementation for Job.

func (Job) AsMabJob Uses

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

AsMabJob is the BasicJob implementation for Job.

func (Job) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for Job.

type JobCancellationsClient Uses

type JobCancellationsClient struct {
    BaseClient
}

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

func NewJobCancellationsClient Uses

func NewJobCancellationsClient(subscriptionID string) JobCancellationsClient

NewJobCancellationsClient creates an instance of the JobCancellationsClient client.

func NewJobCancellationsClientWithBaseURI Uses

func NewJobCancellationsClientWithBaseURI(baseURI string, subscriptionID string) JobCancellationsClient

NewJobCancellationsClientWithBaseURI creates an instance of the JobCancellationsClient client.

func (JobCancellationsClient) Trigger Uses

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 Uses

func (client JobCancellationsClient) TriggerPreparer(ctx context.Context, vaultName string, resourceGroupName string, jobName string) (*http.Request, error)

TriggerPreparer prepares the Trigger request.

func (JobCancellationsClient) TriggerResponder Uses

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 Uses

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 Uses

type JobDetailsClient struct {
    BaseClient
}

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

func NewJobDetailsClient Uses

func NewJobDetailsClient(subscriptionID string) JobDetailsClient

NewJobDetailsClient creates an instance of the JobDetailsClient client.

func NewJobDetailsClientWithBaseURI Uses

func NewJobDetailsClientWithBaseURI(baseURI string, subscriptionID string) JobDetailsClient

NewJobDetailsClientWithBaseURI creates an instance of the JobDetailsClient client.

func (JobDetailsClient) Get Uses

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 Uses

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

GetPreparer prepares the Get request.

func (JobDetailsClient) GetResponder Uses

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 Uses

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 Uses

type JobOperationResultsClient struct {
    BaseClient
}

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

func NewJobOperationResultsClient Uses

func NewJobOperationResultsClient(subscriptionID string) JobOperationResultsClient

NewJobOperationResultsClient creates an instance of the JobOperationResultsClient client.

func NewJobOperationResultsClientWithBaseURI Uses

func NewJobOperationResultsClientWithBaseURI(baseURI string, subscriptionID string) JobOperationResultsClient

NewJobOperationResultsClientWithBaseURI creates an instance of the JobOperationResultsClient client.

func (JobOperationResultsClient) Get Uses

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 Uses

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 Uses

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 Uses

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 Uses

type JobOperationType string

JobOperationType enumerates the values for job operation type.

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 Uses

func PossibleJobOperationTypeValues() []JobOperationType

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

type JobQueryObject Uses

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"`
}

JobQueryObject the filters to list the jobs.

type JobResource Uses

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"`
}

JobResource defines the workload-agnostic properties for a job.

func (JobResource) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for JobResource.

func (*JobResource) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for JobResource struct.

type JobResourceList Uses

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"`
}

JobResourceList list of Job resources.

func (JobResourceList) IsEmpty Uses

func (jrl JobResourceList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type JobResourceListIterator Uses

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

JobResourceListIterator provides access to a complete listing of JobResource values.

func NewJobResourceListIterator Uses

func NewJobResourceListIterator(page JobResourceListPage) JobResourceListIterator

Creates a new instance of the JobResourceListIterator type.

func (*JobResourceListIterator) Next Uses

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 Uses

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 Uses

func (iter JobResourceListIterator) NotDone() bool

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

func (JobResourceListIterator) Response Uses

func (iter JobResourceListIterator) Response() JobResourceList

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

func (JobResourceListIterator) Value Uses

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 Uses

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

JobResourceListPage contains a page of JobResource values.

func NewJobResourceListPage Uses

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

Creates a new instance of the JobResourceListPage type.

func (*JobResourceListPage) Next Uses

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 Uses

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 Uses

func (page JobResourceListPage) NotDone() bool

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

func (JobResourceListPage) Response Uses

func (page JobResourceListPage) Response() JobResourceList

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

func (JobResourceListPage) Values Uses

func (page JobResourceListPage) Values() []JobResource

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

type JobStatus Uses

type JobStatus string

JobStatus enumerates the values for job status.

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 Uses

func PossibleJobStatusValues() []JobStatus

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

type JobSupportedAction Uses

type JobSupportedAction string

JobSupportedAction enumerates the values for job supported action.

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

func PossibleJobSupportedActionValues Uses

func PossibleJobSupportedActionValues() []JobSupportedAction

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

type JobType Uses

type JobType string

JobType enumerates the values for job type.

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

func PossibleJobTypeValues Uses

func PossibleJobTypeValues() []JobType

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

type JobsClient Uses

type JobsClient struct {
    BaseClient
}

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

func NewJobsClient Uses

func NewJobsClient(subscriptionID string) JobsClient

NewJobsClient creates an instance of the JobsClient client.

func NewJobsClientWithBaseURI Uses

func NewJobsClientWithBaseURI(baseURI string, subscriptionID string) JobsClient

NewJobsClientWithBaseURI creates an instance of the JobsClient client.

func (JobsClient) Export Uses

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 Uses

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

ExportPreparer prepares the Export request.

func (JobsClient) ExportResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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"`
}

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

type KeyAndSecretDetails Uses

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"`
}

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 LongTermRetentionPolicy Uses

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"`
}

LongTermRetentionPolicy long-term retention policy.

func (LongTermRetentionPolicy) AsBasicRetentionPolicy Uses

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

AsBasicRetentionPolicy is the BasicRetentionPolicy implementation for LongTermRetentionPolicy.

func (LongTermRetentionPolicy) AsLongTermRetentionPolicy Uses

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

AsLongTermRetentionPolicy is the BasicRetentionPolicy implementation for LongTermRetentionPolicy.

func (LongTermRetentionPolicy) AsRetentionPolicy Uses

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

AsRetentionPolicy is the BasicRetentionPolicy implementation for LongTermRetentionPolicy.

func (LongTermRetentionPolicy) AsSimpleRetentionPolicy Uses

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

AsSimpleRetentionPolicy is the BasicRetentionPolicy implementation for LongTermRetentionPolicy.

func (LongTermRetentionPolicy) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for LongTermRetentionPolicy.

type LongTermSchedulePolicy Uses

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

LongTermSchedulePolicy long-term policy schedule.

func (LongTermSchedulePolicy) AsBasicSchedulePolicy Uses

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

AsBasicSchedulePolicy is the BasicSchedulePolicy implementation for LongTermSchedulePolicy.

func (LongTermSchedulePolicy) AsLongTermSchedulePolicy Uses

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

AsLongTermSchedulePolicy is the BasicSchedulePolicy implementation for LongTermSchedulePolicy.

func (LongTermSchedulePolicy) AsSchedulePolicy Uses

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

AsSchedulePolicy is the BasicSchedulePolicy implementation for LongTermSchedulePolicy.

func (LongTermSchedulePolicy) AsSimpleSchedulePolicy Uses

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

AsSimpleSchedulePolicy is the BasicSchedulePolicy implementation for LongTermSchedulePolicy.

func (LongTermSchedulePolicy) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for LongTermSchedulePolicy.

type MabContainer Uses

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"`
}

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

func (MabContainer) AsAzureIaaSClassicComputeVMContainer Uses

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

AsAzureIaaSClassicComputeVMContainer is the BasicProtectionContainer implementation for MabContainer.

func (MabContainer) AsAzureIaaSComputeVMContainer Uses

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

AsAzureIaaSComputeVMContainer is the BasicProtectionContainer implementation for MabContainer.

func (MabContainer) AsAzureSQLContainer Uses

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

AsAzureSQLContainer is the BasicProtectionContainer implementation for MabContainer.

func (MabContainer) AsBasicIaaSVMContainer Uses

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

AsBasicIaaSVMContainer is the BasicProtectionContainer implementation for MabContainer.

func (MabContainer) AsBasicProtectionContainer Uses

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

AsBasicProtectionContainer is the BasicProtectionContainer implementation for MabContainer.

func (MabContainer) AsIaaSVMContainer Uses

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

AsIaaSVMContainer is the BasicProtectionContainer implementation for MabContainer.

func (MabContainer) AsMabContainer Uses

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

AsMabContainer is the BasicProtectionContainer implementation for MabContainer.

func (MabContainer) AsProtectionContainer Uses

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

AsProtectionContainer is the BasicProtectionContainer implementation for MabContainer.

func (MabContainer) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for MabContainer.

type MabContainerExtendedInfo Uses

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"`
}

MabContainerExtendedInfo additional information for the container.

type MabErrorInfo Uses

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

MabErrorInfo azure Backup Server workload-specific error information.

type MabFileFolderProtectedItem Uses

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"`
}

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

func (MabFileFolderProtectedItem) AsAzureIaaSClassicComputeVMProtectedItem Uses

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

AsAzureIaaSClassicComputeVMProtectedItem is the BasicProtectedItem implementation for MabFileFolderProtectedItem.

func (MabFileFolderProtectedItem) AsAzureIaaSComputeVMProtectedItem Uses

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

AsAzureIaaSComputeVMProtectedItem is the BasicProtectedItem implementation for MabFileFolderProtectedItem.

func (MabFileFolderProtectedItem) AsAzureIaaSVMProtectedItem Uses

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

AsAzureIaaSVMProtectedItem is the BasicProtectedItem implementation for MabFileFolderProtectedItem.

func (MabFileFolderProtectedItem) AsAzureSQLProtectedItem Uses

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

AsAzureSQLProtectedItem is the BasicProtectedItem implementation for MabFileFolderProtectedItem.

func (MabFileFolderProtectedItem) AsBasicAzureIaaSVMProtectedItem Uses

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

AsBasicAzureIaaSVMProtectedItem is the BasicProtectedItem implementation for MabFileFolderProtectedItem.

func (MabFileFolderProtectedItem) AsBasicProtectedItem Uses

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

AsBasicProtectedItem is the BasicProtectedItem implementation for MabFileFolderProtectedItem.

func (MabFileFolderProtectedItem) AsMabFileFolderProtectedItem Uses

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

AsMabFileFolderProtectedItem is the BasicProtectedItem implementation for MabFileFolderProtectedItem.

func (MabFileFolderProtectedItem) AsProtectedItem Uses

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

AsProtectedItem is the BasicProtectedItem implementation for MabFileFolderProtectedItem.

func (MabFileFolderProtectedItem) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for MabFileFolderProtectedItem.

type MabFileFolderProtectedItemExtendedInfo Uses

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"`
}

MabFileFolderProtectedItemExtendedInfo additional information for the backup item.

type MabJob Uses

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"`
}

MabJob the Azure Backup Server workload-specific job.

func (MabJob) AsAzureIaaSVMJob Uses

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

AsAzureIaaSVMJob is the BasicJob implementation for MabJob.

func (MabJob) AsBasicJob Uses

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

AsBasicJob is the BasicJob implementation for MabJob.

func (MabJob) AsDpmJob Uses

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

AsDpmJob is the BasicJob implementation for MabJob.

func (MabJob) AsJob Uses

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

AsJob is the BasicJob implementation for MabJob.

func (MabJob) AsMabJob Uses

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

AsMabJob is the BasicJob implementation for MabJob.

func (MabJob) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for MabJob.

type MabJobExtendedInfo Uses

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"`
}

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

func (MabJobExtendedInfo) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for MabJobExtendedInfo.

type MabJobTaskDetails Uses

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"`
}

MabJobTaskDetails azure Backup Server workload-specific job task details.

type MabProtectionPolicy Uses

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"`
}

MabProtectionPolicy the backup policy for the file or folder container.

func (MabProtectionPolicy) AsAzureIaaSVMProtectionPolicy Uses

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

AsAzureIaaSVMProtectionPolicy is the BasicProtectionPolicy implementation for MabProtectionPolicy.

func (MabProtectionPolicy) AsAzureSQLProtectionPolicy Uses

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

AsAzureSQLProtectionPolicy is the BasicProtectionPolicy implementation for MabProtectionPolicy.

func (MabProtectionPolicy) AsBasicProtectionPolicy Uses

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

AsBasicProtectionPolicy is the BasicProtectionPolicy implementation for MabProtectionPolicy.

func (MabProtectionPolicy) AsMabProtectionPolicy Uses

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

AsMabProtectionPolicy is the BasicProtectionPolicy implementation for MabProtectionPolicy.

func (MabProtectionPolicy) AsProtectionPolicy Uses

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

AsProtectionPolicy is the BasicProtectionPolicy implementation for MabProtectionPolicy.

func (MabProtectionPolicy) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for MabProtectionPolicy.

func (*MabProtectionPolicy) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for MabProtectionPolicy struct.

type MabServerType Uses

type MabServerType string

MabServerType enumerates the values for mab server type.

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 Uses

func PossibleMabServerTypeValues() []MabServerType

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

type ManagementType Uses

type ManagementType string

ManagementType enumerates the values for management type.

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 Uses

func PossibleManagementTypeValues() []ManagementType

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

type ManagementTypeBasicProtectionPolicy Uses

type ManagementTypeBasicProtectionPolicy string

ManagementTypeBasicProtectionPolicy enumerates the values for management type basic protection policy.

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

func PossibleManagementTypeBasicProtectionPolicyValues Uses

func PossibleManagementTypeBasicProtectionPolicyValues() []ManagementTypeBasicProtectionPolicy

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

type MonthOfYear Uses

type MonthOfYear string

MonthOfYear enumerates the values for month of year.

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 Uses

func PossibleMonthOfYearValues() []MonthOfYear

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

type MonthlyRetentionSchedule Uses

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"`
}

MonthlyRetentionSchedule the monthly retention schedule.

type ObjectType Uses

type ObjectType string

ObjectType enumerates the values for object type.

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

func PossibleObjectTypeValues Uses

func PossibleObjectTypeValues() []ObjectType

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

type ObjectTypeBasicILRRequest Uses

type ObjectTypeBasicILRRequest string

ObjectTypeBasicILRRequest enumerates the values for object type basic ilr request.

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

func PossibleObjectTypeBasicILRRequestValues Uses

func PossibleObjectTypeBasicILRRequestValues() []ObjectTypeBasicILRRequest

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

type ObjectTypeBasicOperationResultInfoBase Uses

type ObjectTypeBasicOperationResultInfoBase string

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

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

func PossibleObjectTypeBasicOperationResultInfoBaseValues Uses

func PossibleObjectTypeBasicOperationResultInfoBaseValues() []ObjectTypeBasicOperationResultInfoBase

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

type ObjectTypeBasicRecoveryPoint Uses

type ObjectTypeBasicRecoveryPoint string

ObjectTypeBasicRecoveryPoint enumerates the values for object type basic recovery point.

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

func PossibleObjectTypeBasicRecoveryPointValues Uses

func PossibleObjectTypeBasicRecoveryPointValues() []ObjectTypeBasicRecoveryPoint

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

type ObjectTypeBasicRequest Uses

type ObjectTypeBasicRequest string

ObjectTypeBasicRequest enumerates the values for object type basic request.

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

func PossibleObjectTypeBasicRequestValues Uses

func PossibleObjectTypeBasicRequestValues() []ObjectTypeBasicRequest

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

type ObjectTypeBasicRestoreRequest Uses

type ObjectTypeBasicRestoreRequest string

ObjectTypeBasicRestoreRequest enumerates the values for object type basic restore request.

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

func PossibleObjectTypeBasicRestoreRequestValues Uses

func PossibleObjectTypeBasicRestoreRequestValues() []ObjectTypeBasicRestoreRequest

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

type OperationResultInfo Uses

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"`
}

OperationResultInfo information about the result of the operation.

func (OperationResultInfo) AsBasicOperationResultInfoBase Uses

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

AsBasicOperationResultInfoBase is the BasicOperationResultInfoBase implementation for OperationResultInfo.

func (OperationResultInfo) AsExportJobsOperationResultInfo Uses

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

AsExportJobsOperationResultInfo is the BasicOperationResultInfoBase implementation for OperationResultInfo.

func (OperationResultInfo) AsOperationResultInfo Uses

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

AsOperationResultInfo is the BasicOperationResultInfoBase implementation for OperationResultInfo.

func (OperationResultInfo) AsOperationResultInfoBase Uses

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

AsOperationResultInfoBase is the BasicOperationResultInfoBase implementation for OperationResultInfo.

func (OperationResultInfo) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for OperationResultInfo.

type OperationResultInfoBase Uses

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

OperationResultInfoBase the base class for operation result information.

func (OperationResultInfoBase) AsBasicOperationResultInfoBase Uses

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

AsBasicOperationResultInfoBase is the BasicOperationResultInfoBase implementation for OperationResultInfoBase.

func (OperationResultInfoBase) AsExportJobsOperationResultInfo Uses

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

AsExportJobsOperationResultInfo is the BasicOperationResultInfoBase implementation for OperationResultInfoBase.

func (OperationResultInfoBase) AsOperationResultInfo Uses

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

AsOperationResultInfo is the BasicOperationResultInfoBase implementation for OperationResultInfoBase.

func (OperationResultInfoBase) AsOperationResultInfoBase Uses

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

AsOperationResultInfoBase is the BasicOperationResultInfoBase implementation for OperationResultInfoBase.

func (OperationResultInfoBase) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for OperationResultInfoBase.

type OperationResultInfoBaseResource Uses

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"`
}

OperationResultInfoBaseResource base class for operation result information.

func (OperationResultInfoBaseResource) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for OperationResultInfoBaseResource.

func (*OperationResultInfoBaseResource) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for OperationResultInfoBaseResource struct.

type OperationResultsClient Uses

type OperationResultsClient struct {
    BaseClient
}

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

func NewOperationResultsClient Uses

func NewOperationResultsClient(subscriptionID string) OperationResultsClient

NewOperationResultsClient creates an instance of the OperationResultsClient client.

func NewOperationResultsClientWithBaseURI Uses

func NewOperationResultsClientWithBaseURI(baseURI string, subscriptionID string) OperationResultsClient

NewOperationResultsClientWithBaseURI creates an instance of the OperationResultsClient client.

func (OperationResultsClient) Get Uses

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 Uses

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

GetPreparer prepares the Get request.

func (OperationResultsClient) GetResponder Uses

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 Uses

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 Uses

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"`
}

OperationStatus operation status.

func (*OperationStatus) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for OperationStatus struct.

type OperationStatusError Uses

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"`
}

OperationStatusError error information associated with the operation status call.

type OperationStatusExtendedInfo Uses

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

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

func (OperationStatusExtendedInfo) AsBasicOperationStatusExtendedInfo Uses

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

AsBasicOperationStatusExtendedInfo is the BasicOperationStatusExtendedInfo implementation for OperationStatusExtendedInfo.

func (OperationStatusExtendedInfo) AsOperationStatusExtendedInfo Uses

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

AsOperationStatusExtendedInfo is the BasicOperationStatusExtendedInfo implementation for OperationStatusExtendedInfo.

func (OperationStatusExtendedInfo) AsOperationStatusJobExtendedInfo Uses

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

AsOperationStatusJobExtendedInfo is the BasicOperationStatusExtendedInfo implementation for OperationStatusExtendedInfo.

func (OperationStatusExtendedInfo) AsOperationStatusJobsExtendedInfo Uses

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

AsOperationStatusJobsExtendedInfo is the BasicOperationStatusExtendedInfo implementation for OperationStatusExtendedInfo.

func (OperationStatusExtendedInfo) AsOperationStatusProvisionILRExtendedInfo Uses

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

AsOperationStatusProvisionILRExtendedInfo is the BasicOperationStatusExtendedInfo implementation for OperationStatusExtendedInfo.

func (OperationStatusExtendedInfo) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for OperationStatusExtendedInfo.

type OperationStatusJobExtendedInfo Uses

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"`
}

OperationStatusJobExtendedInfo extended information about the operation status job.

func (OperationStatusJobExtendedInfo) AsBasicOperationStatusExtendedInfo Uses

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

AsBasicOperationStatusExtendedInfo is the BasicOperationStatusExtendedInfo implementation for OperationStatusJobExtendedInfo.

func (OperationStatusJobExtendedInfo) AsOperationStatusExtendedInfo Uses

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

AsOperationStatusExtendedInfo is the BasicOperationStatusExtendedInfo implementation for OperationStatusJobExtendedInfo.

func (OperationStatusJobExtendedInfo) AsOperationStatusJobExtendedInfo Uses

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

AsOperationStatusJobExtendedInfo is the BasicOperationStatusExtendedInfo implementation for OperationStatusJobExtendedInfo.

func (OperationStatusJobExtendedInfo) AsOperationStatusJobsExtendedInfo Uses

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

AsOperationStatusJobsExtendedInfo is the BasicOperationStatusExtendedInfo implementation for OperationStatusJobExtendedInfo.

func (OperationStatusJobExtendedInfo) AsOperationStatusProvisionILRExtendedInfo Uses

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

AsOperationStatusProvisionILRExtendedInfo is the BasicOperationStatusExtendedInfo implementation for OperationStatusJobExtendedInfo.

func (OperationStatusJobExtendedInfo) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for OperationStatusJobExtendedInfo.

type OperationStatusJobsExtendedInfo Uses

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"`
}

OperationStatusJobsExtendedInfo operation status extended info for the job list.

func (OperationStatusJobsExtendedInfo) AsBasicOperationStatusExtendedInfo Uses

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

AsBasicOperationStatusExtendedInfo is the BasicOperationStatusExtendedInfo implementation for OperationStatusJobsExtendedInfo.

func (OperationStatusJobsExtendedInfo) AsOperationStatusExtendedInfo Uses

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

AsOperationStatusExtendedInfo is the BasicOperationStatusExtendedInfo implementation for OperationStatusJobsExtendedInfo.

func (OperationStatusJobsExtendedInfo) AsOperationStatusJobExtendedInfo Uses

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

AsOperationStatusJobExtendedInfo is the BasicOperationStatusExtendedInfo implementation for OperationStatusJobsExtendedInfo.

func (OperationStatusJobsExtendedInfo) AsOperationStatusJobsExtendedInfo Uses

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

AsOperationStatusJobsExtendedInfo is the BasicOperationStatusExtendedInfo implementation for OperationStatusJobsExtendedInfo.

func (OperationStatusJobsExtendedInfo) AsOperationStatusProvisionILRExtendedInfo Uses

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

AsOperationStatusProvisionILRExtendedInfo is the BasicOperationStatusExtendedInfo implementation for OperationStatusJobsExtendedInfo.

func (OperationStatusJobsExtendedInfo) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for OperationStatusJobsExtendedInfo.

type OperationStatusProvisionILRExtendedInfo Uses

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"`
}

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

func (OperationStatusProvisionILRExtendedInfo) AsBasicOperationStatusExtendedInfo Uses

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

AsBasicOperationStatusExtendedInfo is the BasicOperationStatusExtendedInfo implementation for OperationStatusProvisionILRExtendedInfo.

func (OperationStatusProvisionILRExtendedInfo) AsOperationStatusExtendedInfo Uses

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

AsOperationStatusExtendedInfo is the BasicOperationStatusExtendedInfo implementation for OperationStatusProvisionILRExtendedInfo.

func (OperationStatusProvisionILRExtendedInfo) AsOperationStatusJobExtendedInfo Uses

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

AsOperationStatusJobExtendedInfo is the BasicOperationStatusExtendedInfo implementation for OperationStatusProvisionILRExtendedInfo.

func (OperationStatusProvisionILRExtendedInfo) AsOperationStatusJobsExtendedInfo Uses

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

AsOperationStatusJobsExtendedInfo is the BasicOperationStatusExtendedInfo implementation for OperationStatusProvisionILRExtendedInfo.

func (OperationStatusProvisionILRExtendedInfo) AsOperationStatusProvisionILRExtendedInfo Uses

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

AsOperationStatusProvisionILRExtendedInfo is the BasicOperationStatusExtendedInfo implementation for OperationStatusProvisionILRExtendedInfo.

func (OperationStatusProvisionILRExtendedInfo) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for OperationStatusProvisionILRExtendedInfo.

type OperationStatusValues Uses

type OperationStatusValues string

OperationStatusValues enumerates the values for operation status values.

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

func PossibleOperationStatusValuesValues Uses

func PossibleOperationStatusValuesValues() []OperationStatusValues

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

type OperationStatusesClient Uses

type OperationStatusesClient struct {
    BaseClient
}

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

func NewOperationStatusesClient Uses

func NewOperationStatusesClient(subscriptionID string) OperationStatusesClient

NewOperationStatusesClient creates an instance of the OperationStatusesClient client.

func NewOperationStatusesClientWithBaseURI Uses

func NewOperationStatusesClientWithBaseURI(baseURI string, subscriptionID string) OperationStatusesClient

NewOperationStatusesClientWithBaseURI creates an instance of the OperationStatusesClient client.

func (OperationStatusesClient) Get Uses

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 Uses

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

GetPreparer prepares the Get request.

func (OperationStatusesClient) GetResponder Uses

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 Uses

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 Uses

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"`
}

OperationWorkerResponse the base class for operation result responses.

func (OperationWorkerResponse) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for OperationWorkerResponse.

type ProtectableItemType Uses

type ProtectableItemType string

ProtectableItemType enumerates the values for protectable item type.

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

func PossibleProtectableItemTypeValues Uses

func PossibleProtectableItemTypeValues() []ProtectableItemType

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

type ProtectableItemsClient Uses

type ProtectableItemsClient struct {
    BaseClient
}

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

func NewProtectableItemsClient Uses

func NewProtectableItemsClient(subscriptionID string) ProtectableItemsClient

NewProtectableItemsClient creates an instance of the ProtectableItemsClient client.

func NewProtectableItemsClientWithBaseURI Uses

func NewProtectableItemsClientWithBaseURI(baseURI string, subscriptionID string) ProtectableItemsClient

NewProtectableItemsClientWithBaseURI creates an instance of the ProtectableItemsClient client.

func (ProtectableItemsClient) List Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

type ProtectableObjectType string

ProtectableObjectType enumerates the values for protectable object type.

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 Uses

func PossibleProtectableObjectTypeValues() []ProtectableObjectType

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

type ProtectedItem Uses

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"`
}

ProtectedItem the base class for backup items.

func (ProtectedItem) AsAzureIaaSClassicComputeVMProtectedItem Uses

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

AsAzureIaaSClassicComputeVMProtectedItem is the BasicProtectedItem implementation for ProtectedItem.

func (ProtectedItem) AsAzureIaaSComputeVMProtectedItem Uses

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

AsAzureIaaSComputeVMProtectedItem is the BasicProtectedItem implementation for ProtectedItem.

func (ProtectedItem) AsAzureIaaSVMProtectedItem Uses

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

AsAzureIaaSVMProtectedItem is the BasicProtectedItem implementation for ProtectedItem.

func (ProtectedItem) AsAzureSQLProtectedItem Uses

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

AsAzureSQLProtectedItem is the BasicProtectedItem implementation for ProtectedItem.

func (ProtectedItem) AsBasicAzureIaaSVMProtectedItem Uses

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

AsBasicAzureIaaSVMProtectedItem is the BasicProtectedItem implementation for ProtectedItem.

func (ProtectedItem) AsBasicProtectedItem Uses

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

AsBasicProtectedItem is the BasicProtectedItem implementation for ProtectedItem.

func (ProtectedItem) AsMabFileFolderProtectedItem Uses

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

AsMabFileFolderProtectedItem is the BasicProtectedItem implementation for ProtectedItem.

func (ProtectedItem) AsProtectedItem Uses

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

AsProtectedItem is the BasicProtectedItem implementation for ProtectedItem.

func (ProtectedItem) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ProtectedItem.

type ProtectedItemOperationResultsClient Uses

type ProtectedItemOperationResultsClient struct {
    BaseClient
}

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

func NewProtectedItemOperationResultsClient Uses

func NewProtectedItemOperationResultsClient(subscriptionID string) ProtectedItemOperationResultsClient

NewProtectedItemOperationResultsClient creates an instance of the ProtectedItemOperationResultsClient client.

func NewProtectedItemOperationResultsClientWithBaseURI Uses

func NewProtectedItemOperationResultsClientWithBaseURI(baseURI string, subscriptionID string) ProtectedItemOperationResultsClient

NewProtectedItemOperationResultsClientWithBaseURI creates an instance of the ProtectedItemOperationResultsClient client.

func (ProtectedItemOperationResultsClient) Get Uses

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 Uses

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 Uses

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 Uses

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 Uses

type ProtectedItemOperationStatusesClient struct {
    BaseClient
}

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

func NewProtectedItemOperationStatusesClient Uses

func NewProtectedItemOperationStatusesClient(subscriptionID string) ProtectedItemOperationStatusesClient

NewProtectedItemOperationStatusesClient creates an instance of the ProtectedItemOperationStatusesClient client.

func NewProtectedItemOperationStatusesClientWithBaseURI Uses

func NewProtectedItemOperationStatusesClientWithBaseURI(baseURI string, subscriptionID string) ProtectedItemOperationStatusesClient

NewProtectedItemOperationStatusesClientWithBaseURI creates an instance of the ProtectedItemOperationStatusesClient client.

func (ProtectedItemOperationStatusesClient) Get Uses

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 Uses

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 Uses

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 Uses

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 Uses

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"`
}

ProtectedItemQueryObject filters the list of backup items.

type ProtectedItemResource Uses

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"`
}

ProtectedItemResource the base class for backup items.

func (ProtectedItemResource) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ProtectedItemResource.

func (*ProtectedItemResource) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for ProtectedItemResource struct.

type ProtectedItemResourceList Uses

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"`
}

ProtectedItemResourceList the list of ProtectedItem resources.

func (ProtectedItemResourceList) IsEmpty Uses

func (pirl ProtectedItemResourceList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ProtectedItemResourceListIterator Uses

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

ProtectedItemResourceListIterator provides access to a complete listing of ProtectedItemResource values.

func NewProtectedItemResourceListIterator Uses

func NewProtectedItemResourceListIterator(page ProtectedItemResourceListPage) ProtectedItemResourceListIterator

Creates a new instance of the ProtectedItemResourceListIterator type.

func (*ProtectedItemResourceListIterator) Next Uses

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 Uses

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 Uses

func (iter ProtectedItemResourceListIterator) NotDone() bool

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

func (ProtectedItemResourceListIterator) Response Uses

func (iter ProtectedItemResourceListIterator) Response() ProtectedItemResourceList

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

func (ProtectedItemResourceListIterator) Value Uses

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 Uses

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

ProtectedItemResourceListPage contains a page of ProtectedItemResource values.

func NewProtectedItemResourceListPage Uses

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

Creates a new instance of the ProtectedItemResourceListPage type.

func (*ProtectedItemResourceListPage) Next Uses

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 Uses

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 Uses

func (page ProtectedItemResourceListPage) NotDone() bool

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

func (ProtectedItemResourceListPage) Response Uses

func (page ProtectedItemResourceListPage) Response() ProtectedItemResourceList

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

func (ProtectedItemResourceListPage) Values Uses

func (page ProtectedItemResourceListPage) Values() []ProtectedItemResource

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

type ProtectedItemState Uses

type ProtectedItemState string

ProtectedItemState enumerates the values for protected item state.

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 Uses

func PossibleProtectedItemStateValues() []ProtectedItemState

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

type ProtectedItemType Uses

type ProtectedItemType string

ProtectedItemType enumerates the values for protected item type.

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 Uses

func PossibleProtectedItemTypeValues() []ProtectedItemType

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

type ProtectedItemsClient Uses

type ProtectedItemsClient struct {
    BaseClient
}

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

func NewProtectedItemsClient Uses

func NewProtectedItemsClient(subscriptionID string) ProtectedItemsClient

NewProtectedItemsClient creates an instance of the ProtectedItemsClient client.

func NewProtectedItemsClientWithBaseURI Uses

func NewProtectedItemsClientWithBaseURI(baseURI string, subscriptionID string) ProtectedItemsClient

NewProtectedItemsClientWithBaseURI creates an instance of the ProtectedItemsClient client.

func (ProtectedItemsClient) CreateOrUpdate Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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"`
}

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

func (ProtectionContainer) AsAzureIaaSClassicComputeVMContainer Uses

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

AsAzureIaaSClassicComputeVMContainer is the BasicProtectionContainer implementation for ProtectionContainer.

func (ProtectionContainer) AsAzureIaaSComputeVMContainer Uses

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

AsAzureIaaSComputeVMContainer is the BasicProtectionContainer implementation for ProtectionContainer.

func (ProtectionContainer) AsAzureSQLContainer Uses

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

AsAzureSQLContainer is the BasicProtectionContainer implementation for ProtectionContainer.

func (ProtectionContainer) AsBasicIaaSVMContainer Uses

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

AsBasicIaaSVMContainer is the BasicProtectionContainer implementation for ProtectionContainer.

func (ProtectionContainer) AsBasicProtectionContainer Uses

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

AsBasicProtectionContainer is the BasicProtectionContainer implementation for ProtectionContainer.

func (ProtectionContainer) AsIaaSVMContainer Uses

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

AsIaaSVMContainer is the BasicProtectionContainer implementation for ProtectionContainer.

func (ProtectionContainer) AsMabContainer Uses

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

AsMabContainer is the BasicProtectionContainer implementation for ProtectionContainer.

func (ProtectionContainer) AsProtectionContainer Uses

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

AsProtectionContainer is the BasicProtectionContainer implementation for ProtectionContainer.

func (ProtectionContainer) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ProtectionContainer.

type ProtectionContainerOperationResultsClient Uses

type ProtectionContainerOperationResultsClient struct {
    BaseClient
}

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

func NewProtectionContainerOperationResultsClient Uses

func NewProtectionContainerOperationResultsClient(subscriptionID string) ProtectionContainerOperationResultsClient

NewProtectionContainerOperationResultsClient creates an instance of the ProtectionContainerOperationResultsClient client.

func NewProtectionContainerOperationResultsClientWithBaseURI Uses

func NewProtectionContainerOperationResultsClientWithBaseURI(baseURI string, subscriptionID string) ProtectionContainerOperationResultsClient

NewProtectionContainerOperationResultsClientWithBaseURI creates an instance of the ProtectionContainerOperationResultsClient client.

func (ProtectionContainerOperationResultsClient) Get Uses

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 Uses

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 Uses

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 Uses

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 Uses

type ProtectionContainerRefreshOperationResultsClient struct {
    BaseClient
}

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

func NewProtectionContainerRefreshOperationResultsClient Uses

func NewProtectionContainerRefreshOperationResultsClient(subscriptionID string) ProtectionContainerRefreshOperationResultsClient

NewProtectionContainerRefreshOperationResultsClient creates an instance of the ProtectionContainerRefreshOperationResultsClient client.

func NewProtectionContainerRefreshOperationResultsClientWithBaseURI Uses

func NewProtectionContainerRefreshOperationResultsClientWithBaseURI(baseURI string, subscriptionID string) ProtectionContainerRefreshOperationResultsClient

NewProtectionContainerRefreshOperationResultsClientWithBaseURI creates an instance of the ProtectionContainerRefreshOperationResultsClient client.

func (ProtectionContainerRefreshOperationResultsClient) Get Uses

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 Uses

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 Uses

func (client ProtectionContainerRefreshOperationResultsClient) GetResponder(resp *http.Response) (result autorest.