Versions in this module Expand all Collapse all v0 v0.1.1 Nov 28, 2023 v0.1.0 Mar 30, 2023 Changes in this version + type AccessPolicyEntry struct + ApplicationID *string + ObjectID *string + Permissions *Permissions + TenantID *string + func (a *AccessPolicyEntry) UnmarshalJSON(data []byte) error + func (a AccessPolicyEntry) MarshalJSON() ([]byte, error) + type AccessPolicyUpdateKind string + const AccessPolicyUpdateKindAdd + const AccessPolicyUpdateKindRemove + const AccessPolicyUpdateKindReplace + func PossibleAccessPolicyUpdateKindValues() []AccessPolicyUpdateKind + type Attributes struct + Created *time.Time + Enabled *bool + Expires *time.Time + NotBefore *time.Time + Updated *time.Time + func (a *Attributes) UnmarshalJSON(data []byte) error + func (a Attributes) MarshalJSON() ([]byte, error) + type CertificatePermissions string + const CertificatePermissionsAll + const CertificatePermissionsBackup + const CertificatePermissionsCreate + const CertificatePermissionsDelete + const CertificatePermissionsDeleteissuers + const CertificatePermissionsGet + const CertificatePermissionsGetissuers + const CertificatePermissionsImport + const CertificatePermissionsList + const CertificatePermissionsListissuers + const CertificatePermissionsManagecontacts + const CertificatePermissionsManageissuers + const CertificatePermissionsPurge + const CertificatePermissionsRecover + const CertificatePermissionsRestore + const CertificatePermissionsSetissuers + const CertificatePermissionsUpdate + func PossibleCertificatePermissionsValues() []CertificatePermissions + type CheckNameAvailabilityResult struct + Message *string + NameAvailable *bool + Reason *Reason + func (c *CheckNameAvailabilityResult) UnmarshalJSON(data []byte) error + func (c CheckNameAvailabilityResult) MarshalJSON() ([]byte, error) + type ClientFactory struct + func NewClientFactory(subscriptionID string, credential azcore.TokenCredential, ...) (*ClientFactory, error) + func (c *ClientFactory) NewOperationsClient() *OperationsClient + func (c *ClientFactory) NewPrivateEndpointConnectionsClient() *PrivateEndpointConnectionsClient + func (c *ClientFactory) NewPrivateLinkResourcesClient() *PrivateLinkResourcesClient + func (c *ClientFactory) NewSecretsClient() *SecretsClient + func (c *ClientFactory) NewVaultsClient() *VaultsClient + type CreateMode string + const CreateModeDefault + const CreateModeRecover + func PossibleCreateModeValues() []CreateMode + type DeletedVault struct + ID *string + Name *string + Properties *DeletedVaultProperties + Type *string + func (d *DeletedVault) UnmarshalJSON(data []byte) error + func (d DeletedVault) MarshalJSON() ([]byte, error) + type DeletedVaultListResult struct + NextLink *string + Value []*DeletedVault + func (d *DeletedVaultListResult) UnmarshalJSON(data []byte) error + func (d DeletedVaultListResult) MarshalJSON() ([]byte, error) + type DeletedVaultProperties struct + DeletionDate *time.Time + Location *string + PurgeProtectionEnabled *bool + ScheduledPurgeDate *time.Time + Tags map[string]*string + VaultID *string + func (d *DeletedVaultProperties) UnmarshalJSON(data []byte) error + func (d DeletedVaultProperties) MarshalJSON() ([]byte, error) + type DimensionProperties struct + DisplayName *string + Name *string + ToBeExportedForShoebox *bool + func (d *DimensionProperties) UnmarshalJSON(data []byte) error + func (d DimensionProperties) MarshalJSON() ([]byte, error) + type Enum10 string + const Enum10ResourceTypeEqMicrosoftKeyVaultVaults + func PossibleEnum10Values() []Enum10 + type Enum11 string + const Enum11TwoThousandFifteen1101 + func PossibleEnum11Values() []Enum11 + type IPRule struct + Value *string + func (i *IPRule) UnmarshalJSON(data []byte) error + func (i IPRule) MarshalJSON() ([]byte, error) + type KeyPermissions string + const KeyPermissionsAll + 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 + func (l *LogSpecification) UnmarshalJSON(data []byte) error + func (l LogSpecification) MarshalJSON() ([]byte, error) + type MetricSpecification struct + AggregationType *string + Dimensions []*DimensionProperties + DisplayDescription *string + DisplayName *string + FillGapWithZero *bool + InternalMetricName *string + LockAggregationType *string + Name *string + SupportedAggregationTypes []*string + SupportedTimeGrainTypes []*string + Unit *string + func (m *MetricSpecification) UnmarshalJSON(data []byte) error + func (m MetricSpecification) MarshalJSON() ([]byte, error) + type NetworkRuleAction string + const NetworkRuleActionAllow + const NetworkRuleActionDeny + func PossibleNetworkRuleActionValues() []NetworkRuleAction + type NetworkRuleBypassOptions string + const NetworkRuleBypassOptionsAzureServices + const NetworkRuleBypassOptionsNone + func PossibleNetworkRuleBypassOptionsValues() []NetworkRuleBypassOptions + type NetworkRuleSet struct + Bypass *NetworkRuleBypassOptions + DefaultAction *NetworkRuleAction + IPRules []*IPRule + VirtualNetworkRules []*VirtualNetworkRule + func (n *NetworkRuleSet) UnmarshalJSON(data []byte) error + func (n NetworkRuleSet) MarshalJSON() ([]byte, error) + type Operation struct + Display *OperationDisplay + IsDataAction *bool + Name *string + OperationProperties *OperationProperties + Origin *string + func (o *Operation) UnmarshalJSON(data []byte) error + func (o Operation) MarshalJSON() ([]byte, error) + type OperationDisplay struct + Description *string + Operation *string + Provider *string + Resource *string + func (o *OperationDisplay) UnmarshalJSON(data []byte) error + func (o OperationDisplay) MarshalJSON() ([]byte, error) + type OperationListResult struct + NextLink *string + Value []*Operation + func (o *OperationListResult) UnmarshalJSON(data []byte) error + func (o OperationListResult) MarshalJSON() ([]byte, error) + type OperationProperties struct + ServiceSpecification *ServiceSpecification + func (o *OperationProperties) UnmarshalJSON(data []byte) error + func (o OperationProperties) MarshalJSON() ([]byte, error) + type OperationsClient struct + func NewOperationsClient(credential azcore.TokenCredential, options *arm.ClientOptions) (*OperationsClient, error) + func (client *OperationsClient) NewListPager(options *OperationsClientListOptions) *runtime.Pager[OperationsClientListResponse] + type OperationsClientListOptions struct + type OperationsClientListResponse struct + type Permissions struct + Certificates []*CertificatePermissions + Keys []*KeyPermissions + Secrets []*SecretPermissions + Storage []*StoragePermissions + func (p *Permissions) UnmarshalJSON(data []byte) error + func (p Permissions) MarshalJSON() ([]byte, error) + type PrivateEndpoint struct + ID *string + func (p *PrivateEndpoint) UnmarshalJSON(data []byte) error + func (p PrivateEndpoint) MarshalJSON() ([]byte, error) + type PrivateEndpointConnection struct + Etag *string + ID *string + Location *string + Name *string + Properties *PrivateEndpointConnectionProperties + Tags map[string]*string + Type *string + func (p *PrivateEndpointConnection) UnmarshalJSON(data []byte) error + func (p PrivateEndpointConnection) MarshalJSON() ([]byte, error) + type PrivateEndpointConnectionItem struct + Etag *string + ID *string + Properties *PrivateEndpointConnectionProperties + func (p *PrivateEndpointConnectionItem) UnmarshalJSON(data []byte) error + func (p PrivateEndpointConnectionItem) MarshalJSON() ([]byte, error) + type PrivateEndpointConnectionProperties struct + PrivateEndpoint *PrivateEndpoint + PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState + ProvisioningState *PrivateEndpointConnectionProvisioningState + func (p *PrivateEndpointConnectionProperties) UnmarshalJSON(data []byte) error + func (p PrivateEndpointConnectionProperties) MarshalJSON() ([]byte, error) + type PrivateEndpointConnectionProvisioningState string + const PrivateEndpointConnectionProvisioningStateCreating + const PrivateEndpointConnectionProvisioningStateDeleting + const PrivateEndpointConnectionProvisioningStateDisconnected + const PrivateEndpointConnectionProvisioningStateFailed + const PrivateEndpointConnectionProvisioningStateSucceeded + const PrivateEndpointConnectionProvisioningStateUpdating + func PossiblePrivateEndpointConnectionProvisioningStateValues() []PrivateEndpointConnectionProvisioningState + type PrivateEndpointConnectionsClient struct + func NewPrivateEndpointConnectionsClient(subscriptionID string, credential azcore.TokenCredential, ...) (*PrivateEndpointConnectionsClient, error) + func (client *PrivateEndpointConnectionsClient) BeginDelete(ctx context.Context, resourceGroupName string, vaultName string, ...) (*runtime.Poller[PrivateEndpointConnectionsClientDeleteResponse], error) + func (client *PrivateEndpointConnectionsClient) Get(ctx context.Context, resourceGroupName string, vaultName string, ...) (PrivateEndpointConnectionsClientGetResponse, error) + func (client *PrivateEndpointConnectionsClient) Put(ctx context.Context, resourceGroupName string, vaultName string, ...) (PrivateEndpointConnectionsClientPutResponse, error) + type PrivateEndpointConnectionsClientBeginDeleteOptions struct + ResumeToken string + type PrivateEndpointConnectionsClientDeleteResponse struct + type PrivateEndpointConnectionsClientGetOptions struct + type PrivateEndpointConnectionsClientGetResponse struct + type PrivateEndpointConnectionsClientPutOptions struct + type PrivateEndpointConnectionsClientPutResponse struct + AzureAsyncOperation *string + RetryAfter *int32 + type PrivateEndpointServiceConnectionStatus string + const PrivateEndpointServiceConnectionStatusApproved + const PrivateEndpointServiceConnectionStatusDisconnected + const PrivateEndpointServiceConnectionStatusPending + const PrivateEndpointServiceConnectionStatusRejected + func PossiblePrivateEndpointServiceConnectionStatusValues() []PrivateEndpointServiceConnectionStatus + type PrivateLinkResource struct + ID *string + Location *string + Name *string + Properties *PrivateLinkResourceProperties + Tags map[string]*string + Type *string + func (p *PrivateLinkResource) UnmarshalJSON(data []byte) error + func (p PrivateLinkResource) MarshalJSON() ([]byte, error) + type PrivateLinkResourceListResult struct + Value []*PrivateLinkResource + func (p *PrivateLinkResourceListResult) UnmarshalJSON(data []byte) error + func (p PrivateLinkResourceListResult) MarshalJSON() ([]byte, error) + type PrivateLinkResourceProperties struct + GroupID *string + RequiredMembers []*string + RequiredZoneNames []*string + func (p *PrivateLinkResourceProperties) UnmarshalJSON(data []byte) error + func (p PrivateLinkResourceProperties) MarshalJSON() ([]byte, error) + type PrivateLinkResourcesClient struct + func NewPrivateLinkResourcesClient(subscriptionID string, credential azcore.TokenCredential, ...) (*PrivateLinkResourcesClient, error) + func (client *PrivateLinkResourcesClient) ListByVault(ctx context.Context, resourceGroupName string, vaultName string, ...) (PrivateLinkResourcesClientListByVaultResponse, error) + type PrivateLinkResourcesClientListByVaultOptions struct + type PrivateLinkResourcesClientListByVaultResponse struct + type PrivateLinkServiceConnectionState struct + ActionsRequired *string + Description *string + Status *PrivateEndpointServiceConnectionStatus + func (p *PrivateLinkServiceConnectionState) UnmarshalJSON(data []byte) error + func (p PrivateLinkServiceConnectionState) MarshalJSON() ([]byte, error) + type Reason string + const ReasonAccountNameInvalid + const ReasonAlreadyExists + func PossibleReasonValues() []Reason + type Resource struct + ID *string + Location *string + Name *string + Tags map[string]*string + Type *string + func (r *Resource) UnmarshalJSON(data []byte) error + func (r Resource) MarshalJSON() ([]byte, error) + type ResourceListResult struct + NextLink *string + Value []*Resource + func (r *ResourceListResult) UnmarshalJSON(data []byte) error + func (r ResourceListResult) MarshalJSON() ([]byte, error) + type SKU struct + Family *SKUFamily + Name *SKUName + func (s *SKU) UnmarshalJSON(data []byte) error + func (s SKU) MarshalJSON() ([]byte, error) + type SKUFamily string + const SKUFamilyA + func PossibleSKUFamilyValues() []SKUFamily + type SKUName string + const SKUNamePremium + const SKUNameStandard + func PossibleSKUNameValues() []SKUName + type Secret struct + ID *string + Location *string + Name *string + Properties *SecretProperties + Tags map[string]*string + Type *string + func (s *Secret) UnmarshalJSON(data []byte) error + func (s Secret) MarshalJSON() ([]byte, error) + type SecretAttributes struct + Created *time.Time + Enabled *bool + Expires *time.Time + NotBefore *time.Time + Updated *time.Time + func (s *SecretAttributes) UnmarshalJSON(data []byte) error + func (s SecretAttributes) MarshalJSON() ([]byte, error) + type SecretCreateOrUpdateParameters struct + Properties *SecretProperties + Tags map[string]*string + func (s *SecretCreateOrUpdateParameters) UnmarshalJSON(data []byte) error + func (s SecretCreateOrUpdateParameters) MarshalJSON() ([]byte, error) + type SecretListResult struct + NextLink *string + Value []*Secret + func (s *SecretListResult) UnmarshalJSON(data []byte) error + func (s SecretListResult) MarshalJSON() ([]byte, error) + type SecretPatchParameters struct + Properties *SecretPatchProperties + Tags map[string]*string + func (s *SecretPatchParameters) UnmarshalJSON(data []byte) error + func (s SecretPatchParameters) MarshalJSON() ([]byte, error) + type SecretPatchProperties struct + Attributes *SecretAttributes + ContentType *string + Value *string + func (s *SecretPatchProperties) UnmarshalJSON(data []byte) error + func (s SecretPatchProperties) MarshalJSON() ([]byte, error) + type SecretPermissions string + const SecretPermissionsAll + const SecretPermissionsBackup + const SecretPermissionsDelete + const SecretPermissionsGet + const SecretPermissionsList + const SecretPermissionsPurge + const SecretPermissionsRecover + const SecretPermissionsRestore + const SecretPermissionsSet + func PossibleSecretPermissionsValues() []SecretPermissions + type SecretProperties struct + Attributes *SecretAttributes + ContentType *string + SecretURI *string + SecretURIWithVersion *string + Value *string + func (s *SecretProperties) UnmarshalJSON(data []byte) error + func (s SecretProperties) MarshalJSON() ([]byte, error) + type SecretsClient struct + func NewSecretsClient(subscriptionID string, credential azcore.TokenCredential, ...) (*SecretsClient, error) + func (client *SecretsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, vaultName string, ...) (SecretsClientCreateOrUpdateResponse, error) + func (client *SecretsClient) Get(ctx context.Context, resourceGroupName string, vaultName string, ...) (SecretsClientGetResponse, error) + func (client *SecretsClient) NewListPager(resourceGroupName string, vaultName string, options *SecretsClientListOptions) *runtime.Pager[SecretsClientListResponse] + func (client *SecretsClient) Update(ctx context.Context, resourceGroupName string, vaultName string, ...) (SecretsClientUpdateResponse, error) + type SecretsClientCreateOrUpdateOptions struct + type SecretsClientCreateOrUpdateResponse struct + type SecretsClientGetOptions struct + type SecretsClientGetResponse struct + type SecretsClientListOptions struct + Top *int32 + type SecretsClientListResponse struct + type SecretsClientUpdateOptions struct + type SecretsClientUpdateResponse struct + type ServiceSpecification struct + LogSpecifications []*LogSpecification + MetricSpecifications []*MetricSpecification + func (s *ServiceSpecification) UnmarshalJSON(data []byte) error + func (s ServiceSpecification) MarshalJSON() ([]byte, error) + type StoragePermissions string + const StoragePermissionsAll + 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 (v *Vault) UnmarshalJSON(data []byte) error + func (v Vault) MarshalJSON() ([]byte, error) + type VaultAccessPolicyParameters struct + ID *string + Location *string + Name *string + Properties *VaultAccessPolicyProperties + Type *string + func (v *VaultAccessPolicyParameters) UnmarshalJSON(data []byte) error + func (v VaultAccessPolicyParameters) MarshalJSON() ([]byte, error) + type VaultAccessPolicyProperties struct + AccessPolicies []*AccessPolicyEntry + func (v *VaultAccessPolicyProperties) UnmarshalJSON(data []byte) error + func (v VaultAccessPolicyProperties) MarshalJSON() ([]byte, error) + type VaultCheckNameAvailabilityParameters struct + Name *string + Type *string + func (v *VaultCheckNameAvailabilityParameters) UnmarshalJSON(data []byte) error + func (v VaultCheckNameAvailabilityParameters) MarshalJSON() ([]byte, error) + type VaultCreateOrUpdateParameters struct + Location *string + Properties *VaultProperties + Tags map[string]*string + func (v *VaultCreateOrUpdateParameters) UnmarshalJSON(data []byte) error + func (v VaultCreateOrUpdateParameters) MarshalJSON() ([]byte, error) + type VaultListResult struct + NextLink *string + Value []*Vault + func (v *VaultListResult) UnmarshalJSON(data []byte) error + func (v VaultListResult) MarshalJSON() ([]byte, error) + type VaultPatchParameters struct + Properties *VaultPatchProperties + Tags map[string]*string + func (v *VaultPatchParameters) UnmarshalJSON(data []byte) error + func (v VaultPatchParameters) MarshalJSON() ([]byte, error) + type VaultPatchProperties struct + AccessPolicies []*AccessPolicyEntry + CreateMode *CreateMode + EnablePurgeProtection *bool + EnableRbacAuthorization *bool + EnableSoftDelete *bool + EnabledForDeployment *bool + EnabledForDiskEncryption *bool + EnabledForTemplateDeployment *bool + NetworkACLs *NetworkRuleSet + SKU *SKU + SoftDeleteRetentionInDays *int32 + TenantID *string + func (v *VaultPatchProperties) UnmarshalJSON(data []byte) error + func (v VaultPatchProperties) MarshalJSON() ([]byte, error) + type VaultProperties struct + AccessPolicies []*AccessPolicyEntry + CreateMode *CreateMode + EnablePurgeProtection *bool + EnableRbacAuthorization *bool + EnableSoftDelete *bool + EnabledForDeployment *bool + EnabledForDiskEncryption *bool + EnabledForTemplateDeployment *bool + HsmPoolResourceID *string + NetworkACLs *NetworkRuleSet + PrivateEndpointConnections []*PrivateEndpointConnectionItem + ProvisioningState *VaultProvisioningState + SKU *SKU + SoftDeleteRetentionInDays *int32 + TenantID *string + VaultURI *string + func (v *VaultProperties) UnmarshalJSON(data []byte) error + func (v VaultProperties) MarshalJSON() ([]byte, error) + type VaultProvisioningState string + const VaultProvisioningStateRegisteringDNS + const VaultProvisioningStateSucceeded + func PossibleVaultProvisioningStateValues() []VaultProvisioningState + type VaultsClient struct + func NewVaultsClient(subscriptionID string, credential azcore.TokenCredential, ...) (*VaultsClient, error) + func (client *VaultsClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, vaultName string, ...) (*runtime.Poller[VaultsClientCreateOrUpdateResponse], error) + func (client *VaultsClient) BeginPurgeDeleted(ctx context.Context, vaultName string, location string, ...) (*runtime.Poller[VaultsClientPurgeDeletedResponse], error) + func (client *VaultsClient) CheckNameAvailability(ctx context.Context, vaultName VaultCheckNameAvailabilityParameters, ...) (VaultsClientCheckNameAvailabilityResponse, error) + func (client *VaultsClient) Delete(ctx context.Context, resourceGroupName string, vaultName string, ...) (VaultsClientDeleteResponse, error) + func (client *VaultsClient) Get(ctx context.Context, resourceGroupName string, vaultName string, ...) (VaultsClientGetResponse, error) + func (client *VaultsClient) GetDeleted(ctx context.Context, vaultName string, location string, ...) (VaultsClientGetDeletedResponse, error) + func (client *VaultsClient) NewListByResourceGroupPager(resourceGroupName string, options *VaultsClientListByResourceGroupOptions) *runtime.Pager[VaultsClientListByResourceGroupResponse] + func (client *VaultsClient) NewListBySubscriptionPager(options *VaultsClientListBySubscriptionOptions) *runtime.Pager[VaultsClientListBySubscriptionResponse] + func (client *VaultsClient) NewListDeletedPager(options *VaultsClientListDeletedOptions) *runtime.Pager[VaultsClientListDeletedResponse] + func (client *VaultsClient) NewListPager(filter Enum10, apiVersion Enum11, options *VaultsClientListOptions) *runtime.Pager[VaultsClientListResponse] + func (client *VaultsClient) Update(ctx context.Context, resourceGroupName string, vaultName string, ...) (VaultsClientUpdateResponse, error) + func (client *VaultsClient) UpdateAccessPolicy(ctx context.Context, resourceGroupName string, vaultName string, ...) (VaultsClientUpdateAccessPolicyResponse, error) + type VaultsClientBeginCreateOrUpdateOptions struct + ResumeToken string + type VaultsClientBeginPurgeDeletedOptions struct + ResumeToken string + type VaultsClientCheckNameAvailabilityOptions struct + type VaultsClientCheckNameAvailabilityResponse struct + type VaultsClientCreateOrUpdateResponse struct + type VaultsClientDeleteOptions struct + type VaultsClientDeleteResponse struct + type VaultsClientGetDeletedOptions struct + type VaultsClientGetDeletedResponse struct + type VaultsClientGetOptions struct + type VaultsClientGetResponse struct + type VaultsClientListByResourceGroupOptions struct + Top *int32 + type VaultsClientListByResourceGroupResponse struct + type VaultsClientListBySubscriptionOptions struct + Top *int32 + type VaultsClientListBySubscriptionResponse struct + type VaultsClientListDeletedOptions struct + type VaultsClientListDeletedResponse struct + type VaultsClientListOptions struct + Top *int32 + type VaultsClientListResponse struct + type VaultsClientPurgeDeletedResponse struct + type VaultsClientUpdateAccessPolicyOptions struct + type VaultsClientUpdateAccessPolicyResponse struct + type VaultsClientUpdateOptions struct + type VaultsClientUpdateResponse struct + type VirtualNetworkRule struct + ID *string + IgnoreMissingVnetServiceEndpoint *bool + func (v *VirtualNetworkRule) UnmarshalJSON(data []byte) error + func (v VirtualNetworkRule) MarshalJSON() ([]byte, error)