Documentation ¶
Index ¶
- func PossibleValuesForAcquireStorageAccountLock() []string
- func PossibleValuesForBackupItemType() []string
- func PossibleValuesForBackupManagementType() []string
- func PossibleValuesForOperationType() []string
- func PossibleValuesForProtectableContainerType() []string
- func PossibleValuesForWorkloadType() []string
- func ValidateBackupFabricID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateProtectionContainerID(input interface{}, key string) (warnings []string, errors []error)
- type AcquireStorageAccountLock
- type AzureBackupServerContainer
- type AzureIaaSClassicComputeVMContainer
- type AzureIaaSComputeVMContainer
- type AzureSQLAGWorkloadContainerProtectionContainer
- type AzureSqlContainer
- type AzureStorageContainer
- type AzureVMAppContainerProtectionContainer
- type AzureWorkloadContainer
- type AzureWorkloadContainerExtendedInfo
- type BackupFabricId
- type BackupItemType
- type BackupManagementType
- type ContainerIdentityInfo
- type DPMContainerExtendedInfo
- type DistributedNodesInfo
- type DpmContainer
- type ErrorDetail
- type GenericContainer
- type GenericContainerExtendedInfo
- type GetOperationResponse
- type IaaSVMContainer
- type InquireOperationOptions
- type InquireOperationResponse
- type InquiryInfo
- type InquiryValidation
- type MABContainerHealthDetails
- type MabContainer
- type MabContainerExtendedInfo
- type OperationType
- type ProtectableContainerType
- type ProtectionContainer
- type ProtectionContainerId
- type ProtectionContainerResource
- type ProtectionContainersClient
- func (c ProtectionContainersClient) Get(ctx context.Context, id ProtectionContainerId) (result GetOperationResponse, err error)
- func (c ProtectionContainersClient) Inquire(ctx context.Context, id ProtectionContainerId, options InquireOperationOptions) (result InquireOperationResponse, err error)
- func (c ProtectionContainersClient) Refresh(ctx context.Context, id BackupFabricId, options RefreshOperationOptions) (result RefreshOperationResponse, err error)
- func (c ProtectionContainersClient) Register(ctx context.Context, id ProtectionContainerId, ...) (result RegisterOperationResponse, err error)
- func (c ProtectionContainersClient) RegisterThenPoll(ctx context.Context, id ProtectionContainerId, ...) error
- func (c ProtectionContainersClient) Unregister(ctx context.Context, id ProtectionContainerId) (result UnregisterOperationResponse, err error)
- type RawProtectionContainerImpl
- type RefreshOperationOptions
- type RefreshOperationResponse
- type RegisterOperationResponse
- type UnregisterOperationResponse
- type WorkloadInquiryDetails
- type WorkloadType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAcquireStorageAccountLock ¶
func PossibleValuesForAcquireStorageAccountLock() []string
func PossibleValuesForBackupItemType ¶
func PossibleValuesForBackupItemType() []string
func PossibleValuesForBackupManagementType ¶
func PossibleValuesForBackupManagementType() []string
func PossibleValuesForOperationType ¶
func PossibleValuesForOperationType() []string
func PossibleValuesForProtectableContainerType ¶
func PossibleValuesForProtectableContainerType() []string
func PossibleValuesForWorkloadType ¶
func PossibleValuesForWorkloadType() []string
func ValidateBackupFabricID ¶
ValidateBackupFabricID checks that 'input' can be parsed as a Backup Fabric ID
func ValidateProtectionContainerID ¶
func ValidateProtectionContainerID(input interface{}, key string) (warnings []string, errors []error)
ValidateProtectionContainerID checks that 'input' can be parsed as a Protection Container ID
Types ¶
type AcquireStorageAccountLock ¶
type AcquireStorageAccountLock string
const ( AcquireStorageAccountLockAcquire AcquireStorageAccountLock = "Acquire" AcquireStorageAccountLockNotAcquire AcquireStorageAccountLock = "NotAcquire" )
type AzureBackupServerContainer ¶
type AzureBackupServerContainer struct { CanReRegister *bool `json:"canReRegister,omitempty"` ContainerId *string `json:"containerId,omitempty"` DpmAgentVersion *string `json:"dpmAgentVersion,omitempty"` DpmServers *[]string `json:"dpmServers,omitempty"` ExtendedInfo *DPMContainerExtendedInfo `json:"extendedInfo,omitempty"` ProtectedItemCount *int64 `json:"protectedItemCount,omitempty"` ProtectionStatus *string `json:"protectionStatus,omitempty"` UpgradeAvailable *bool `json:"upgradeAvailable,omitempty"` // Fields inherited from ProtectionContainer BackupManagementType *BackupManagementType `json:"backupManagementType,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` HealthStatus *string `json:"healthStatus,omitempty"` ProtectableObjectType *string `json:"protectableObjectType,omitempty"` RegistrationStatus *string `json:"registrationStatus,omitempty"` }
func (AzureBackupServerContainer) MarshalJSON ¶
func (s AzureBackupServerContainer) MarshalJSON() ([]byte, error)
type AzureIaaSClassicComputeVMContainer ¶
type AzureIaaSClassicComputeVMContainer struct { ResourceGroup *string `json:"resourceGroup,omitempty"` VirtualMachineId *string `json:"virtualMachineId,omitempty"` VirtualMachineVersion *string `json:"virtualMachineVersion,omitempty"` // Fields inherited from ProtectionContainer BackupManagementType *BackupManagementType `json:"backupManagementType,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` HealthStatus *string `json:"healthStatus,omitempty"` ProtectableObjectType *string `json:"protectableObjectType,omitempty"` RegistrationStatus *string `json:"registrationStatus,omitempty"` }
func (AzureIaaSClassicComputeVMContainer) MarshalJSON ¶
func (s AzureIaaSClassicComputeVMContainer) MarshalJSON() ([]byte, error)
type AzureIaaSComputeVMContainer ¶
type AzureIaaSComputeVMContainer struct { ResourceGroup *string `json:"resourceGroup,omitempty"` VirtualMachineId *string `json:"virtualMachineId,omitempty"` VirtualMachineVersion *string `json:"virtualMachineVersion,omitempty"` // Fields inherited from ProtectionContainer BackupManagementType *BackupManagementType `json:"backupManagementType,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` HealthStatus *string `json:"healthStatus,omitempty"` ProtectableObjectType *string `json:"protectableObjectType,omitempty"` RegistrationStatus *string `json:"registrationStatus,omitempty"` }
func (AzureIaaSComputeVMContainer) MarshalJSON ¶
func (s AzureIaaSComputeVMContainer) MarshalJSON() ([]byte, error)
type AzureSQLAGWorkloadContainerProtectionContainer ¶
type AzureSQLAGWorkloadContainerProtectionContainer struct { ExtendedInfo *AzureWorkloadContainerExtendedInfo `json:"extendedInfo,omitempty"` LastUpdatedTime *string `json:"lastUpdatedTime,omitempty"` OperationType *OperationType `json:"operationType,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` WorkloadType *WorkloadType `json:"workloadType,omitempty"` // Fields inherited from ProtectionContainer BackupManagementType *BackupManagementType `json:"backupManagementType,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` HealthStatus *string `json:"healthStatus,omitempty"` ProtectableObjectType *string `json:"protectableObjectType,omitempty"` RegistrationStatus *string `json:"registrationStatus,omitempty"` }
func (AzureSQLAGWorkloadContainerProtectionContainer) MarshalJSON ¶
func (s AzureSQLAGWorkloadContainerProtectionContainer) MarshalJSON() ([]byte, error)
type AzureSqlContainer ¶
type AzureSqlContainer struct { // Fields inherited from ProtectionContainer BackupManagementType *BackupManagementType `json:"backupManagementType,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` HealthStatus *string `json:"healthStatus,omitempty"` ProtectableObjectType *string `json:"protectableObjectType,omitempty"` RegistrationStatus *string `json:"registrationStatus,omitempty"` }
func (AzureSqlContainer) MarshalJSON ¶
func (s AzureSqlContainer) MarshalJSON() ([]byte, error)
type AzureStorageContainer ¶
type AzureStorageContainer struct { AcquireStorageAccountLock *AcquireStorageAccountLock `json:"acquireStorageAccountLock,omitempty"` ProtectedItemCount *int64 `json:"protectedItemCount,omitempty"` ResourceGroup *string `json:"resourceGroup,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` StorageAccountVersion *string `json:"storageAccountVersion,omitempty"` // Fields inherited from ProtectionContainer BackupManagementType *BackupManagementType `json:"backupManagementType,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` HealthStatus *string `json:"healthStatus,omitempty"` ProtectableObjectType *string `json:"protectableObjectType,omitempty"` RegistrationStatus *string `json:"registrationStatus,omitempty"` }
func (AzureStorageContainer) MarshalJSON ¶
func (s AzureStorageContainer) MarshalJSON() ([]byte, error)
type AzureVMAppContainerProtectionContainer ¶
type AzureVMAppContainerProtectionContainer struct { ExtendedInfo *AzureWorkloadContainerExtendedInfo `json:"extendedInfo,omitempty"` LastUpdatedTime *string `json:"lastUpdatedTime,omitempty"` OperationType *OperationType `json:"operationType,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` WorkloadType *WorkloadType `json:"workloadType,omitempty"` // Fields inherited from ProtectionContainer BackupManagementType *BackupManagementType `json:"backupManagementType,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` HealthStatus *string `json:"healthStatus,omitempty"` ProtectableObjectType *string `json:"protectableObjectType,omitempty"` RegistrationStatus *string `json:"registrationStatus,omitempty"` }
func (AzureVMAppContainerProtectionContainer) MarshalJSON ¶
func (s AzureVMAppContainerProtectionContainer) MarshalJSON() ([]byte, error)
type AzureWorkloadContainer ¶
type AzureWorkloadContainer struct { ExtendedInfo *AzureWorkloadContainerExtendedInfo `json:"extendedInfo,omitempty"` LastUpdatedTime *string `json:"lastUpdatedTime,omitempty"` OperationType *OperationType `json:"operationType,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` WorkloadType *WorkloadType `json:"workloadType,omitempty"` // Fields inherited from ProtectionContainer BackupManagementType *BackupManagementType `json:"backupManagementType,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` HealthStatus *string `json:"healthStatus,omitempty"` ProtectableObjectType *string `json:"protectableObjectType,omitempty"` RegistrationStatus *string `json:"registrationStatus,omitempty"` }
func (AzureWorkloadContainer) MarshalJSON ¶
func (s AzureWorkloadContainer) MarshalJSON() ([]byte, error)
type AzureWorkloadContainerExtendedInfo ¶
type AzureWorkloadContainerExtendedInfo struct { HostServerName *string `json:"hostServerName,omitempty"` InquiryInfo *InquiryInfo `json:"inquiryInfo,omitempty"` NodesList *[]DistributedNodesInfo `json:"nodesList,omitempty"` }
type BackupFabricId ¶
type BackupFabricId struct { SubscriptionId string ResourceGroupName string VaultName string BackupFabricName string }
BackupFabricId is a struct representing the Resource ID for a Backup Fabric
func NewBackupFabricID ¶
func NewBackupFabricID(subscriptionId string, resourceGroupName string, vaultName string, backupFabricName string) BackupFabricId
NewBackupFabricID returns a new BackupFabricId struct
func ParseBackupFabricID ¶
func ParseBackupFabricID(input string) (*BackupFabricId, error)
ParseBackupFabricID parses 'input' into a BackupFabricId
func ParseBackupFabricIDInsensitively ¶
func ParseBackupFabricIDInsensitively(input string) (*BackupFabricId, error)
ParseBackupFabricIDInsensitively parses 'input' case-insensitively into a BackupFabricId note: this method should only be used for API response data and not user input
func (*BackupFabricId) FromParseResult ¶ added in v0.20231127.1171502
func (id *BackupFabricId) FromParseResult(input resourceids.ParseResult) error
func (BackupFabricId) ID ¶
func (id BackupFabricId) ID() string
ID returns the formatted Backup Fabric ID
func (BackupFabricId) Segments ¶
func (id BackupFabricId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Backup Fabric ID
func (BackupFabricId) String ¶
func (id BackupFabricId) String() string
String returns a human-readable description of this Backup Fabric ID
type BackupItemType ¶
type BackupItemType string
const ( BackupItemTypeAzureSqlDb BackupItemType = "AzureSqlDb" BackupItemTypeClient BackupItemType = "Client" BackupItemTypeExchange BackupItemType = "Exchange" BackupItemTypeFileFolder BackupItemType = "FileFolder" BackupItemTypeGenericDataSource BackupItemType = "GenericDataSource" BackupItemTypeInvalid BackupItemType = "Invalid" BackupItemTypeSAPAseDatabase BackupItemType = "SAPAseDatabase" BackupItemTypeSAPHanaDBInstance BackupItemType = "SAPHanaDBInstance" BackupItemTypeSAPHanaDatabase BackupItemType = "SAPHanaDatabase" BackupItemTypeSQLDB BackupItemType = "SQLDB" BackupItemTypeSQLDataBase BackupItemType = "SQLDataBase" BackupItemTypeSystemState BackupItemType = "SystemState" BackupItemTypeVM BackupItemType = "VM" BackupItemTypeVMwareVM BackupItemType = "VMwareVM" )
type BackupManagementType ¶
type BackupManagementType string
const ( BackupManagementTypeAzureBackupServer BackupManagementType = "AzureBackupServer" BackupManagementTypeAzureIaasVM BackupManagementType = "AzureIaasVM" BackupManagementTypeAzureSql BackupManagementType = "AzureSql" BackupManagementTypeAzureStorage BackupManagementType = "AzureStorage" BackupManagementTypeAzureWorkload BackupManagementType = "AzureWorkload" BackupManagementTypeDPM BackupManagementType = "DPM" BackupManagementTypeDefaultBackup BackupManagementType = "DefaultBackup" BackupManagementTypeInvalid BackupManagementType = "Invalid" BackupManagementTypeMAB BackupManagementType = "MAB" )
type ContainerIdentityInfo ¶
type DPMContainerExtendedInfo ¶
type DPMContainerExtendedInfo struct {
LastRefreshedAt *string `json:"lastRefreshedAt,omitempty"`
}
func (*DPMContainerExtendedInfo) GetLastRefreshedAtAsTime ¶
func (o *DPMContainerExtendedInfo) GetLastRefreshedAtAsTime() (*time.Time, error)
func (*DPMContainerExtendedInfo) SetLastRefreshedAtAsTime ¶
func (o *DPMContainerExtendedInfo) SetLastRefreshedAtAsTime(input time.Time)
type DistributedNodesInfo ¶
type DistributedNodesInfo struct { ErrorDetail *ErrorDetail `json:"errorDetail,omitempty"` NodeName *string `json:"nodeName,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` Status *string `json:"status,omitempty"` }
type DpmContainer ¶
type DpmContainer struct { CanReRegister *bool `json:"canReRegister,omitempty"` ContainerId *string `json:"containerId,omitempty"` DpmAgentVersion *string `json:"dpmAgentVersion,omitempty"` DpmServers *[]string `json:"dpmServers,omitempty"` ExtendedInfo *DPMContainerExtendedInfo `json:"extendedInfo,omitempty"` ProtectedItemCount *int64 `json:"protectedItemCount,omitempty"` ProtectionStatus *string `json:"protectionStatus,omitempty"` UpgradeAvailable *bool `json:"upgradeAvailable,omitempty"` // Fields inherited from ProtectionContainer BackupManagementType *BackupManagementType `json:"backupManagementType,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` HealthStatus *string `json:"healthStatus,omitempty"` ProtectableObjectType *string `json:"protectableObjectType,omitempty"` RegistrationStatus *string `json:"registrationStatus,omitempty"` }
func (DpmContainer) MarshalJSON ¶
func (s DpmContainer) MarshalJSON() ([]byte, error)
type ErrorDetail ¶
type GenericContainer ¶
type GenericContainer struct { ExtendedInformation *GenericContainerExtendedInfo `json:"extendedInformation,omitempty"` FabricName *string `json:"fabricName,omitempty"` // Fields inherited from ProtectionContainer BackupManagementType *BackupManagementType `json:"backupManagementType,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` HealthStatus *string `json:"healthStatus,omitempty"` ProtectableObjectType *string `json:"protectableObjectType,omitempty"` RegistrationStatus *string `json:"registrationStatus,omitempty"` }
func (GenericContainer) MarshalJSON ¶
func (s GenericContainer) MarshalJSON() ([]byte, error)
type GenericContainerExtendedInfo ¶
type GenericContainerExtendedInfo struct { ContainerIdentityInfo *ContainerIdentityInfo `json:"containerIdentityInfo,omitempty"` RawCertData *string `json:"rawCertData,omitempty"` ServiceEndpoints *map[string]string `json:"serviceEndpoints,omitempty"` }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *ProtectionContainerResource }
type IaaSVMContainer ¶
type IaaSVMContainer struct { ResourceGroup *string `json:"resourceGroup,omitempty"` VirtualMachineId *string `json:"virtualMachineId,omitempty"` VirtualMachineVersion *string `json:"virtualMachineVersion,omitempty"` // Fields inherited from ProtectionContainer BackupManagementType *BackupManagementType `json:"backupManagementType,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` HealthStatus *string `json:"healthStatus,omitempty"` ProtectableObjectType *string `json:"protectableObjectType,omitempty"` RegistrationStatus *string `json:"registrationStatus,omitempty"` }
func (IaaSVMContainer) MarshalJSON ¶
func (s IaaSVMContainer) MarshalJSON() ([]byte, error)
type InquireOperationOptions ¶
type InquireOperationOptions struct {
Filter *string
}
func DefaultInquireOperationOptions ¶
func DefaultInquireOperationOptions() InquireOperationOptions
type InquiryInfo ¶
type InquiryInfo struct { ErrorDetail *ErrorDetail `json:"errorDetail,omitempty"` InquiryDetails *[]WorkloadInquiryDetails `json:"inquiryDetails,omitempty"` Status *string `json:"status,omitempty"` }
type InquiryValidation ¶
type InquiryValidation struct { AdditionalDetail *string `json:"additionalDetail,omitempty"` ErrorDetail *ErrorDetail `json:"errorDetail,omitempty"` ProtectableItemCount *interface{} `json:"protectableItemCount,omitempty"` Status *string `json:"status,omitempty"` }
type MabContainer ¶
type MabContainer struct { AgentVersion *string `json:"agentVersion,omitempty"` CanReRegister *bool `json:"canReRegister,omitempty"` ContainerHealthState *string `json:"containerHealthState,omitempty"` ContainerId *int64 `json:"containerId,omitempty"` ExtendedInfo *MabContainerExtendedInfo `json:"extendedInfo,omitempty"` MabContainerHealthDetails *[]MABContainerHealthDetails `json:"mabContainerHealthDetails,omitempty"` ProtectedItemCount *int64 `json:"protectedItemCount,omitempty"` // Fields inherited from ProtectionContainer BackupManagementType *BackupManagementType `json:"backupManagementType,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` HealthStatus *string `json:"healthStatus,omitempty"` ProtectableObjectType *string `json:"protectableObjectType,omitempty"` RegistrationStatus *string `json:"registrationStatus,omitempty"` }
func (MabContainer) MarshalJSON ¶
func (s MabContainer) MarshalJSON() ([]byte, error)
type MabContainerExtendedInfo ¶
type MabContainerExtendedInfo struct { BackupItemType *BackupItemType `json:"backupItemType,omitempty"` BackupItems *[]string `json:"backupItems,omitempty"` LastBackupStatus *string `json:"lastBackupStatus,omitempty"` LastRefreshedAt *string `json:"lastRefreshedAt,omitempty"` PolicyName *string `json:"policyName,omitempty"` }
func (*MabContainerExtendedInfo) GetLastRefreshedAtAsTime ¶
func (o *MabContainerExtendedInfo) GetLastRefreshedAtAsTime() (*time.Time, error)
func (*MabContainerExtendedInfo) SetLastRefreshedAtAsTime ¶
func (o *MabContainerExtendedInfo) SetLastRefreshedAtAsTime(input time.Time)
type OperationType ¶
type OperationType string
const ( OperationTypeInvalid OperationType = "Invalid" OperationTypeRegister OperationType = "Register" OperationTypeReregister OperationType = "Reregister" )
type ProtectableContainerType ¶
type ProtectableContainerType string
const ( ProtectableContainerTypeAzureBackupServerContainer ProtectableContainerType = "AzureBackupServerContainer" ProtectableContainerTypeAzureSqlContainer ProtectableContainerType = "AzureSqlContainer" ProtectableContainerTypeAzureWorkloadContainer ProtectableContainerType = "AzureWorkloadContainer" ProtectableContainerTypeCluster ProtectableContainerType = "Cluster" ProtectableContainerTypeDPMContainer ProtectableContainerType = "DPMContainer" ProtectableContainerTypeGenericContainer ProtectableContainerType = "GenericContainer" ProtectableContainerTypeIaasVMContainer ProtectableContainerType = "IaasVMContainer" ProtectableContainerTypeIaasVMServiceContainer ProtectableContainerType = "IaasVMServiceContainer" ProtectableContainerTypeInvalid ProtectableContainerType = "Invalid" ProtectableContainerTypeMABContainer ProtectableContainerType = "MABContainer" ProtectableContainerTypeMicrosoftPointClassicComputeVirtualMachines ProtectableContainerType = "Microsoft.ClassicCompute/virtualMachines" ProtectableContainerTypeMicrosoftPointComputeVirtualMachines ProtectableContainerType = "Microsoft.Compute/virtualMachines" ProtectableContainerTypeSQLAGWorkLoadContainer ProtectableContainerType = "SQLAGWorkLoadContainer" ProtectableContainerTypeStorageContainer ProtectableContainerType = "StorageContainer" ProtectableContainerTypeUnknown ProtectableContainerType = "Unknown" ProtectableContainerTypeVCenter ProtectableContainerType = "VCenter" ProtectableContainerTypeVMAppContainer ProtectableContainerType = "VMAppContainer" ProtectableContainerTypeWindows ProtectableContainerType = "Windows" )
type ProtectionContainer ¶
type ProtectionContainer interface { }
type ProtectionContainerId ¶
type ProtectionContainerId struct { SubscriptionId string ResourceGroupName string VaultName string BackupFabricName string ProtectionContainerName string }
ProtectionContainerId is a struct representing the Resource ID for a Protection Container
func NewProtectionContainerID ¶
func NewProtectionContainerID(subscriptionId string, resourceGroupName string, vaultName string, backupFabricName string, protectionContainerName string) ProtectionContainerId
NewProtectionContainerID returns a new ProtectionContainerId struct
func ParseProtectionContainerID ¶
func ParseProtectionContainerID(input string) (*ProtectionContainerId, error)
ParseProtectionContainerID parses 'input' into a ProtectionContainerId
func ParseProtectionContainerIDInsensitively ¶
func ParseProtectionContainerIDInsensitively(input string) (*ProtectionContainerId, error)
ParseProtectionContainerIDInsensitively parses 'input' case-insensitively into a ProtectionContainerId note: this method should only be used for API response data and not user input
func (*ProtectionContainerId) FromParseResult ¶ added in v0.20231127.1171502
func (id *ProtectionContainerId) FromParseResult(input resourceids.ParseResult) error
func (ProtectionContainerId) ID ¶
func (id ProtectionContainerId) ID() string
ID returns the formatted Protection Container ID
func (ProtectionContainerId) Segments ¶
func (id ProtectionContainerId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Protection Container ID
func (ProtectionContainerId) String ¶
func (id ProtectionContainerId) String() string
String returns a human-readable description of this Protection Container ID
type ProtectionContainerResource ¶
type ProtectionContainerResource struct { ETag *string `json:"eTag,omitempty"` Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties ProtectionContainer `json:"properties"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
func (*ProtectionContainerResource) UnmarshalJSON ¶
func (s *ProtectionContainerResource) UnmarshalJSON(bytes []byte) error
type ProtectionContainersClient ¶
type ProtectionContainersClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewProtectionContainersClientWithBaseURI ¶
func NewProtectionContainersClientWithBaseURI(endpoint string) ProtectionContainersClient
func (ProtectionContainersClient) Get ¶
func (c ProtectionContainersClient) Get(ctx context.Context, id ProtectionContainerId) (result GetOperationResponse, err error)
Get ...
func (ProtectionContainersClient) Inquire ¶
func (c ProtectionContainersClient) Inquire(ctx context.Context, id ProtectionContainerId, options InquireOperationOptions) (result InquireOperationResponse, err error)
Inquire ...
func (ProtectionContainersClient) Refresh ¶
func (c ProtectionContainersClient) Refresh(ctx context.Context, id BackupFabricId, options RefreshOperationOptions) (result RefreshOperationResponse, err error)
Refresh ...
func (ProtectionContainersClient) Register ¶
func (c ProtectionContainersClient) Register(ctx context.Context, id ProtectionContainerId, input ProtectionContainerResource) (result RegisterOperationResponse, err error)
Register ...
func (ProtectionContainersClient) RegisterThenPoll ¶
func (c ProtectionContainersClient) RegisterThenPoll(ctx context.Context, id ProtectionContainerId, input ProtectionContainerResource) error
RegisterThenPoll performs Register then polls until it's completed
func (ProtectionContainersClient) Unregister ¶
func (c ProtectionContainersClient) Unregister(ctx context.Context, id ProtectionContainerId) (result UnregisterOperationResponse, err error)
Unregister ...
type RawProtectionContainerImpl ¶
RawProtectionContainerImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
type RefreshOperationOptions ¶
type RefreshOperationOptions struct {
Filter *string
}
func DefaultRefreshOperationOptions ¶
func DefaultRefreshOperationOptions() RefreshOperationOptions
type RegisterOperationResponse ¶
type RegisterOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response Model *ProtectionContainerResource }
type WorkloadInquiryDetails ¶
type WorkloadInquiryDetails struct { InquiryValidation *InquiryValidation `json:"inquiryValidation,omitempty"` ItemCount *int64 `json:"itemCount,omitempty"` Type *string `json:"type,omitempty"` }
type WorkloadType ¶
type WorkloadType string
const ( WorkloadTypeAzureSqlDb WorkloadType = "AzureSqlDb" WorkloadTypeClient WorkloadType = "Client" WorkloadTypeExchange WorkloadType = "Exchange" WorkloadTypeFileFolder WorkloadType = "FileFolder" WorkloadTypeGenericDataSource WorkloadType = "GenericDataSource" WorkloadTypeInvalid WorkloadType = "Invalid" WorkloadTypeSAPAseDatabase WorkloadType = "SAPAseDatabase" WorkloadTypeSAPHanaDBInstance WorkloadType = "SAPHanaDBInstance" WorkloadTypeSAPHanaDatabase WorkloadType = "SAPHanaDatabase" WorkloadTypeSQLDB WorkloadType = "SQLDB" WorkloadTypeSQLDataBase WorkloadType = "SQLDataBase" WorkloadTypeSystemState WorkloadType = "SystemState" WorkloadTypeVM WorkloadType = "VM" WorkloadTypeVMwareVM WorkloadType = "VMwareVM" )
Source Files ¶
- client.go
- constants.go
- id_backupfabric.go
- id_protectioncontainer.go
- method_get_autorest.go
- method_inquire_autorest.go
- method_refresh_autorest.go
- method_register_autorest.go
- method_unregister_autorest.go
- model_azurebackupservercontainer.go
- model_azureiaasclassiccomputevmcontainer.go
- model_azureiaascomputevmcontainer.go
- model_azuresqlagworkloadcontainerprotectioncontainer.go
- model_azuresqlcontainer.go
- model_azurestoragecontainer.go
- model_azurevmappcontainerprotectioncontainer.go
- model_azureworkloadcontainer.go
- model_azureworkloadcontainerextendedinfo.go
- model_containeridentityinfo.go
- model_distributednodesinfo.go
- model_dpmcontainer.go
- model_dpmcontainerextendedinfo.go
- model_errordetail.go
- model_genericcontainer.go
- model_genericcontainerextendedinfo.go
- model_iaasvmcontainer.go
- model_inquiryinfo.go
- model_inquiryvalidation.go
- model_mabcontainer.go
- model_mabcontainerextendedinfo.go
- model_mabcontainerhealthdetails.go
- model_protectioncontainer.go
- model_protectioncontainerresource.go
- model_workloadinquirydetails.go
- version.go