Documentation ¶
Index ¶
- func PossibleValuesForAlertsState() []string
- func PossibleValuesForCrossSubscriptionRestoreState() []string
- func PossibleValuesForImmutabilityState() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForResourceMoveState() []string
- func PossibleValuesForSoftDeleteState() []string
- func PossibleValuesForStorageSettingStoreTypes() []string
- func PossibleValuesForStorageSettingTypes() []string
- func ValidateBackupVaultID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateProviderLocationID(input interface{}, key string) (warnings []string, errors []error)
- type AlertsState
- type AzureMonitorAlertSettings
- type BackupVault
- type BackupVaultId
- type BackupVaultResource
- type BackupVaultResourceOperationPredicate
- type BackupVaultsClient
- func (c BackupVaultsClient) CheckNameAvailability(ctx context.Context, id ProviderLocationId, input CheckNameAvailabilityRequest) (result CheckNameAvailabilityOperationResponse, err error)
- func (c BackupVaultsClient) CreateOrUpdate(ctx context.Context, id BackupVaultId, input BackupVaultResource) (result CreateOrUpdateOperationResponse, err error)
- func (c BackupVaultsClient) CreateOrUpdateThenPoll(ctx context.Context, id BackupVaultId, input BackupVaultResource) error
- func (c BackupVaultsClient) Delete(ctx context.Context, id BackupVaultId) (result DeleteOperationResponse, err error)
- func (c BackupVaultsClient) DeleteThenPoll(ctx context.Context, id BackupVaultId) error
- func (c BackupVaultsClient) Get(ctx context.Context, id BackupVaultId) (result GetOperationResponse, err error)
- func (c BackupVaultsClient) GetInResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp GetInResourceGroupOperationResponse, err error)
- func (c BackupVaultsClient) GetInResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (GetInResourceGroupCompleteResult, error)
- func (c BackupVaultsClient) GetInResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (resp GetInResourceGroupCompleteResult, err error)
- func (c BackupVaultsClient) GetInSubscription(ctx context.Context, id commonids.SubscriptionId) (resp GetInSubscriptionOperationResponse, err error)
- func (c BackupVaultsClient) GetInSubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (GetInSubscriptionCompleteResult, error)
- func (c BackupVaultsClient) GetInSubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (resp GetInSubscriptionCompleteResult, err error)
- func (c BackupVaultsClient) Update(ctx context.Context, id BackupVaultId, input PatchResourceRequestInput) (result UpdateOperationResponse, err error)
- func (c BackupVaultsClient) UpdateThenPoll(ctx context.Context, id BackupVaultId, input PatchResourceRequestInput) error
- type CheckNameAvailabilityOperationResponse
- type CheckNameAvailabilityRequest
- type CheckNameAvailabilityResult
- type CreateOrUpdateOperationResponse
- type CrossSubscriptionRestoreSettings
- type CrossSubscriptionRestoreState
- type DeleteOperationResponse
- type DppIdentityDetails
- type FeatureSettings
- type GetInResourceGroupCompleteResult
- type GetInResourceGroupOperationResponse
- type GetInSubscriptionCompleteResult
- type GetInSubscriptionOperationResponse
- type GetOperationResponse
- type ImmutabilitySettings
- type ImmutabilityState
- type MonitoringSettings
- type PatchBackupVaultInput
- type PatchResourceRequestInput
- type ProviderLocationId
- type ProvisioningState
- type ResourceMoveDetails
- type ResourceMoveState
- type SecuritySettings
- type SoftDeleteSettings
- type SoftDeleteState
- type StorageSetting
- type StorageSettingStoreTypes
- type StorageSettingTypes
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAlertsState ¶
func PossibleValuesForAlertsState() []string
func PossibleValuesForCrossSubscriptionRestoreState ¶
func PossibleValuesForCrossSubscriptionRestoreState() []string
func PossibleValuesForImmutabilityState ¶
func PossibleValuesForImmutabilityState() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForResourceMoveState ¶
func PossibleValuesForResourceMoveState() []string
func PossibleValuesForSoftDeleteState ¶
func PossibleValuesForSoftDeleteState() []string
func PossibleValuesForStorageSettingStoreTypes ¶
func PossibleValuesForStorageSettingStoreTypes() []string
func PossibleValuesForStorageSettingTypes ¶
func PossibleValuesForStorageSettingTypes() []string
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 AlertsState ¶
type AlertsState string
const ( AlertsStateDisabled AlertsState = "Disabled" AlertsStateEnabled AlertsState = "Enabled" )
type AzureMonitorAlertSettings ¶
type AzureMonitorAlertSettings struct {
AlertsForAllJobFailures *AlertsState `json:"alertsForAllJobFailures,omitempty"`
}
type BackupVault ¶
type BackupVault struct { FeatureSettings *FeatureSettings `json:"featureSettings,omitempty"` IsVaultProtectedByResourceGuard *bool `json:"isVaultProtectedByResourceGuard,omitempty"` MonitoringSettings *MonitoringSettings `json:"monitoringSettings,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` ResourceMoveDetails *ResourceMoveDetails `json:"resourceMoveDetails,omitempty"` ResourceMoveState *ResourceMoveState `json:"resourceMoveState,omitempty"` SecuritySettings *SecuritySettings `json:"securitySettings,omitempty"` StorageSettings []StorageSetting `json:"storageSettings"` }
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 BackupVaultResource ¶
type BackupVaultResource struct { ETag *string `json:"eTag,omitempty"` Id *string `json:"id,omitempty"` Identity *DppIdentityDetails `json:"identity,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties BackupVault `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type BackupVaultResourceOperationPredicate ¶
type BackupVaultResourceOperationPredicate struct { ETag *string Id *string Location *string Name *string Type *string }
func (BackupVaultResourceOperationPredicate) Matches ¶
func (p BackupVaultResourceOperationPredicate) Matches(input BackupVaultResource) bool
type BackupVaultsClient ¶
func NewBackupVaultsClientWithBaseURI ¶
func NewBackupVaultsClientWithBaseURI(endpoint string) BackupVaultsClient
func (BackupVaultsClient) CheckNameAvailability ¶
func (c BackupVaultsClient) CheckNameAvailability(ctx context.Context, id ProviderLocationId, input CheckNameAvailabilityRequest) (result CheckNameAvailabilityOperationResponse, err error)
CheckNameAvailability ...
func (BackupVaultsClient) CreateOrUpdate ¶
func (c BackupVaultsClient) CreateOrUpdate(ctx context.Context, id BackupVaultId, input BackupVaultResource) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (BackupVaultsClient) CreateOrUpdateThenPoll ¶
func (c BackupVaultsClient) CreateOrUpdateThenPoll(ctx context.Context, id BackupVaultId, input BackupVaultResource) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (BackupVaultsClient) Delete ¶
func (c BackupVaultsClient) Delete(ctx context.Context, id BackupVaultId) (result DeleteOperationResponse, err error)
Delete ...
func (BackupVaultsClient) DeleteThenPoll ¶
func (c BackupVaultsClient) DeleteThenPoll(ctx context.Context, id BackupVaultId) error
DeleteThenPoll performs Delete then polls until it's completed
func (BackupVaultsClient) Get ¶
func (c BackupVaultsClient) Get(ctx context.Context, id BackupVaultId) (result GetOperationResponse, err error)
Get ...
func (BackupVaultsClient) GetInResourceGroup ¶
func (c BackupVaultsClient) GetInResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp GetInResourceGroupOperationResponse, err error)
GetInResourceGroup ...
func (BackupVaultsClient) GetInResourceGroupComplete ¶
func (c BackupVaultsClient) GetInResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (GetInResourceGroupCompleteResult, error)
GetInResourceGroupComplete retrieves all of the results into a single object
func (BackupVaultsClient) GetInResourceGroupCompleteMatchingPredicate ¶
func (c BackupVaultsClient) GetInResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate BackupVaultResourceOperationPredicate) (resp GetInResourceGroupCompleteResult, err error)
GetInResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (BackupVaultsClient) GetInSubscription ¶
func (c BackupVaultsClient) GetInSubscription(ctx context.Context, id commonids.SubscriptionId) (resp GetInSubscriptionOperationResponse, err error)
GetInSubscription ...
func (BackupVaultsClient) GetInSubscriptionComplete ¶
func (c BackupVaultsClient) GetInSubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (GetInSubscriptionCompleteResult, error)
GetInSubscriptionComplete retrieves all of the results into a single object
func (BackupVaultsClient) GetInSubscriptionCompleteMatchingPredicate ¶
func (c BackupVaultsClient) GetInSubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate BackupVaultResourceOperationPredicate) (resp GetInSubscriptionCompleteResult, err error)
GetInSubscriptionCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (BackupVaultsClient) Update ¶
func (c BackupVaultsClient) Update(ctx context.Context, id BackupVaultId, input PatchResourceRequestInput) (result UpdateOperationResponse, err error)
Update ...
func (BackupVaultsClient) UpdateThenPoll ¶
func (c BackupVaultsClient) UpdateThenPoll(ctx context.Context, id BackupVaultId, input PatchResourceRequestInput) error
UpdateThenPoll performs Update then polls until it's completed
type CheckNameAvailabilityOperationResponse ¶
type CheckNameAvailabilityOperationResponse struct { HttpResponse *http.Response Model *CheckNameAvailabilityResult }
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type CrossSubscriptionRestoreSettings ¶
type CrossSubscriptionRestoreSettings struct {
State *CrossSubscriptionRestoreState `json:"state,omitempty"`
}
type CrossSubscriptionRestoreState ¶
type CrossSubscriptionRestoreState string
const ( CrossSubscriptionRestoreStateDisabled CrossSubscriptionRestoreState = "Disabled" CrossSubscriptionRestoreStateEnabled CrossSubscriptionRestoreState = "Enabled" CrossSubscriptionRestoreStatePermanentlyDisabled CrossSubscriptionRestoreState = "PermanentlyDisabled" )
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DppIdentityDetails ¶
type FeatureSettings ¶
type FeatureSettings struct {
CrossSubscriptionRestoreSettings *CrossSubscriptionRestoreSettings `json:"crossSubscriptionRestoreSettings,omitempty"`
}
type GetInResourceGroupCompleteResult ¶
type GetInResourceGroupCompleteResult struct {
Items []BackupVaultResource
}
type GetInResourceGroupOperationResponse ¶
type GetInResourceGroupOperationResponse struct { HttpResponse *http.Response Model *[]BackupVaultResource // contains filtered or unexported fields }
func (GetInResourceGroupOperationResponse) HasMore ¶
func (r GetInResourceGroupOperationResponse) HasMore() bool
func (GetInResourceGroupOperationResponse) LoadMore ¶
func (r GetInResourceGroupOperationResponse) LoadMore(ctx context.Context) (resp GetInResourceGroupOperationResponse, err error)
type GetInSubscriptionCompleteResult ¶
type GetInSubscriptionCompleteResult struct {
Items []BackupVaultResource
}
type GetInSubscriptionOperationResponse ¶
type GetInSubscriptionOperationResponse struct { HttpResponse *http.Response Model *[]BackupVaultResource // contains filtered or unexported fields }
func (GetInSubscriptionOperationResponse) HasMore ¶
func (r GetInSubscriptionOperationResponse) HasMore() bool
func (GetInSubscriptionOperationResponse) LoadMore ¶
func (r GetInSubscriptionOperationResponse) LoadMore(ctx context.Context) (resp GetInSubscriptionOperationResponse, err error)
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *BackupVaultResource }
type ImmutabilitySettings ¶
type ImmutabilitySettings struct {
State *ImmutabilityState `json:"state,omitempty"`
}
type ImmutabilityState ¶
type ImmutabilityState string
const ( ImmutabilityStateDisabled ImmutabilityState = "Disabled" ImmutabilityStateLocked ImmutabilityState = "Locked" ImmutabilityStateUnlocked ImmutabilityState = "Unlocked" )
type MonitoringSettings ¶
type MonitoringSettings struct {
AzureMonitorAlertSettings *AzureMonitorAlertSettings `json:"azureMonitorAlertSettings,omitempty"`
}
type PatchBackupVaultInput ¶
type PatchBackupVaultInput struct { FeatureSettings *FeatureSettings `json:"featureSettings,omitempty"` MonitoringSettings *MonitoringSettings `json:"monitoringSettings,omitempty"` SecuritySettings *SecuritySettings `json:"securitySettings,omitempty"` }
type PatchResourceRequestInput ¶
type PatchResourceRequestInput struct { Identity *DppIdentityDetails `json:"identity,omitempty"` Properties *PatchBackupVaultInput `json:"properties,omitempty"` Tags *map[string]string `json:"tags,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) 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 ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateProvisioning ProvisioningState = "Provisioning" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUnknown ProvisioningState = "Unknown" ProvisioningStateUpdating ProvisioningState = "Updating" )
type ResourceMoveDetails ¶
type ResourceMoveDetails struct { CompletionTimeUtc *string `json:"completionTimeUtc,omitempty"` OperationId *string `json:"operationId,omitempty"` SourceResourcePath *string `json:"sourceResourcePath,omitempty"` StartTimeUtc *string `json:"startTimeUtc,omitempty"` TargetResourcePath *string `json:"targetResourcePath,omitempty"` }
type ResourceMoveState ¶
type ResourceMoveState string
const ( ResourceMoveStateCommitFailed ResourceMoveState = "CommitFailed" ResourceMoveStateCommitTimedout ResourceMoveState = "CommitTimedout" ResourceMoveStateCriticalFailure ResourceMoveState = "CriticalFailure" ResourceMoveStateFailed ResourceMoveState = "Failed" ResourceMoveStateInProgress ResourceMoveState = "InProgress" ResourceMoveStateMoveSucceeded ResourceMoveState = "MoveSucceeded" ResourceMoveStatePartialSuccess ResourceMoveState = "PartialSuccess" ResourceMoveStatePrepareFailed ResourceMoveState = "PrepareFailed" ResourceMoveStatePrepareTimedout ResourceMoveState = "PrepareTimedout" ResourceMoveStateUnknown ResourceMoveState = "Unknown" )
type SecuritySettings ¶
type SecuritySettings struct { ImmutabilitySettings *ImmutabilitySettings `json:"immutabilitySettings,omitempty"` SoftDeleteSettings *SoftDeleteSettings `json:"softDeleteSettings,omitempty"` }
type SoftDeleteSettings ¶
type SoftDeleteSettings struct { RetentionDurationInDays *float64 `json:"retentionDurationInDays,omitempty"` State *SoftDeleteState `json:"state,omitempty"` }
type SoftDeleteState ¶
type SoftDeleteState string
const ( SoftDeleteStateAlwaysOn SoftDeleteState = "AlwaysOn" SoftDeleteStateOff SoftDeleteState = "Off" SoftDeleteStateOn SoftDeleteState = "On" )
type StorageSetting ¶
type StorageSetting struct { DatastoreType *StorageSettingStoreTypes `json:"datastoreType,omitempty"` Type *StorageSettingTypes `json:"type,omitempty"` }
type StorageSettingStoreTypes ¶
type StorageSettingStoreTypes string
const ( StorageSettingStoreTypesArchiveStore StorageSettingStoreTypes = "ArchiveStore" StorageSettingStoreTypesOperationalStore StorageSettingStoreTypes = "OperationalStore" StorageSettingStoreTypesVaultStore StorageSettingStoreTypes = "VaultStore" )
type StorageSettingTypes ¶
type StorageSettingTypes string
const ( StorageSettingTypesGeoRedundant StorageSettingTypes = "GeoRedundant" StorageSettingTypesLocallyRedundant StorageSettingTypes = "LocallyRedundant" StorageSettingTypesZoneRedundant StorageSettingTypes = "ZoneRedundant" )
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
Source Files ¶
- client.go
- constants.go
- id_backupvault.go
- id_providerlocation.go
- method_checknameavailability_autorest.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_getinresourcegroup_autorest.go
- method_getinsubscription_autorest.go
- method_update_autorest.go
- model_azuremonitoralertsettings.go
- model_backupvault.go
- model_backupvaultresource.go
- model_checknameavailabilityrequest.go
- model_checknameavailabilityresult.go
- model_crosssubscriptionrestoresettings.go
- model_dppidentitydetails.go
- model_featuresettings.go
- model_immutabilitysettings.go
- model_monitoringsettings.go
- model_patchbackupvaultinput.go
- model_patchresourcerequestinput.go
- model_resourcemovedetails.go
- model_securitysettings.go
- model_softdeletesettings.go
- model_storagesetting.go
- predicates.go
- version.go