Documentation ¶
Index ¶
- func PossibleValuesForCurrentProtectionState() []string
- func PossibleValuesForDataStoreTypes() []string
- func PossibleValuesForExistingResourcePolicy() []string
- func PossibleValuesForPersistentVolumeRestoreMode() []string
- func PossibleValuesForRecoveryOption() []string
- func PossibleValuesForRehydrationPriority() []string
- func PossibleValuesForResourcePropertiesObjectType() []string
- func PossibleValuesForRestoreTargetLocationType() []string
- func PossibleValuesForSecretStoreType() []string
- func PossibleValuesForSourceDataStoreType() []string
- func PossibleValuesForStatus() []string
- func PossibleValuesForSyncType() []string
- func PossibleValuesForValidationType() []string
- func ValidateBackupInstanceID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateBackupVaultID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateProviderLocationID(input interface{}, key string) (warnings []string, errors []error)
- type AdHocBackupRuleOptions
- type AdhocBackupOperationResponse
- type AdhocBackupTriggerOption
- type AuthCredentials
- type AzureBackupRecoveryPointBasedRestoreRequest
- type AzureBackupRecoveryTimeBasedRestoreRequest
- type AzureBackupRehydrationRequest
- type AzureBackupRestoreRequest
- type AzureBackupRestoreWithRehydrationRequest
- type AzureOperationalStoreParameters
- type BackupDatasourceParameters
- type BackupInstance
- type BackupInstanceId
- type BackupInstanceResource
- type BackupInstanceResourceOperationPredicate
- type BackupInstancesClient
- func (c BackupInstancesClient) AdhocBackup(ctx context.Context, id BackupInstanceId, input TriggerBackupRequest) (result AdhocBackupOperationResponse, err error)
- func (c BackupInstancesClient) AdhocBackupThenPoll(ctx context.Context, id BackupInstanceId, input TriggerBackupRequest) error
- func (c BackupInstancesClient) CreateOrUpdate(ctx context.Context, id BackupInstanceId, input BackupInstanceResource, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c BackupInstancesClient) CreateOrUpdateThenPoll(ctx context.Context, id BackupInstanceId, input BackupInstanceResource, ...) error
- func (c BackupInstancesClient) Delete(ctx context.Context, id BackupInstanceId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
- func (c BackupInstancesClient) DeleteThenPoll(ctx context.Context, id BackupInstanceId, options DeleteOperationOptions) error
- func (c BackupInstancesClient) Get(ctx context.Context, id BackupInstanceId) (result GetOperationResponse, err error)
- func (c BackupInstancesClient) List(ctx context.Context, id BackupVaultId) (result ListOperationResponse, err error)
- func (c BackupInstancesClient) ListComplete(ctx context.Context, id BackupVaultId) (ListCompleteResult, error)
- func (c BackupInstancesClient) ListCompleteMatchingPredicate(ctx context.Context, id BackupVaultId, ...) (result ListCompleteResult, err error)
- func (c BackupInstancesClient) ResumeBackups(ctx context.Context, id BackupInstanceId) (result ResumeBackupsOperationResponse, err error)
- func (c BackupInstancesClient) ResumeBackupsThenPoll(ctx context.Context, id BackupInstanceId) error
- func (c BackupInstancesClient) ResumeProtection(ctx context.Context, id BackupInstanceId) (result ResumeProtectionOperationResponse, err error)
- func (c BackupInstancesClient) ResumeProtectionThenPoll(ctx context.Context, id BackupInstanceId) error
- func (c BackupInstancesClient) StopProtection(ctx context.Context, id BackupInstanceId, input StopProtectionRequest, ...) (result StopProtectionOperationResponse, err error)
- func (c BackupInstancesClient) StopProtectionThenPoll(ctx context.Context, id BackupInstanceId, input StopProtectionRequest, ...) error
- func (c BackupInstancesClient) SuspendBackups(ctx context.Context, id BackupInstanceId, input SuspendBackupRequest, ...) (result SuspendBackupsOperationResponse, err error)
- func (c BackupInstancesClient) SuspendBackupsThenPoll(ctx context.Context, id BackupInstanceId, input SuspendBackupRequest, ...) error
- func (c BackupInstancesClient) SyncBackupInstance(ctx context.Context, id BackupInstanceId, input SyncBackupInstanceRequest) (result SyncBackupInstanceOperationResponse, err error)
- func (c BackupInstancesClient) SyncBackupInstanceThenPoll(ctx context.Context, id BackupInstanceId, input SyncBackupInstanceRequest) error
- func (c BackupInstancesClient) TriggerCrossRegionRestore(ctx context.Context, id ProviderLocationId, ...) (result TriggerCrossRegionRestoreOperationResponse, err error)
- func (c BackupInstancesClient) TriggerCrossRegionRestoreThenPoll(ctx context.Context, id ProviderLocationId, ...) error
- func (c BackupInstancesClient) TriggerRehydrate(ctx context.Context, id BackupInstanceId, input AzureBackupRehydrationRequest) (result TriggerRehydrateOperationResponse, err error)
- func (c BackupInstancesClient) TriggerRehydrateThenPoll(ctx context.Context, id BackupInstanceId, input AzureBackupRehydrationRequest) error
- func (c BackupInstancesClient) TriggerRestore(ctx context.Context, id BackupInstanceId, input AzureBackupRestoreRequest, ...) (result TriggerRestoreOperationResponse, err error)
- func (c BackupInstancesClient) TriggerRestoreThenPoll(ctx context.Context, id BackupInstanceId, input AzureBackupRestoreRequest, ...) error
- func (c BackupInstancesClient) ValidateCrossRegionRestore(ctx context.Context, id ProviderLocationId, ...) (result ValidateCrossRegionRestoreOperationResponse, err error)
- func (c BackupInstancesClient) ValidateCrossRegionRestoreThenPoll(ctx context.Context, id ProviderLocationId, ...) error
- func (c BackupInstancesClient) ValidateForBackup(ctx context.Context, id BackupVaultId, input ValidateForBackupRequest) (result ValidateForBackupOperationResponse, err error)
- func (c BackupInstancesClient) ValidateForBackupThenPoll(ctx context.Context, id BackupVaultId, input ValidateForBackupRequest) error
- func (c BackupInstancesClient) ValidateForRestore(ctx context.Context, id BackupInstanceId, input ValidateRestoreRequestObject) (result ValidateForRestoreOperationResponse, err error)
- func (c BackupInstancesClient) ValidateForRestoreThenPoll(ctx context.Context, id BackupInstanceId, input ValidateRestoreRequestObject) error
- type BackupVaultId
- type BaseResourceProperties
- type BlobBackupDatasourceParameters
- type CreateOrUpdateOperationOptions
- type CreateOrUpdateOperationResponse
- type CrossRegionRestoreDetails
- type CrossRegionRestoreRequestObject
- type CurrentProtectionState
- type DataStoreParameters
- type DataStoreTypes
- type Datasource
- type DatasourceSet
- type DefaultResourceProperties
- type DeleteOperationOptions
- type DeleteOperationResponse
- type ExistingResourcePolicy
- type GetOperationResponse
- type IdentityDetails
- type InnerError
- type ItemLevelRestoreCriteria
- type ItemLevelRestoreTargetInfo
- type ItemPathBasedRestoreCriteria
- type KubernetesClusterBackupDatasourceParameters
- type KubernetesClusterRestoreCriteria
- type KubernetesClusterVaultTierRestoreCriteria
- type KubernetesPVRestoreCriteria
- type KubernetesStorageClassRestoreCriteria
- type ListCompleteResult
- type ListOperationResponse
- type NamespacedNameResource
- type OperationExtendedInfo
- type OperationJobExtendedInfo
- type PersistentVolumeRestoreMode
- type PolicyInfo
- type PolicyParameters
- type ProtectionStatusDetails
- type ProviderLocationId
- type RangeBasedItemLevelRestoreCriteria
- type RawAuthCredentialsImpl
- type RawAzureBackupRestoreRequestImpl
- type RawBackupDatasourceParametersImpl
- type RawBaseResourcePropertiesImpl
- type RawDataStoreParametersImpl
- type RawItemLevelRestoreCriteriaImpl
- type RawOperationExtendedInfoImpl
- type RawRestoreTargetInfoBaseImpl
- type RecoveryOption
- type RehydrationPriority
- type ResourcePropertiesObjectType
- type RestoreFilesTargetInfo
- type RestoreTargetInfo
- type RestoreTargetInfoBase
- type RestoreTargetLocationType
- type ResumeBackupsOperationResponse
- type ResumeProtectionOperationResponse
- type SecretStoreBasedAuthCredentials
- type SecretStoreResource
- type SecretStoreType
- type SourceDataStoreType
- type Status
- type StopProtectionOperationOptions
- type StopProtectionOperationResponse
- type StopProtectionRequest
- type SuspendBackupRequest
- type SuspendBackupsOperationOptions
- type SuspendBackupsOperationResponse
- type SyncBackupInstanceOperationResponse
- type SyncBackupInstanceRequest
- type SyncType
- type TargetDetails
- type TriggerBackupRequest
- type TriggerCrossRegionRestoreOperationResponse
- type TriggerRehydrateOperationResponse
- type TriggerRestoreOperationOptions
- type TriggerRestoreOperationResponse
- type UserFacingError
- type ValidateCrossRegionRestoreOperationResponse
- type ValidateCrossRegionRestoreRequestObject
- type ValidateForBackupOperationResponse
- type ValidateForBackupRequest
- type ValidateForRestoreOperationResponse
- type ValidateRestoreRequestObject
- type ValidationType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForCurrentProtectionState ¶
func PossibleValuesForCurrentProtectionState() []string
func PossibleValuesForDataStoreTypes ¶
func PossibleValuesForDataStoreTypes() []string
func PossibleValuesForExistingResourcePolicy ¶
func PossibleValuesForExistingResourcePolicy() []string
func PossibleValuesForPersistentVolumeRestoreMode ¶
func PossibleValuesForPersistentVolumeRestoreMode() []string
func PossibleValuesForRecoveryOption ¶
func PossibleValuesForRecoveryOption() []string
func PossibleValuesForRehydrationPriority ¶
func PossibleValuesForRehydrationPriority() []string
func PossibleValuesForResourcePropertiesObjectType ¶
func PossibleValuesForResourcePropertiesObjectType() []string
func PossibleValuesForRestoreTargetLocationType ¶
func PossibleValuesForRestoreTargetLocationType() []string
func PossibleValuesForSecretStoreType ¶
func PossibleValuesForSecretStoreType() []string
func PossibleValuesForSourceDataStoreType ¶
func PossibleValuesForSourceDataStoreType() []string
func PossibleValuesForStatus ¶
func PossibleValuesForStatus() []string
func PossibleValuesForSyncType ¶
func PossibleValuesForSyncType() []string
func PossibleValuesForValidationType ¶
func PossibleValuesForValidationType() []string
func ValidateBackupInstanceID ¶
ValidateBackupInstanceID checks that 'input' can be parsed as a Backup Instance ID
func ValidateBackupVaultID ¶
ValidateBackupVaultID checks that 'input' can be parsed as a Backup Vault ID
func ValidateProviderLocationID ¶
ValidateProviderLocationID checks that 'input' can be parsed as a Provider Location ID
Types ¶
type AdHocBackupRuleOptions ¶
type AdHocBackupRuleOptions struct { RuleName string `json:"ruleName"` TriggerOption AdhocBackupTriggerOption `json:"triggerOption"` }
type AdhocBackupTriggerOption ¶
type AdhocBackupTriggerOption struct {
RetentionTagOverride *string `json:"retentionTagOverride,omitempty"`
}
type AuthCredentials ¶
type AuthCredentials interface { }
type AzureBackupRecoveryPointBasedRestoreRequest ¶
type AzureBackupRecoveryPointBasedRestoreRequest struct { RecoveryPointId string `json:"recoveryPointId"` // Fields inherited from AzureBackupRestoreRequest IdentityDetails *IdentityDetails `json:"identityDetails,omitempty"` ResourceGuardOperationRequests *[]string `json:"resourceGuardOperationRequests,omitempty"` RestoreTargetInfo RestoreTargetInfoBase `json:"restoreTargetInfo"` SourceDataStoreType SourceDataStoreType `json:"sourceDataStoreType"` SourceResourceId *string `json:"sourceResourceId,omitempty"` }
func (AzureBackupRecoveryPointBasedRestoreRequest) MarshalJSON ¶
func (s AzureBackupRecoveryPointBasedRestoreRequest) MarshalJSON() ([]byte, error)
func (*AzureBackupRecoveryPointBasedRestoreRequest) UnmarshalJSON ¶
func (s *AzureBackupRecoveryPointBasedRestoreRequest) UnmarshalJSON(bytes []byte) error
type AzureBackupRecoveryTimeBasedRestoreRequest ¶
type AzureBackupRecoveryTimeBasedRestoreRequest struct { RecoveryPointTime string `json:"recoveryPointTime"` // Fields inherited from AzureBackupRestoreRequest IdentityDetails *IdentityDetails `json:"identityDetails,omitempty"` ResourceGuardOperationRequests *[]string `json:"resourceGuardOperationRequests,omitempty"` RestoreTargetInfo RestoreTargetInfoBase `json:"restoreTargetInfo"` SourceDataStoreType SourceDataStoreType `json:"sourceDataStoreType"` SourceResourceId *string `json:"sourceResourceId,omitempty"` }
func (AzureBackupRecoveryTimeBasedRestoreRequest) MarshalJSON ¶
func (s AzureBackupRecoveryTimeBasedRestoreRequest) MarshalJSON() ([]byte, error)
func (*AzureBackupRecoveryTimeBasedRestoreRequest) UnmarshalJSON ¶
func (s *AzureBackupRecoveryTimeBasedRestoreRequest) UnmarshalJSON(bytes []byte) error
type AzureBackupRehydrationRequest ¶
type AzureBackupRehydrationRequest struct { RecoveryPointId string `json:"recoveryPointId"` RehydrationPriority *RehydrationPriority `json:"rehydrationPriority,omitempty"` RehydrationRetentionDuration string `json:"rehydrationRetentionDuration"` }
type AzureBackupRestoreRequest ¶
type AzureBackupRestoreRequest interface { }
type AzureBackupRestoreWithRehydrationRequest ¶
type AzureBackupRestoreWithRehydrationRequest struct { RecoveryPointId string `json:"recoveryPointId"` RehydrationPriority RehydrationPriority `json:"rehydrationPriority"` RehydrationRetentionDuration string `json:"rehydrationRetentionDuration"` // Fields inherited from AzureBackupRestoreRequest IdentityDetails *IdentityDetails `json:"identityDetails,omitempty"` ResourceGuardOperationRequests *[]string `json:"resourceGuardOperationRequests,omitempty"` RestoreTargetInfo RestoreTargetInfoBase `json:"restoreTargetInfo"` SourceDataStoreType SourceDataStoreType `json:"sourceDataStoreType"` SourceResourceId *string `json:"sourceResourceId,omitempty"` }
func (AzureBackupRestoreWithRehydrationRequest) MarshalJSON ¶
func (s AzureBackupRestoreWithRehydrationRequest) MarshalJSON() ([]byte, error)
func (*AzureBackupRestoreWithRehydrationRequest) UnmarshalJSON ¶
func (s *AzureBackupRestoreWithRehydrationRequest) UnmarshalJSON(bytes []byte) error
type AzureOperationalStoreParameters ¶
type AzureOperationalStoreParameters struct { ResourceGroupId *string `json:"resourceGroupId,omitempty"` // Fields inherited from DataStoreParameters DataStoreType DataStoreTypes `json:"dataStoreType"` }
func (AzureOperationalStoreParameters) MarshalJSON ¶
func (s AzureOperationalStoreParameters) MarshalJSON() ([]byte, error)
type BackupDatasourceParameters ¶
type BackupDatasourceParameters interface { }
type BackupInstance ¶
type BackupInstance struct { CurrentProtectionState *CurrentProtectionState `json:"currentProtectionState,omitempty"` DataSourceInfo Datasource `json:"dataSourceInfo"` DataSourceSetInfo *DatasourceSet `json:"dataSourceSetInfo,omitempty"` DatasourceAuthCredentials AuthCredentials `json:"datasourceAuthCredentials"` FriendlyName *string `json:"friendlyName,omitempty"` IdentityDetails *IdentityDetails `json:"identityDetails,omitempty"` ObjectType string `json:"objectType"` PolicyInfo PolicyInfo `json:"policyInfo"` ProtectionErrorDetails *UserFacingError `json:"protectionErrorDetails,omitempty"` ProtectionStatus *ProtectionStatusDetails `json:"protectionStatus,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` ResourceGuardOperationRequests *[]string `json:"resourceGuardOperationRequests,omitempty"` ValidationType *ValidationType `json:"validationType,omitempty"` }
func (*BackupInstance) UnmarshalJSON ¶
func (s *BackupInstance) UnmarshalJSON(bytes []byte) error
type BackupInstanceId ¶
type BackupInstanceId struct { SubscriptionId string ResourceGroupName string BackupVaultName string BackupInstanceName string }
BackupInstanceId is a struct representing the Resource ID for a Backup Instance
func NewBackupInstanceID ¶
func NewBackupInstanceID(subscriptionId string, resourceGroupName string, backupVaultName string, backupInstanceName string) BackupInstanceId
NewBackupInstanceID returns a new BackupInstanceId struct
func ParseBackupInstanceID ¶
func ParseBackupInstanceID(input string) (*BackupInstanceId, error)
ParseBackupInstanceID parses 'input' into a BackupInstanceId
func ParseBackupInstanceIDInsensitively ¶
func ParseBackupInstanceIDInsensitively(input string) (*BackupInstanceId, error)
ParseBackupInstanceIDInsensitively parses 'input' case-insensitively into a BackupInstanceId note: this method should only be used for API response data and not user input
func (*BackupInstanceId) FromParseResult ¶
func (id *BackupInstanceId) FromParseResult(input resourceids.ParseResult) error
func (BackupInstanceId) ID ¶
func (id BackupInstanceId) ID() string
ID returns the formatted Backup Instance ID
func (BackupInstanceId) Segments ¶
func (id BackupInstanceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Backup Instance ID
func (BackupInstanceId) String ¶
func (id BackupInstanceId) String() string
String returns a human-readable description of this Backup Instance ID
type BackupInstanceResource ¶
type BackupInstanceResource struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *BackupInstance `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type BackupInstanceResourceOperationPredicate ¶
func (BackupInstanceResourceOperationPredicate) Matches ¶
func (p BackupInstanceResourceOperationPredicate) Matches(input BackupInstanceResource) bool
type BackupInstancesClient ¶
type BackupInstancesClient struct {
Client *resourcemanager.Client
}
func NewBackupInstancesClientWithBaseURI ¶
func NewBackupInstancesClientWithBaseURI(sdkApi sdkEnv.Api) (*BackupInstancesClient, error)
func (BackupInstancesClient) AdhocBackup ¶
func (c BackupInstancesClient) AdhocBackup(ctx context.Context, id BackupInstanceId, input TriggerBackupRequest) (result AdhocBackupOperationResponse, err error)
AdhocBackup ...
func (BackupInstancesClient) AdhocBackupThenPoll ¶
func (c BackupInstancesClient) AdhocBackupThenPoll(ctx context.Context, id BackupInstanceId, input TriggerBackupRequest) error
AdhocBackupThenPoll performs AdhocBackup then polls until it's completed
func (BackupInstancesClient) CreateOrUpdate ¶
func (c BackupInstancesClient) CreateOrUpdate(ctx context.Context, id BackupInstanceId, input BackupInstanceResource, options CreateOrUpdateOperationOptions) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (BackupInstancesClient) CreateOrUpdateThenPoll ¶
func (c BackupInstancesClient) CreateOrUpdateThenPoll(ctx context.Context, id BackupInstanceId, input BackupInstanceResource, options CreateOrUpdateOperationOptions) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (BackupInstancesClient) Delete ¶
func (c BackupInstancesClient) Delete(ctx context.Context, id BackupInstanceId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (BackupInstancesClient) DeleteThenPoll ¶
func (c BackupInstancesClient) DeleteThenPoll(ctx context.Context, id BackupInstanceId, options DeleteOperationOptions) error
DeleteThenPoll performs Delete then polls until it's completed
func (BackupInstancesClient) Get ¶
func (c BackupInstancesClient) Get(ctx context.Context, id BackupInstanceId) (result GetOperationResponse, err error)
Get ...
func (BackupInstancesClient) List ¶
func (c BackupInstancesClient) List(ctx context.Context, id BackupVaultId) (result ListOperationResponse, err error)
List ...
func (BackupInstancesClient) ListComplete ¶
func (c BackupInstancesClient) ListComplete(ctx context.Context, id BackupVaultId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (BackupInstancesClient) ListCompleteMatchingPredicate ¶
func (c BackupInstancesClient) ListCompleteMatchingPredicate(ctx context.Context, id BackupVaultId, predicate BackupInstanceResourceOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (BackupInstancesClient) ResumeBackups ¶
func (c BackupInstancesClient) ResumeBackups(ctx context.Context, id BackupInstanceId) (result ResumeBackupsOperationResponse, err error)
ResumeBackups ...
func (BackupInstancesClient) ResumeBackupsThenPoll ¶
func (c BackupInstancesClient) ResumeBackupsThenPoll(ctx context.Context, id BackupInstanceId) error
ResumeBackupsThenPoll performs ResumeBackups then polls until it's completed
func (BackupInstancesClient) ResumeProtection ¶
func (c BackupInstancesClient) ResumeProtection(ctx context.Context, id BackupInstanceId) (result ResumeProtectionOperationResponse, err error)
ResumeProtection ...
func (BackupInstancesClient) ResumeProtectionThenPoll ¶
func (c BackupInstancesClient) ResumeProtectionThenPoll(ctx context.Context, id BackupInstanceId) error
ResumeProtectionThenPoll performs ResumeProtection then polls until it's completed
func (BackupInstancesClient) StopProtection ¶
func (c BackupInstancesClient) StopProtection(ctx context.Context, id BackupInstanceId, input StopProtectionRequest, options StopProtectionOperationOptions) (result StopProtectionOperationResponse, err error)
StopProtection ...
func (BackupInstancesClient) StopProtectionThenPoll ¶
func (c BackupInstancesClient) StopProtectionThenPoll(ctx context.Context, id BackupInstanceId, input StopProtectionRequest, options StopProtectionOperationOptions) error
StopProtectionThenPoll performs StopProtection then polls until it's completed
func (BackupInstancesClient) SuspendBackups ¶
func (c BackupInstancesClient) SuspendBackups(ctx context.Context, id BackupInstanceId, input SuspendBackupRequest, options SuspendBackupsOperationOptions) (result SuspendBackupsOperationResponse, err error)
SuspendBackups ...
func (BackupInstancesClient) SuspendBackupsThenPoll ¶
func (c BackupInstancesClient) SuspendBackupsThenPoll(ctx context.Context, id BackupInstanceId, input SuspendBackupRequest, options SuspendBackupsOperationOptions) error
SuspendBackupsThenPoll performs SuspendBackups then polls until it's completed
func (BackupInstancesClient) SyncBackupInstance ¶
func (c BackupInstancesClient) SyncBackupInstance(ctx context.Context, id BackupInstanceId, input SyncBackupInstanceRequest) (result SyncBackupInstanceOperationResponse, err error)
SyncBackupInstance ...
func (BackupInstancesClient) SyncBackupInstanceThenPoll ¶
func (c BackupInstancesClient) SyncBackupInstanceThenPoll(ctx context.Context, id BackupInstanceId, input SyncBackupInstanceRequest) error
SyncBackupInstanceThenPoll performs SyncBackupInstance then polls until it's completed
func (BackupInstancesClient) TriggerCrossRegionRestore ¶
func (c BackupInstancesClient) TriggerCrossRegionRestore(ctx context.Context, id ProviderLocationId, input CrossRegionRestoreRequestObject) (result TriggerCrossRegionRestoreOperationResponse, err error)
TriggerCrossRegionRestore ...
func (BackupInstancesClient) TriggerCrossRegionRestoreThenPoll ¶
func (c BackupInstancesClient) TriggerCrossRegionRestoreThenPoll(ctx context.Context, id ProviderLocationId, input CrossRegionRestoreRequestObject) error
TriggerCrossRegionRestoreThenPoll performs TriggerCrossRegionRestore then polls until it's completed
func (BackupInstancesClient) TriggerRehydrate ¶
func (c BackupInstancesClient) TriggerRehydrate(ctx context.Context, id BackupInstanceId, input AzureBackupRehydrationRequest) (result TriggerRehydrateOperationResponse, err error)
TriggerRehydrate ...
func (BackupInstancesClient) TriggerRehydrateThenPoll ¶
func (c BackupInstancesClient) TriggerRehydrateThenPoll(ctx context.Context, id BackupInstanceId, input AzureBackupRehydrationRequest) error
TriggerRehydrateThenPoll performs TriggerRehydrate then polls until it's completed
func (BackupInstancesClient) TriggerRestore ¶
func (c BackupInstancesClient) TriggerRestore(ctx context.Context, id BackupInstanceId, input AzureBackupRestoreRequest, options TriggerRestoreOperationOptions) (result TriggerRestoreOperationResponse, err error)
TriggerRestore ...
func (BackupInstancesClient) TriggerRestoreThenPoll ¶
func (c BackupInstancesClient) TriggerRestoreThenPoll(ctx context.Context, id BackupInstanceId, input AzureBackupRestoreRequest, options TriggerRestoreOperationOptions) error
TriggerRestoreThenPoll performs TriggerRestore then polls until it's completed
func (BackupInstancesClient) ValidateCrossRegionRestore ¶
func (c BackupInstancesClient) ValidateCrossRegionRestore(ctx context.Context, id ProviderLocationId, input ValidateCrossRegionRestoreRequestObject) (result ValidateCrossRegionRestoreOperationResponse, err error)
ValidateCrossRegionRestore ...
func (BackupInstancesClient) ValidateCrossRegionRestoreThenPoll ¶
func (c BackupInstancesClient) ValidateCrossRegionRestoreThenPoll(ctx context.Context, id ProviderLocationId, input ValidateCrossRegionRestoreRequestObject) error
ValidateCrossRegionRestoreThenPoll performs ValidateCrossRegionRestore then polls until it's completed
func (BackupInstancesClient) ValidateForBackup ¶
func (c BackupInstancesClient) ValidateForBackup(ctx context.Context, id BackupVaultId, input ValidateForBackupRequest) (result ValidateForBackupOperationResponse, err error)
ValidateForBackup ...
func (BackupInstancesClient) ValidateForBackupThenPoll ¶
func (c BackupInstancesClient) ValidateForBackupThenPoll(ctx context.Context, id BackupVaultId, input ValidateForBackupRequest) error
ValidateForBackupThenPoll performs ValidateForBackup then polls until it's completed
func (BackupInstancesClient) ValidateForRestore ¶
func (c BackupInstancesClient) ValidateForRestore(ctx context.Context, id BackupInstanceId, input ValidateRestoreRequestObject) (result ValidateForRestoreOperationResponse, err error)
ValidateForRestore ...
func (BackupInstancesClient) ValidateForRestoreThenPoll ¶
func (c BackupInstancesClient) ValidateForRestoreThenPoll(ctx context.Context, id BackupInstanceId, input ValidateRestoreRequestObject) error
ValidateForRestoreThenPoll performs ValidateForRestore then polls until it's completed
type BackupVaultId ¶
BackupVaultId is a struct representing the Resource ID for a Backup Vault
func NewBackupVaultID ¶
func NewBackupVaultID(subscriptionId string, resourceGroupName string, backupVaultName string) BackupVaultId
NewBackupVaultID returns a new BackupVaultId struct
func ParseBackupVaultID ¶
func ParseBackupVaultID(input string) (*BackupVaultId, error)
ParseBackupVaultID parses 'input' into a BackupVaultId
func ParseBackupVaultIDInsensitively ¶
func ParseBackupVaultIDInsensitively(input string) (*BackupVaultId, error)
ParseBackupVaultIDInsensitively parses 'input' case-insensitively into a BackupVaultId note: this method should only be used for API response data and not user input
func (*BackupVaultId) FromParseResult ¶
func (id *BackupVaultId) FromParseResult(input resourceids.ParseResult) error
func (BackupVaultId) ID ¶
func (id BackupVaultId) ID() string
ID returns the formatted Backup Vault ID
func (BackupVaultId) Segments ¶
func (id BackupVaultId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Backup Vault ID
func (BackupVaultId) String ¶
func (id BackupVaultId) String() string
String returns a human-readable description of this Backup Vault ID
type BaseResourceProperties ¶
type BaseResourceProperties interface { }
type BlobBackupDatasourceParameters ¶
type BlobBackupDatasourceParameters struct {
ContainersList []string `json:"containersList"`
}
func (BlobBackupDatasourceParameters) MarshalJSON ¶
func (s BlobBackupDatasourceParameters) MarshalJSON() ([]byte, error)
type CreateOrUpdateOperationOptions ¶
type CreateOrUpdateOperationOptions struct {
XMsAuthorizationAuxiliary *string
}
func DefaultCreateOrUpdateOperationOptions ¶
func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions
func (CreateOrUpdateOperationOptions) ToHeaders ¶
func (o CreateOrUpdateOperationOptions) ToHeaders() *client.Headers
func (CreateOrUpdateOperationOptions) ToOData ¶
func (o CreateOrUpdateOperationOptions) ToOData() *odata.Query
func (CreateOrUpdateOperationOptions) ToQuery ¶
func (o CreateOrUpdateOperationOptions) ToQuery() *client.QueryParams
type CrossRegionRestoreRequestObject ¶
type CrossRegionRestoreRequestObject struct { CrossRegionRestoreDetails CrossRegionRestoreDetails `json:"crossRegionRestoreDetails"` RestoreRequestObject AzureBackupRestoreRequest `json:"restoreRequestObject"` }
func (*CrossRegionRestoreRequestObject) UnmarshalJSON ¶
func (s *CrossRegionRestoreRequestObject) UnmarshalJSON(bytes []byte) error
type CurrentProtectionState ¶
type CurrentProtectionState string
const ( CurrentProtectionStateBackupSchedulesSuspended CurrentProtectionState = "BackupSchedulesSuspended" CurrentProtectionStateConfiguringProtection CurrentProtectionState = "ConfiguringProtection" CurrentProtectionStateConfiguringProtectionFailed CurrentProtectionState = "ConfiguringProtectionFailed" CurrentProtectionStateInvalid CurrentProtectionState = "Invalid" CurrentProtectionStateNotProtected CurrentProtectionState = "NotProtected" CurrentProtectionStateProtectionConfigured CurrentProtectionState = "ProtectionConfigured" CurrentProtectionStateProtectionError CurrentProtectionState = "ProtectionError" CurrentProtectionStateProtectionStopped CurrentProtectionState = "ProtectionStopped" CurrentProtectionStateRetentionSchedulesSuspended CurrentProtectionState = "RetentionSchedulesSuspended" CurrentProtectionStateSoftDeleted CurrentProtectionState = "SoftDeleted" CurrentProtectionStateSoftDeleting CurrentProtectionState = "SoftDeleting" CurrentProtectionStateUpdatingProtection CurrentProtectionState = "UpdatingProtection" )
func (*CurrentProtectionState) UnmarshalJSON ¶
func (s *CurrentProtectionState) UnmarshalJSON(bytes []byte) error
type DataStoreParameters ¶
type DataStoreParameters interface { }
type DataStoreTypes ¶
type DataStoreTypes string
const ( DataStoreTypesArchiveStore DataStoreTypes = "ArchiveStore" DataStoreTypesOperationalStore DataStoreTypes = "OperationalStore" DataStoreTypesVaultStore DataStoreTypes = "VaultStore" )
func (*DataStoreTypes) UnmarshalJSON ¶
func (s *DataStoreTypes) UnmarshalJSON(bytes []byte) error
type Datasource ¶
type Datasource struct { DatasourceType *string `json:"datasourceType,omitempty"` ObjectType *string `json:"objectType,omitempty"` ResourceID string `json:"resourceID"` ResourceLocation *string `json:"resourceLocation,omitempty"` ResourceName *string `json:"resourceName,omitempty"` ResourceProperties BaseResourceProperties `json:"resourceProperties"` ResourceType *string `json:"resourceType,omitempty"` ResourceUri *string `json:"resourceUri,omitempty"` }
func (*Datasource) UnmarshalJSON ¶
func (s *Datasource) UnmarshalJSON(bytes []byte) error
type DatasourceSet ¶
type DatasourceSet struct { DatasourceType *string `json:"datasourceType,omitempty"` ObjectType *string `json:"objectType,omitempty"` ResourceID string `json:"resourceID"` ResourceLocation *string `json:"resourceLocation,omitempty"` ResourceName *string `json:"resourceName,omitempty"` ResourceProperties BaseResourceProperties `json:"resourceProperties"` ResourceType *string `json:"resourceType,omitempty"` ResourceUri *string `json:"resourceUri,omitempty"` }
func (*DatasourceSet) UnmarshalJSON ¶
func (s *DatasourceSet) UnmarshalJSON(bytes []byte) error
type DefaultResourceProperties ¶
type DefaultResourceProperties struct { }
func (DefaultResourceProperties) MarshalJSON ¶
func (s DefaultResourceProperties) MarshalJSON() ([]byte, error)
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
XMsAuthorizationAuxiliary *string
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
func (DeleteOperationOptions) ToHeaders ¶
func (o DeleteOperationOptions) ToHeaders() *client.Headers
func (DeleteOperationOptions) ToOData ¶
func (o DeleteOperationOptions) ToOData() *odata.Query
func (DeleteOperationOptions) ToQuery ¶
func (o DeleteOperationOptions) ToQuery() *client.QueryParams
type DeleteOperationResponse ¶
type ExistingResourcePolicy ¶
type ExistingResourcePolicy string
const ( ExistingResourcePolicyPatch ExistingResourcePolicy = "Patch" ExistingResourcePolicySkip ExistingResourcePolicy = "Skip" )
func (*ExistingResourcePolicy) UnmarshalJSON ¶
func (s *ExistingResourcePolicy) UnmarshalJSON(bytes []byte) error
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *BackupInstanceResource }
type IdentityDetails ¶
type InnerError ¶
type InnerError struct { AdditionalInfo *map[string]string `json:"additionalInfo,omitempty"` Code *string `json:"code,omitempty"` EmbeddedInnerError *InnerError `json:"embeddedInnerError,omitempty"` }
type ItemLevelRestoreCriteria ¶
type ItemLevelRestoreCriteria interface { }
type ItemLevelRestoreTargetInfo ¶
type ItemLevelRestoreTargetInfo struct { DatasourceAuthCredentials AuthCredentials `json:"datasourceAuthCredentials"` DatasourceInfo Datasource `json:"datasourceInfo"` DatasourceSetInfo *DatasourceSet `json:"datasourceSetInfo,omitempty"` RestoreCriteria []ItemLevelRestoreCriteria `json:"restoreCriteria"` // Fields inherited from RestoreTargetInfoBase RecoveryOption RecoveryOption `json:"recoveryOption"` RestoreLocation *string `json:"restoreLocation,omitempty"` }
func (ItemLevelRestoreTargetInfo) MarshalJSON ¶
func (s ItemLevelRestoreTargetInfo) MarshalJSON() ([]byte, error)
func (*ItemLevelRestoreTargetInfo) UnmarshalJSON ¶
func (s *ItemLevelRestoreTargetInfo) UnmarshalJSON(bytes []byte) error
type ItemPathBasedRestoreCriteria ¶
type ItemPathBasedRestoreCriteria struct { IsPathRelativeToBackupItem bool `json:"isPathRelativeToBackupItem"` ItemPath string `json:"itemPath"` SubItemPathPrefix *[]string `json:"subItemPathPrefix,omitempty"` }
func (ItemPathBasedRestoreCriteria) MarshalJSON ¶
func (s ItemPathBasedRestoreCriteria) MarshalJSON() ([]byte, error)
type KubernetesClusterBackupDatasourceParameters ¶
type KubernetesClusterBackupDatasourceParameters struct { BackupHookReferences *[]NamespacedNameResource `json:"backupHookReferences,omitempty"` ExcludedNamespaces *[]string `json:"excludedNamespaces,omitempty"` ExcludedResourceTypes *[]string `json:"excludedResourceTypes,omitempty"` IncludeClusterScopeResources bool `json:"includeClusterScopeResources"` IncludedNamespaces *[]string `json:"includedNamespaces,omitempty"` IncludedResourceTypes *[]string `json:"includedResourceTypes,omitempty"` LabelSelectors *[]string `json:"labelSelectors,omitempty"` SnapshotVolumes bool `json:"snapshotVolumes"` }
func (KubernetesClusterBackupDatasourceParameters) MarshalJSON ¶
func (s KubernetesClusterBackupDatasourceParameters) MarshalJSON() ([]byte, error)
type KubernetesClusterRestoreCriteria ¶
type KubernetesClusterRestoreCriteria struct { ConflictPolicy *ExistingResourcePolicy `json:"conflictPolicy,omitempty"` ExcludedNamespaces *[]string `json:"excludedNamespaces,omitempty"` ExcludedResourceTypes *[]string `json:"excludedResourceTypes,omitempty"` IncludeClusterScopeResources bool `json:"includeClusterScopeResources"` IncludedNamespaces *[]string `json:"includedNamespaces,omitempty"` IncludedResourceTypes *[]string `json:"includedResourceTypes,omitempty"` LabelSelectors *[]string `json:"labelSelectors,omitempty"` NamespaceMappings *map[string]string `json:"namespaceMappings,omitempty"` PersistentVolumeRestoreMode *PersistentVolumeRestoreMode `json:"persistentVolumeRestoreMode,omitempty"` ResourceModifierReference *NamespacedNameResource `json:"resourceModifierReference,omitempty"` RestoreHookReferences *[]NamespacedNameResource `json:"restoreHookReferences,omitempty"` }
func (KubernetesClusterRestoreCriteria) MarshalJSON ¶
func (s KubernetesClusterRestoreCriteria) MarshalJSON() ([]byte, error)
type KubernetesClusterVaultTierRestoreCriteria ¶
type KubernetesClusterVaultTierRestoreCriteria struct { ConflictPolicy *ExistingResourcePolicy `json:"conflictPolicy,omitempty"` ExcludedNamespaces *[]string `json:"excludedNamespaces,omitempty"` ExcludedResourceTypes *[]string `json:"excludedResourceTypes,omitempty"` IncludeClusterScopeResources bool `json:"includeClusterScopeResources"` IncludedNamespaces *[]string `json:"includedNamespaces,omitempty"` IncludedResourceTypes *[]string `json:"includedResourceTypes,omitempty"` LabelSelectors *[]string `json:"labelSelectors,omitempty"` NamespaceMappings *map[string]string `json:"namespaceMappings,omitempty"` PersistentVolumeRestoreMode *PersistentVolumeRestoreMode `json:"persistentVolumeRestoreMode,omitempty"` ResourceModifierReference *NamespacedNameResource `json:"resourceModifierReference,omitempty"` RestoreHookReferences *[]NamespacedNameResource `json:"restoreHookReferences,omitempty"` StagingResourceGroupId *string `json:"stagingResourceGroupId,omitempty"` StagingStorageAccountId *string `json:"stagingStorageAccountId,omitempty"` }
func (KubernetesClusterVaultTierRestoreCriteria) MarshalJSON ¶
func (s KubernetesClusterVaultTierRestoreCriteria) MarshalJSON() ([]byte, error)
type KubernetesPVRestoreCriteria ¶
type KubernetesPVRestoreCriteria struct { Name *string `json:"name,omitempty"` StorageClassName *string `json:"storageClassName,omitempty"` }
func (KubernetesPVRestoreCriteria) MarshalJSON ¶
func (s KubernetesPVRestoreCriteria) MarshalJSON() ([]byte, error)
type KubernetesStorageClassRestoreCriteria ¶
type KubernetesStorageClassRestoreCriteria struct { Provisioner *string `json:"provisioner,omitempty"` SelectedStorageClassName *string `json:"selectedStorageClassName,omitempty"` }
func (KubernetesStorageClassRestoreCriteria) MarshalJSON ¶
func (s KubernetesStorageClassRestoreCriteria) MarshalJSON() ([]byte, error)
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []BackupInstanceResource }
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]BackupInstanceResource }
type NamespacedNameResource ¶
type OperationExtendedInfo ¶
type OperationExtendedInfo interface { }
type OperationJobExtendedInfo ¶
type OperationJobExtendedInfo struct {
JobId *string `json:"jobId,omitempty"`
}
func (OperationJobExtendedInfo) MarshalJSON ¶
func (s OperationJobExtendedInfo) MarshalJSON() ([]byte, error)
type PersistentVolumeRestoreMode ¶
type PersistentVolumeRestoreMode string
const ( PersistentVolumeRestoreModeRestoreWithVolumeData PersistentVolumeRestoreMode = "RestoreWithVolumeData" PersistentVolumeRestoreModeRestoreWithoutVolumeData PersistentVolumeRestoreMode = "RestoreWithoutVolumeData" )
func (*PersistentVolumeRestoreMode) UnmarshalJSON ¶
func (s *PersistentVolumeRestoreMode) UnmarshalJSON(bytes []byte) error
type PolicyInfo ¶
type PolicyInfo struct { PolicyId string `json:"policyId"` PolicyParameters *PolicyParameters `json:"policyParameters,omitempty"` PolicyVersion *string `json:"policyVersion,omitempty"` }
type PolicyParameters ¶
type PolicyParameters struct { BackupDatasourceParametersList *[]BackupDatasourceParameters `json:"backupDatasourceParametersList,omitempty"` DataStoreParametersList *[]DataStoreParameters `json:"dataStoreParametersList,omitempty"` }
func (*PolicyParameters) UnmarshalJSON ¶
func (s *PolicyParameters) UnmarshalJSON(bytes []byte) error
type ProtectionStatusDetails ¶
type ProtectionStatusDetails struct { ErrorDetails *UserFacingError `json:"errorDetails,omitempty"` Status *Status `json:"status,omitempty"` }
type ProviderLocationId ¶
type ProviderLocationId struct { SubscriptionId string ResourceGroupName string LocationName string }
ProviderLocationId is a struct representing the Resource ID for a Provider Location
func NewProviderLocationID ¶
func NewProviderLocationID(subscriptionId string, resourceGroupName string, locationName string) ProviderLocationId
NewProviderLocationID returns a new ProviderLocationId struct
func ParseProviderLocationID ¶
func ParseProviderLocationID(input string) (*ProviderLocationId, error)
ParseProviderLocationID parses 'input' into a ProviderLocationId
func ParseProviderLocationIDInsensitively ¶
func ParseProviderLocationIDInsensitively(input string) (*ProviderLocationId, error)
ParseProviderLocationIDInsensitively parses 'input' case-insensitively into a ProviderLocationId note: this method should only be used for API response data and not user input
func (*ProviderLocationId) FromParseResult ¶
func (id *ProviderLocationId) FromParseResult(input resourceids.ParseResult) error
func (ProviderLocationId) ID ¶
func (id ProviderLocationId) ID() string
ID returns the formatted Provider Location ID
func (ProviderLocationId) Segments ¶
func (id ProviderLocationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Provider Location ID
func (ProviderLocationId) String ¶
func (id ProviderLocationId) String() string
String returns a human-readable description of this Provider Location ID
type RangeBasedItemLevelRestoreCriteria ¶
type RangeBasedItemLevelRestoreCriteria struct { MaxMatchingValue *string `json:"maxMatchingValue,omitempty"` MinMatchingValue *string `json:"minMatchingValue,omitempty"` }
func (RangeBasedItemLevelRestoreCriteria) MarshalJSON ¶
func (s RangeBasedItemLevelRestoreCriteria) MarshalJSON() ([]byte, error)
type RawAuthCredentialsImpl ¶
RawAuthCredentialsImpl 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 RawAzureBackupRestoreRequestImpl ¶
RawAzureBackupRestoreRequestImpl 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 RawBackupDatasourceParametersImpl ¶
RawBackupDatasourceParametersImpl 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 RawBaseResourcePropertiesImpl ¶
RawBaseResourcePropertiesImpl 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 RawDataStoreParametersImpl ¶
RawDataStoreParametersImpl 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 RawItemLevelRestoreCriteriaImpl ¶
RawItemLevelRestoreCriteriaImpl 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 RawOperationExtendedInfoImpl ¶
RawOperationExtendedInfoImpl 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 RawRestoreTargetInfoBaseImpl ¶
RawRestoreTargetInfoBaseImpl 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 RecoveryOption ¶
type RecoveryOption string
const (
RecoveryOptionFailIfExists RecoveryOption = "FailIfExists"
)
func (*RecoveryOption) UnmarshalJSON ¶
func (s *RecoveryOption) UnmarshalJSON(bytes []byte) error
type RehydrationPriority ¶
type RehydrationPriority string
const ( RehydrationPriorityHigh RehydrationPriority = "High" RehydrationPriorityInvalid RehydrationPriority = "Invalid" RehydrationPriorityStandard RehydrationPriority = "Standard" )
func (*RehydrationPriority) UnmarshalJSON ¶
func (s *RehydrationPriority) UnmarshalJSON(bytes []byte) error
type ResourcePropertiesObjectType ¶
type ResourcePropertiesObjectType string
const (
ResourcePropertiesObjectTypeDefaultResourceProperties ResourcePropertiesObjectType = "DefaultResourceProperties"
)
func (*ResourcePropertiesObjectType) UnmarshalJSON ¶
func (s *ResourcePropertiesObjectType) UnmarshalJSON(bytes []byte) error
type RestoreFilesTargetInfo ¶
type RestoreFilesTargetInfo struct { TargetDetails TargetDetails `json:"targetDetails"` // Fields inherited from RestoreTargetInfoBase RecoveryOption RecoveryOption `json:"recoveryOption"` RestoreLocation *string `json:"restoreLocation,omitempty"` }
func (RestoreFilesTargetInfo) MarshalJSON ¶
func (s RestoreFilesTargetInfo) MarshalJSON() ([]byte, error)
type RestoreTargetInfo ¶
type RestoreTargetInfo struct { DatasourceAuthCredentials AuthCredentials `json:"datasourceAuthCredentials"` DatasourceInfo Datasource `json:"datasourceInfo"` DatasourceSetInfo *DatasourceSet `json:"datasourceSetInfo,omitempty"` // Fields inherited from RestoreTargetInfoBase RecoveryOption RecoveryOption `json:"recoveryOption"` RestoreLocation *string `json:"restoreLocation,omitempty"` }
func (RestoreTargetInfo) MarshalJSON ¶
func (s RestoreTargetInfo) MarshalJSON() ([]byte, error)
func (*RestoreTargetInfo) UnmarshalJSON ¶
func (s *RestoreTargetInfo) UnmarshalJSON(bytes []byte) error
type RestoreTargetInfoBase ¶
type RestoreTargetInfoBase interface { }
type RestoreTargetLocationType ¶
type RestoreTargetLocationType string
const ( RestoreTargetLocationTypeAzureBlobs RestoreTargetLocationType = "AzureBlobs" RestoreTargetLocationTypeAzureFiles RestoreTargetLocationType = "AzureFiles" RestoreTargetLocationTypeInvalid RestoreTargetLocationType = "Invalid" )
func (*RestoreTargetLocationType) UnmarshalJSON ¶
func (s *RestoreTargetLocationType) UnmarshalJSON(bytes []byte) error
type SecretStoreBasedAuthCredentials ¶
type SecretStoreBasedAuthCredentials struct {
SecretStoreResource *SecretStoreResource `json:"secretStoreResource,omitempty"`
}
func (SecretStoreBasedAuthCredentials) MarshalJSON ¶
func (s SecretStoreBasedAuthCredentials) MarshalJSON() ([]byte, error)
type SecretStoreResource ¶
type SecretStoreResource struct { SecretStoreType SecretStoreType `json:"secretStoreType"` Uri *string `json:"uri,omitempty"` Value *string `json:"value,omitempty"` }
type SecretStoreType ¶
type SecretStoreType string
const ( SecretStoreTypeAzureKeyVault SecretStoreType = "AzureKeyVault" SecretStoreTypeInvalid SecretStoreType = "Invalid" )
func (*SecretStoreType) UnmarshalJSON ¶
func (s *SecretStoreType) UnmarshalJSON(bytes []byte) error
type SourceDataStoreType ¶
type SourceDataStoreType string
const ( SourceDataStoreTypeArchiveStore SourceDataStoreType = "ArchiveStore" SourceDataStoreTypeOperationalStore SourceDataStoreType = "OperationalStore" SourceDataStoreTypeSnapshotStore SourceDataStoreType = "SnapshotStore" SourceDataStoreTypeVaultStore SourceDataStoreType = "VaultStore" )
func (*SourceDataStoreType) UnmarshalJSON ¶
func (s *SourceDataStoreType) UnmarshalJSON(bytes []byte) error
type Status ¶
type Status string
const ( StatusConfiguringProtection Status = "ConfiguringProtection" StatusConfiguringProtectionFailed Status = "ConfiguringProtectionFailed" StatusProtectionConfigured Status = "ProtectionConfigured" StatusProtectionStopped Status = "ProtectionStopped" StatusSoftDeleted Status = "SoftDeleted" StatusSoftDeleting Status = "SoftDeleting" )
func (*Status) UnmarshalJSON ¶
type StopProtectionOperationOptions ¶
type StopProtectionOperationOptions struct {
XMsAuthorizationAuxiliary *string
}
func DefaultStopProtectionOperationOptions ¶
func DefaultStopProtectionOperationOptions() StopProtectionOperationOptions
func (StopProtectionOperationOptions) ToHeaders ¶
func (o StopProtectionOperationOptions) ToHeaders() *client.Headers
func (StopProtectionOperationOptions) ToOData ¶
func (o StopProtectionOperationOptions) ToOData() *odata.Query
func (StopProtectionOperationOptions) ToQuery ¶
func (o StopProtectionOperationOptions) ToQuery() *client.QueryParams
type StopProtectionRequest ¶
type StopProtectionRequest struct {
ResourceGuardOperationRequests *[]string `json:"resourceGuardOperationRequests,omitempty"`
}
type SuspendBackupRequest ¶
type SuspendBackupRequest struct {
ResourceGuardOperationRequests *[]string `json:"resourceGuardOperationRequests,omitempty"`
}
type SuspendBackupsOperationOptions ¶
type SuspendBackupsOperationOptions struct {
XMsAuthorizationAuxiliary *string
}
func DefaultSuspendBackupsOperationOptions ¶
func DefaultSuspendBackupsOperationOptions() SuspendBackupsOperationOptions
func (SuspendBackupsOperationOptions) ToHeaders ¶
func (o SuspendBackupsOperationOptions) ToHeaders() *client.Headers
func (SuspendBackupsOperationOptions) ToOData ¶
func (o SuspendBackupsOperationOptions) ToOData() *odata.Query
func (SuspendBackupsOperationOptions) ToQuery ¶
func (o SuspendBackupsOperationOptions) ToQuery() *client.QueryParams
type SyncBackupInstanceRequest ¶
type SyncBackupInstanceRequest struct {
SyncType *SyncType `json:"syncType,omitempty"`
}
type TargetDetails ¶
type TargetDetails struct { FilePrefix string `json:"filePrefix"` RestoreTargetLocationType RestoreTargetLocationType `json:"restoreTargetLocationType"` TargetResourceArmId *string `json:"targetResourceArmId,omitempty"` Url string `json:"url"` }
type TriggerBackupRequest ¶
type TriggerBackupRequest struct {
BackupRuleOptions AdHocBackupRuleOptions `json:"backupRuleOptions"`
}
type TriggerRestoreOperationOptions ¶
type TriggerRestoreOperationOptions struct {
XMsAuthorizationAuxiliary *string
}
func DefaultTriggerRestoreOperationOptions ¶
func DefaultTriggerRestoreOperationOptions() TriggerRestoreOperationOptions
func (TriggerRestoreOperationOptions) ToHeaders ¶
func (o TriggerRestoreOperationOptions) ToHeaders() *client.Headers
func (TriggerRestoreOperationOptions) ToOData ¶
func (o TriggerRestoreOperationOptions) ToOData() *odata.Query
func (TriggerRestoreOperationOptions) ToQuery ¶
func (o TriggerRestoreOperationOptions) ToQuery() *client.QueryParams
type UserFacingError ¶
type UserFacingError struct { Code *string `json:"code,omitempty"` Details *[]UserFacingError `json:"details,omitempty"` InnerError *InnerError `json:"innerError,omitempty"` IsRetryable *bool `json:"isRetryable,omitempty"` IsUserError *bool `json:"isUserError,omitempty"` Message *string `json:"message,omitempty"` Properties *map[string]string `json:"properties,omitempty"` RecommendedAction *[]string `json:"recommendedAction,omitempty"` Target *string `json:"target,omitempty"` }
type ValidateCrossRegionRestoreRequestObject ¶
type ValidateCrossRegionRestoreRequestObject struct { CrossRegionRestoreDetails CrossRegionRestoreDetails `json:"crossRegionRestoreDetails"` RestoreRequestObject AzureBackupRestoreRequest `json:"restoreRequestObject"` }
func (*ValidateCrossRegionRestoreRequestObject) UnmarshalJSON ¶
func (s *ValidateCrossRegionRestoreRequestObject) UnmarshalJSON(bytes []byte) error
type ValidateForBackupRequest ¶
type ValidateForBackupRequest struct {
BackupInstance BackupInstance `json:"backupInstance"`
}
type ValidateRestoreRequestObject ¶
type ValidateRestoreRequestObject struct {
RestoreRequestObject AzureBackupRestoreRequest `json:"restoreRequestObject"`
}
func (*ValidateRestoreRequestObject) UnmarshalJSON ¶
func (s *ValidateRestoreRequestObject) UnmarshalJSON(bytes []byte) error
type ValidationType ¶
type ValidationType string
const ( ValidationTypeDeepValidation ValidationType = "DeepValidation" ValidationTypeShallowValidation ValidationType = "ShallowValidation" )
func (*ValidationType) UnmarshalJSON ¶
func (s *ValidationType) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_backupinstance.go
- id_backupvault.go
- id_providerlocation.go
- method_adhocbackup.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- method_resumebackups.go
- method_resumeprotection.go
- method_stopprotection.go
- method_suspendbackups.go
- method_syncbackupinstance.go
- method_triggercrossregionrestore.go
- method_triggerrehydrate.go
- method_triggerrestore.go
- method_validatecrossregionrestore.go
- method_validateforbackup.go
- method_validateforrestore.go
- model_adhocbackupruleoptions.go
- model_adhocbackuptriggeroption.go
- model_authcredentials.go
- model_azurebackuprecoverypointbasedrestorerequest.go
- model_azurebackuprecoverytimebasedrestorerequest.go
- model_azurebackuprehydrationrequest.go
- model_azurebackuprestorerequest.go
- model_azurebackuprestorewithrehydrationrequest.go
- model_azureoperationalstoreparameters.go
- model_backupdatasourceparameters.go
- model_backupinstance.go
- model_backupinstanceresource.go
- model_baseresourceproperties.go
- model_blobbackupdatasourceparameters.go
- model_crossregionrestoredetails.go
- model_crossregionrestorerequestobject.go
- model_datasource.go
- model_datasourceset.go
- model_datastoreparameters.go
- model_defaultresourceproperties.go
- model_identitydetails.go
- model_innererror.go
- model_itemlevelrestorecriteria.go
- model_itemlevelrestoretargetinfo.go
- model_itempathbasedrestorecriteria.go
- model_kubernetesclusterbackupdatasourceparameters.go
- model_kubernetesclusterrestorecriteria.go
- model_kubernetesclustervaulttierrestorecriteria.go
- model_kubernetespvrestorecriteria.go
- model_kubernetesstorageclassrestorecriteria.go
- model_namespacednameresource.go
- model_operationextendedinfo.go
- model_operationjobextendedinfo.go
- model_policyinfo.go
- model_policyparameters.go
- model_protectionstatusdetails.go
- model_rangebaseditemlevelrestorecriteria.go
- model_restorefilestargetinfo.go
- model_restoretargetinfo.go
- model_restoretargetinfobase.go
- model_secretstorebasedauthcredentials.go
- model_secretstoreresource.go
- model_stopprotectionrequest.go
- model_suspendbackuprequest.go
- model_syncbackupinstancerequest.go
- model_targetdetails.go
- model_triggerbackuprequest.go
- model_userfacingerror.go
- model_validatecrossregionrestorerequestobject.go
- model_validateforbackuprequest.go
- model_validaterestorerequestobject.go
- predicates.go
- version.go