Documentation ¶
Index ¶
- 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
- type AzureMonitorAlertSettings
- type BCDRSecurityLevel
- type BackupStorageVersion
- type ClassicAlertSettings
- type CmkKekIdentity
- type CmkKeyVaultProperties
- type CreateOrUpdateOperationResponse
- type CrossRegionRestore
- type CrossSubscriptionRestoreSettings
- type CrossSubscriptionRestoreState
- type DeleteOperationResponse
- type EnhancedSecurityState
- type GetOperationResponse
- type ImmutabilitySettings
- type ImmutabilityState
- type InfrastructureEncryptionState
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupCustomPager
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionIdCompleteResult
- type ListBySubscriptionIdCustomPager
- type ListBySubscriptionIdOperationResponse
- type MonitoringSettings
- type MultiUserAuthorization
- type PatchVault
- type PrivateEndpoint
- type PrivateEndpointConnection
- type PrivateEndpointConnectionStatus
- type PrivateEndpointConnectionVaultProperties
- type PrivateLinkServiceConnectionState
- type ProvisioningState
- type PublicNetworkAccess
- type ResourceMoveState
- type RestoreSettings
- type SecureScoreLevel
- type SecuritySettings
- type Sku
- type SkuName
- type SoftDeleteSettings
- type SoftDeleteState
- type StandardTierStorageRedundancy
- type TriggerType
- type UpdateOperationResponse
- type UpgradeDetails
- 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
- type VaultId
- type VaultOperationPredicate
- type VaultPrivateEndpointState
- type VaultProperties
- type VaultPropertiesEncryption
- type VaultPropertiesMoveDetails
- 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
- type VaultSubResourceType
- type VaultUpgradeState
- type VaultsClient
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAlertsState ¶
func PossibleValuesForAlertsState() []string
func PossibleValuesForBCDRSecurityLevel ¶
func PossibleValuesForBCDRSecurityLevel() []string
func PossibleValuesForBackupStorageVersion ¶
func PossibleValuesForBackupStorageVersion() []string
func PossibleValuesForCrossRegionRestore ¶
func PossibleValuesForCrossRegionRestore() []string
func PossibleValuesForCrossSubscriptionRestoreState ¶
func PossibleValuesForCrossSubscriptionRestoreState() []string
func PossibleValuesForEnhancedSecurityState ¶
func PossibleValuesForEnhancedSecurityState() []string
func PossibleValuesForImmutabilityState ¶
func PossibleValuesForImmutabilityState() []string
func PossibleValuesForInfrastructureEncryptionState ¶
func PossibleValuesForInfrastructureEncryptionState() []string
func PossibleValuesForMultiUserAuthorization ¶
func PossibleValuesForMultiUserAuthorization() []string
func PossibleValuesForPrivateEndpointConnectionStatus ¶
func PossibleValuesForPrivateEndpointConnectionStatus() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForPublicNetworkAccess ¶
func PossibleValuesForPublicNetworkAccess() []string
func PossibleValuesForResourceMoveState ¶
func PossibleValuesForResourceMoveState() []string
func PossibleValuesForSecureScoreLevel ¶
func PossibleValuesForSecureScoreLevel() []string
func PossibleValuesForSkuName ¶
func PossibleValuesForSkuName() []string
func PossibleValuesForSoftDeleteState ¶
func PossibleValuesForSoftDeleteState() []string
func PossibleValuesForStandardTierStorageRedundancy ¶
func PossibleValuesForStandardTierStorageRedundancy() []string
func PossibleValuesForTriggerType ¶
func PossibleValuesForTriggerType() []string
func PossibleValuesForVaultPrivateEndpointState ¶
func PossibleValuesForVaultPrivateEndpointState() []string
func PossibleValuesForVaultSubResourceType ¶
func PossibleValuesForVaultSubResourceType() []string
func PossibleValuesForVaultUpgradeState ¶
func PossibleValuesForVaultUpgradeState() []string
func ValidateVaultID ¶
ValidateVaultID checks that 'input' can be parsed as a Vault 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 { AlertsForAllFailoverIssues *AlertsState `json:"alertsForAllFailoverIssues,omitempty"` AlertsForAllJobFailures *AlertsState `json:"alertsForAllJobFailures,omitempty"` AlertsForAllReplicationIssues *AlertsState `json:"alertsForAllReplicationIssues,omitempty"` }
type BCDRSecurityLevel ¶
type BCDRSecurityLevel string
const ( BCDRSecurityLevelExcellent BCDRSecurityLevel = "Excellent" BCDRSecurityLevelFair BCDRSecurityLevel = "Fair" BCDRSecurityLevelGood BCDRSecurityLevel = "Good" BCDRSecurityLevelPoor BCDRSecurityLevel = "Poor" )
func (*BCDRSecurityLevel) UnmarshalJSON ¶
func (s *BCDRSecurityLevel) UnmarshalJSON(bytes []byte) error
type BackupStorageVersion ¶
type BackupStorageVersion string
const ( BackupStorageVersionUnassigned BackupStorageVersion = "Unassigned" BackupStorageVersionVOne BackupStorageVersion = "V1" BackupStorageVersionVTwo BackupStorageVersion = "V2" )
func (*BackupStorageVersion) UnmarshalJSON ¶
func (s *BackupStorageVersion) UnmarshalJSON(bytes []byte) error
type ClassicAlertSettings ¶
type ClassicAlertSettings struct { AlertsForCriticalOperations *AlertsState `json:"alertsForCriticalOperations,omitempty"` EmailNotificationsForSiteRecovery *AlertsState `json:"emailNotificationsForSiteRecovery,omitempty"` }
type CmkKekIdentity ¶
type CmkKeyVaultProperties ¶
type CmkKeyVaultProperties struct {
KeyUri *string `json:"keyUri,omitempty"`
}
type CrossRegionRestore ¶
type CrossRegionRestore string
const ( CrossRegionRestoreDisabled CrossRegionRestore = "Disabled" CrossRegionRestoreEnabled CrossRegionRestore = "Enabled" )
func (*CrossRegionRestore) UnmarshalJSON ¶
func (s *CrossRegionRestore) UnmarshalJSON(bytes []byte) error
type CrossSubscriptionRestoreSettings ¶
type CrossSubscriptionRestoreSettings struct {
CrossSubscriptionRestoreState *CrossSubscriptionRestoreState `json:"crossSubscriptionRestoreState,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 EnhancedSecurityState ¶
type EnhancedSecurityState string
const ( EnhancedSecurityStateAlwaysON EnhancedSecurityState = "AlwaysON" EnhancedSecurityStateDisabled EnhancedSecurityState = "Disabled" EnhancedSecurityStateEnabled EnhancedSecurityState = "Enabled" EnhancedSecurityStateInvalid EnhancedSecurityState = "Invalid" )
func (*EnhancedSecurityState) UnmarshalJSON ¶
func (s *EnhancedSecurityState) UnmarshalJSON(bytes []byte) error
type GetOperationResponse ¶
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 InfrastructureEncryptionState ¶
type InfrastructureEncryptionState string
const ( InfrastructureEncryptionStateDisabled InfrastructureEncryptionState = "Disabled" InfrastructureEncryptionStateEnabled InfrastructureEncryptionState = "Enabled" )
func (*InfrastructureEncryptionState) UnmarshalJSON ¶
func (s *InfrastructureEncryptionState) UnmarshalJSON(bytes []byte) error
type ListByResourceGroupCustomPager ¶
func (*ListByResourceGroupCustomPager) NextPageLink ¶
func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link
type ListBySubscriptionIdCustomPager ¶
func (*ListBySubscriptionIdCustomPager) NextPageLink ¶
func (p *ListBySubscriptionIdCustomPager) NextPageLink() *odata.Link
type MonitoringSettings ¶
type MonitoringSettings struct { AzureMonitorAlertSettings *AzureMonitorAlertSettings `json:"azureMonitorAlertSettings,omitempty"` ClassicAlertSettings *ClassicAlertSettings `json:"classicAlertSettings,omitempty"` }
type MultiUserAuthorization ¶
type MultiUserAuthorization string
const ( MultiUserAuthorizationDisabled MultiUserAuthorization = "Disabled" MultiUserAuthorizationEnabled MultiUserAuthorization = "Enabled" MultiUserAuthorizationInvalid MultiUserAuthorization = "Invalid" )
func (*MultiUserAuthorization) UnmarshalJSON ¶
func (s *MultiUserAuthorization) UnmarshalJSON(bytes []byte) error
type PatchVault ¶
type PatchVault struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *VaultProperties `json:"properties,omitempty"` Sku *Sku `json:"sku,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type PrivateEndpoint ¶
type PrivateEndpoint struct {
Id *string `json:"id,omitempty"`
}
type PrivateEndpointConnection ¶
type PrivateEndpointConnection struct { GroupIds *[]VaultSubResourceType `json:"groupIds,omitempty"` PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty"` PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` }
type PrivateEndpointConnectionStatus ¶
type PrivateEndpointConnectionStatus string
const ( PrivateEndpointConnectionStatusApproved PrivateEndpointConnectionStatus = "Approved" PrivateEndpointConnectionStatusDisconnected PrivateEndpointConnectionStatus = "Disconnected" PrivateEndpointConnectionStatusPending PrivateEndpointConnectionStatus = "Pending" PrivateEndpointConnectionStatusRejected PrivateEndpointConnectionStatus = "Rejected" )
func (*PrivateEndpointConnectionStatus) UnmarshalJSON ¶
func (s *PrivateEndpointConnectionStatus) UnmarshalJSON(bytes []byte) error
type PrivateEndpointConnectionVaultProperties ¶
type PrivateEndpointConnectionVaultProperties struct { Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *PrivateEndpointConnection `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type PrivateLinkServiceConnectionState ¶
type PrivateLinkServiceConnectionState struct { ActionsRequired *string `json:"actionsRequired,omitempty"` Description *string `json:"description,omitempty"` Status *PrivateEndpointConnectionStatus `json:"status,omitempty"` }
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStatePending ProvisioningState = "Pending" ProvisioningStateSucceeded ProvisioningState = "Succeeded" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type PublicNetworkAccess ¶
type PublicNetworkAccess string
const ( PublicNetworkAccessDisabled PublicNetworkAccess = "Disabled" PublicNetworkAccessEnabled PublicNetworkAccess = "Enabled" )
func (*PublicNetworkAccess) UnmarshalJSON ¶
func (s *PublicNetworkAccess) UnmarshalJSON(bytes []byte) error
type ResourceMoveState ¶
type ResourceMoveState string
const ( ResourceMoveStateCommitFailed ResourceMoveState = "CommitFailed" ResourceMoveStateCommitTimedout ResourceMoveState = "CommitTimedout" ResourceMoveStateCriticalFailure ResourceMoveState = "CriticalFailure" ResourceMoveStateFailure ResourceMoveState = "Failure" 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 RestoreSettings ¶
type RestoreSettings struct {
CrossSubscriptionRestoreSettings *CrossSubscriptionRestoreSettings `json:"crossSubscriptionRestoreSettings,omitempty"`
}
type SecureScoreLevel ¶
type SecureScoreLevel string
const ( SecureScoreLevelAdequate SecureScoreLevel = "Adequate" SecureScoreLevelMaximum SecureScoreLevel = "Maximum" SecureScoreLevelMinimum SecureScoreLevel = "Minimum" SecureScoreLevelNone SecureScoreLevel = "None" )
func (*SecureScoreLevel) UnmarshalJSON ¶
func (s *SecureScoreLevel) UnmarshalJSON(bytes []byte) error
type SecuritySettings ¶
type SecuritySettings struct { ImmutabilitySettings *ImmutabilitySettings `json:"immutabilitySettings,omitempty"` MultiUserAuthorization *MultiUserAuthorization `json:"multiUserAuthorization,omitempty"` SoftDeleteSettings *SoftDeleteSettings `json:"softDeleteSettings,omitempty"` }
type SoftDeleteSettings ¶
type SoftDeleteSettings struct { EnhancedSecurityState *EnhancedSecurityState `json:"enhancedSecurityState,omitempty"` SoftDeleteRetentionPeriodInDays *int64 `json:"softDeleteRetentionPeriodInDays,omitempty"` SoftDeleteState *SoftDeleteState `json:"softDeleteState,omitempty"` }
type SoftDeleteState ¶
type SoftDeleteState string
const ( SoftDeleteStateAlwaysON SoftDeleteState = "AlwaysON" SoftDeleteStateDisabled SoftDeleteState = "Disabled" SoftDeleteStateEnabled SoftDeleteState = "Enabled" SoftDeleteStateInvalid SoftDeleteState = "Invalid" )
func (*SoftDeleteState) UnmarshalJSON ¶
func (s *SoftDeleteState) UnmarshalJSON(bytes []byte) error
type StandardTierStorageRedundancy ¶
type StandardTierStorageRedundancy string
const ( StandardTierStorageRedundancyGeoRedundant StandardTierStorageRedundancy = "GeoRedundant" StandardTierStorageRedundancyInvalid StandardTierStorageRedundancy = "Invalid" StandardTierStorageRedundancyLocallyRedundant StandardTierStorageRedundancy = "LocallyRedundant" StandardTierStorageRedundancyZoneRedundant StandardTierStorageRedundancy = "ZoneRedundant" )
func (*StandardTierStorageRedundancy) UnmarshalJSON ¶
func (s *StandardTierStorageRedundancy) UnmarshalJSON(bytes []byte) error
type TriggerType ¶
type TriggerType string
const ( TriggerTypeForcedUpgrade TriggerType = "ForcedUpgrade" TriggerTypeUserTriggered TriggerType = "UserTriggered" )
func (*TriggerType) UnmarshalJSON ¶
func (s *TriggerType) UnmarshalJSON(bytes []byte) error
type UpdateOperationResponse ¶
type UpgradeDetails ¶
type UpgradeDetails struct { EndTimeUtc *string `json:"endTimeUtc,omitempty"` LastUpdatedTimeUtc *string `json:"lastUpdatedTimeUtc,omitempty"` Message *string `json:"message,omitempty"` OperationId *string `json:"operationId,omitempty"` PreviousResourceId *string `json:"previousResourceId,omitempty"` StartTimeUtc *string `json:"startTimeUtc,omitempty"` Status *VaultUpgradeState `json:"status,omitempty"` TriggerType *TriggerType `json:"triggerType,omitempty"` UpgradedResourceId *string `json:"upgradedResourceId,omitempty"` }
func (*UpgradeDetails) GetEndTimeUtcAsTime ¶
func (o *UpgradeDetails) GetEndTimeUtcAsTime() (*time.Time, error)
func (*UpgradeDetails) GetLastUpdatedTimeUtcAsTime ¶
func (o *UpgradeDetails) GetLastUpdatedTimeUtcAsTime() (*time.Time, error)
func (*UpgradeDetails) GetStartTimeUtcAsTime ¶
func (o *UpgradeDetails) GetStartTimeUtcAsTime() (*time.Time, error)
func (*UpgradeDetails) SetEndTimeUtcAsTime ¶
func (o *UpgradeDetails) SetEndTimeUtcAsTime(input time.Time)
func (*UpgradeDetails) SetLastUpdatedTimeUtcAsTime ¶
func (o *UpgradeDetails) SetLastUpdatedTimeUtcAsTime(input time.Time)
func (*UpgradeDetails) SetStartTimeUtcAsTime ¶
func (o *UpgradeDetails) SetStartTimeUtcAsTime(input time.Time)
type Vault ¶
type Vault struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *VaultProperties `json:"properties,omitempty"` Sku *Sku `json:"sku,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type VaultId ¶
VaultId is a struct representing the Resource ID for a Vault
func NewVaultID ¶
NewVaultID returns a new VaultId struct
func ParseVaultID ¶
ParseVaultID parses 'input' into a VaultId
func ParseVaultIDInsensitively ¶
ParseVaultIDInsensitively parses 'input' case-insensitively into a VaultId note: this method should only be used for API response data and not user input
func (*VaultId) FromParseResult ¶
func (id *VaultId) FromParseResult(input resourceids.ParseResult) error
func (VaultId) Segments ¶
func (id VaultId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Vault ID
type VaultOperationPredicate ¶
type VaultOperationPredicate struct { Etag *string Id *string Location *string Name *string Type *string }
func (VaultOperationPredicate) Matches ¶
func (p VaultOperationPredicate) Matches(input Vault) bool
type VaultPrivateEndpointState ¶
type VaultPrivateEndpointState string
const ( VaultPrivateEndpointStateEnabled VaultPrivateEndpointState = "Enabled" VaultPrivateEndpointStateNone VaultPrivateEndpointState = "None" )
func (*VaultPrivateEndpointState) UnmarshalJSON ¶
func (s *VaultPrivateEndpointState) UnmarshalJSON(bytes []byte) error
type VaultProperties ¶
type VaultProperties struct { BackupStorageVersion *BackupStorageVersion `json:"backupStorageVersion,omitempty"` BcdrSecurityLevel *BCDRSecurityLevel `json:"bcdrSecurityLevel,omitempty"` Encryption *VaultPropertiesEncryption `json:"encryption,omitempty"` MonitoringSettings *MonitoringSettings `json:"monitoringSettings,omitempty"` MoveDetails *VaultPropertiesMoveDetails `json:"moveDetails,omitempty"` MoveState *ResourceMoveState `json:"moveState,omitempty"` PrivateEndpointConnections *[]PrivateEndpointConnectionVaultProperties `json:"privateEndpointConnections,omitempty"` PrivateEndpointStateForBackup *VaultPrivateEndpointState `json:"privateEndpointStateForBackup,omitempty"` PrivateEndpointStateForSiteRecovery *VaultPrivateEndpointState `json:"privateEndpointStateForSiteRecovery,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` PublicNetworkAccess *PublicNetworkAccess `json:"publicNetworkAccess,omitempty"` RedundancySettings *VaultPropertiesRedundancySettings `json:"redundancySettings,omitempty"` RestoreSettings *RestoreSettings `json:"restoreSettings,omitempty"` SecureScore *SecureScoreLevel `json:"secureScore,omitempty"` SecuritySettings *SecuritySettings `json:"securitySettings,omitempty"` UpgradeDetails *UpgradeDetails `json:"upgradeDetails,omitempty"` }
type VaultPropertiesEncryption ¶
type VaultPropertiesEncryption struct { InfrastructureEncryption *InfrastructureEncryptionState `json:"infrastructureEncryption,omitempty"` KekIdentity *CmkKekIdentity `json:"kekIdentity,omitempty"` KeyVaultProperties *CmkKeyVaultProperties `json:"keyVaultProperties,omitempty"` }
type VaultPropertiesMoveDetails ¶
type VaultPropertiesMoveDetails struct { CompletionTimeUtc *string `json:"completionTimeUtc,omitempty"` OperationId *string `json:"operationId,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` StartTimeUtc *string `json:"startTimeUtc,omitempty"` TargetResourceId *string `json:"targetResourceId,omitempty"` }
func (*VaultPropertiesMoveDetails) GetCompletionTimeUtcAsTime ¶
func (o *VaultPropertiesMoveDetails) GetCompletionTimeUtcAsTime() (*time.Time, error)
func (*VaultPropertiesMoveDetails) GetStartTimeUtcAsTime ¶
func (o *VaultPropertiesMoveDetails) GetStartTimeUtcAsTime() (*time.Time, error)
func (*VaultPropertiesMoveDetails) SetCompletionTimeUtcAsTime ¶
func (o *VaultPropertiesMoveDetails) SetCompletionTimeUtcAsTime(input time.Time)
func (*VaultPropertiesMoveDetails) SetStartTimeUtcAsTime ¶
func (o *VaultPropertiesMoveDetails) SetStartTimeUtcAsTime(input time.Time)
type VaultPropertiesRedundancySettings ¶
type VaultPropertiesRedundancySettings struct { CrossRegionRestore *CrossRegionRestore `json:"crossRegionRestore,omitempty"` StandardTierStorageRedundancy *StandardTierStorageRedundancy `json:"standardTierStorageRedundancy,omitempty"` }
type VaultSubResourceType ¶
type VaultSubResourceType string
const ( VaultSubResourceTypeAzureBackup VaultSubResourceType = "AzureBackup" VaultSubResourceTypeAzureBackupSecondary VaultSubResourceType = "AzureBackup_secondary" VaultSubResourceTypeAzureSiteRecovery VaultSubResourceType = "AzureSiteRecovery" )
func (*VaultSubResourceType) UnmarshalJSON ¶
func (s *VaultSubResourceType) UnmarshalJSON(bytes []byte) error
type VaultUpgradeState ¶
type VaultUpgradeState string
const ( VaultUpgradeStateFailed VaultUpgradeState = "Failed" VaultUpgradeStateInProgress VaultUpgradeState = "InProgress" VaultUpgradeStateUnknown VaultUpgradeState = "Unknown" VaultUpgradeStateUpgraded VaultUpgradeState = "Upgraded" )
func (*VaultUpgradeState) UnmarshalJSON ¶
func (s *VaultUpgradeState) UnmarshalJSON(bytes []byte) error
type VaultsClient ¶
type VaultsClient struct {
Client *resourcemanager.Client
}
func NewVaultsClientWithBaseURI ¶
func NewVaultsClientWithBaseURI(sdkApi sdkEnv.Api) (*VaultsClient, error)
func (VaultsClient) CreateOrUpdate ¶
func (c VaultsClient) CreateOrUpdate(ctx context.Context, id VaultId, input Vault) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (VaultsClient) CreateOrUpdateThenPoll ¶
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (VaultsClient) Delete ¶
func (c VaultsClient) Delete(ctx context.Context, id VaultId) (result DeleteOperationResponse, err error)
Delete ...
func (VaultsClient) DeleteThenPoll ¶
func (c VaultsClient) DeleteThenPoll(ctx context.Context, id VaultId) error
DeleteThenPoll performs Delete then polls until it's completed
func (VaultsClient) Get ¶
func (c VaultsClient) Get(ctx context.Context, id VaultId) (result GetOperationResponse, err error)
Get ...
func (VaultsClient) ListByResourceGroup ¶
func (c VaultsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (VaultsClient) ListByResourceGroupComplete ¶
func (c VaultsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (VaultsClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c VaultsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate VaultOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (VaultsClient) ListBySubscriptionId ¶
func (c VaultsClient) ListBySubscriptionId(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionIdOperationResponse, err error)
ListBySubscriptionId ...
func (VaultsClient) ListBySubscriptionIdComplete ¶
func (c VaultsClient) ListBySubscriptionIdComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionIdCompleteResult, error)
ListBySubscriptionIdComplete retrieves all the results into a single object
func (VaultsClient) ListBySubscriptionIdCompleteMatchingPredicate ¶
func (c VaultsClient) ListBySubscriptionIdCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate VaultOperationPredicate) (result ListBySubscriptionIdCompleteResult, err error)
ListBySubscriptionIdCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (VaultsClient) Update ¶
func (c VaultsClient) Update(ctx context.Context, id VaultId, input PatchVault) (result UpdateOperationResponse, err error)
Update ...
func (VaultsClient) UpdateThenPoll ¶
func (c VaultsClient) UpdateThenPoll(ctx context.Context, id VaultId, input PatchVault) error
UpdateThenPoll performs Update then polls until it's completed
Source Files ¶
- client.go
- constants.go
- id_vault.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_listbyresourcegroup.go
- method_listbysubscriptionid.go
- method_update.go
- model_azuremonitoralertsettings.go
- model_classicalertsettings.go
- model_cmkkekidentity.go
- model_cmkkeyvaultproperties.go
- model_crosssubscriptionrestoresettings.go
- model_immutabilitysettings.go
- model_monitoringsettings.go
- model_patchvault.go
- model_privateendpoint.go
- model_privateendpointconnection.go
- model_privateendpointconnectionvaultproperties.go
- model_privatelinkserviceconnectionstate.go
- model_restoresettings.go
- model_securitysettings.go
- model_sku.go
- model_softdeletesettings.go
- model_upgradedetails.go
- model_vault.go
- model_vaultproperties.go
- model_vaultpropertiesencryption.go
- model_vaultpropertiesmovedetails.go
- model_vaultpropertiesredundancysettings.go
- predicates.go
- version.go