Documentation ¶
Index ¶
- func PossibleValuesForAlertsState() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForResourceMoveState() []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) Get(ctx context.Context, id BackupVaultId) (result GetOperationResponse, err error)
- func (c BackupVaultsClient) GetInResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result 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, ...) (result GetInResourceGroupCompleteResult, err error)
- func (c BackupVaultsClient) GetInSubscription(ctx context.Context, id commonids.SubscriptionId) (result 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, ...) (result 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 DeleteOperationResponse
- type DppIdentityDetails
- type GetInResourceGroupCompleteResult
- type GetInResourceGroupOperationResponse
- type GetInSubscriptionCompleteResult
- type GetInSubscriptionOperationResponse
- type GetOperationResponse
- type MonitoringSettings
- type PatchBackupVaultInput
- type PatchResourceRequestInput
- type ProviderLocationId
- type ProvisioningState
- type ResourceMoveDetails
- type ResourceMoveState
- 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 PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForResourceMoveState ¶
func PossibleValuesForResourceMoveState() []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" )
func (*AlertsState) UnmarshalJSON ¶ added in v0.20230420.1093529
func (s *AlertsState) UnmarshalJSON(bytes []byte) error
type AzureMonitorAlertSettings ¶
type AzureMonitorAlertSettings struct {
AlertsForAllJobFailures *AlertsState `json:"alertsForAllJobFailures,omitempty"`
}
type BackupVault ¶
type BackupVault struct { 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"` 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 ¶
type BackupVaultsClient struct {
Client *resourcemanager.Client
}
func NewBackupVaultsClientWithBaseURI ¶
func NewBackupVaultsClientWithBaseURI(sdkApi sdkEnv.Api) (*BackupVaultsClient, error)
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) 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) (result GetInResourceGroupOperationResponse, err error)
GetInResourceGroup ...
func (BackupVaultsClient) GetInResourceGroupComplete ¶
func (c BackupVaultsClient) GetInResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (GetInResourceGroupCompleteResult, error)
GetInResourceGroupComplete retrieves all the results into a single object
func (BackupVaultsClient) GetInResourceGroupCompleteMatchingPredicate ¶
func (c BackupVaultsClient) GetInResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate BackupVaultResourceOperationPredicate) (result GetInResourceGroupCompleteResult, err error)
GetInResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (BackupVaultsClient) GetInSubscription ¶
func (c BackupVaultsClient) GetInSubscription(ctx context.Context, id commonids.SubscriptionId) (result GetInSubscriptionOperationResponse, err error)
GetInSubscription ...
func (BackupVaultsClient) GetInSubscriptionComplete ¶
func (c BackupVaultsClient) GetInSubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (GetInSubscriptionCompleteResult, error)
GetInSubscriptionComplete retrieves all the results into a single object
func (BackupVaultsClient) GetInSubscriptionCompleteMatchingPredicate ¶
func (c BackupVaultsClient) GetInSubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate BackupVaultResourceOperationPredicate) (result GetInSubscriptionCompleteResult, err error)
GetInSubscriptionCompleteMatchingPredicate retrieves all the results and then applies 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 OData *odata.OData Model *CheckNameAvailabilityResult }
type DeleteOperationResponse ¶
type DppIdentityDetails ¶
type GetInResourceGroupCompleteResult ¶
type GetInResourceGroupCompleteResult struct {
Items []BackupVaultResource
}
type GetInResourceGroupOperationResponse ¶
type GetInResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]BackupVaultResource }
type GetInSubscriptionCompleteResult ¶
type GetInSubscriptionCompleteResult struct {
Items []BackupVaultResource
}
type GetInSubscriptionOperationResponse ¶
type GetInSubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]BackupVaultResource }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *BackupVaultResource }
type MonitoringSettings ¶
type MonitoringSettings struct {
AzureMonitorAlertSettings *AzureMonitorAlertSettings `json:"azureMonitorAlertSettings,omitempty"`
}
type PatchBackupVaultInput ¶
type PatchBackupVaultInput struct {
MonitoringSettings *MonitoringSettings `json:"monitoringSettings,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" )
func (*ProvisioningState) UnmarshalJSON ¶ added in v0.20230420.1093529
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
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" )
func (*ResourceMoveState) UnmarshalJSON ¶ added in v0.20230420.1093529
func (s *ResourceMoveState) UnmarshalJSON(bytes []byte) error
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" )
func (*StorageSettingStoreTypes) UnmarshalJSON ¶ added in v0.20230420.1093529
func (s *StorageSettingStoreTypes) UnmarshalJSON(bytes []byte) error
type StorageSettingTypes ¶
type StorageSettingTypes string
const ( StorageSettingTypesGeoRedundant StorageSettingTypes = "GeoRedundant" StorageSettingTypesLocallyRedundant StorageSettingTypes = "LocallyRedundant" StorageSettingTypesZoneRedundant StorageSettingTypes = "ZoneRedundant" )
func (*StorageSettingTypes) UnmarshalJSON ¶ added in v0.20230420.1093529
func (s *StorageSettingTypes) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_backupvault.go
- id_providerlocation.go
- method_checknameavailability.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_getinresourcegroup.go
- method_getinsubscription.go
- method_update.go
- model_azuremonitoralertsettings.go
- model_backupvault.go
- model_backupvaultresource.go
- model_checknameavailabilityrequest.go
- model_checknameavailabilityresult.go
- model_dppidentitydetails.go
- model_monitoringsettings.go
- model_patchbackupvaultinput.go
- model_patchresourcerequestinput.go
- model_resourcemovedetails.go
- model_storagesetting.go
- predicates.go
- version.go