Documentation ¶
Index ¶
- func PossibleValuesForCurrentProtectionState() []string
- func PossibleValuesForDataStoreTypes() []string
- func PossibleValuesForSecretStoreType() []string
- func PossibleValuesForStatus() []string
- func PossibleValuesForValidationType() []string
- func ValidateBackupVaultID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateDeletedBackupInstanceID(input interface{}, key string) (warnings []string, errors []error)
- type AuthCredentials
- type AzureOperationalStoreParameters
- type BackupVaultId
- type CurrentProtectionState
- type DataStoreParameters
- type DataStoreTypes
- type Datasource
- type DatasourceSet
- type DeletedBackupInstance
- type DeletedBackupInstanceId
- func NewDeletedBackupInstanceID(subscriptionId string, resourceGroupName string, backupVaultName string, ...) DeletedBackupInstanceId
- func ParseDeletedBackupInstanceID(input string) (*DeletedBackupInstanceId, error)
- func ParseDeletedBackupInstanceIDInsensitively(input string) (*DeletedBackupInstanceId, error)
- type DeletedBackupInstanceResource
- type DeletedBackupInstanceResourceOperationPredicate
- type DeletedBackupInstancesClient
- func (c DeletedBackupInstancesClient) Get(ctx context.Context, id DeletedBackupInstanceId) (result GetOperationResponse, err error)
- func (c DeletedBackupInstancesClient) List(ctx context.Context, id BackupVaultId) (resp ListOperationResponse, err error)
- func (c DeletedBackupInstancesClient) ListComplete(ctx context.Context, id BackupVaultId) (ListCompleteResult, error)
- func (c DeletedBackupInstancesClient) ListCompleteMatchingPredicate(ctx context.Context, id BackupVaultId, ...) (resp ListCompleteResult, err error)
- func (c DeletedBackupInstancesClient) Undelete(ctx context.Context, id DeletedBackupInstanceId) (result UndeleteOperationResponse, err error)
- func (c DeletedBackupInstancesClient) UndeleteThenPoll(ctx context.Context, id DeletedBackupInstanceId) error
- type DeletionInfo
- type GetOperationResponse
- type InnerError
- type ListCompleteResult
- type ListOperationResponse
- type PolicyInfo
- type PolicyParameters
- type ProtectionStatusDetails
- type SecretStoreBasedAuthCredentials
- type SecretStoreResource
- type SecretStoreType
- type Status
- type UndeleteOperationResponse
- type UserFacingError
- type ValidationType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForCurrentProtectionState ¶
func PossibleValuesForCurrentProtectionState() []string
func PossibleValuesForDataStoreTypes ¶
func PossibleValuesForDataStoreTypes() []string
func PossibleValuesForSecretStoreType ¶
func PossibleValuesForSecretStoreType() []string
func PossibleValuesForStatus ¶
func PossibleValuesForStatus() []string
func PossibleValuesForValidationType ¶
func PossibleValuesForValidationType() []string
func ValidateBackupVaultID ¶
ValidateBackupVaultID checks that 'input' can be parsed as a Backup Vault ID
func ValidateDeletedBackupInstanceID ¶
func ValidateDeletedBackupInstanceID(input interface{}, key string) (warnings []string, errors []error)
ValidateDeletedBackupInstanceID checks that 'input' can be parsed as a Deleted Backup Instance ID
Types ¶
type AuthCredentials ¶
type AuthCredentials interface { }
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 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) 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 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 DeletedBackupInstance ¶
type DeletedBackupInstance struct { CurrentProtectionState *CurrentProtectionState `json:"currentProtectionState,omitempty"` DataSourceInfo Datasource `json:"dataSourceInfo"` DataSourceSetInfo *DatasourceSet `json:"dataSourceSetInfo,omitempty"` DatasourceAuthCredentials *AuthCredentials `json:"datasourceAuthCredentials,omitempty"` DeletionInfo *DeletionInfo `json:"deletionInfo,omitempty"` 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 (*DeletedBackupInstance) UnmarshalJSON ¶
func (s *DeletedBackupInstance) UnmarshalJSON(bytes []byte) error
type DeletedBackupInstanceId ¶
type DeletedBackupInstanceId struct { SubscriptionId string ResourceGroupName string BackupVaultName string DeletedBackupInstanceName string }
DeletedBackupInstanceId is a struct representing the Resource ID for a Deleted Backup Instance
func NewDeletedBackupInstanceID ¶
func NewDeletedBackupInstanceID(subscriptionId string, resourceGroupName string, backupVaultName string, deletedBackupInstanceName string) DeletedBackupInstanceId
NewDeletedBackupInstanceID returns a new DeletedBackupInstanceId struct
func ParseDeletedBackupInstanceID ¶
func ParseDeletedBackupInstanceID(input string) (*DeletedBackupInstanceId, error)
ParseDeletedBackupInstanceID parses 'input' into a DeletedBackupInstanceId
func ParseDeletedBackupInstanceIDInsensitively ¶
func ParseDeletedBackupInstanceIDInsensitively(input string) (*DeletedBackupInstanceId, error)
ParseDeletedBackupInstanceIDInsensitively parses 'input' case-insensitively into a DeletedBackupInstanceId note: this method should only be used for API response data and not user input
func (DeletedBackupInstanceId) ID ¶
func (id DeletedBackupInstanceId) ID() string
ID returns the formatted Deleted Backup Instance ID
func (DeletedBackupInstanceId) Segments ¶
func (id DeletedBackupInstanceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Deleted Backup Instance ID
func (DeletedBackupInstanceId) String ¶
func (id DeletedBackupInstanceId) String() string
String returns a human-readable description of this Deleted Backup Instance ID
type DeletedBackupInstanceResource ¶
type DeletedBackupInstanceResource struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *DeletedBackupInstance `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type DeletedBackupInstanceResourceOperationPredicate ¶
type DeletedBackupInstanceResourceOperationPredicate struct { Id *string Name *string Type *string }
func (DeletedBackupInstanceResourceOperationPredicate) Matches ¶
func (p DeletedBackupInstanceResourceOperationPredicate) Matches(input DeletedBackupInstanceResource) bool
type DeletedBackupInstancesClient ¶
type DeletedBackupInstancesClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewDeletedBackupInstancesClientWithBaseURI ¶
func NewDeletedBackupInstancesClientWithBaseURI(endpoint string) DeletedBackupInstancesClient
func (DeletedBackupInstancesClient) Get ¶
func (c DeletedBackupInstancesClient) Get(ctx context.Context, id DeletedBackupInstanceId) (result GetOperationResponse, err error)
Get ...
func (DeletedBackupInstancesClient) List ¶
func (c DeletedBackupInstancesClient) List(ctx context.Context, id BackupVaultId) (resp ListOperationResponse, err error)
List ...
func (DeletedBackupInstancesClient) ListComplete ¶
func (c DeletedBackupInstancesClient) ListComplete(ctx context.Context, id BackupVaultId) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (DeletedBackupInstancesClient) ListCompleteMatchingPredicate ¶
func (c DeletedBackupInstancesClient) ListCompleteMatchingPredicate(ctx context.Context, id BackupVaultId, predicate DeletedBackupInstanceResourceOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (DeletedBackupInstancesClient) Undelete ¶
func (c DeletedBackupInstancesClient) Undelete(ctx context.Context, id DeletedBackupInstanceId) (result UndeleteOperationResponse, err error)
Undelete ...
func (DeletedBackupInstancesClient) UndeleteThenPoll ¶
func (c DeletedBackupInstancesClient) UndeleteThenPoll(ctx context.Context, id DeletedBackupInstanceId) error
UndeleteThenPoll performs Undelete then polls until it's completed
type DeletionInfo ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *DeletedBackupInstanceResource }
type InnerError ¶
type InnerError struct { AdditionalInfo *map[string]string `json:"additionalInfo,omitempty"` Code *string `json:"code,omitempty"` EmbeddedInnerError *InnerError `json:"embeddedInnerError,omitempty"` }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []DeletedBackupInstanceResource
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]DeletedBackupInstanceResource // 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 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 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 Status ¶
type Status string
const ( StatusConfiguringProtection Status = "ConfiguringProtection" StatusConfiguringProtectionFailed Status = "ConfiguringProtectionFailed" StatusProtectionConfigured Status = "ProtectionConfigured" StatusProtectionStopped Status = "ProtectionStopped" StatusSoftDeleted Status = "SoftDeleted" StatusSoftDeleting Status = "SoftDeleting" )
type UndeleteOperationResponse ¶
type UndeleteOperationResponse 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 ValidationType ¶
type ValidationType string
const ( ValidationTypeDeepValidation ValidationType = "DeepValidation" ValidationTypeShallowValidation ValidationType = "ShallowValidation" )
Source Files ¶
- client.go
- constants.go
- id_backupvault.go
- id_deletedbackupinstance.go
- method_get_autorest.go
- method_list_autorest.go
- method_undelete_autorest.go
- model_authcredentials.go
- model_azureoperationalstoreparameters.go
- model_datasource.go
- model_datasourceset.go
- model_datastoreparameters.go
- model_deletedbackupinstance.go
- model_deletedbackupinstanceresource.go
- model_deletioninfo.go
- model_innererror.go
- model_policyinfo.go
- model_policyparameters.go
- model_protectionstatusdetails.go
- model_secretstorebasedauthcredentials.go
- model_secretstoreresource.go
- model_userfacingerror.go
- predicates.go
- version.go