Documentation ¶
Index ¶
- func PossibleValuesForDeletionRecoveryLevel() []string
- func PossibleValuesForJsonWebKeyCurveName() []string
- func PossibleValuesForJsonWebKeyOperation() []string
- func PossibleValuesForJsonWebKeyType() []string
- func PossibleValuesForKeyRotationPolicyActionType() []string
- func ValidateKeyID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateManagedHSMID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateVersionID(input interface{}, key string) (warnings []string, errors []error)
- type CreateIfNotExistOperationResponse
- type DeletionRecoveryLevel
- type GetOperationResponse
- type GetVersionOperationResponse
- type JsonWebKeyCurveName
- type JsonWebKeyOperation
- type JsonWebKeyType
- type KeyId
- type KeyRotationPolicyActionType
- type ListCompleteResult
- type ListOperationResponse
- type ListVersionsCompleteResult
- type ListVersionsOperationResponse
- type ManagedHSMId
- type ManagedHsmAction
- type ManagedHsmKey
- type ManagedHsmKeyAttributes
- type ManagedHsmKeyCreateParameters
- type ManagedHsmKeyOperationPredicate
- type ManagedHsmKeyProperties
- type ManagedHsmKeyReleasePolicy
- type ManagedHsmKeyRotationPolicyAttributes
- type ManagedHsmKeysClient
- func (c ManagedHsmKeysClient) CreateIfNotExist(ctx context.Context, id KeyId, input ManagedHsmKeyCreateParameters) (result CreateIfNotExistOperationResponse, err error)
- func (c ManagedHsmKeysClient) Get(ctx context.Context, id KeyId) (result GetOperationResponse, err error)
- func (c ManagedHsmKeysClient) GetVersion(ctx context.Context, id VersionId) (result GetVersionOperationResponse, err error)
- func (c ManagedHsmKeysClient) List(ctx context.Context, id ManagedHSMId) (resp ListOperationResponse, err error)
- func (c ManagedHsmKeysClient) ListComplete(ctx context.Context, id ManagedHSMId) (ListCompleteResult, error)
- func (c ManagedHsmKeysClient) ListCompleteMatchingPredicate(ctx context.Context, id ManagedHSMId, ...) (resp ListCompleteResult, err error)
- func (c ManagedHsmKeysClient) ListVersions(ctx context.Context, id KeyId) (resp ListVersionsOperationResponse, err error)
- func (c ManagedHsmKeysClient) ListVersionsComplete(ctx context.Context, id KeyId) (ListVersionsCompleteResult, error)
- func (c ManagedHsmKeysClient) ListVersionsCompleteMatchingPredicate(ctx context.Context, id KeyId, predicate ManagedHsmKeyOperationPredicate) (resp ListVersionsCompleteResult, err error)
- type ManagedHsmLifetimeAction
- type ManagedHsmRotationPolicy
- type ManagedHsmTrigger
- type VersionId
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
func ValidateKeyID ¶
ValidateKeyID checks that 'input' can be parsed as a Key ID
func ValidateManagedHSMID ¶
ValidateManagedHSMID checks that 'input' can be parsed as a Managed H S M ID
func ValidateVersionID ¶
ValidateVersionID checks that 'input' can be parsed as a Version ID
Types ¶
type CreateIfNotExistOperationResponse ¶
type CreateIfNotExistOperationResponse struct { HttpResponse *http.Response Model *ManagedHsmKey }
type DeletionRecoveryLevel ¶
type DeletionRecoveryLevel string
const ( DeletionRecoveryLevelPurgeable DeletionRecoveryLevel = "Purgeable" DeletionRecoveryLevelRecoverable DeletionRecoveryLevel = "Recoverable" DeletionRecoveryLevelRecoverablePositiveProtectedSubscription DeletionRecoveryLevel = "Recoverable+ProtectedSubscription" DeletionRecoveryLevelRecoverablePositivePurgeable DeletionRecoveryLevel = "Recoverable+Purgeable" )
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *ManagedHsmKey }
type GetVersionOperationResponse ¶
type GetVersionOperationResponse struct { HttpResponse *http.Response Model *ManagedHsmKey }
type JsonWebKeyCurveName ¶
type JsonWebKeyCurveName string
const ( JsonWebKeyCurveNamePNegativeFiveTwoOne JsonWebKeyCurveName = "P-521" JsonWebKeyCurveNamePNegativeThreeEightFour JsonWebKeyCurveName = "P-384" JsonWebKeyCurveNamePNegativeTwoFiveSix JsonWebKeyCurveName = "P-256" JsonWebKeyCurveNamePNegativeTwoFiveSixK JsonWebKeyCurveName = "P-256K" )
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" )
type JsonWebKeyType ¶
type JsonWebKeyType string
const ( JsonWebKeyTypeEC JsonWebKeyType = "EC" JsonWebKeyTypeECNegativeHSM JsonWebKeyType = "EC-HSM" JsonWebKeyTypeRSA JsonWebKeyType = "RSA" JsonWebKeyTypeRSANegativeHSM JsonWebKeyType = "RSA-HSM" )
type KeyId ¶
type KeyId struct { SubscriptionId string ResourceGroupName string ManagedHSMName string KeyName string }
KeyId is a struct representing the Resource ID for a Key
func NewKeyID ¶
func NewKeyID(subscriptionId string, resourceGroupName string, managedHSMName string, keyName string) KeyId
NewKeyID returns a new KeyId struct
func ParseKeyID ¶
ParseKeyID parses 'input' into a KeyId
func ParseKeyIDInsensitively ¶
ParseKeyIDInsensitively parses 'input' case-insensitively into a KeyId note: this method should only be used for API response data and not user input
func (*KeyId) FromParseResult ¶
func (id *KeyId) FromParseResult(input resourceids.ParseResult) error
func (KeyId) Segments ¶
func (id KeyId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Key ID
type KeyRotationPolicyActionType ¶
type KeyRotationPolicyActionType string
const ( KeyRotationPolicyActionTypeNotify KeyRotationPolicyActionType = "Notify" KeyRotationPolicyActionTypeRotate KeyRotationPolicyActionType = "Rotate" )
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []ManagedHsmKey
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]ManagedHsmKey // 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 ListVersionsCompleteResult ¶
type ListVersionsCompleteResult struct {
Items []ManagedHsmKey
}
type ListVersionsOperationResponse ¶
type ListVersionsOperationResponse struct { HttpResponse *http.Response Model *[]ManagedHsmKey // contains filtered or unexported fields }
func (ListVersionsOperationResponse) HasMore ¶
func (r ListVersionsOperationResponse) HasMore() bool
func (ListVersionsOperationResponse) LoadMore ¶
func (r ListVersionsOperationResponse) LoadMore(ctx context.Context) (resp ListVersionsOperationResponse, err error)
type ManagedHSMId ¶
ManagedHSMId is a struct representing the Resource ID for a Managed H S M
func NewManagedHSMID ¶
func NewManagedHSMID(subscriptionId string, resourceGroupName string, managedHSMName string) ManagedHSMId
NewManagedHSMID returns a new ManagedHSMId struct
func ParseManagedHSMID ¶
func ParseManagedHSMID(input string) (*ManagedHSMId, error)
ParseManagedHSMID parses 'input' into a ManagedHSMId
func ParseManagedHSMIDInsensitively ¶
func ParseManagedHSMIDInsensitively(input string) (*ManagedHSMId, error)
ParseManagedHSMIDInsensitively parses 'input' case-insensitively into a ManagedHSMId note: this method should only be used for API response data and not user input
func (*ManagedHSMId) FromParseResult ¶
func (id *ManagedHSMId) FromParseResult(input resourceids.ParseResult) error
func (ManagedHSMId) ID ¶
func (id ManagedHSMId) ID() string
ID returns the formatted Managed H S M ID
func (ManagedHSMId) Segments ¶
func (id ManagedHSMId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Managed H S M ID
func (ManagedHSMId) String ¶
func (id ManagedHSMId) String() string
String returns a human-readable description of this Managed H S M ID
type ManagedHsmAction ¶
type ManagedHsmAction struct {
Type *KeyRotationPolicyActionType `json:"type,omitempty"`
}
type ManagedHsmKey ¶
type ManagedHsmKeyAttributes ¶
type ManagedHsmKeyAttributes 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 ManagedHsmKeyCreateParameters ¶
type ManagedHsmKeyCreateParameters struct { Properties ManagedHsmKeyProperties `json:"properties"` Tags *map[string]string `json:"tags,omitempty"` }
type ManagedHsmKeyOperationPredicate ¶
func (ManagedHsmKeyOperationPredicate) Matches ¶
func (p ManagedHsmKeyOperationPredicate) Matches(input ManagedHsmKey) bool
type ManagedHsmKeyProperties ¶
type ManagedHsmKeyProperties struct { Attributes *ManagedHsmKeyAttributes `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 *ManagedHsmKeyReleasePolicy `json:"release_policy,omitempty"` RotationPolicy *ManagedHsmRotationPolicy `json:"rotationPolicy,omitempty"` }
type ManagedHsmKeysClient ¶
type ManagedHsmKeysClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewManagedHsmKeysClientWithBaseURI ¶
func NewManagedHsmKeysClientWithBaseURI(endpoint string) ManagedHsmKeysClient
func (ManagedHsmKeysClient) CreateIfNotExist ¶
func (c ManagedHsmKeysClient) CreateIfNotExist(ctx context.Context, id KeyId, input ManagedHsmKeyCreateParameters) (result CreateIfNotExistOperationResponse, err error)
CreateIfNotExist ...
func (ManagedHsmKeysClient) Get ¶
func (c ManagedHsmKeysClient) Get(ctx context.Context, id KeyId) (result GetOperationResponse, err error)
Get ...
func (ManagedHsmKeysClient) GetVersion ¶
func (c ManagedHsmKeysClient) GetVersion(ctx context.Context, id VersionId) (result GetVersionOperationResponse, err error)
GetVersion ...
func (ManagedHsmKeysClient) List ¶
func (c ManagedHsmKeysClient) List(ctx context.Context, id ManagedHSMId) (resp ListOperationResponse, err error)
List ...
func (ManagedHsmKeysClient) ListComplete ¶
func (c ManagedHsmKeysClient) ListComplete(ctx context.Context, id ManagedHSMId) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (ManagedHsmKeysClient) ListCompleteMatchingPredicate ¶
func (c ManagedHsmKeysClient) ListCompleteMatchingPredicate(ctx context.Context, id ManagedHSMId, predicate ManagedHsmKeyOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (ManagedHsmKeysClient) ListVersions ¶
func (c ManagedHsmKeysClient) ListVersions(ctx context.Context, id KeyId) (resp ListVersionsOperationResponse, err error)
ListVersions ...
func (ManagedHsmKeysClient) ListVersionsComplete ¶
func (c ManagedHsmKeysClient) ListVersionsComplete(ctx context.Context, id KeyId) (ListVersionsCompleteResult, error)
ListVersionsComplete retrieves all of the results into a single object
func (ManagedHsmKeysClient) ListVersionsCompleteMatchingPredicate ¶
func (c ManagedHsmKeysClient) ListVersionsCompleteMatchingPredicate(ctx context.Context, id KeyId, predicate ManagedHsmKeyOperationPredicate) (resp ListVersionsCompleteResult, err error)
ListVersionsCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type ManagedHsmLifetimeAction ¶
type ManagedHsmLifetimeAction struct { Action *ManagedHsmAction `json:"action,omitempty"` Trigger *ManagedHsmTrigger `json:"trigger,omitempty"` }
type ManagedHsmRotationPolicy ¶
type ManagedHsmRotationPolicy struct { Attributes *ManagedHsmKeyRotationPolicyAttributes `json:"attributes,omitempty"` LifetimeActions *[]ManagedHsmLifetimeAction `json:"lifetimeActions,omitempty"` }
type ManagedHsmTrigger ¶
type VersionId ¶
type VersionId struct { SubscriptionId string ResourceGroupName string ManagedHSMName string KeyName string VersionName string }
VersionId is a struct representing the Resource ID for a Version
func NewVersionID ¶
func NewVersionID(subscriptionId string, resourceGroupName string, managedHSMName string, keyName string, versionName string) VersionId
NewVersionID returns a new VersionId struct
func ParseVersionID ¶
ParseVersionID parses 'input' into a VersionId
func ParseVersionIDInsensitively ¶
ParseVersionIDInsensitively parses 'input' case-insensitively into a VersionId note: this method should only be used for API response data and not user input
func (*VersionId) FromParseResult ¶
func (id *VersionId) FromParseResult(input resourceids.ParseResult) error
func (VersionId) Segments ¶
func (id VersionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Version ID
Source Files ¶
- client.go
- constants.go
- id_key.go
- id_managedhsm.go
- id_version.go
- method_createifnotexist_autorest.go
- method_get_autorest.go
- method_getversion_autorest.go
- method_list_autorest.go
- method_listversions_autorest.go
- model_managedhsmaction.go
- model_managedhsmkey.go
- model_managedhsmkeyattributes.go
- model_managedhsmkeycreateparameters.go
- model_managedhsmkeyproperties.go
- model_managedhsmkeyreleasepolicy.go
- model_managedhsmkeyrotationpolicyattributes.go
- model_managedhsmlifetimeaction.go
- model_managedhsmrotationpolicy.go
- model_managedhsmtrigger.go
- predicates.go
- version.go