Documentation ¶
Index ¶
- func PossibleValuesForCurrentProtectionState() []string
- func PossibleValuesForDataStoreTypes() []string
- func PossibleValuesForRecoveryOption() []string
- func PossibleValuesForRehydrationPriority() []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)
- type AdHocBackupRuleOptions
- type AdhocBackupOperationResponse
- type AdhocBackupTriggerOption
- type AuthCredentials
- type AzureBackupRecoveryPointBasedRestoreRequest
- type AzureBackupRecoveryTimeBasedRestoreRequest
- type AzureBackupRehydrationRequest
- type AzureBackupRestoreRequest
- type AzureBackupRestoreWithRehydrationRequest
- type AzureOperationalStoreParameters
- 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) (result DeleteOperationResponse, err error)
- func (c BackupInstancesClient) DeleteThenPoll(ctx context.Context, id BackupInstanceId) error
- func (c BackupInstancesClient) Get(ctx context.Context, id BackupInstanceId) (result GetOperationResponse, err error)
- func (c BackupInstancesClient) List(ctx context.Context, id BackupVaultId) (resp ListOperationResponse, err error)
- func (c BackupInstancesClient) ListComplete(ctx context.Context, id BackupVaultId) (ListCompleteResult, error)
- func (c BackupInstancesClient) ListCompleteMatchingPredicate(ctx context.Context, id BackupVaultId, ...) (resp 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) (result StopProtectionOperationResponse, err error)
- func (c BackupInstancesClient) StopProtectionThenPoll(ctx context.Context, id BackupInstanceId) error
- func (c BackupInstancesClient) SuspendBackups(ctx context.Context, id BackupInstanceId) (result SuspendBackupsOperationResponse, err error)
- func (c BackupInstancesClient) SuspendBackupsThenPoll(ctx context.Context, id BackupInstanceId) 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) 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) 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 CreateOrUpdateOperationResponse
- type CurrentProtectionState
- type DataStoreParameters
- type DataStoreTypes
- type Datasource
- type DatasourceSet
- type DeleteOperationResponse
- type GetOperationResponse
- type InnerError
- type ItemLevelRestoreCriteria
- type ItemLevelRestoreTargetInfo
- type KubernetesPVRestoreCriteria
- type KubernetesStorageClassRestoreCriteria
- type ListCompleteResult
- type ListOperationResponse
- type OperationExtendedInfo
- type OperationJobExtendedInfo
- type PolicyInfo
- type PolicyParameters
- type ProtectionStatusDetails
- type RangeBasedItemLevelRestoreCriteria
- type RecoveryOption
- type RehydrationPriority
- type RestoreFilesTargetInfo
- type RestoreTargetInfo
- type RestoreTargetInfoBase
- type RestoreTargetLocationType
- type ResumeBackupsOperationResponse
- type ResumeProtectionOperationResponse
- type SecretStoreBasedAuthCredentials
- type SecretStoreResource
- type SecretStoreType
- type SourceDataStoreType
- type Status
- type StopProtectionOperationResponse
- type SuspendBackupsOperationResponse
- type SyncBackupInstanceOperationResponse
- type SyncBackupInstanceRequest
- type SyncType
- type TargetDetails
- type TriggerBackupRequest
- type TriggerRehydrateOperationResponse
- type TriggerRestoreOperationResponse
- type UserFacingError
- 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 PossibleValuesForRecoveryOption ¶
func PossibleValuesForRecoveryOption() []string
func PossibleValuesForRehydrationPriority ¶
func PossibleValuesForRehydrationPriority() []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
Types ¶
type AdHocBackupRuleOptions ¶
type AdHocBackupRuleOptions struct { RuleName string `json:"ruleName"` TriggerOption AdhocBackupTriggerOption `json:"triggerOption"` }
type AdhocBackupOperationResponse ¶
type AdhocBackupOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
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 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 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 ¶ added in v0.20221116.1175352
type AzureBackupRestoreWithRehydrationRequest struct { RecoveryPointId string `json:"recoveryPointId"` RehydrationPriority RehydrationPriority `json:"rehydrationPriority"` RehydrationRetentionDuration string `json:"rehydrationRetentionDuration"` // Fields inherited from AzureBackupRestoreRequest RestoreTargetInfo RestoreTargetInfoBase `json:"restoreTargetInfo"` SourceDataStoreType SourceDataStoreType `json:"sourceDataStoreType"` SourceResourceId *string `json:"sourceResourceId,omitempty"` }
func (AzureBackupRestoreWithRehydrationRequest) MarshalJSON ¶ added in v0.20221116.1175352
func (s AzureBackupRestoreWithRehydrationRequest) MarshalJSON() ([]byte, error)
func (*AzureBackupRestoreWithRehydrationRequest) UnmarshalJSON ¶ added in v0.20221116.1175352
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 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"` ObjectType string `json:"objectType"` PolicyInfo PolicyInfo `json:"policyInfo"` ProtectionErrorDetails *UserFacingError `json:"protectionErrorDetails,omitempty"` ProtectionStatus *ProtectionStatusDetails `json:"protectionStatus,omitempty"` ProvisioningState *string `json:"provisioningState,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 VaultName string BackupInstanceName string }
BackupInstanceId is a struct representing the Resource ID for a Backup Instance
func NewBackupInstanceID ¶
func NewBackupInstanceID(subscriptionId string, resourceGroupName string, vaultName 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) 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 autorest.Client // contains filtered or unexported fields }
func NewBackupInstancesClientWithBaseURI ¶
func NewBackupInstancesClientWithBaseURI(endpoint string) BackupInstancesClient
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) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (BackupInstancesClient) CreateOrUpdateThenPoll ¶
func (c BackupInstancesClient) CreateOrUpdateThenPoll(ctx context.Context, id BackupInstanceId, input BackupInstanceResource) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (BackupInstancesClient) Delete ¶
func (c BackupInstancesClient) Delete(ctx context.Context, id BackupInstanceId) (result DeleteOperationResponse, err error)
Delete ...
func (BackupInstancesClient) DeleteThenPoll ¶
func (c BackupInstancesClient) DeleteThenPoll(ctx context.Context, id BackupInstanceId) 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) (resp ListOperationResponse, err error)
List ...
func (BackupInstancesClient) ListComplete ¶
func (c BackupInstancesClient) ListComplete(ctx context.Context, id BackupVaultId) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (BackupInstancesClient) ListCompleteMatchingPredicate ¶
func (c BackupInstancesClient) ListCompleteMatchingPredicate(ctx context.Context, id BackupVaultId, predicate BackupInstanceResourceOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied 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) (result StopProtectionOperationResponse, err error)
StopProtection ...
func (BackupInstancesClient) StopProtectionThenPoll ¶
func (c BackupInstancesClient) StopProtectionThenPoll(ctx context.Context, id BackupInstanceId) error
StopProtectionThenPoll performs StopProtection then polls until it's completed
func (BackupInstancesClient) SuspendBackups ¶
func (c BackupInstancesClient) SuspendBackups(ctx context.Context, id BackupInstanceId) (result SuspendBackupsOperationResponse, err error)
SuspendBackups ...
func (BackupInstancesClient) SuspendBackupsThenPoll ¶
func (c BackupInstancesClient) SuspendBackupsThenPoll(ctx context.Context, id BackupInstanceId) 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) 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) (result TriggerRestoreOperationResponse, err error)
TriggerRestore ...
func (BackupInstancesClient) TriggerRestoreThenPoll ¶
func (c BackupInstancesClient) TriggerRestoreThenPoll(ctx context.Context, id BackupInstanceId, input AzureBackupRestoreRequest) error
TriggerRestoreThenPoll performs TriggerRestore 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, vaultName 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) 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 CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
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" )
type DataStoreParameters ¶
type DataStoreParameters interface { }
type DataStoreTypes ¶
type DataStoreTypes string
const ( DataStoreTypesArchiveStore DataStoreTypes = "ArchiveStore" DataStoreTypesOperationalStore DataStoreTypes = "OperationalStore" DataStoreTypesVaultStore DataStoreTypes = "VaultStore" )
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"` ResourceType *string `json:"resourceType,omitempty"` ResourceUri *string `json:"resourceUri,omitempty"` }
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"` ResourceType *string `json:"resourceType,omitempty"` ResourceUri *string `json:"resourceUri,omitempty"` }
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *BackupInstanceResource }
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 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 {
Items []BackupInstanceResource
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]BackupInstanceResource // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
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 PolicyInfo ¶
type PolicyInfo struct { PolicyId string `json:"policyId"` PolicyParameters *PolicyParameters `json:"policyParameters,omitempty"` PolicyVersion *string `json:"policyVersion,omitempty"` }
type PolicyParameters ¶
type PolicyParameters struct {
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 RangeBasedItemLevelRestoreCriteria ¶
type RangeBasedItemLevelRestoreCriteria struct { MaxMatchingValue *string `json:"maxMatchingValue,omitempty"` MinMatchingValue *string `json:"minMatchingValue,omitempty"` }
func (RangeBasedItemLevelRestoreCriteria) MarshalJSON ¶
func (s RangeBasedItemLevelRestoreCriteria) MarshalJSON() ([]byte, error)
type RecoveryOption ¶
type RecoveryOption string
const (
RecoveryOptionFailIfExists RecoveryOption = "FailIfExists"
)
type RehydrationPriority ¶
type RehydrationPriority string
const ( RehydrationPriorityHigh RehydrationPriority = "High" RehydrationPriorityInvalid RehydrationPriority = "Invalid" RehydrationPriorityStandard RehydrationPriority = "Standard" )
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" )
type ResumeBackupsOperationResponse ¶
type ResumeBackupsOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type ResumeProtectionOperationResponse ¶
type ResumeProtectionOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
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" )
type SourceDataStoreType ¶
type SourceDataStoreType string
const ( SourceDataStoreTypeArchiveStore SourceDataStoreType = "ArchiveStore" SourceDataStoreTypeSnapshotStore SourceDataStoreType = "SnapshotStore" SourceDataStoreTypeVaultStore SourceDataStoreType = "VaultStore" )
type Status ¶
type Status string
const ( StatusConfiguringProtection Status = "ConfiguringProtection" StatusConfiguringProtectionFailed Status = "ConfiguringProtectionFailed" StatusProtectionConfigured Status = "ProtectionConfigured" StatusProtectionStopped Status = "ProtectionStopped" StatusSoftDeleted Status = "SoftDeleted" StatusSoftDeleting Status = "SoftDeleting" )
type StopProtectionOperationResponse ¶
type StopProtectionOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type SuspendBackupsOperationResponse ¶
type SuspendBackupsOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type SyncBackupInstanceOperationResponse ¶
type SyncBackupInstanceOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type SyncBackupInstanceRequest ¶
type SyncBackupInstanceRequest struct {
SyncType *SyncType `json:"syncType,omitempty"`
}
type TargetDetails ¶
type TargetDetails struct { FilePrefix string `json:"filePrefix"` RestoreTargetLocationType RestoreTargetLocationType `json:"restoreTargetLocationType"` Url string `json:"url"` }
type TriggerBackupRequest ¶
type TriggerBackupRequest struct {
BackupRuleOptions AdHocBackupRuleOptions `json:"backupRuleOptions"`
}
type TriggerRehydrateOperationResponse ¶
type TriggerRehydrateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type TriggerRestoreOperationResponse ¶
type TriggerRestoreOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
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 ValidateForBackupOperationResponse ¶
type ValidateForBackupOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type ValidateForBackupRequest ¶
type ValidateForBackupRequest struct {
BackupInstance BackupInstance `json:"backupInstance"`
}
type ValidateForRestoreOperationResponse ¶
type ValidateForRestoreOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
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" )
Source Files ¶
- client.go
- constants.go
- id_backupinstance.go
- id_backupvault.go
- method_adhocbackup_autorest.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_list_autorest.go
- method_resumebackups_autorest.go
- method_resumeprotection_autorest.go
- method_stopprotection_autorest.go
- method_suspendbackups_autorest.go
- method_syncbackupinstance_autorest.go
- method_triggerrehydrate_autorest.go
- method_triggerrestore_autorest.go
- method_validateforbackup_autorest.go
- method_validateforrestore_autorest.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_backupinstance.go
- model_backupinstanceresource.go
- model_datasource.go
- model_datasourceset.go
- model_datastoreparameters.go
- model_innererror.go
- model_itemlevelrestorecriteria.go
- model_itemlevelrestoretargetinfo.go
- model_kubernetespvrestorecriteria.go
- model_kubernetesstorageclassrestorecriteria.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_syncbackupinstancerequest.go
- model_targetdetails.go
- model_triggerbackuprequest.go
- model_userfacingerror.go
- model_validateforbackuprequest.go
- model_validaterestorerequestobject.go
- predicates.go
- version.go