Versions in this module Expand all Collapse all v0 v0.9.5 Jul 22, 2021 v0.9.4 Jul 16, 2021 v0.9.3 Jul 16, 2021 v0.9.2 Jul 14, 2021 v0.9.1 Jul 14, 2021 Changes in this version + const DefaultBaseURI + func UserAgent() string + func Version() string + type AccessPolicyEntry struct + ApplicationID *uuid.UUID + ObjectID *string + Permissions *Permissions + TenantID *uuid.UUID + type AccessPolicyUpdateKind string + const Add + const Remove + const Replace + func PossibleAccessPolicyUpdateKindValues() []AccessPolicyUpdateKind + type BaseClient struct + BaseURI string + SubscriptionID string + func New(subscriptionID string) BaseClient + func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient + type CertificatePermissions string + const Backup + const Create + const Delete + const Deleteissuers + const Get + const Getissuers + const Import + const List + const Listissuers + const Managecontacts + const Manageissuers + const Purge + const Recover + const Restore + const Setissuers + const Update + func PossibleCertificatePermissionsValues() []CertificatePermissions + type CheckNameAvailabilityResult struct + Message *string + NameAvailable *bool + Reason Reason + func (cnar CheckNameAvailabilityResult) MarshalJSON() ([]byte, error) + type CloudError struct + Error *CloudErrorBody + type CloudErrorBody struct + Code *string + Message *string + type CreateMode string + const CreateModeDefault + const CreateModeRecover + func PossibleCreateModeValues() []CreateMode + type DeletedVault struct + ID *string + Name *string + Properties *DeletedVaultProperties + Type *string + func (dv DeletedVault) MarshalJSON() ([]byte, error) + type DeletedVaultListResult struct + NextLink *string + Value *[]DeletedVault + func (dvlr DeletedVaultListResult) IsEmpty() bool + type DeletedVaultListResultIterator struct + func NewDeletedVaultListResultIterator(page DeletedVaultListResultPage) DeletedVaultListResultIterator + func (iter *DeletedVaultListResultIterator) Next() error + func (iter *DeletedVaultListResultIterator) NextWithContext(ctx context.Context) (err error) + func (iter DeletedVaultListResultIterator) NotDone() bool + func (iter DeletedVaultListResultIterator) Response() DeletedVaultListResult + func (iter DeletedVaultListResultIterator) Value() DeletedVault + type DeletedVaultListResultPage struct + func NewDeletedVaultListResultPage(cur DeletedVaultListResult, ...) DeletedVaultListResultPage + func (page *DeletedVaultListResultPage) Next() error + func (page *DeletedVaultListResultPage) NextWithContext(ctx context.Context) (err error) + func (page DeletedVaultListResultPage) NotDone() bool + func (page DeletedVaultListResultPage) Response() DeletedVaultListResult + func (page DeletedVaultListResultPage) Values() []DeletedVault + type DeletedVaultProperties struct + DeletionDate *date.Time + Location *string + ScheduledPurgeDate *date.Time + Tags map[string]*string + VaultID *string + func (dvp DeletedVaultProperties) MarshalJSON() ([]byte, error) + type IPRule struct + Value *string + type KeyPermissions string + const KeyPermissionsBackup + const KeyPermissionsCreate + const KeyPermissionsDecrypt + const KeyPermissionsDelete + const KeyPermissionsEncrypt + const KeyPermissionsGet + const KeyPermissionsImport + const KeyPermissionsList + const KeyPermissionsPurge + const KeyPermissionsRecover + const KeyPermissionsRestore + const KeyPermissionsSign + const KeyPermissionsUnwrapKey + const KeyPermissionsUpdate + const KeyPermissionsVerify + const KeyPermissionsWrapKey + func PossibleKeyPermissionsValues() []KeyPermissions + type LogSpecification struct + BlobDuration *string + DisplayName *string + Name *string + type NetworkRuleAction string + const Allow + const Deny + func PossibleNetworkRuleActionValues() []NetworkRuleAction + type NetworkRuleBypassOptions string + const AzureServices + const None + func PossibleNetworkRuleBypassOptionsValues() []NetworkRuleBypassOptions + type NetworkRuleSet struct + Bypass NetworkRuleBypassOptions + DefaultAction NetworkRuleAction + IPRules *[]IPRule + VirtualNetworkRules *[]VirtualNetworkRule + type Operation struct + Display *OperationDisplay + Name *string + Origin *string + func (o *Operation) UnmarshalJSON(body []byte) error + func (o Operation) MarshalJSON() ([]byte, error) + type OperationDisplay struct + Description *string + Operation *string + Provider *string + Resource *string + type OperationListResult struct + NextLink *string + Value *[]Operation + func (olr OperationListResult) IsEmpty() bool + type OperationListResultIterator struct + func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator + func (iter *OperationListResultIterator) Next() error + func (iter *OperationListResultIterator) NextWithContext(ctx context.Context) (err error) + func (iter OperationListResultIterator) NotDone() bool + func (iter OperationListResultIterator) Response() OperationListResult + func (iter OperationListResultIterator) Value() Operation + type OperationListResultPage struct + func NewOperationListResultPage(cur OperationListResult, ...) OperationListResultPage + func (page *OperationListResultPage) Next() error + func (page *OperationListResultPage) NextWithContext(ctx context.Context) (err error) + func (page OperationListResultPage) NotDone() bool + func (page OperationListResultPage) Response() OperationListResult + func (page OperationListResultPage) Values() []Operation + type OperationProperties struct + ServiceSpecification *ServiceSpecification + type OperationsClient struct + func NewOperationsClient(subscriptionID string) OperationsClient + func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient + func (client OperationsClient) List(ctx context.Context) (result OperationListResultPage, err error) + func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListResultIterator, err error) + func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error) + func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error) + func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) + type Permissions struct + Certificates *[]CertificatePermissions + Keys *[]KeyPermissions + Secrets *[]SecretPermissions + Storage *[]StoragePermissions + type PrivateEndpoint struct + ID *string + func (peVar PrivateEndpoint) MarshalJSON() ([]byte, error) + type PrivateEndpointConnection struct + ID *string + Location *string + Name *string + Tags map[string]*string + Type *string + func (pec *PrivateEndpointConnection) UnmarshalJSON(body []byte) error + func (pec PrivateEndpointConnection) MarshalJSON() ([]byte, error) + type PrivateEndpointConnectionItem struct + func (peci *PrivateEndpointConnectionItem) UnmarshalJSON(body []byte) error + func (peci PrivateEndpointConnectionItem) MarshalJSON() ([]byte, error) + type PrivateEndpointConnectionProperties struct + PrivateEndpoint *PrivateEndpoint + PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState + ProvisioningState PrivateEndpointConnectionProvisioningState + type PrivateEndpointConnectionProvisioningState string + const Creating + const Deleting + const Disconnected + const Failed + const Succeeded + const Updating + func PossiblePrivateEndpointConnectionProvisioningStateValues() []PrivateEndpointConnectionProvisioningState + type PrivateEndpointConnectionsClient struct + func NewPrivateEndpointConnectionsClient(subscriptionID string) PrivateEndpointConnectionsClient + func NewPrivateEndpointConnectionsClientWithBaseURI(baseURI string, subscriptionID string) PrivateEndpointConnectionsClient + func (client PrivateEndpointConnectionsClient) Delete(ctx context.Context, resourceGroupName string, vaultName string, ...) (result PrivateEndpointConnectionsDeleteFuture, err error) + func (client PrivateEndpointConnectionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, vaultName string, ...) (*http.Request, error) + func (client PrivateEndpointConnectionsClient) DeleteResponder(resp *http.Response) (result PrivateEndpointConnection, err error) + func (client PrivateEndpointConnectionsClient) DeleteSender(req *http.Request) (future PrivateEndpointConnectionsDeleteFuture, err error) + func (client PrivateEndpointConnectionsClient) Get(ctx context.Context, resourceGroupName string, vaultName string, ...) (result PrivateEndpointConnection, err error) + func (client PrivateEndpointConnectionsClient) GetPreparer(ctx context.Context, resourceGroupName string, vaultName string, ...) (*http.Request, error) + func (client PrivateEndpointConnectionsClient) GetResponder(resp *http.Response) (result PrivateEndpointConnection, err error) + func (client PrivateEndpointConnectionsClient) GetSender(req *http.Request) (*http.Response, error) + func (client PrivateEndpointConnectionsClient) Put(ctx context.Context, resourceGroupName string, vaultName string, ...) (result PrivateEndpointConnection, err error) + func (client PrivateEndpointConnectionsClient) PutPreparer(ctx context.Context, resourceGroupName string, vaultName string, ...) (*http.Request, error) + func (client PrivateEndpointConnectionsClient) PutResponder(resp *http.Response) (result PrivateEndpointConnection, err error) + func (client PrivateEndpointConnectionsClient) PutSender(req *http.Request) (*http.Response, error) + type PrivateEndpointConnectionsDeleteFuture struct + Result func(PrivateEndpointConnectionsClient) (PrivateEndpointConnection, error) + func (future *PrivateEndpointConnectionsDeleteFuture) UnmarshalJSON(body []byte) error + type PrivateEndpointServiceConnectionStatus string + const PrivateEndpointServiceConnectionStatusApproved + const PrivateEndpointServiceConnectionStatusDisconnected + const PrivateEndpointServiceConnectionStatusPending + const PrivateEndpointServiceConnectionStatusRejected + func PossiblePrivateEndpointServiceConnectionStatusValues() []PrivateEndpointServiceConnectionStatus + type PrivateLinkResource struct + ID *string + Location *string + Name *string + Tags map[string]*string + Type *string + func (plr *PrivateLinkResource) UnmarshalJSON(body []byte) error + func (plr PrivateLinkResource) MarshalJSON() ([]byte, error) + type PrivateLinkResourceListResult struct + Value *[]PrivateLinkResource + type PrivateLinkResourceProperties struct + GroupID *string + RequiredMembers *[]string + RequiredZoneNames *[]string + func (plrp PrivateLinkResourceProperties) MarshalJSON() ([]byte, error) + type PrivateLinkResourcesClient struct + func NewPrivateLinkResourcesClient(subscriptionID string) PrivateLinkResourcesClient + func NewPrivateLinkResourcesClientWithBaseURI(baseURI string, subscriptionID string) PrivateLinkResourcesClient + func (client PrivateLinkResourcesClient) ListByVault(ctx context.Context, resourceGroupName string, vaultName string) (result PrivateLinkResourceListResult, err error) + func (client PrivateLinkResourcesClient) ListByVaultPreparer(ctx context.Context, resourceGroupName string, vaultName string) (*http.Request, error) + func (client PrivateLinkResourcesClient) ListByVaultResponder(resp *http.Response) (result PrivateLinkResourceListResult, err error) + func (client PrivateLinkResourcesClient) ListByVaultSender(req *http.Request) (*http.Response, error) + type PrivateLinkServiceConnectionState struct + ActionRequired *string + Description *string + Status PrivateEndpointServiceConnectionStatus + type Reason string + const AccountNameInvalid + const AlreadyExists + func PossibleReasonValues() []Reason + type Resource struct + ID *string + Location *string + Name *string + Tags map[string]*string + Type *string + func (r Resource) MarshalJSON() ([]byte, error) + type ResourceListResult struct + NextLink *string + Value *[]Resource + func (rlr ResourceListResult) IsEmpty() bool + type ResourceListResultIterator struct + func NewResourceListResultIterator(page ResourceListResultPage) ResourceListResultIterator + func (iter *ResourceListResultIterator) Next() error + func (iter *ResourceListResultIterator) NextWithContext(ctx context.Context) (err error) + func (iter ResourceListResultIterator) NotDone() bool + func (iter ResourceListResultIterator) Response() ResourceListResult + func (iter ResourceListResultIterator) Value() Resource + type ResourceListResultPage struct + func NewResourceListResultPage(cur ResourceListResult, ...) ResourceListResultPage + func (page *ResourceListResultPage) Next() error + func (page *ResourceListResultPage) NextWithContext(ctx context.Context) (err error) + func (page ResourceListResultPage) NotDone() bool + func (page ResourceListResultPage) Response() ResourceListResult + func (page ResourceListResultPage) Values() []Resource + type SecretPermissions string + const SecretPermissionsBackup + const SecretPermissionsDelete + const SecretPermissionsGet + const SecretPermissionsList + const SecretPermissionsPurge + const SecretPermissionsRecover + const SecretPermissionsRestore + const SecretPermissionsSet + func PossibleSecretPermissionsValues() []SecretPermissions + type ServiceSpecification struct + LogSpecifications *[]LogSpecification + type Sku struct + Family *string + Name SkuName + type SkuName string + const Premium + const Standard + func PossibleSkuNameValues() []SkuName + type StoragePermissions string + const StoragePermissionsBackup + const StoragePermissionsDelete + const StoragePermissionsDeletesas + const StoragePermissionsGet + const StoragePermissionsGetsas + const StoragePermissionsList + const StoragePermissionsListsas + const StoragePermissionsPurge + const StoragePermissionsRecover + const StoragePermissionsRegeneratekey + const StoragePermissionsRestore + const StoragePermissionsSet + const StoragePermissionsSetsas + const StoragePermissionsUpdate + func PossibleStoragePermissionsValues() []StoragePermissions + type Vault struct + ID *string + Location *string + Name *string + Properties *VaultProperties + Tags map[string]*string + Type *string + func (vVar Vault) MarshalJSON() ([]byte, error) + type VaultAccessPolicyParameters struct + ID *string + Location *string + Name *string + Properties *VaultAccessPolicyProperties + Type *string + func (vapp VaultAccessPolicyParameters) MarshalJSON() ([]byte, error) + type VaultAccessPolicyProperties struct + AccessPolicies *[]AccessPolicyEntry + type VaultCheckNameAvailabilityParameters struct + Name *string + Type *string + type VaultCreateOrUpdateParameters struct + Location *string + Properties *VaultProperties + Tags map[string]*string + func (vcoup VaultCreateOrUpdateParameters) MarshalJSON() ([]byte, error) + type VaultListResult struct + NextLink *string + Value *[]Vault + func (vlr VaultListResult) IsEmpty() bool + type VaultListResultIterator struct + func NewVaultListResultIterator(page VaultListResultPage) VaultListResultIterator + func (iter *VaultListResultIterator) Next() error + func (iter *VaultListResultIterator) NextWithContext(ctx context.Context) (err error) + func (iter VaultListResultIterator) NotDone() bool + func (iter VaultListResultIterator) Response() VaultListResult + func (iter VaultListResultIterator) Value() Vault + type VaultListResultPage struct + func NewVaultListResultPage(cur VaultListResult, ...) VaultListResultPage + func (page *VaultListResultPage) Next() error + func (page *VaultListResultPage) NextWithContext(ctx context.Context) (err error) + func (page VaultListResultPage) NotDone() bool + func (page VaultListResultPage) Response() VaultListResult + func (page VaultListResultPage) Values() []Vault + type VaultPatchParameters struct + Properties *VaultPatchProperties + Tags map[string]*string + func (vpp VaultPatchParameters) MarshalJSON() ([]byte, error) + type VaultPatchProperties struct + AccessPolicies *[]AccessPolicyEntry + CreateMode CreateMode + EnablePurgeProtection *bool + EnableSoftDelete *bool + EnabledForDeployment *bool + EnabledForDiskEncryption *bool + EnabledForTemplateDeployment *bool + NetworkAcls *NetworkRuleSet + Sku *Sku + TenantID *uuid.UUID + type VaultProperties struct + AccessPolicies *[]AccessPolicyEntry + CreateMode CreateMode + EnablePurgeProtection *bool + EnableSoftDelete *bool + EnabledForDeployment *bool + EnabledForDiskEncryption *bool + EnabledForTemplateDeployment *bool + NetworkAcls *NetworkRuleSet + PrivateEndpointConnections *[]PrivateEndpointConnectionItem + Sku *Sku + TenantID *uuid.UUID + VaultURI *string + func (vp VaultProperties) MarshalJSON() ([]byte, error) + type VaultsClient struct + func NewVaultsClient(subscriptionID string) VaultsClient + func NewVaultsClientWithBaseURI(baseURI string, subscriptionID string) VaultsClient + func (client VaultsClient) CheckNameAvailability(ctx context.Context, vaultName VaultCheckNameAvailabilityParameters) (result CheckNameAvailabilityResult, err error) + func (client VaultsClient) CheckNameAvailabilityPreparer(ctx context.Context, vaultName VaultCheckNameAvailabilityParameters) (*http.Request, error) + func (client VaultsClient) CheckNameAvailabilityResponder(resp *http.Response) (result CheckNameAvailabilityResult, err error) + func (client VaultsClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error) + func (client VaultsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, vaultName string, ...) (result VaultsCreateOrUpdateFuture, err error) + func (client VaultsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, vaultName string, ...) (*http.Request, error) + func (client VaultsClient) CreateOrUpdateResponder(resp *http.Response) (result Vault, err error) + func (client VaultsClient) CreateOrUpdateSender(req *http.Request) (future VaultsCreateOrUpdateFuture, err error) + func (client VaultsClient) Delete(ctx context.Context, resourceGroupName string, vaultName string) (result autorest.Response, err error) + func (client VaultsClient) DeletePreparer(ctx context.Context, resourceGroupName string, vaultName string) (*http.Request, error) + func (client VaultsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) + func (client VaultsClient) DeleteSender(req *http.Request) (*http.Response, error) + func (client VaultsClient) Get(ctx context.Context, resourceGroupName string, vaultName string) (result Vault, err error) + func (client VaultsClient) GetDeleted(ctx context.Context, vaultName string, location string) (result DeletedVault, err error) + func (client VaultsClient) GetDeletedPreparer(ctx context.Context, vaultName string, location string) (*http.Request, error) + func (client VaultsClient) GetDeletedResponder(resp *http.Response) (result DeletedVault, err error) + func (client VaultsClient) GetDeletedSender(req *http.Request) (*http.Response, error) + func (client VaultsClient) GetPreparer(ctx context.Context, resourceGroupName string, vaultName string) (*http.Request, error) + func (client VaultsClient) GetResponder(resp *http.Response) (result Vault, err error) + func (client VaultsClient) GetSender(req *http.Request) (*http.Response, error) + func (client VaultsClient) List(ctx context.Context, top *int32) (result ResourceListResultPage, err error) + func (client VaultsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, top *int32) (result VaultListResultPage, err error) + func (client VaultsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, top *int32) (result VaultListResultIterator, err error) + func (client VaultsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, top *int32) (*http.Request, error) + func (client VaultsClient) ListByResourceGroupResponder(resp *http.Response) (result VaultListResult, err error) + func (client VaultsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) + func (client VaultsClient) ListBySubscription(ctx context.Context, top *int32) (result VaultListResultPage, err error) + func (client VaultsClient) ListBySubscriptionComplete(ctx context.Context, top *int32) (result VaultListResultIterator, err error) + func (client VaultsClient) ListBySubscriptionPreparer(ctx context.Context, top *int32) (*http.Request, error) + func (client VaultsClient) ListBySubscriptionResponder(resp *http.Response) (result VaultListResult, err error) + func (client VaultsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error) + func (client VaultsClient) ListComplete(ctx context.Context, top *int32) (result ResourceListResultIterator, err error) + func (client VaultsClient) ListDeleted(ctx context.Context) (result DeletedVaultListResultPage, err error) + func (client VaultsClient) ListDeletedComplete(ctx context.Context) (result DeletedVaultListResultIterator, err error) + func (client VaultsClient) ListDeletedPreparer(ctx context.Context) (*http.Request, error) + func (client VaultsClient) ListDeletedResponder(resp *http.Response) (result DeletedVaultListResult, err error) + func (client VaultsClient) ListDeletedSender(req *http.Request) (*http.Response, error) + func (client VaultsClient) ListPreparer(ctx context.Context, top *int32) (*http.Request, error) + func (client VaultsClient) ListResponder(resp *http.Response) (result ResourceListResult, err error) + func (client VaultsClient) ListSender(req *http.Request) (*http.Response, error) + func (client VaultsClient) PurgeDeleted(ctx context.Context, vaultName string, location string) (result VaultsPurgeDeletedFuture, err error) + func (client VaultsClient) PurgeDeletedPreparer(ctx context.Context, vaultName string, location string) (*http.Request, error) + func (client VaultsClient) PurgeDeletedResponder(resp *http.Response) (result autorest.Response, err error) + func (client VaultsClient) PurgeDeletedSender(req *http.Request) (future VaultsPurgeDeletedFuture, err error) + func (client VaultsClient) Update(ctx context.Context, resourceGroupName string, vaultName string, ...) (result Vault, err error) + func (client VaultsClient) UpdateAccessPolicy(ctx context.Context, resourceGroupName string, vaultName string, ...) (result VaultAccessPolicyParameters, err error) + func (client VaultsClient) UpdateAccessPolicyPreparer(ctx context.Context, resourceGroupName string, vaultName string, ...) (*http.Request, error) + func (client VaultsClient) UpdateAccessPolicyResponder(resp *http.Response) (result VaultAccessPolicyParameters, err error) + func (client VaultsClient) UpdateAccessPolicySender(req *http.Request) (*http.Response, error) + func (client VaultsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, vaultName string, ...) (*http.Request, error) + func (client VaultsClient) UpdateResponder(resp *http.Response) (result Vault, err error) + func (client VaultsClient) UpdateSender(req *http.Request) (*http.Response, error) + type VaultsCreateOrUpdateFuture struct + Result func(VaultsClient) (Vault, error) + func (future *VaultsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error + type VaultsPurgeDeletedFuture struct + Result func(VaultsClient) (autorest.Response, error) + func (future *VaultsPurgeDeletedFuture) UnmarshalJSON(body []byte) error + type VirtualNetworkRule struct + ID *string Incompatible versions in this module v55.5.0+incompatible Jun 30, 2021 v55.4.0+incompatible Jun 25, 2021 v55.3.0+incompatible Jun 16, 2021 v55.2.0+incompatible Jun 10, 2021 v55.1.0+incompatible Jun 2, 2021 v55.0.0+incompatible May 28, 2021