Documentation ¶
Index ¶
- func PossibleValuesForAccessPolicyUpdateKind() []string
- func PossibleValuesForActionsRequired() []string
- func PossibleValuesForCertificatePermissions() []string
- func PossibleValuesForCreateMode() []string
- func PossibleValuesForKeyPermissions() []string
- func PossibleValuesForNetworkRuleAction() []string
- func PossibleValuesForNetworkRuleBypassOptions() []string
- func PossibleValuesForPrivateEndpointConnectionProvisioningState() []string
- func PossibleValuesForPrivateEndpointServiceConnectionStatus() []string
- func PossibleValuesForReason() []string
- func PossibleValuesForSecretPermissions() []string
- func PossibleValuesForSkuFamily() []string
- func PossibleValuesForSkuName() []string
- func PossibleValuesForStoragePermissions() []string
- func PossibleValuesForType() []string
- func PossibleValuesForVaultListFilterTypes() []string
- func PossibleValuesForVaultProvisioningState() []string
- func ValidateDeletedVaultID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateOperationKindID(input interface{}, key string) (warnings []string, errors []error)
- type AccessPolicyEntry
- type AccessPolicyUpdateKind
- type ActionsRequired
- type CertificatePermissions
- type CheckNameAvailabilityOperationResponse
- type CheckNameAvailabilityResult
- type CreateMode
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type DeletedVault
- type DeletedVaultId
- type DeletedVaultOperationPredicate
- type DeletedVaultProperties
- func (o *DeletedVaultProperties) GetDeletionDateAsTime() (*time.Time, error)
- func (o *DeletedVaultProperties) GetScheduledPurgeDateAsTime() (*time.Time, error)
- func (o *DeletedVaultProperties) SetDeletionDateAsTime(input time.Time)
- func (o *DeletedVaultProperties) SetScheduledPurgeDateAsTime(input time.Time)
- type GetDeletedOperationResponse
- type GetOperationResponse
- type IPRule
- type KeyPermissions
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationOptions
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionOperationOptions
- type ListBySubscriptionOperationResponse
- type ListCompleteResult
- type ListDeletedCompleteResult
- type ListDeletedOperationResponse
- type ListOperationOptions
- type ListOperationResponse
- type NetworkRuleAction
- type NetworkRuleBypassOptions
- type NetworkRuleSet
- type OperationKindId
- type Permissions
- type PrivateEndpoint
- type PrivateEndpointConnectionItem
- type PrivateEndpointConnectionProperties
- type PrivateEndpointConnectionProvisioningState
- type PrivateEndpointServiceConnectionStatus
- type PrivateLinkServiceConnectionState
- type PurgeDeletedOperationResponse
- type Reason
- type Resource
- type ResourceOperationPredicate
- type SecretPermissions
- type Sku
- type SkuFamily
- type SkuName
- type StoragePermissions
- type Type
- type UpdateAccessPolicyOperationResponse
- type UpdateOperationResponse
- type Vault
- type VaultAccessPolicyParameters
- type VaultAccessPolicyProperties
- type VaultCheckNameAvailabilityParameters
- type VaultCreateOrUpdateParameters
- type VaultListFilterTypes
- type VaultOperationPredicate
- type VaultPatchParameters
- type VaultPatchProperties
- type VaultProperties
- type VaultProvisioningState
- type VaultsClient
- func (c VaultsClient) CheckNameAvailability(ctx context.Context, id commonids.SubscriptionId, ...) (result CheckNameAvailabilityOperationResponse, err error)
- func (c VaultsClient) CreateOrUpdate(ctx context.Context, id commonids.KeyVaultId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c VaultsClient) CreateOrUpdateThenPoll(ctx context.Context, id commonids.KeyVaultId, ...) error
- func (c VaultsClient) Delete(ctx context.Context, id commonids.KeyVaultId) (result DeleteOperationResponse, err error)
- func (c VaultsClient) Get(ctx context.Context, id commonids.KeyVaultId) (result GetOperationResponse, err error)
- func (c VaultsClient) GetDeleted(ctx context.Context, id DeletedVaultId) (result GetDeletedOperationResponse, err error)
- func (c VaultsClient) List(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (result ListOperationResponse, 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) ListBySubscription(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionOperationResponse, err error)
- func (c VaultsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId, ...) (ListBySubscriptionCompleteResult, error)
- func (c VaultsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionCompleteResult, err error)
- func (c VaultsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (ListCompleteResult, error)
- func (c VaultsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- func (c VaultsClient) ListDeleted(ctx context.Context, id commonids.SubscriptionId) (result ListDeletedOperationResponse, err error)
- func (c VaultsClient) ListDeletedComplete(ctx context.Context, id commonids.SubscriptionId) (ListDeletedCompleteResult, error)
- func (c VaultsClient) ListDeletedCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListDeletedCompleteResult, err error)
- func (c VaultsClient) PurgeDeleted(ctx context.Context, id DeletedVaultId) (result PurgeDeletedOperationResponse, err error)
- func (c VaultsClient) PurgeDeletedThenPoll(ctx context.Context, id DeletedVaultId) error
- func (c VaultsClient) Update(ctx context.Context, id commonids.KeyVaultId, input VaultPatchParameters) (result UpdateOperationResponse, err error)
- func (c VaultsClient) UpdateAccessPolicy(ctx context.Context, id OperationKindId, input VaultAccessPolicyParameters) (result UpdateAccessPolicyOperationResponse, err error)
- type VirtualNetworkRule
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAccessPolicyUpdateKind ¶
func PossibleValuesForAccessPolicyUpdateKind() []string
func PossibleValuesForActionsRequired ¶
func PossibleValuesForActionsRequired() []string
func PossibleValuesForCertificatePermissions ¶
func PossibleValuesForCertificatePermissions() []string
func PossibleValuesForCreateMode ¶
func PossibleValuesForCreateMode() []string
func PossibleValuesForKeyPermissions ¶
func PossibleValuesForKeyPermissions() []string
func PossibleValuesForNetworkRuleAction ¶
func PossibleValuesForNetworkRuleAction() []string
func PossibleValuesForNetworkRuleBypassOptions ¶
func PossibleValuesForNetworkRuleBypassOptions() []string
func PossibleValuesForPrivateEndpointConnectionProvisioningState ¶
func PossibleValuesForPrivateEndpointConnectionProvisioningState() []string
func PossibleValuesForPrivateEndpointServiceConnectionStatus ¶
func PossibleValuesForPrivateEndpointServiceConnectionStatus() []string
func PossibleValuesForReason ¶
func PossibleValuesForReason() []string
func PossibleValuesForSecretPermissions ¶
func PossibleValuesForSecretPermissions() []string
func PossibleValuesForSkuFamily ¶
func PossibleValuesForSkuFamily() []string
func PossibleValuesForSkuName ¶
func PossibleValuesForSkuName() []string
func PossibleValuesForStoragePermissions ¶
func PossibleValuesForStoragePermissions() []string
func PossibleValuesForType ¶
func PossibleValuesForType() []string
func PossibleValuesForVaultListFilterTypes ¶
func PossibleValuesForVaultListFilterTypes() []string
func PossibleValuesForVaultProvisioningState ¶
func PossibleValuesForVaultProvisioningState() []string
func ValidateDeletedVaultID ¶
ValidateDeletedVaultID checks that 'input' can be parsed as a Deleted Vault ID
func ValidateOperationKindID ¶
ValidateOperationKindID checks that 'input' can be parsed as a Operation Kind ID
Types ¶
type AccessPolicyEntry ¶
type AccessPolicyEntry struct { ApplicationId *string `json:"applicationId,omitempty"` ObjectId string `json:"objectId"` Permissions Permissions `json:"permissions"` TenantId string `json:"tenantId"` }
type AccessPolicyUpdateKind ¶
type AccessPolicyUpdateKind string
const ( AccessPolicyUpdateKindAdd AccessPolicyUpdateKind = "add" AccessPolicyUpdateKindRemove AccessPolicyUpdateKind = "remove" AccessPolicyUpdateKindReplace AccessPolicyUpdateKind = "replace" )
func (*AccessPolicyUpdateKind) UnmarshalJSON ¶ added in v0.20230825.1130400
func (s *AccessPolicyUpdateKind) UnmarshalJSON(bytes []byte) error
type ActionsRequired ¶
type ActionsRequired string
const (
ActionsRequiredNone ActionsRequired = "None"
)
func (*ActionsRequired) UnmarshalJSON ¶ added in v0.20230825.1130400
func (s *ActionsRequired) UnmarshalJSON(bytes []byte) error
type CertificatePermissions ¶
type CertificatePermissions string
const ( CertificatePermissionsAll CertificatePermissions = "all" CertificatePermissionsBackup CertificatePermissions = "backup" CertificatePermissionsCreate CertificatePermissions = "create" CertificatePermissionsDelete CertificatePermissions = "delete" CertificatePermissionsDeleteissuers CertificatePermissions = "deleteissuers" CertificatePermissionsGet CertificatePermissions = "get" CertificatePermissionsGetissuers CertificatePermissions = "getissuers" CertificatePermissionsImport CertificatePermissions = "import" CertificatePermissionsList CertificatePermissions = "list" CertificatePermissionsListissuers CertificatePermissions = "listissuers" CertificatePermissionsManagecontacts CertificatePermissions = "managecontacts" CertificatePermissionsManageissuers CertificatePermissions = "manageissuers" CertificatePermissionsPurge CertificatePermissions = "purge" CertificatePermissionsRecover CertificatePermissions = "recover" CertificatePermissionsRestore CertificatePermissions = "restore" CertificatePermissionsSetissuers CertificatePermissions = "setissuers" CertificatePermissionsUpdate CertificatePermissions = "update" )
func (*CertificatePermissions) UnmarshalJSON ¶ added in v0.20230825.1130400
func (s *CertificatePermissions) UnmarshalJSON(bytes []byte) error
type CheckNameAvailabilityOperationResponse ¶
type CheckNameAvailabilityOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CheckNameAvailabilityResult }
type CreateMode ¶
type CreateMode string
const ( CreateModeDefault CreateMode = "default" CreateModeRecover CreateMode = "recover" )
func (*CreateMode) UnmarshalJSON ¶ added in v0.20230825.1130400
func (s *CreateMode) UnmarshalJSON(bytes []byte) error
type DeleteOperationResponse ¶
type DeletedVault ¶
type DeletedVault struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *DeletedVaultProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type DeletedVaultId ¶
DeletedVaultId is a struct representing the Resource ID for a Deleted Vault
func NewDeletedVaultID ¶
func NewDeletedVaultID(subscriptionId string, locationName string, deletedVaultName string) DeletedVaultId
NewDeletedVaultID returns a new DeletedVaultId struct
func ParseDeletedVaultID ¶
func ParseDeletedVaultID(input string) (*DeletedVaultId, error)
ParseDeletedVaultID parses 'input' into a DeletedVaultId
func ParseDeletedVaultIDInsensitively ¶
func ParseDeletedVaultIDInsensitively(input string) (*DeletedVaultId, error)
ParseDeletedVaultIDInsensitively parses 'input' case-insensitively into a DeletedVaultId note: this method should only be used for API response data and not user input
func (DeletedVaultId) ID ¶
func (id DeletedVaultId) ID() string
ID returns the formatted Deleted Vault ID
func (DeletedVaultId) Segments ¶
func (id DeletedVaultId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Deleted Vault ID
func (DeletedVaultId) String ¶
func (id DeletedVaultId) String() string
String returns a human-readable description of this Deleted Vault ID
type DeletedVaultOperationPredicate ¶
func (DeletedVaultOperationPredicate) Matches ¶
func (p DeletedVaultOperationPredicate) Matches(input DeletedVault) bool
type DeletedVaultProperties ¶
type DeletedVaultProperties struct { DeletionDate *string `json:"deletionDate,omitempty"` Location *string `json:"location,omitempty"` PurgeProtectionEnabled *bool `json:"purgeProtectionEnabled,omitempty"` ScheduledPurgeDate *string `json:"scheduledPurgeDate,omitempty"` Tags *map[string]string `json:"tags,omitempty"` VaultId *string `json:"vaultId,omitempty"` }
func (*DeletedVaultProperties) GetDeletionDateAsTime ¶
func (o *DeletedVaultProperties) GetDeletionDateAsTime() (*time.Time, error)
func (*DeletedVaultProperties) GetScheduledPurgeDateAsTime ¶
func (o *DeletedVaultProperties) GetScheduledPurgeDateAsTime() (*time.Time, error)
func (*DeletedVaultProperties) SetDeletionDateAsTime ¶
func (o *DeletedVaultProperties) SetDeletionDateAsTime(input time.Time)
func (*DeletedVaultProperties) SetScheduledPurgeDateAsTime ¶
func (o *DeletedVaultProperties) SetScheduledPurgeDateAsTime(input time.Time)
type GetDeletedOperationResponse ¶
type GetDeletedOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DeletedVault }
type GetOperationResponse ¶
type KeyPermissions ¶
type KeyPermissions string
const ( KeyPermissionsAll KeyPermissions = "all" KeyPermissionsBackup KeyPermissions = "backup" KeyPermissionsCreate KeyPermissions = "create" KeyPermissionsDecrypt KeyPermissions = "decrypt" KeyPermissionsDelete KeyPermissions = "delete" KeyPermissionsEncrypt KeyPermissions = "encrypt" KeyPermissionsGet KeyPermissions = "get" KeyPermissionsImport KeyPermissions = "import" KeyPermissionsList KeyPermissions = "list" KeyPermissionsPurge KeyPermissions = "purge" KeyPermissionsRecover KeyPermissions = "recover" KeyPermissionsRestore KeyPermissions = "restore" KeyPermissionsSign KeyPermissions = "sign" KeyPermissionsUnwrapKey KeyPermissions = "unwrapKey" KeyPermissionsUpdate KeyPermissions = "update" KeyPermissionsVerify KeyPermissions = "verify" KeyPermissionsWrapKey KeyPermissions = "wrapKey" )
func (*KeyPermissions) UnmarshalJSON ¶ added in v0.20230825.1130400
func (s *KeyPermissions) UnmarshalJSON(bytes []byte) error
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct {
Items []Vault
}
type ListByResourceGroupOperationOptions ¶
type ListByResourceGroupOperationOptions struct {
Top *int64
}
func DefaultListByResourceGroupOperationOptions ¶
func DefaultListByResourceGroupOperationOptions() ListByResourceGroupOperationOptions
func (ListByResourceGroupOperationOptions) ToHeaders ¶ added in v0.20230825.1130400
func (o ListByResourceGroupOperationOptions) ToHeaders() *client.Headers
func (ListByResourceGroupOperationOptions) ToOData ¶ added in v0.20230825.1130400
func (o ListByResourceGroupOperationOptions) ToOData() *odata.Query
func (ListByResourceGroupOperationOptions) ToQuery ¶ added in v0.20230825.1130400
func (o ListByResourceGroupOperationOptions) ToQuery() *client.QueryParams
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct {
Items []Vault
}
type ListBySubscriptionOperationOptions ¶
type ListBySubscriptionOperationOptions struct {
Top *int64
}
func DefaultListBySubscriptionOperationOptions ¶
func DefaultListBySubscriptionOperationOptions() ListBySubscriptionOperationOptions
func (ListBySubscriptionOperationOptions) ToHeaders ¶ added in v0.20230825.1130400
func (o ListBySubscriptionOperationOptions) ToHeaders() *client.Headers
func (ListBySubscriptionOperationOptions) ToOData ¶ added in v0.20230825.1130400
func (o ListBySubscriptionOperationOptions) ToOData() *odata.Query
func (ListBySubscriptionOperationOptions) ToQuery ¶ added in v0.20230825.1130400
func (o ListBySubscriptionOperationOptions) ToQuery() *client.QueryParams
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []Resource
}
type ListDeletedCompleteResult ¶
type ListDeletedCompleteResult struct {
Items []DeletedVault
}
type ListDeletedOperationResponse ¶
type ListDeletedOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]DeletedVault }
type ListOperationOptions ¶
type ListOperationOptions struct { Filter *VaultListFilterTypes Top *int64 }
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶ added in v0.20230825.1130400
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶ added in v0.20230825.1130400
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶ added in v0.20230825.1130400
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type NetworkRuleAction ¶
type NetworkRuleAction string
const ( NetworkRuleActionAllow NetworkRuleAction = "Allow" NetworkRuleActionDeny NetworkRuleAction = "Deny" )
func (*NetworkRuleAction) UnmarshalJSON ¶ added in v0.20230825.1130400
func (s *NetworkRuleAction) UnmarshalJSON(bytes []byte) error
type NetworkRuleBypassOptions ¶
type NetworkRuleBypassOptions string
const ( NetworkRuleBypassOptionsAzureServices NetworkRuleBypassOptions = "AzureServices" NetworkRuleBypassOptionsNone NetworkRuleBypassOptions = "None" )
func (*NetworkRuleBypassOptions) UnmarshalJSON ¶ added in v0.20230825.1130400
func (s *NetworkRuleBypassOptions) UnmarshalJSON(bytes []byte) error
type NetworkRuleSet ¶
type NetworkRuleSet struct { Bypass *NetworkRuleBypassOptions `json:"bypass,omitempty"` DefaultAction *NetworkRuleAction `json:"defaultAction,omitempty"` IPRules *[]IPRule `json:"ipRules,omitempty"` VirtualNetworkRules *[]VirtualNetworkRule `json:"virtualNetworkRules,omitempty"` }
type OperationKindId ¶
type OperationKindId struct { SubscriptionId string ResourceGroupName string VaultName string OperationKind AccessPolicyUpdateKind }
OperationKindId is a struct representing the Resource ID for a Operation Kind
func NewOperationKindID ¶
func NewOperationKindID(subscriptionId string, resourceGroupName string, vaultName string, operationKind AccessPolicyUpdateKind) OperationKindId
NewOperationKindID returns a new OperationKindId struct
func ParseOperationKindID ¶
func ParseOperationKindID(input string) (*OperationKindId, error)
ParseOperationKindID parses 'input' into a OperationKindId
func ParseOperationKindIDInsensitively ¶
func ParseOperationKindIDInsensitively(input string) (*OperationKindId, error)
ParseOperationKindIDInsensitively parses 'input' case-insensitively into a OperationKindId note: this method should only be used for API response data and not user input
func (OperationKindId) ID ¶
func (id OperationKindId) ID() string
ID returns the formatted Operation Kind ID
func (OperationKindId) Segments ¶
func (id OperationKindId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Operation Kind ID
func (OperationKindId) String ¶
func (id OperationKindId) String() string
String returns a human-readable description of this Operation Kind ID
type Permissions ¶
type Permissions struct { Certificates *[]CertificatePermissions `json:"certificates,omitempty"` Keys *[]KeyPermissions `json:"keys,omitempty"` Secrets *[]SecretPermissions `json:"secrets,omitempty"` Storage *[]StoragePermissions `json:"storage,omitempty"` }
type PrivateEndpoint ¶
type PrivateEndpoint struct {
Id *string `json:"id,omitempty"`
}
type PrivateEndpointConnectionItem ¶
type PrivateEndpointConnectionItem struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Properties *PrivateEndpointConnectionProperties `json:"properties,omitempty"` }
type PrivateEndpointConnectionProperties ¶
type PrivateEndpointConnectionProperties struct { PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty"` PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState,omitempty"` ProvisioningState *PrivateEndpointConnectionProvisioningState `json:"provisioningState,omitempty"` }
type PrivateEndpointConnectionProvisioningState ¶
type PrivateEndpointConnectionProvisioningState string
const ( PrivateEndpointConnectionProvisioningStateCreating PrivateEndpointConnectionProvisioningState = "Creating" PrivateEndpointConnectionProvisioningStateDeleting PrivateEndpointConnectionProvisioningState = "Deleting" PrivateEndpointConnectionProvisioningStateDisconnected PrivateEndpointConnectionProvisioningState = "Disconnected" PrivateEndpointConnectionProvisioningStateFailed PrivateEndpointConnectionProvisioningState = "Failed" PrivateEndpointConnectionProvisioningStateSucceeded PrivateEndpointConnectionProvisioningState = "Succeeded" PrivateEndpointConnectionProvisioningStateUpdating PrivateEndpointConnectionProvisioningState = "Updating" )
func (*PrivateEndpointConnectionProvisioningState) UnmarshalJSON ¶ added in v0.20230825.1130400
func (s *PrivateEndpointConnectionProvisioningState) UnmarshalJSON(bytes []byte) error
type PrivateEndpointServiceConnectionStatus ¶
type PrivateEndpointServiceConnectionStatus string
const ( PrivateEndpointServiceConnectionStatusApproved PrivateEndpointServiceConnectionStatus = "Approved" PrivateEndpointServiceConnectionStatusDisconnected PrivateEndpointServiceConnectionStatus = "Disconnected" PrivateEndpointServiceConnectionStatusPending PrivateEndpointServiceConnectionStatus = "Pending" PrivateEndpointServiceConnectionStatusRejected PrivateEndpointServiceConnectionStatus = "Rejected" )
func (*PrivateEndpointServiceConnectionStatus) UnmarshalJSON ¶ added in v0.20230825.1130400
func (s *PrivateEndpointServiceConnectionStatus) UnmarshalJSON(bytes []byte) error
type PrivateLinkServiceConnectionState ¶
type PrivateLinkServiceConnectionState struct { ActionsRequired *ActionsRequired `json:"actionsRequired,omitempty"` Description *string `json:"description,omitempty"` Status *PrivateEndpointServiceConnectionStatus `json:"status,omitempty"` }
type ResourceOperationPredicate ¶
func (ResourceOperationPredicate) Matches ¶
func (p ResourceOperationPredicate) Matches(input Resource) bool
type SecretPermissions ¶
type SecretPermissions string
const ( SecretPermissionsAll SecretPermissions = "all" SecretPermissionsBackup SecretPermissions = "backup" SecretPermissionsDelete SecretPermissions = "delete" SecretPermissionsGet SecretPermissions = "get" SecretPermissionsList SecretPermissions = "list" SecretPermissionsPurge SecretPermissions = "purge" SecretPermissionsRecover SecretPermissions = "recover" SecretPermissionsRestore SecretPermissions = "restore" SecretPermissionsSet SecretPermissions = "set" )
func (*SecretPermissions) UnmarshalJSON ¶ added in v0.20230825.1130400
func (s *SecretPermissions) UnmarshalJSON(bytes []byte) error
type SkuFamily ¶
type SkuFamily string
const (
SkuFamilyA SkuFamily = "A"
)
func (*SkuFamily) UnmarshalJSON ¶ added in v0.20230825.1130400
type StoragePermissions ¶
type StoragePermissions string
const ( StoragePermissionsAll StoragePermissions = "all" StoragePermissionsBackup StoragePermissions = "backup" StoragePermissionsDelete StoragePermissions = "delete" StoragePermissionsDeletesas StoragePermissions = "deletesas" StoragePermissionsGet StoragePermissions = "get" StoragePermissionsGetsas StoragePermissions = "getsas" StoragePermissionsList StoragePermissions = "list" StoragePermissionsListsas StoragePermissions = "listsas" StoragePermissionsPurge StoragePermissions = "purge" StoragePermissionsRecover StoragePermissions = "recover" StoragePermissionsRegeneratekey StoragePermissions = "regeneratekey" StoragePermissionsRestore StoragePermissions = "restore" StoragePermissionsSet StoragePermissions = "set" StoragePermissionsSetsas StoragePermissions = "setsas" StoragePermissionsUpdate StoragePermissions = "update" )
func (*StoragePermissions) UnmarshalJSON ¶ added in v0.20230825.1130400
func (s *StoragePermissions) UnmarshalJSON(bytes []byte) error
type Type ¶
type Type string
const (
TypeMicrosoftPointKeyVaultVaults Type = "Microsoft.KeyVault/vaults"
)
func (*Type) UnmarshalJSON ¶ added in v0.20230825.1130400
type UpdateAccessPolicyOperationResponse ¶
type UpdateAccessPolicyOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *VaultAccessPolicyParameters }
type UpdateOperationResponse ¶
type Vault ¶
type Vault struct { Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties VaultProperties `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type VaultAccessPolicyParameters ¶
type VaultAccessPolicyParameters struct { Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties VaultAccessPolicyProperties `json:"properties"` Type *string `json:"type,omitempty"` }
type VaultAccessPolicyProperties ¶
type VaultAccessPolicyProperties struct {
AccessPolicies []AccessPolicyEntry `json:"accessPolicies"`
}
type VaultCreateOrUpdateParameters ¶
type VaultCreateOrUpdateParameters struct { Location string `json:"location"` Properties VaultProperties `json:"properties"` Tags *map[string]string `json:"tags,omitempty"` }
type VaultListFilterTypes ¶
type VaultListFilterTypes string
const (
VaultListFilterTypesResourceTypeEqMicrosoftPointKeyVaultVaults VaultListFilterTypes = "resourceType eq 'Microsoft.KeyVault/vaults'"
)
func (*VaultListFilterTypes) UnmarshalJSON ¶ added in v0.20230825.1130400
func (s *VaultListFilterTypes) UnmarshalJSON(bytes []byte) error
type VaultOperationPredicate ¶
func (VaultOperationPredicate) Matches ¶
func (p VaultOperationPredicate) Matches(input Vault) bool
type VaultPatchParameters ¶
type VaultPatchParameters struct { Properties *VaultPatchProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type VaultPatchProperties ¶
type VaultPatchProperties struct { AccessPolicies *[]AccessPolicyEntry `json:"accessPolicies,omitempty"` CreateMode *CreateMode `json:"createMode,omitempty"` EnablePurgeProtection *bool `json:"enablePurgeProtection,omitempty"` EnableRbacAuthorization *bool `json:"enableRbacAuthorization,omitempty"` EnableSoftDelete *bool `json:"enableSoftDelete,omitempty"` EnabledForDeployment *bool `json:"enabledForDeployment,omitempty"` EnabledForDiskEncryption *bool `json:"enabledForDiskEncryption,omitempty"` EnabledForTemplateDeployment *bool `json:"enabledForTemplateDeployment,omitempty"` NetworkAcls *NetworkRuleSet `json:"networkAcls,omitempty"` PublicNetworkAccess *string `json:"publicNetworkAccess,omitempty"` Sku *Sku `json:"sku,omitempty"` SoftDeleteRetentionInDays *int64 `json:"softDeleteRetentionInDays,omitempty"` TenantId *string `json:"tenantId,omitempty"` }
type VaultProperties ¶
type VaultProperties struct { AccessPolicies *[]AccessPolicyEntry `json:"accessPolicies,omitempty"` CreateMode *CreateMode `json:"createMode,omitempty"` EnablePurgeProtection *bool `json:"enablePurgeProtection,omitempty"` EnableRbacAuthorization *bool `json:"enableRbacAuthorization,omitempty"` EnableSoftDelete *bool `json:"enableSoftDelete,omitempty"` EnabledForDeployment *bool `json:"enabledForDeployment,omitempty"` EnabledForDiskEncryption *bool `json:"enabledForDiskEncryption,omitempty"` EnabledForTemplateDeployment *bool `json:"enabledForTemplateDeployment,omitempty"` HsmPoolResourceId *string `json:"hsmPoolResourceId,omitempty"` NetworkAcls *NetworkRuleSet `json:"networkAcls,omitempty"` PrivateEndpointConnections *[]PrivateEndpointConnectionItem `json:"privateEndpointConnections,omitempty"` ProvisioningState *VaultProvisioningState `json:"provisioningState,omitempty"` PublicNetworkAccess *string `json:"publicNetworkAccess,omitempty"` Sku Sku `json:"sku"` SoftDeleteRetentionInDays *int64 `json:"softDeleteRetentionInDays,omitempty"` TenantId string `json:"tenantId"` VaultUri *string `json:"vaultUri,omitempty"` }
type VaultProvisioningState ¶
type VaultProvisioningState string
const ( VaultProvisioningStateRegisteringDns VaultProvisioningState = "RegisteringDns" VaultProvisioningStateSucceeded VaultProvisioningState = "Succeeded" )
func (*VaultProvisioningState) UnmarshalJSON ¶ added in v0.20230825.1130400
func (s *VaultProvisioningState) UnmarshalJSON(bytes []byte) error
type VaultsClient ¶
type VaultsClient struct {
Client *resourcemanager.Client
}
func NewVaultsClientWithBaseURI ¶
func NewVaultsClientWithBaseURI(sdkApi sdkEnv.Api) (*VaultsClient, error)
func (VaultsClient) CheckNameAvailability ¶
func (c VaultsClient) CheckNameAvailability(ctx context.Context, id commonids.SubscriptionId, input VaultCheckNameAvailabilityParameters) (result CheckNameAvailabilityOperationResponse, err error)
CheckNameAvailability ...
func (VaultsClient) CreateOrUpdate ¶
func (c VaultsClient) CreateOrUpdate(ctx context.Context, id commonids.KeyVaultId, input VaultCreateOrUpdateParameters) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (VaultsClient) CreateOrUpdateThenPoll ¶
func (c VaultsClient) CreateOrUpdateThenPoll(ctx context.Context, id commonids.KeyVaultId, input VaultCreateOrUpdateParameters) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (VaultsClient) Delete ¶
func (c VaultsClient) Delete(ctx context.Context, id commonids.KeyVaultId) (result DeleteOperationResponse, err error)
Delete ...
func (VaultsClient) Get ¶
func (c VaultsClient) Get(ctx context.Context, id commonids.KeyVaultId) (result GetOperationResponse, err error)
Get ...
func (VaultsClient) GetDeleted ¶
func (c VaultsClient) GetDeleted(ctx context.Context, id DeletedVaultId) (result GetDeletedOperationResponse, err error)
GetDeleted ...
func (VaultsClient) List ¶
func (c VaultsClient) List(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (VaultsClient) ListByResourceGroup ¶
func (c VaultsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId, options ListByResourceGroupOperationOptions) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (VaultsClient) ListByResourceGroupComplete ¶
func (c VaultsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId, options ListByResourceGroupOperationOptions) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (VaultsClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c VaultsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, options ListByResourceGroupOperationOptions, predicate VaultOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (VaultsClient) ListBySubscription ¶
func (c VaultsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId, options ListBySubscriptionOperationOptions) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (VaultsClient) ListBySubscriptionComplete ¶
func (c VaultsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId, options ListBySubscriptionOperationOptions) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all the results into a single object
func (VaultsClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c VaultsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListBySubscriptionOperationOptions, predicate VaultOperationPredicate) (result ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (VaultsClient) ListComplete ¶
func (c VaultsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (VaultsClient) ListCompleteMatchingPredicate ¶
func (c VaultsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions, predicate ResourceOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (VaultsClient) ListDeleted ¶
func (c VaultsClient) ListDeleted(ctx context.Context, id commonids.SubscriptionId) (result ListDeletedOperationResponse, err error)
ListDeleted ...
func (VaultsClient) ListDeletedComplete ¶
func (c VaultsClient) ListDeletedComplete(ctx context.Context, id commonids.SubscriptionId) (ListDeletedCompleteResult, error)
ListDeletedComplete retrieves all the results into a single object
func (VaultsClient) ListDeletedCompleteMatchingPredicate ¶
func (c VaultsClient) ListDeletedCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate DeletedVaultOperationPredicate) (result ListDeletedCompleteResult, err error)
ListDeletedCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (VaultsClient) PurgeDeleted ¶
func (c VaultsClient) PurgeDeleted(ctx context.Context, id DeletedVaultId) (result PurgeDeletedOperationResponse, err error)
PurgeDeleted ...
func (VaultsClient) PurgeDeletedThenPoll ¶
func (c VaultsClient) PurgeDeletedThenPoll(ctx context.Context, id DeletedVaultId) error
PurgeDeletedThenPoll performs PurgeDeleted then polls until it's completed
func (VaultsClient) Update ¶
func (c VaultsClient) Update(ctx context.Context, id commonids.KeyVaultId, input VaultPatchParameters) (result UpdateOperationResponse, err error)
Update ...
func (VaultsClient) UpdateAccessPolicy ¶
func (c VaultsClient) UpdateAccessPolicy(ctx context.Context, id OperationKindId, input VaultAccessPolicyParameters) (result UpdateAccessPolicyOperationResponse, err error)
UpdateAccessPolicy ...
type VirtualNetworkRule ¶
Source Files ¶
- client.go
- constants.go
- id_deletedvault.go
- id_operationkind.go
- method_checknameavailability.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_getdeleted.go
- method_list.go
- method_listbyresourcegroup.go
- method_listbysubscription.go
- method_listdeleted.go
- method_purgedeleted.go
- method_update.go
- method_updateaccesspolicy.go
- model_accesspolicyentry.go
- model_checknameavailabilityresult.go
- model_deletedvault.go
- model_deletedvaultproperties.go
- model_iprule.go
- model_networkruleset.go
- model_permissions.go
- model_privateendpoint.go
- model_privateendpointconnectionitem.go
- model_privateendpointconnectionproperties.go
- model_privatelinkserviceconnectionstate.go
- model_resource.go
- model_sku.go
- model_vault.go
- model_vaultaccesspolicyparameters.go
- model_vaultaccesspolicyproperties.go
- model_vaultchecknameavailabilityparameters.go
- model_vaultcreateorupdateparameters.go
- model_vaultpatchparameters.go
- model_vaultpatchproperties.go
- model_vaultproperties.go
- model_virtualnetworkrule.go
- predicates.go
- version.go