Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + func PossibleValuesForAlertsState() []string + func PossibleValuesForBCDRSecurityLevel() []string + func PossibleValuesForBackupStorageVersion() []string + func PossibleValuesForCrossRegionRestore() []string + func PossibleValuesForCrossSubscriptionRestoreState() []string + func PossibleValuesForEnhancedSecurityState() []string + func PossibleValuesForImmutabilityState() []string + func PossibleValuesForInfrastructureEncryptionState() []string + func PossibleValuesForMultiUserAuthorization() []string + func PossibleValuesForPrivateEndpointConnectionStatus() []string + func PossibleValuesForProvisioningState() []string + func PossibleValuesForPublicNetworkAccess() []string + func PossibleValuesForResourceMoveState() []string + func PossibleValuesForSecureScoreLevel() []string + func PossibleValuesForSkuName() []string + func PossibleValuesForSoftDeleteState() []string + func PossibleValuesForStandardTierStorageRedundancy() []string + func PossibleValuesForTriggerType() []string + func PossibleValuesForVaultPrivateEndpointState() []string + func PossibleValuesForVaultSubResourceType() []string + func PossibleValuesForVaultUpgradeState() []string + func ValidateVaultID(input interface{}, key string) (warnings []string, errors []error) + type AlertsState string + const AlertsStateDisabled + const AlertsStateEnabled + func (s *AlertsState) UnmarshalJSON(bytes []byte) error + type AzureMonitorAlertSettings struct + AlertsForAllFailoverIssues *AlertsState + AlertsForAllJobFailures *AlertsState + AlertsForAllReplicationIssues *AlertsState + type BCDRSecurityLevel string + const BCDRSecurityLevelExcellent + const BCDRSecurityLevelFair + const BCDRSecurityLevelGood + const BCDRSecurityLevelPoor + func (s *BCDRSecurityLevel) UnmarshalJSON(bytes []byte) error + type BackupStorageVersion string + const BackupStorageVersionUnassigned + const BackupStorageVersionVOne + const BackupStorageVersionVTwo + func (s *BackupStorageVersion) UnmarshalJSON(bytes []byte) error + type ClassicAlertSettings struct + AlertsForCriticalOperations *AlertsState + EmailNotificationsForSiteRecovery *AlertsState + type CmkKekIdentity struct + UseSystemAssignedIdentity *bool + UserAssignedIdentity *string + type CmkKeyVaultProperties struct + KeyUri *string + type CreateOrUpdateOperationOptions struct + XMsAuthorizationAuxiliary *string + func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions + func (o CreateOrUpdateOperationOptions) ToHeaders() *client.Headers + func (o CreateOrUpdateOperationOptions) ToOData() *odata.Query + func (o CreateOrUpdateOperationOptions) ToQuery() *client.QueryParams + type CreateOrUpdateOperationResponse struct + HttpResponse *http.Response + Model *Vault + OData *odata.OData + Poller pollers.Poller + type CrossRegionRestore string + const CrossRegionRestoreDisabled + const CrossRegionRestoreEnabled + func (s *CrossRegionRestore) UnmarshalJSON(bytes []byte) error + type CrossSubscriptionRestoreSettings struct + CrossSubscriptionRestoreState *CrossSubscriptionRestoreState + type CrossSubscriptionRestoreState string + const CrossSubscriptionRestoreStateDisabled + const CrossSubscriptionRestoreStateEnabled + const CrossSubscriptionRestoreStatePermanentlyDisabled + func (s *CrossSubscriptionRestoreState) UnmarshalJSON(bytes []byte) error + type DeleteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + Poller pollers.Poller + type EnhancedSecurityState string + const EnhancedSecurityStateAlwaysON + const EnhancedSecurityStateDisabled + const EnhancedSecurityStateEnabled + const EnhancedSecurityStateInvalid + func (s *EnhancedSecurityState) UnmarshalJSON(bytes []byte) error + type GetOperationResponse struct + HttpResponse *http.Response + Model *Vault + OData *odata.OData + type ImmutabilitySettings struct + State *ImmutabilityState + type ImmutabilityState string + const ImmutabilityStateDisabled + const ImmutabilityStateLocked + const ImmutabilityStateUnlocked + func (s *ImmutabilityState) UnmarshalJSON(bytes []byte) error + type InfrastructureEncryptionState string + const InfrastructureEncryptionStateDisabled + const InfrastructureEncryptionStateEnabled + func (s *InfrastructureEncryptionState) UnmarshalJSON(bytes []byte) error + type ListByResourceGroupCompleteResult struct + Items []Vault + LatestHttpResponse *http.Response + type ListByResourceGroupCustomPager struct + NextLink *odata.Link + func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link + type ListByResourceGroupOperationResponse struct + HttpResponse *http.Response + Model *[]Vault + OData *odata.OData + type ListBySubscriptionIdCompleteResult struct + Items []Vault + LatestHttpResponse *http.Response + type ListBySubscriptionIdCustomPager struct + NextLink *odata.Link + func (p *ListBySubscriptionIdCustomPager) NextPageLink() *odata.Link + type ListBySubscriptionIdOperationResponse struct + HttpResponse *http.Response + Model *[]Vault + OData *odata.OData + type MonitoringSettings struct + AzureMonitorAlertSettings *AzureMonitorAlertSettings + ClassicAlertSettings *ClassicAlertSettings + type MultiUserAuthorization string + const MultiUserAuthorizationDisabled + const MultiUserAuthorizationEnabled + const MultiUserAuthorizationInvalid + func (s *MultiUserAuthorization) UnmarshalJSON(bytes []byte) error + type PatchVault struct + Etag *string + Id *string + Identity *identity.SystemAndUserAssignedMap + Location *string + Name *string + Properties *VaultProperties + Sku *Sku + Tags *map[string]string + Type *string + type PrivateEndpoint struct + Id *string + type PrivateEndpointConnection struct + GroupIds *[]VaultSubResourceType + PrivateEndpoint *PrivateEndpoint + PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState + ProvisioningState *ProvisioningState + type PrivateEndpointConnectionStatus string + const PrivateEndpointConnectionStatusApproved + const PrivateEndpointConnectionStatusDisconnected + const PrivateEndpointConnectionStatusPending + const PrivateEndpointConnectionStatusRejected + func (s *PrivateEndpointConnectionStatus) UnmarshalJSON(bytes []byte) error + type PrivateEndpointConnectionVaultProperties struct + Id *string + Location *string + Name *string + Properties *PrivateEndpointConnection + Type *string + type PrivateLinkServiceConnectionState struct + ActionsRequired *string + Description *string + Status *PrivateEndpointConnectionStatus + type ProvisioningState string + const ProvisioningStateDeleting + const ProvisioningStateFailed + const ProvisioningStatePending + const ProvisioningStateSucceeded + func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error + type PublicNetworkAccess string + const PublicNetworkAccessDisabled + const PublicNetworkAccessEnabled + func (s *PublicNetworkAccess) UnmarshalJSON(bytes []byte) error + type ResourceMoveState string + const ResourceMoveStateCommitFailed + const ResourceMoveStateCommitTimedout + const ResourceMoveStateCriticalFailure + const ResourceMoveStateFailure + const ResourceMoveStateInProgress + const ResourceMoveStateMoveSucceeded + const ResourceMoveStatePartialSuccess + const ResourceMoveStatePrepareFailed + const ResourceMoveStatePrepareTimedout + const ResourceMoveStateUnknown + func (s *ResourceMoveState) UnmarshalJSON(bytes []byte) error + type RestoreSettings struct + CrossSubscriptionRestoreSettings *CrossSubscriptionRestoreSettings + type SecureScoreLevel string + const SecureScoreLevelAdequate + const SecureScoreLevelMaximum + const SecureScoreLevelMinimum + const SecureScoreLevelNone + func (s *SecureScoreLevel) UnmarshalJSON(bytes []byte) error + type SecuritySettings struct + ImmutabilitySettings *ImmutabilitySettings + MultiUserAuthorization *MultiUserAuthorization + SoftDeleteSettings *SoftDeleteSettings + type Sku struct + Capacity *string + Family *string + Name SkuName + Size *string + Tier *string + type SkuName string + const SkuNameRSZero + const SkuNameStandard + func (s *SkuName) UnmarshalJSON(bytes []byte) error + type SoftDeleteSettings struct + EnhancedSecurityState *EnhancedSecurityState + SoftDeleteRetentionPeriodInDays *int64 + SoftDeleteState *SoftDeleteState + type SoftDeleteState string + const SoftDeleteStateAlwaysON + const SoftDeleteStateDisabled + const SoftDeleteStateEnabled + const SoftDeleteStateInvalid + func (s *SoftDeleteState) UnmarshalJSON(bytes []byte) error + type StandardTierStorageRedundancy string + const StandardTierStorageRedundancyGeoRedundant + const StandardTierStorageRedundancyInvalid + const StandardTierStorageRedundancyLocallyRedundant + const StandardTierStorageRedundancyZoneRedundant + func (s *StandardTierStorageRedundancy) UnmarshalJSON(bytes []byte) error + type TriggerType string + const TriggerTypeForcedUpgrade + const TriggerTypeUserTriggered + func (s *TriggerType) UnmarshalJSON(bytes []byte) error + type UpdateOperationOptions struct + XMsAuthorizationAuxiliary *string + func DefaultUpdateOperationOptions() UpdateOperationOptions + func (o UpdateOperationOptions) ToHeaders() *client.Headers + func (o UpdateOperationOptions) ToOData() *odata.Query + func (o UpdateOperationOptions) ToQuery() *client.QueryParams + type UpdateOperationResponse struct + HttpResponse *http.Response + Model *Vault + OData *odata.OData + Poller pollers.Poller + type UpgradeDetails struct + EndTimeUtc *string + LastUpdatedTimeUtc *string + Message *string + OperationId *string + PreviousResourceId *string + StartTimeUtc *string + Status *VaultUpgradeState + TriggerType *TriggerType + UpgradedResourceId *string + func (o *UpgradeDetails) GetEndTimeUtcAsTime() (*time.Time, error) + func (o *UpgradeDetails) GetLastUpdatedTimeUtcAsTime() (*time.Time, error) + func (o *UpgradeDetails) GetStartTimeUtcAsTime() (*time.Time, error) + func (o *UpgradeDetails) SetEndTimeUtcAsTime(input time.Time) + func (o *UpgradeDetails) SetLastUpdatedTimeUtcAsTime(input time.Time) + func (o *UpgradeDetails) SetStartTimeUtcAsTime(input time.Time) + type Vault struct + Etag *string + Id *string + Identity *identity.SystemAndUserAssignedMap + Location string + Name *string + Properties *VaultProperties + Sku *Sku + SystemData *systemdata.SystemData + Tags *map[string]string + Type *string + type VaultId struct + ResourceGroupName string + SubscriptionId string + VaultName string + func NewVaultID(subscriptionId string, resourceGroupName string, vaultName string) VaultId + func ParseVaultID(input string) (*VaultId, error) + func ParseVaultIDInsensitively(input string) (*VaultId, error) + func (id *VaultId) FromParseResult(input resourceids.ParseResult) error + func (id VaultId) ID() string + func (id VaultId) Segments() []resourceids.Segment + func (id VaultId) String() string + type VaultOperationPredicate struct + Etag *string + Id *string + Location *string + Name *string + Type *string + func (p VaultOperationPredicate) Matches(input Vault) bool + type VaultPrivateEndpointState string + const VaultPrivateEndpointStateEnabled + const VaultPrivateEndpointStateNone + func (s *VaultPrivateEndpointState) UnmarshalJSON(bytes []byte) error + type VaultProperties struct + BackupStorageVersion *BackupStorageVersion + BcdrSecurityLevel *BCDRSecurityLevel + Encryption *VaultPropertiesEncryption + MonitoringSettings *MonitoringSettings + MoveDetails *VaultPropertiesMoveDetails + MoveState *ResourceMoveState + PrivateEndpointConnections *[]PrivateEndpointConnectionVaultProperties + PrivateEndpointStateForBackup *VaultPrivateEndpointState + PrivateEndpointStateForSiteRecovery *VaultPrivateEndpointState + ProvisioningState *string + PublicNetworkAccess *PublicNetworkAccess + RedundancySettings *VaultPropertiesRedundancySettings + ResourceGuardOperationRequests *[]string + RestoreSettings *RestoreSettings + SecureScore *SecureScoreLevel + SecuritySettings *SecuritySettings + UpgradeDetails *UpgradeDetails + type VaultPropertiesEncryption struct + InfrastructureEncryption *InfrastructureEncryptionState + KekIdentity *CmkKekIdentity + KeyVaultProperties *CmkKeyVaultProperties + type VaultPropertiesMoveDetails struct + CompletionTimeUtc *string + OperationId *string + SourceResourceId *string + StartTimeUtc *string + TargetResourceId *string + func (o *VaultPropertiesMoveDetails) GetCompletionTimeUtcAsTime() (*time.Time, error) + func (o *VaultPropertiesMoveDetails) GetStartTimeUtcAsTime() (*time.Time, error) + func (o *VaultPropertiesMoveDetails) SetCompletionTimeUtcAsTime(input time.Time) + func (o *VaultPropertiesMoveDetails) SetStartTimeUtcAsTime(input time.Time) + type VaultPropertiesRedundancySettings struct + CrossRegionRestore *CrossRegionRestore + StandardTierStorageRedundancy *StandardTierStorageRedundancy + type VaultSubResourceType string + const VaultSubResourceTypeAzureBackup + const VaultSubResourceTypeAzureBackupSecondary + const VaultSubResourceTypeAzureSiteRecovery + func (s *VaultSubResourceType) UnmarshalJSON(bytes []byte) error + type VaultUpgradeState string + const VaultUpgradeStateFailed + const VaultUpgradeStateInProgress + const VaultUpgradeStateUnknown + const VaultUpgradeStateUpgraded + func (s *VaultUpgradeState) UnmarshalJSON(bytes []byte) error + type VaultsClient struct + Client *resourcemanager.Client + func NewVaultsClientWithBaseURI(sdkApi sdkEnv.Api) (*VaultsClient, error) + func (c VaultsClient) CreateOrUpdate(ctx context.Context, id VaultId, input Vault, ...) (result CreateOrUpdateOperationResponse, err error) + func (c VaultsClient) CreateOrUpdateThenPoll(ctx context.Context, id VaultId, input Vault, ...) error + func (c VaultsClient) Delete(ctx context.Context, id VaultId) (result DeleteOperationResponse, err error) + func (c VaultsClient) DeleteThenPoll(ctx context.Context, id VaultId) error + func (c VaultsClient) Get(ctx context.Context, id VaultId) (result GetOperationResponse, err error) + func (c VaultsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error) + func (c VaultsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error) + func (c VaultsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error) + func (c VaultsClient) ListBySubscriptionId(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionIdOperationResponse, err error) + func (c VaultsClient) ListBySubscriptionIdComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionIdCompleteResult, error) + func (c VaultsClient) ListBySubscriptionIdCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionIdCompleteResult, err error) + func (c VaultsClient) Update(ctx context.Context, id VaultId, input PatchVault, ...) (result UpdateOperationResponse, err error) + func (c VaultsClient) UpdateThenPoll(ctx context.Context, id VaultId, input PatchVault, ...) error