Documentation ¶
Index ¶
- func PossibleValuesForAlertsState() []string
- func PossibleValuesForCrossRegionRestoreState() []string
- func PossibleValuesForCrossSubscriptionRestoreState() []string
- func PossibleValuesForImmutabilityState() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForResourceMoveState() []string
- func PossibleValuesForSecureScoreLevel() []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) (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 CrossRegionRestoreSettings
- type CrossRegionRestoreState
- 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 SecureScoreLevel
- type SecuritySettings
- type SoftDeleteSettings
- type SoftDeleteState
- type StorageSetting
- type StorageSettingStoreTypes
- type StorageSettingTypes
- type UpdateOperationResponse
- type UserAssignedIdentity
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAlertsState ¶
func PossibleValuesForAlertsState() []string
func PossibleValuesForCrossRegionRestoreState ¶
func PossibleValuesForCrossRegionRestoreState() []string
func PossibleValuesForCrossSubscriptionRestoreState ¶
func PossibleValuesForCrossSubscriptionRestoreState() []string
func PossibleValuesForImmutabilityState ¶
func PossibleValuesForImmutabilityState() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForResourceMoveState ¶
func PossibleValuesForResourceMoveState() []string
func PossibleValuesForSecureScoreLevel ¶
func PossibleValuesForSecureScoreLevel() []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" )
func (*AlertsState) UnmarshalJSON ¶
func (s *AlertsState) UnmarshalJSON(bytes []byte) error
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"` SecureScore *SecureScoreLevel `json:"secureScore,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) 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 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) 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) (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 CrossRegionRestoreSettings ¶
type CrossRegionRestoreSettings struct {
State *CrossRegionRestoreState `json:"state,omitempty"`
}
type CrossRegionRestoreState ¶
type CrossRegionRestoreState string
const ( CrossRegionRestoreStateDisabled CrossRegionRestoreState = "Disabled" CrossRegionRestoreStateEnabled CrossRegionRestoreState = "Enabled" )
func (*CrossRegionRestoreState) UnmarshalJSON ¶
func (s *CrossRegionRestoreState) UnmarshalJSON(bytes []byte) error
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" )
func (*CrossSubscriptionRestoreState) UnmarshalJSON ¶
func (s *CrossSubscriptionRestoreState) UnmarshalJSON(bytes []byte) error
type DeleteOperationResponse ¶
type DppIdentityDetails ¶
type DppIdentityDetails struct { PrincipalId *string `json:"principalId,omitempty"` TenantId *string `json:"tenantId,omitempty"` Type *string `json:"type,omitempty"` UserAssignedIdentities *map[string]UserAssignedIdentity `json:"userAssignedIdentities,omitempty"` }
type FeatureSettings ¶
type FeatureSettings struct { CrossRegionRestoreSettings *CrossRegionRestoreSettings `json:"crossRegionRestoreSettings,omitempty"` CrossSubscriptionRestoreSettings *CrossSubscriptionRestoreSettings `json:"crossSubscriptionRestoreSettings,omitempty"` }
type GetInResourceGroupCompleteResult ¶
type GetInResourceGroupCompleteResult struct { LatestHttpResponse *http.Response Items []BackupVaultResource }
type GetInResourceGroupOperationResponse ¶
type GetInResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]BackupVaultResource }
type GetInSubscriptionCompleteResult ¶
type GetInSubscriptionCompleteResult struct { LatestHttpResponse *http.Response 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 ImmutabilitySettings ¶
type ImmutabilitySettings struct {
State *ImmutabilityState `json:"state,omitempty"`
}
type ImmutabilityState ¶
type ImmutabilityState string
const ( ImmutabilityStateDisabled ImmutabilityState = "Disabled" ImmutabilityStateLocked ImmutabilityState = "Locked" ImmutabilityStateUnlocked ImmutabilityState = "Unlocked" )
func (*ImmutabilityState) UnmarshalJSON ¶
func (s *ImmutabilityState) UnmarshalJSON(bytes []byte) error
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) 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 ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateProvisioning ProvisioningState = "Provisioning" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUnknown ProvisioningState = "Unknown" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶
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 ¶
func (s *ResourceMoveState) UnmarshalJSON(bytes []byte) error
type SecureScoreLevel ¶
type SecureScoreLevel string
const ( SecureScoreLevelAdequate SecureScoreLevel = "Adequate" SecureScoreLevelMaximum SecureScoreLevel = "Maximum" SecureScoreLevelMinimum SecureScoreLevel = "Minimum" SecureScoreLevelNone SecureScoreLevel = "None" SecureScoreLevelNotSupported SecureScoreLevel = "NotSupported" )
func (*SecureScoreLevel) UnmarshalJSON ¶
func (s *SecureScoreLevel) UnmarshalJSON(bytes []byte) error
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" )
func (*SoftDeleteState) UnmarshalJSON ¶
func (s *SoftDeleteState) 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 ¶
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 ¶
func (s *StorageSettingTypes) UnmarshalJSON(bytes []byte) error
type UpdateOperationResponse ¶
type UserAssignedIdentity ¶
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_crossregionrestoresettings.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
- model_userassignedidentity.go
- predicates.go
- version.go