Documentation ¶
Index ¶
- func GetMocProviderType(providerType ProviderType) (pbcom.ProviderType, error)
- type AccessPolicyEntry
- type Action
- type BaseClient
- type Certificate
- type CertificateAttributes
- type CertificatePermissions
- type CertificateRequest
- type CertificateRequestAttributes
- type GeneralAccessOperation
- type Identity
- type IdentityProperties
- type KeyPermissions
- type KeyVault
- type KeyVaultProperties
- type Operation
- type Permissions
- type ProviderAccessOperation
- type ProviderType
- type Role
- type RoleAssignment
- type RoleAssignmentProperties
- type RolePermission
- type RoleProperties
- type Scope
- type SecretPermissions
- type Sku
- type SkuName
- type StoragePermissions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMocProviderType ¶ added in v0.10.8
func GetMocProviderType(providerType ProviderType) (pbcom.ProviderType, error)
Types ¶
type AccessPolicyEntry ¶
type AccessPolicyEntry struct { // TenantID - The Azure Active Directory tenant ID that should be used for authenticating requests to the key vault. TenantID *uuid.UUID `json:"tenantId,omitempty"` // ObjectID - The object ID of a user, service principal or security group in the Azure Active Directory tenant for the vault. The object ID must be unique for the list of access policies. ObjectID *string `json:"objectId,omitempty"` // ApplicationID - Application ID of the client making request on behalf of a principal ApplicationID *uuid.UUID `json:"applicationId,omitempty"` // Permissions - Permissions the identity has for keys, secrets and certificates. Permissions *Permissions `json:"permissions,omitempty"` }
AccessPolicyEntry an identity that have access to the key vault. All identities in the array must use the same tenant ID as the key vault's tenant ID.
type Action ¶ added in v0.10.8
type Action struct { // Operation - The operation that a permission is refering to Operation Operation `json:"operation,omitempty"` // Provider - The provider type to which an operation is done Provider ProviderType `json:"provider,omitempty"` GeneralOperation GeneralAccessOperation `json:"generaloperation,omitempty"` ProviderOperation ProviderAccessOperation `json:"provideraccessoperation,omitempty"` }
type Certificate ¶
type Certificate struct { autorest.Response `json:"-"` // ID - READ-ONLY; The certificate id ID *string `json:"id,omitempty"` // Name - The certificate name Name *string `json:"name,omitempty"` // X509Thumbprint - READ-ONLY; Thumbprint of the certificate. (a URL-encoded base64 string) X509Thumbprint *string `json:"x5t,omitempty"` // Cer - CER contents of x509 certificate string encoded in base64 Cer *string `json:"cer,omitempty"` // Type - The content type of the certificate Type *string `json:"contentType,omitempty"` // Version Version *string `json:"version,omitempty"` // Attributes - The certificate attributes. Attributes *CertificateAttributes `json:"attributes,omitempty"` // Tags - Application-specific metadata in the form of key-value pairs Tags map[string]*string `json:"tags"` }
Certificate a certificate consists of a certificate (X509) plus its attributes.
type CertificateAttributes ¶
type CertificateAttributes struct { // Enabled - Determines whether the object is enabled Enabled *bool `json:"enabled,omitempty"` // NotBefore - Not before date in seconds since 1970-01-01T00:00:00Z NotBefore *int64 `json:"nbf,omitempty"` // Expires - Expiry date in seconds since 1970-01-01T00:00:00Z Expires *int64 `json:"exp,omitempty"` // Created - READ-ONLY; Creation time in seconds since 1970-01-01T00:00:00Z Created *int64 `json:"created,omitempty"` // Updated - READ-ONLY; Last updated time in seconds since 1970-01-01T00:00:00Z Updated *int64 `json:"updated,omitempty"` // State - State Statuses map[string]*string `json:"statuses"` }
CertificateAttributes the certificate management attributes
type CertificatePermissions ¶
type CertificatePermissions string
CertificatePermissions enumerates the values for certificate permissions.
const ( // Backup ... Backup CertificatePermissions = "backup" // Create ... Create CertificatePermissions = "create" // Delete ... Delete CertificatePermissions = "delete" // Deleteissuers ... Deleteissuers CertificatePermissions = "deleteissuers" // Get ... Get CertificatePermissions = "get" // Getissuers ... Getissuers CertificatePermissions = "getissuers" // Import ... Import CertificatePermissions = "import" // List ... List CertificatePermissions = "list" // Listissuers ... Listissuers CertificatePermissions = "listissuers" // Managecontacts ... Managecontacts CertificatePermissions = "managecontacts" // Manageissuers ... Manageissuers CertificatePermissions = "manageissuers" // Purge ... Purge CertificatePermissions = "purge" // Recover ... Recover CertificatePermissions = "recover" // Restore ... Restore CertificatePermissions = "restore" // Setissuers ... Setissuers CertificatePermissions = "setissuers" // Update ... Update CertificatePermissions = "update" )
type CertificateRequest ¶ added in v0.10.7
type CertificateRequest struct { autorest.Response `json:"-"` // Name - The certificate name Name *string `json:"name,omitempty"` // CaName - The ca certificate name to sign the certificate CaName *string `json:"caname,omitempty"` // PrivateKey Key contents of RSA Private Key string encoded in base64 PrivateKey *string `json:"privatekey,omitempty"` // OldCertificate Certificate contents of x509 certificate string to be renewed encoded in base64 OldCertificate *string `json:"oldcert,omitempty"` // IsCA - If the certificate to be signed is CA IsCA *bool `json:"isCA,omitempty"` // Attributes - The certificate attributes. Attributes *CertificateRequestAttributes `json:"attributes,omitempty"` // Tags - Application-specific metadata in the form of key-value pairs Tags map[string]*string `json:"tags"` }
Certificate a certificate consists of a certificate (X509) plus its attributes.
type CertificateRequestAttributes ¶ added in v0.10.7
type CertificateRequestAttributes struct { // DNSNames - DNS names to be added to the certificate DNSNames *[]string `json:"DNSNames,omitempty"` // IPs - IPs to be added to the certificate IPs *[]string `json:"IPs,omitempty"` // State - State Statuses map[string]*string `json:"statuses"` }
CertificateAttributes the certificate management attributes
type GeneralAccessOperation ¶ added in v0.10.29
type GeneralAccessOperation string
const ( UnspecifiedAccess GeneralAccessOperation = "unspecified" ReadAccess GeneralAccessOperation = "read" WriteAccess GeneralAccessOperation = "write" DeleteAccess GeneralAccessOperation = "delete" AllAccess GeneralAccessOperation = "all" ProviderAction GeneralAccessOperation = "action" )
type Identity ¶
type Identity struct { // ID ID *string `json:"ID,omitempty"` // Name Name *string `json:"name,omitempty"` // Version Version *string `json:"version,omitempty"` // Type Type *string `json:"type,omitempty"` // Token Token *string `json:"token,omitempty"` // Token Expiry in Days TokenExpiry *int64 `json:"tokenexpiry,omitempty"` // Token Expiry in Seconds TokenExpiryInSeconds *int64 `json:"tokenexpiryinseconds,omitempty"` // Revoked Revoked bool `json:"revoked,omitempty"` // AuthType AuthType auth.LoginType `json:"AuthType,omitempty"` // Certificate string encoded in base64 Certificate *string `json:"certificate,omitempty"` // Location - Resource location Location *string `json:"location,omitempty"` // Tags - Custom resource tags Tags map[string]*string `json:"tags"` // Properties *IdentityProperties `json:"properties,omitempty"` // Enable auto rotation AutoRotate bool `json:"autorotate,omitempty"` //Login file path LoginFilePath *string `json:"loginfilepath,omitempty"` }
Identity defines the structure of a identity
type IdentityProperties ¶
type IdentityProperties struct { // State - State Statuses map[string]*string `json:"statuses"` // CloudAgent FQDN CloudFqdn *string `json:"cloudfqdn,omitempty"` // CloudAgent port CloudPort *int32 `json:"cloudport,omitempty"` // CloudAgent authentication port CloudAuthPort *int32 `json:"cloudauthport,omitempty"` // Client type ClientType auth.ClientType `json:"clienttype,omitempty"` }
IdentityProperties defines the structure of a Security Item
type KeyPermissions ¶
type KeyPermissions string
KeyPermissions enumerates the values for key permissions.
const ( // KeyPermissionsBackup ... KeyPermissionsBackup KeyPermissions = "backup" // KeyPermissionsCreate ... KeyPermissionsCreate KeyPermissions = "create" // KeyPermissionsDecrypt ... KeyPermissionsDecrypt KeyPermissions = "decrypt" // KeyPermissionsDelete ... KeyPermissionsDelete KeyPermissions = "delete" // KeyPermissionsEncrypt ... KeyPermissionsEncrypt KeyPermissions = "encrypt" // KeyPermissionsGet ... KeyPermissionsGet KeyPermissions = "get" // KeyPermissionsImport ... KeyPermissionsImport KeyPermissions = "import" // KeyPermissionsList ... KeyPermissionsList KeyPermissions = "list" // KeyPermissionsPurge ... KeyPermissionsPurge KeyPermissions = "purge" // KeyPermissionsRecover ... KeyPermissionsRecover KeyPermissions = "recover" // KeyPermissionsRestore ... KeyPermissionsRestore KeyPermissions = "restore" // KeyPermissionsSign ... KeyPermissionsSign KeyPermissions = "sign" // KeyPermissionsUnwrapKey ... KeyPermissionsUnwrapKey KeyPermissions = "unwrapKey" // KeyPermissionsUpdate ... KeyPermissionsUpdate KeyPermissions = "update" // KeyPermissionsVerify ... KeyPermissionsVerify KeyPermissions = "verify" // KeyPermissionsWrapKey ... KeyPermissionsWrapKey KeyPermissions = "wrapKey" )
type KeyVault ¶
type KeyVault struct { autorest.Response `json:"-"` // KeyVaultProperties - Properties of the vault *KeyVaultProperties `json:"properties,omitempty"` // ID - READ-ONLY; The Azure Resource Manager resource ID for the key vault. ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the key vault. Name *string `json:"name,omitempty"` // Type - READ-ONLY; The resource type of the key vault. Type *string `json:"type,omitempty"` // Version Version *string `json:"version,omitempty"` // Location - The supported Azure location where the key vault should be created. Location *string `json:"location,omitempty"` // Tags - The tags that will be assigned to the key vault. Tags map[string]*string `json:"tags"` }
KeyVault resource information with extended details.
type KeyVaultProperties ¶
type KeyVaultProperties struct { // TenantID - The Azure Active Directory tenant ID that should be used for authenticating requests to the key vault. TenantID *uuid.UUID `json:"tenantId,omitempty"` // Sku - SKU details Sku *Sku `json:"sku,omitempty"` // AccessPolicies - An array of 0 to 16 identities that have access to the key vault. All identities in the array must use the same tenant ID as the key vault's tenant ID. When `createMode` is set to `recover`, access policies are not required. Otherwise, access policies are required. AccessPolicies *[]AccessPolicyEntry `json:"accessPolicies,omitempty"` // VaultURI - The URI of the vault for performing operations on keys and secrets. VaultURI *string `json:"vaultUri,omitempty"` // State - State Statuses map[string]*string `json:"statuses"` }
KeyVaultProperties properties of the vault
type Permissions ¶
type Permissions struct { // Keys - Permissions to keys Keys *[]KeyPermissions `json:"keys,omitempty"` // Secrets - Permissions to secrets Secrets *[]SecretPermissions `json:"secrets,omitempty"` // Certificates - Permissions to certificates Certificates *[]CertificatePermissions `json:"certificates,omitempty"` // Storage - Permissions to storage accounts Storage *[]StoragePermissions `json:"storage,omitempty"` }
Permissions permissions the identity has for keys, secrets, certificates and storage.
type ProviderAccessOperation ¶ added in v0.10.29
type ProviderAccessOperation string
const ( Unspecified_Access ProviderAccessOperation = "unspecified" Authentication_LoginAccess ProviderAccessOperation = "authentication_login" Certificate_CreateAccess ProviderAccessOperation = "certificate_create" Certificate_UpdateAccess ProviderAccessOperation = "certificate_update" Certificate_GetAccess ProviderAccessOperation = "certificate_get" Certificate_DeleteAccess ProviderAccessOperation = "certificate_delete" Certificate_SignAccess ProviderAccessOperation = "certificate_sign" Certificate_RenewAccess ProviderAccessOperation = "certificate_renew" Identity_CreateAccess ProviderAccessOperation = "identity_create" Identity_UpdateAccess ProviderAccessOperation = "identity_update" Identity_RevokeAccess ProviderAccessOperation = "identity_revoke" Identity_RotateAccess ProviderAccessOperation = "identity_rotate" IdentityCertificate_CreateAccess ProviderAccessOperation = "identitycertificate_create" IdentityCertificate_UpdateAccess ProviderAccessOperation = "identitycertificate_update" IdentityCertificate_RenewAccess ProviderAccessOperation = "identitycertificate_renew" Key_CreateAccess ProviderAccessOperation = "key_create" Key_UpdateAccess ProviderAccessOperation = "key_update" Key_EncryptAccess ProviderAccessOperation = "key_encrypt" Key_DecryptAccess ProviderAccessOperation = "key_decrypt" Key_WrapKeyAccess ProviderAccessOperation = "key_wrapkey" Key_UnwrapKeyAccess ProviderAccessOperation = "key_unwrapkey" Key_SignAccess ProviderAccessOperation = "key_sign" Key_VerifyAccess ProviderAccessOperation = "key_verify" VirtualMachine_CreateAccess ProviderAccessOperation = "virtualmachine_create" VirtualMachine_UpdateAccess ProviderAccessOperation = "virtualmachine_update" VirtualMachine_DeleteAccess ProviderAccessOperation = "virtualmachine_delete" VirtualMachine_ValidateAccess ProviderAccessOperation = "virtualmachine_validate" VirtualMachine_StartAccess ProviderAccessOperation = "virtualmachine_start" VirtualMachine_StopAccess ProviderAccessOperation = "virtualmachine_stop" VirtualMachine_ResetAccess ProviderAccessOperation = "virtualmachine_reset" VirtualMachine_PauseAccess ProviderAccessOperation = "virtualmachine_pause" VirtualMachine_SaveAccess ProviderAccessOperation = "virtualmachine_save" VirtualMachine_RemoveIsoDiskAccess ProviderAccessOperation = "virtualmachine_removeisodisk" Cluster_CreateAccess ProviderAccessOperation = "cluster_create" Cluster_UpdateAccess ProviderAccessOperation = "cluster_update" Cluster_LoadClusterAccess ProviderAccessOperation = "cluster_loadcluster" Cluster_UnloadClusterAccess ProviderAccessOperation = "cluster_unloadcluster" Cluster_GetClusterAccess ProviderAccessOperation = "cluster_getcluster" Cluster_GetNodesAccess ProviderAccessOperation = "cluster_getnodes" Debug_DebugServerAccess ProviderAccessOperation = "debug_debugserver" Debug_StackTraceAccess ProviderAccessOperation = "debug_stacktrace" BaremetalHost_CreateAccess ProviderAccessOperation = "baremetalhost_create" BaremetalHost_UpdateAccess ProviderAccessOperation = "baremetalhost_update" BaremetalMachine_CreateAccess ProviderAccessOperation = "baremetalmachine_create" BaremetalMachine_UpdateAccess ProviderAccessOperation = "baremetalmachine_update" ControlPlane_CreateAccess ProviderAccessOperation = "controlplane_create" ControlPlane_UpdateAccess ProviderAccessOperation = "controlplane_update" EtcdCluster_CreateAccess ProviderAccessOperation = "etcdcluster_create" EtcdCluster_UpdateAccess ProviderAccessOperation = "etcdcluster_update" EtcdServer_CreateAccess ProviderAccessOperation = "etcdserver_create" EtcdServer_UpdateAccess ProviderAccessOperation = "etcdserver_update" GalleryImage_CreateAccess ProviderAccessOperation = "galleryimage_create" GalleryImage_UpdateAccess ProviderAccessOperation = "galleryimage_update" Group_CreateAccess ProviderAccessOperation = "group_create" Group_UpdateAccess ProviderAccessOperation = "group_update" KeyVault_CreateAccess ProviderAccessOperation = "keyvault_create" KeyVault_UpdateAccess ProviderAccessOperation = "keyvault_update" Kubernetes_CreateAccess ProviderAccessOperation = "kubernetes_create" Kubernetes_UpdateAccess ProviderAccessOperation = "kubernetes_update" LoadBalancer_CreateAccess ProviderAccessOperation = "loadbalancer_create" LoadBalancer_UpdateAccess ProviderAccessOperation = "loadbalancer_update" Location_CreateAccess ProviderAccessOperation = "location_create" Location_UpdateAccess ProviderAccessOperation = "location_update" Macpool_CreateAccess ProviderAccessOperation = "macpool_create" Macpool_UpdateAccess ProviderAccessOperation = "macpool_update" NetworkInterface_CreateAccess ProviderAccessOperation = "networkinterface_create" NetworkInterface_UpdateAccess ProviderAccessOperation = "networkinterface_update" Node_CreateAccess ProviderAccessOperation = "node_create" Node_UpdateAccess ProviderAccessOperation = "node_update" Recovery_CreateAccess ProviderAccessOperation = "recovery_create" Recovery_UpdateAccess ProviderAccessOperation = "recovery_update" Role_CreateAccess ProviderAccessOperation = "role_create" Role_UpdateAccess ProviderAccessOperation = "role_update" RoleAssignment_CreateAccess ProviderAccessOperation = "roleassignment_create" RoleAssignment_UpdateAccess ProviderAccessOperation = "roleassignment_update" Secret_CreateAccess ProviderAccessOperation = "secret_create" Secret_UpdateAccess ProviderAccessOperation = "secret_update" StorageContainer_CreateAccess ProviderAccessOperation = "storagecontainer_create" StorageContainer_UpdateAccess ProviderAccessOperation = "storagecontainer_update" Subscription_CreateAccess ProviderAccessOperation = "subscription_create" Subscription_UpdateAccess ProviderAccessOperation = "subscription_update" Validation_ValidateAccess ProviderAccessOperation = "validation_validate" VipPool_CreateAccess ProviderAccessOperation = "vippool_create" VipPool_UpdateAccess ProviderAccessOperation = "vippool_update" VirtualHardDisk_CreateAccess ProviderAccessOperation = "virtualharddisk_create" VirtualHardDisk_UpdateAccess ProviderAccessOperation = "virtualharddisk_update" VirtualMachineImage_CreateAccess ProviderAccessOperation = "virtualmachineimage_create" VirtualMachineImage_UpdateAccess ProviderAccessOperation = "virtualmachineimage_update" VirtualMachineScaleSet_CreateAccess ProviderAccessOperation = "virtualmachinescaleset_create" VirtualMachineScaleSet_UpdateAccess ProviderAccessOperation = "virtualmachinescaleset_update" VirtualNetwork_CreateAccess ProviderAccessOperation = "virtualnetwork_create" VirtualNetwork_UpdateAccess ProviderAccessOperation = "virtualnetwork_update" )
type ProviderType ¶ added in v0.10.8
type ProviderType string
var ( AnyProviderType ProviderType = "AnyProvider" VirtualMachineType ProviderType = "VirtualMachine" VirtualMachineScaleSetType ProviderType = "VirtualMachineScaleSet" LoadBalancerType ProviderType = "LoadBalancer" VirtualNetworkType ProviderType = "VirtualNetwork" VirtualHardDiskType ProviderType = "VirtualHardDisk" GalleryImageType ProviderType = "GalleryImage" VirtualMachineImageType ProviderType = "VirtualMachineImage" NetworkInterfaceType ProviderType = "NetworkInterface" CertificateType ProviderType = "Certificate" Key ProviderType = "Key" Secret ProviderType = "Secret" KeyVaultType ProviderType = "KeyVault" IdentityType ProviderType = "Identity" RoleType ProviderType = "Role" RoleAssignmentType ProviderType = "RoleAssignment" KubernetesType ProviderType = "Kubernetes" ClusterType ProviderType = "Cluster" ControlPlaneType ProviderType = "ControlPlane" GroupType ProviderType = "Group" NodeType ProviderType = "Node" LocationType ProviderType = "Location" StorageContainerType ProviderType = "StorageContainer" StorageFile ProviderType = "StorageFile" StorageDirectoryType ProviderType = "StorageDirectory" SubscriptionType ProviderType = "Subscription" VipPoolType ProviderType = "VipPool" MacPoolType ProviderType = "MacPool" EtcdClusterType ProviderType = "EtcdCluster" EtcdServerType ProviderType = "EtcdServer" BareMetalMachineType ProviderType = "BareMetalMachine" )
func GetProviderType ¶ added in v0.10.8
func GetProviderType(pbProvider pbcom.ProviderType) ProviderType
type Role ¶ added in v0.10.8
type Role struct { // ID ID *string `json:"ID,omitempty"` // Name - The role name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; The resource type of the role. Type *string `json:"type,omitempty"` // Version Version *string `json:"version,omitempty"` // Tags - The tags that will be assigned to the role. Tags map[string]*string `json:"tags"` // Properties *RoleProperties `json:"properties,omitempty"` }
Role defines the structure of an identity's role
type RoleAssignment ¶ added in v0.10.8
type RoleAssignment struct { // ID ID *string `json:"ID,omitempty"` // Name - The role name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; The resource type of the role. Type *string `json:"type,omitempty"` // Version Version *string `json:"version,omitempty"` // Tags - The tags that will be assigned to the role. Tags map[string]*string `json:"tags"` // Properties *RoleAssignmentProperties `json:"properties,omitempty"` }
RoleAssignment defines the structure of a role assignment to an identity
type RoleAssignmentProperties ¶ added in v0.10.8
type RoleAssignmentProperties struct { // RoleName - The name of the role to apply RoleName *string `json:"role,omitempty"` // IdentityName - The name of the identity to be assigned to IdentityName *string `json:"identity,omitempty"` // Scope - The scope to which role is applied Scope *Scope `json:"scope,omitempty"` }
RoleAssignmentProperties defines the properties of a role assignment
type RolePermission ¶ added in v0.10.8
type RoleProperties ¶ added in v0.10.8
type RoleProperties struct { // Permissions - Role definition permissions. Permissions *[]RolePermission `json:"permissions,omitempty"` // AssignableScopes - Role definition assignable scopes. AssignableScopes *[]Scope `json:"scopes,omitempty"` // State - State Statuses map[string]*string `json:"statuses"` }
RoleProperties defines the properties of a role
type Scope ¶ added in v0.10.8
type Scope struct { // Location - The location that limits scope Location *string `json:"location,omitempty"` // Group - The resource group that limits scope Group *string `json:"group,omitempty"` // Provider - The provider type that limits scope Provider ProviderType `json:"provider,omitempty"` // Resource - The resource that scope is applied to Resource *string `json:"resource,omitempty"` }
type SecretPermissions ¶
type SecretPermissions string
SecretPermissions enumerates the values for secret permissions.
const ( // SecretPermissionsBackup ... SecretPermissionsBackup SecretPermissions = "backup" // lgtm - Semmle Suppression [SM03415] Not a secret // SecretPermissionsDelete ... SecretPermissionsDelete SecretPermissions = "delete" // lgtm - Semmle Suppression [SM03415] Not a secret // SecretPermissionsGet ... SecretPermissionsGet SecretPermissions = "get" // lgtm - Semmle Suppression [SM03415] Not a secret // SecretPermissionsList ... SecretPermissionsList SecretPermissions = "list" // lgtm - Semmle Suppression [SM03415] Not a secret // SecretPermissionsPurge ... SecretPermissionsPurge SecretPermissions = "purge" // lgtm - Semmle Suppression [SM03415] Not a secret // SecretPermissionsRecover ... SecretPermissionsRecover SecretPermissions = "recover" // lgtm - Semmle Suppression [SM03415] Not a secret // SecretPermissionsRestore ... SecretPermissionsRestore SecretPermissions = "restore" // lgtm - Semmle Suppression [SM03415] Not a secret // SecretPermissionsSet ... SecretPermissionsSet SecretPermissions = "set" // lgtm - Semmle Suppression [SM03415] Not a secret )
type Sku ¶
type Sku struct { // Family - SKU family name Family *string `json:"family,omitempty"` // Name - SKU name to specify whether the key vault is a standard vault or a premium vault. Possible values include: 'Standard', 'Premium' Name SkuName `json:"name,omitempty"` }
Sku SKU details
type SkuName ¶
type SkuName string
Reference: github.com/Azure/azure-sdk-for-go/services/keyvault/mgmt/2018-02-14/keyvault/models.go SkuName enumerates the values for sku name.
type StoragePermissions ¶
type StoragePermissions string
StoragePermissions enumerates the values for storage permissions.
const ( // StoragePermissionsBackup ... StoragePermissionsBackup StoragePermissions = "backup" // StoragePermissionsDelete ... StoragePermissionsDelete StoragePermissions = "delete" // StoragePermissionsDeletesas ... StoragePermissionsDeletesas StoragePermissions = "deletesas" // StoragePermissionsGet ... StoragePermissionsGet StoragePermissions = "get" // StoragePermissionsGetsas ... StoragePermissionsGetsas StoragePermissions = "getsas" // StoragePermissionsList ... StoragePermissionsList StoragePermissions = "list" // StoragePermissionsListsas ... StoragePermissionsListsas StoragePermissions = "listsas" // StoragePermissionsPurge ... StoragePermissionsPurge StoragePermissions = "purge" // StoragePermissionsRecover ... StoragePermissionsRecover StoragePermissions = "recover" // StoragePermissionsRegeneratekey ... StoragePermissionsRegeneratekey StoragePermissions = "regeneratekey" // StoragePermissionsRestore ... StoragePermissionsRestore StoragePermissions = "restore" // StoragePermissionsSet ... StoragePermissionsSet StoragePermissions = "set" // StoragePermissionsSetsas ... StoragePermissionsSetsas StoragePermissions = "setsas" // StoragePermissionsUpdate ... StoragePermissionsUpdate StoragePermissions = "update" )