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) (resp ListOperationResponse, err error)
- func (c VaultsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId, ...) (resp 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, ...) (resp ListByResourceGroupCompleteResult, err error)
- func (c VaultsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId, ...) (resp 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, ...) (resp 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, ...) (resp ListCompleteResult, err error)
- func (c VaultsClient) ListDeleted(ctx context.Context, id commonids.SubscriptionId) (resp 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, ...) (resp 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" )
type ActionsRequired ¶
type ActionsRequired string
const (
ActionsRequiredNone ActionsRequired = "None"
)
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" )
type CheckNameAvailabilityOperationResponse ¶
type CheckNameAvailabilityOperationResponse struct { HttpResponse *http.Response Model *CheckNameAvailabilityResult }
type CreateMode ¶
type CreateMode string
const ( CreateModeDefault CreateMode = "default" CreateModeRecover CreateMode = "recover" )
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
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 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" KeyPermissionsGetrotationpolicy KeyPermissions = "getrotationpolicy" KeyPermissionsImport KeyPermissions = "import" KeyPermissionsList KeyPermissions = "list" KeyPermissionsPurge KeyPermissions = "purge" KeyPermissionsRecover KeyPermissions = "recover" KeyPermissionsRelease KeyPermissions = "release" KeyPermissionsRestore KeyPermissions = "restore" KeyPermissionsRotate KeyPermissions = "rotate" KeyPermissionsSetrotationpolicy KeyPermissions = "setrotationpolicy" KeyPermissionsSign KeyPermissions = "sign" KeyPermissionsUnwrapKey KeyPermissions = "unwrapKey" KeyPermissionsUpdate KeyPermissions = "update" KeyPermissionsVerify KeyPermissions = "verify" KeyPermissionsWrapKey KeyPermissions = "wrapKey" )
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct {
Items []Vault
}
type ListByResourceGroupOperationOptions ¶
type ListByResourceGroupOperationOptions struct {
Top *int64
}
func DefaultListByResourceGroupOperationOptions ¶
func DefaultListByResourceGroupOperationOptions() ListByResourceGroupOperationOptions
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response Model *[]Vault // contains filtered or unexported fields }
func (ListByResourceGroupOperationResponse) HasMore ¶
func (r ListByResourceGroupOperationResponse) HasMore() bool
func (ListByResourceGroupOperationResponse) LoadMore ¶
func (r ListByResourceGroupOperationResponse) LoadMore(ctx context.Context) (resp ListByResourceGroupOperationResponse, err error)
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct {
Items []Vault
}
type ListBySubscriptionOperationOptions ¶
type ListBySubscriptionOperationOptions struct {
Top *int64
}
func DefaultListBySubscriptionOperationOptions ¶
func DefaultListBySubscriptionOperationOptions() ListBySubscriptionOperationOptions
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response Model *[]Vault // contains filtered or unexported fields }
func (ListBySubscriptionOperationResponse) HasMore ¶
func (r ListBySubscriptionOperationResponse) HasMore() bool
func (ListBySubscriptionOperationResponse) LoadMore ¶
func (r ListBySubscriptionOperationResponse) LoadMore(ctx context.Context) (resp ListBySubscriptionOperationResponse, err error)
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []Resource
}
type ListDeletedCompleteResult ¶
type ListDeletedCompleteResult struct {
Items []DeletedVault
}
type ListDeletedOperationResponse ¶
type ListDeletedOperationResponse struct { HttpResponse *http.Response Model *[]DeletedVault // contains filtered or unexported fields }
func (ListDeletedOperationResponse) HasMore ¶
func (r ListDeletedOperationResponse) HasMore() bool
func (ListDeletedOperationResponse) LoadMore ¶
func (r ListDeletedOperationResponse) LoadMore(ctx context.Context) (resp ListDeletedOperationResponse, err error)
type ListOperationOptions ¶
type ListOperationOptions struct { Filter *VaultListFilterTypes Top *int64 }
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]Resource // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
type NetworkRuleAction ¶
type NetworkRuleAction string
const ( NetworkRuleActionAllow NetworkRuleAction = "Allow" NetworkRuleActionDeny NetworkRuleAction = "Deny" )
type NetworkRuleBypassOptions ¶
type NetworkRuleBypassOptions string
const ( NetworkRuleBypassOptionsAzureServices NetworkRuleBypassOptions = "AzureServices" NetworkRuleBypassOptionsNone NetworkRuleBypassOptions = "None" )
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" )
type PrivateEndpointServiceConnectionStatus ¶
type PrivateEndpointServiceConnectionStatus string
const ( PrivateEndpointServiceConnectionStatusApproved PrivateEndpointServiceConnectionStatus = "Approved" PrivateEndpointServiceConnectionStatusDisconnected PrivateEndpointServiceConnectionStatus = "Disconnected" PrivateEndpointServiceConnectionStatusPending PrivateEndpointServiceConnectionStatus = "Pending" PrivateEndpointServiceConnectionStatusRejected PrivateEndpointServiceConnectionStatus = "Rejected" )
type PrivateLinkServiceConnectionState ¶
type PrivateLinkServiceConnectionState struct { ActionsRequired *ActionsRequired `json:"actionsRequired,omitempty"` Description *string `json:"description,omitempty"` Status *PrivateEndpointServiceConnectionStatus `json:"status,omitempty"` }
type PurgeDeletedOperationResponse ¶
type PurgeDeletedOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
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" )
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" )
type Type ¶
type Type string
const (
TypeMicrosoftPointKeyVaultVaults Type = "Microsoft.KeyVault/vaults"
)
type UpdateAccessPolicyOperationResponse ¶
type UpdateAccessPolicyOperationResponse struct { HttpResponse *http.Response 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'"
)
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" )
type VaultsClient ¶
func NewVaultsClientWithBaseURI ¶
func NewVaultsClientWithBaseURI(endpoint string) VaultsClient
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) (resp ListOperationResponse, err error)
List ...
func (VaultsClient) ListByResourceGroup ¶
func (c VaultsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId, options ListByResourceGroupOperationOptions) (resp ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (VaultsClient) ListByResourceGroupComplete ¶
func (c VaultsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId, options ListByResourceGroupOperationOptions) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all of the results into a single object
func (VaultsClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c VaultsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, options ListByResourceGroupOperationOptions, predicate VaultOperationPredicate) (resp ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (VaultsClient) ListBySubscription ¶
func (c VaultsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId, options ListBySubscriptionOperationOptions) (resp ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (VaultsClient) ListBySubscriptionComplete ¶
func (c VaultsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId, options ListBySubscriptionOperationOptions) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all of the results into a single object
func (VaultsClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c VaultsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListBySubscriptionOperationOptions, predicate VaultOperationPredicate) (resp ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (VaultsClient) ListComplete ¶
func (c VaultsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (VaultsClient) ListCompleteMatchingPredicate ¶
func (c VaultsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions, predicate ResourceOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (VaultsClient) ListDeleted ¶
func (c VaultsClient) ListDeleted(ctx context.Context, id commonids.SubscriptionId) (resp ListDeletedOperationResponse, err error)
ListDeleted ...
func (VaultsClient) ListDeletedComplete ¶
func (c VaultsClient) ListDeletedComplete(ctx context.Context, id commonids.SubscriptionId) (ListDeletedCompleteResult, error)
ListDeletedComplete retrieves all of the results into a single object
func (VaultsClient) ListDeletedCompleteMatchingPredicate ¶
func (c VaultsClient) ListDeletedCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate DeletedVaultOperationPredicate) (resp ListDeletedCompleteResult, err error)
ListDeletedCompleteMatchingPredicate retrieves all of the results and then applied 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_autorest.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_getdeleted_autorest.go
- method_list_autorest.go
- method_listbyresourcegroup_autorest.go
- method_listbysubscription_autorest.go
- method_listdeleted_autorest.go
- method_purgedeleted_autorest.go
- method_update_autorest.go
- method_updateaccesspolicy_autorest.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