Documentation ¶
Index ¶
- func PossibleValuesForDeletionRecoveryLevel() []string
- func PossibleValuesForJsonWebKeyCurveName() []string
- func PossibleValuesForJsonWebKeyOperation() []string
- func PossibleValuesForJsonWebKeyType() []string
- func PossibleValuesForKeyRotationPolicyActionType() []string
- type Action
- type CreateIfNotExistOperationResponse
- type DeletionRecoveryLevel
- type GetOperationResponse
- type GetVersionOperationResponse
- type JsonWebKeyCurveName
- type JsonWebKeyOperation
- type JsonWebKeyType
- type Key
- type KeyAttributes
- type KeyCreateParameters
- type KeyOperationPredicate
- type KeyProperties
- type KeyReleasePolicy
- type KeyRotationPolicyActionType
- type KeyRotationPolicyAttributes
- type KeysClient
- func (c KeysClient) CreateIfNotExist(ctx context.Context, id commonids.KeyVaultKeyId, input KeyCreateParameters) (result CreateIfNotExistOperationResponse, err error)
- func (c KeysClient) Get(ctx context.Context, id commonids.KeyVaultKeyId) (result GetOperationResponse, err error)
- func (c KeysClient) GetVersion(ctx context.Context, id commonids.KeyVaultKeyVersionId) (result GetVersionOperationResponse, err error)
- func (c KeysClient) List(ctx context.Context, id commonids.KeyVaultId) (result ListOperationResponse, err error)
- func (c KeysClient) ListComplete(ctx context.Context, id commonids.KeyVaultId) (ListCompleteResult, error)
- func (c KeysClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.KeyVaultId, predicate KeyOperationPredicate) (result ListCompleteResult, err error)
- func (c KeysClient) ListVersions(ctx context.Context, id commonids.KeyVaultKeyId) (result ListVersionsOperationResponse, err error)
- func (c KeysClient) ListVersionsComplete(ctx context.Context, id commonids.KeyVaultKeyId) (ListVersionsCompleteResult, error)
- func (c KeysClient) ListVersionsCompleteMatchingPredicate(ctx context.Context, id commonids.KeyVaultKeyId, ...) (result ListVersionsCompleteResult, err error)
- type LifetimeAction
- type ListCompleteResult
- type ListCustomPager
- type ListOperationResponse
- type ListVersionsCompleteResult
- type ListVersionsCustomPager
- type ListVersionsOperationResponse
- type RotationPolicy
- type Trigger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForDeletionRecoveryLevel ¶
func PossibleValuesForDeletionRecoveryLevel() []string
func PossibleValuesForJsonWebKeyCurveName ¶
func PossibleValuesForJsonWebKeyCurveName() []string
func PossibleValuesForJsonWebKeyOperation ¶
func PossibleValuesForJsonWebKeyOperation() []string
func PossibleValuesForJsonWebKeyType ¶
func PossibleValuesForJsonWebKeyType() []string
func PossibleValuesForKeyRotationPolicyActionType ¶
func PossibleValuesForKeyRotationPolicyActionType() []string
Types ¶
type Action ¶
type Action struct {
Type *KeyRotationPolicyActionType `json:"type,omitempty"`
}
type DeletionRecoveryLevel ¶
type DeletionRecoveryLevel string
const ( DeletionRecoveryLevelPurgeable DeletionRecoveryLevel = "Purgeable" DeletionRecoveryLevelRecoverable DeletionRecoveryLevel = "Recoverable" DeletionRecoveryLevelRecoverablePositiveProtectedSubscription DeletionRecoveryLevel = "Recoverable+ProtectedSubscription" DeletionRecoveryLevelRecoverablePositivePurgeable DeletionRecoveryLevel = "Recoverable+Purgeable" )
func (*DeletionRecoveryLevel) UnmarshalJSON ¶
func (s *DeletionRecoveryLevel) UnmarshalJSON(bytes []byte) error
type GetOperationResponse ¶
type JsonWebKeyCurveName ¶
type JsonWebKeyCurveName string
const ( JsonWebKeyCurveNamePNegativeFiveTwoOne JsonWebKeyCurveName = "P-521" JsonWebKeyCurveNamePNegativeThreeEightFour JsonWebKeyCurveName = "P-384" JsonWebKeyCurveNamePNegativeTwoFiveSix JsonWebKeyCurveName = "P-256" JsonWebKeyCurveNamePNegativeTwoFiveSixK JsonWebKeyCurveName = "P-256K" )
func (*JsonWebKeyCurveName) UnmarshalJSON ¶
func (s *JsonWebKeyCurveName) UnmarshalJSON(bytes []byte) error
type JsonWebKeyOperation ¶
type JsonWebKeyOperation string
const ( JsonWebKeyOperationDecrypt JsonWebKeyOperation = "decrypt" JsonWebKeyOperationEncrypt JsonWebKeyOperation = "encrypt" JsonWebKeyOperationImport JsonWebKeyOperation = "import" JsonWebKeyOperationRelease JsonWebKeyOperation = "release" JsonWebKeyOperationSign JsonWebKeyOperation = "sign" JsonWebKeyOperationUnwrapKey JsonWebKeyOperation = "unwrapKey" JsonWebKeyOperationVerify JsonWebKeyOperation = "verify" JsonWebKeyOperationWrapKey JsonWebKeyOperation = "wrapKey" )
func (*JsonWebKeyOperation) UnmarshalJSON ¶
func (s *JsonWebKeyOperation) UnmarshalJSON(bytes []byte) error
type JsonWebKeyType ¶
type JsonWebKeyType string
const ( JsonWebKeyTypeEC JsonWebKeyType = "EC" JsonWebKeyTypeECNegativeHSM JsonWebKeyType = "EC-HSM" JsonWebKeyTypeRSA JsonWebKeyType = "RSA" JsonWebKeyTypeRSANegativeHSM JsonWebKeyType = "RSA-HSM" )
func (*JsonWebKeyType) UnmarshalJSON ¶
func (s *JsonWebKeyType) UnmarshalJSON(bytes []byte) error
type KeyAttributes ¶
type KeyAttributes struct { Created *int64 `json:"created,omitempty"` Enabled *bool `json:"enabled,omitempty"` Exp *int64 `json:"exp,omitempty"` Exportable *bool `json:"exportable,omitempty"` Nbf *int64 `json:"nbf,omitempty"` RecoveryLevel *DeletionRecoveryLevel `json:"recoveryLevel,omitempty"` Updated *int64 `json:"updated,omitempty"` }
type KeyCreateParameters ¶
type KeyCreateParameters struct { Properties KeyProperties `json:"properties"` Tags *map[string]string `json:"tags,omitempty"` }
type KeyOperationPredicate ¶
func (KeyOperationPredicate) Matches ¶
func (p KeyOperationPredicate) Matches(input Key) bool
type KeyProperties ¶
type KeyProperties struct { Attributes *KeyAttributes `json:"attributes,omitempty"` CurveName *JsonWebKeyCurveName `json:"curveName,omitempty"` KeyOps *[]JsonWebKeyOperation `json:"keyOps,omitempty"` KeySize *int64 `json:"keySize,omitempty"` KeyUri *string `json:"keyUri,omitempty"` KeyUriWithVersion *string `json:"keyUriWithVersion,omitempty"` Kty *JsonWebKeyType `json:"kty,omitempty"` ReleasePolicy *KeyReleasePolicy `json:"release_policy,omitempty"` RotationPolicy *RotationPolicy `json:"rotationPolicy,omitempty"` }
type KeyReleasePolicy ¶
type KeyRotationPolicyActionType ¶
type KeyRotationPolicyActionType string
const ( KeyRotationPolicyActionTypeNotify KeyRotationPolicyActionType = "notify" KeyRotationPolicyActionTypeRotate KeyRotationPolicyActionType = "rotate" )
func (*KeyRotationPolicyActionType) UnmarshalJSON ¶
func (s *KeyRotationPolicyActionType) UnmarshalJSON(bytes []byte) error
type KeysClient ¶
type KeysClient struct {
Client *resourcemanager.Client
}
func NewKeysClientWithBaseURI ¶
func NewKeysClientWithBaseURI(sdkApi sdkEnv.Api) (*KeysClient, error)
func (KeysClient) CreateIfNotExist ¶
func (c KeysClient) CreateIfNotExist(ctx context.Context, id commonids.KeyVaultKeyId, input KeyCreateParameters) (result CreateIfNotExistOperationResponse, err error)
CreateIfNotExist ...
func (KeysClient) Get ¶
func (c KeysClient) Get(ctx context.Context, id commonids.KeyVaultKeyId) (result GetOperationResponse, err error)
Get ...
func (KeysClient) GetVersion ¶
func (c KeysClient) GetVersion(ctx context.Context, id commonids.KeyVaultKeyVersionId) (result GetVersionOperationResponse, err error)
GetVersion ...
func (KeysClient) List ¶
func (c KeysClient) List(ctx context.Context, id commonids.KeyVaultId) (result ListOperationResponse, err error)
List ...
func (KeysClient) ListComplete ¶
func (c KeysClient) ListComplete(ctx context.Context, id commonids.KeyVaultId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (KeysClient) ListCompleteMatchingPredicate ¶
func (c KeysClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.KeyVaultId, predicate KeyOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (KeysClient) ListVersions ¶
func (c KeysClient) ListVersions(ctx context.Context, id commonids.KeyVaultKeyId) (result ListVersionsOperationResponse, err error)
ListVersions ...
func (KeysClient) ListVersionsComplete ¶
func (c KeysClient) ListVersionsComplete(ctx context.Context, id commonids.KeyVaultKeyId) (ListVersionsCompleteResult, error)
ListVersionsComplete retrieves all the results into a single object
func (KeysClient) ListVersionsCompleteMatchingPredicate ¶
func (c KeysClient) ListVersionsCompleteMatchingPredicate(ctx context.Context, id commonids.KeyVaultKeyId, predicate KeyOperationPredicate) (result ListVersionsCompleteResult, err error)
ListVersionsCompleteMatchingPredicate retrieves all the results and then applies the predicate
type LifetimeAction ¶
type ListCompleteResult ¶
type ListCustomPager ¶
func (*ListCustomPager) NextPageLink ¶
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type ListVersionsCustomPager ¶
func (*ListVersionsCustomPager) NextPageLink ¶
func (p *ListVersionsCustomPager) NextPageLink() *odata.Link
type RotationPolicy ¶
type RotationPolicy struct { Attributes *KeyRotationPolicyAttributes `json:"attributes,omitempty"` LifetimeActions *[]LifetimeAction `json:"lifetimeActions,omitempty"` }
Source Files ¶
- client.go
- constants.go
- method_createifnotexist.go
- method_get.go
- method_getversion.go
- method_list.go
- method_listversions.go
- model_action.go
- model_key.go
- model_keyattributes.go
- model_keycreateparameters.go
- model_keyproperties.go
- model_keyreleasepolicy.go
- model_keyrotationpolicyattributes.go
- model_lifetimeaction.go
- model_rotationpolicy.go
- model_trigger.go
- predicates.go
- version.go
Click to show internal directories.
Click to hide internal directories.