Documentation ¶
Index ¶
- func PossibleValuesForEncryptionScopeProvisioningState() []string
- func PossibleValuesForEncryptionScopeState() []string
- func PossibleValuesForKeySource() []string
- func ValidateAccountID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateEncryptionScopeID(input interface{}, key string) (warnings []string, errors []error)
- type AccountId
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type EncryptionScope
- type EncryptionScopeId
- type EncryptionScopeOperationPredicate
- type EncryptionScopeProperties
- type EncryptionScopeProvisioningState
- type EncryptionScopeState
- type EncryptionScopesClient
- func (c EncryptionScopesClient) CreateOrUpdate(ctx context.Context, id EncryptionScopeId, input EncryptionScope) (result CreateOrUpdateOperationResponse, err error)
- func (c EncryptionScopesClient) Delete(ctx context.Context, id EncryptionScopeId) (result DeleteOperationResponse, err error)
- func (c EncryptionScopesClient) DeleteThenPoll(ctx context.Context, id EncryptionScopeId) error
- func (c EncryptionScopesClient) Get(ctx context.Context, id EncryptionScopeId) (result GetOperationResponse, err error)
- func (c EncryptionScopesClient) List(ctx context.Context, id AccountId) (result ListOperationResponse, err error)
- func (c EncryptionScopesClient) ListComplete(ctx context.Context, id AccountId) (ListCompleteResult, error)
- func (c EncryptionScopesClient) ListCompleteMatchingPredicate(ctx context.Context, id AccountId, predicate EncryptionScopeOperationPredicate) (result ListCompleteResult, err error)
- type GetOperationResponse
- type KeySource
- type KeyVaultProperties
- type ListCompleteResult
- type ListCustomPager
- type ListOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForEncryptionScopeProvisioningState ¶
func PossibleValuesForEncryptionScopeProvisioningState() []string
func PossibleValuesForEncryptionScopeState ¶
func PossibleValuesForEncryptionScopeState() []string
func PossibleValuesForKeySource ¶
func PossibleValuesForKeySource() []string
func ValidateAccountID ¶
ValidateAccountID checks that 'input' can be parsed as a Account ID
func ValidateEncryptionScopeID ¶
ValidateEncryptionScopeID checks that 'input' can be parsed as a Encryption Scope ID
Types ¶
type AccountId ¶
AccountId is a struct representing the Resource ID for a Account
func NewAccountID ¶
NewAccountID returns a new AccountId struct
func ParseAccountID ¶
ParseAccountID parses 'input' into a AccountId
func ParseAccountIDInsensitively ¶
ParseAccountIDInsensitively parses 'input' case-insensitively into a AccountId note: this method should only be used for API response data and not user input
func (*AccountId) FromParseResult ¶
func (id *AccountId) FromParseResult(input resourceids.ParseResult) error
func (AccountId) Segments ¶
func (id AccountId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Account ID
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *EncryptionScope }
type DeleteOperationResponse ¶
type EncryptionScope ¶
type EncryptionScope struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *EncryptionScopeProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type EncryptionScopeId ¶
type EncryptionScopeId struct { SubscriptionId string ResourceGroupName string AccountName string EncryptionScopeName string }
EncryptionScopeId is a struct representing the Resource ID for a Encryption Scope
func NewEncryptionScopeID ¶
func NewEncryptionScopeID(subscriptionId string, resourceGroupName string, accountName string, encryptionScopeName string) EncryptionScopeId
NewEncryptionScopeID returns a new EncryptionScopeId struct
func ParseEncryptionScopeID ¶
func ParseEncryptionScopeID(input string) (*EncryptionScopeId, error)
ParseEncryptionScopeID parses 'input' into a EncryptionScopeId
func ParseEncryptionScopeIDInsensitively ¶
func ParseEncryptionScopeIDInsensitively(input string) (*EncryptionScopeId, error)
ParseEncryptionScopeIDInsensitively parses 'input' case-insensitively into a EncryptionScopeId note: this method should only be used for API response data and not user input
func (*EncryptionScopeId) FromParseResult ¶
func (id *EncryptionScopeId) FromParseResult(input resourceids.ParseResult) error
func (EncryptionScopeId) ID ¶
func (id EncryptionScopeId) ID() string
ID returns the formatted Encryption Scope ID
func (EncryptionScopeId) Segments ¶
func (id EncryptionScopeId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Encryption Scope ID
func (EncryptionScopeId) String ¶
func (id EncryptionScopeId) String() string
String returns a human-readable description of this Encryption Scope ID
type EncryptionScopeOperationPredicate ¶
func (EncryptionScopeOperationPredicate) Matches ¶
func (p EncryptionScopeOperationPredicate) Matches(input EncryptionScope) bool
type EncryptionScopeProperties ¶
type EncryptionScopeProperties struct { KeySource *KeySource `json:"keySource,omitempty"` KeyVaultProperties *KeyVaultProperties `json:"keyVaultProperties,omitempty"` ProvisioningState *EncryptionScopeProvisioningState `json:"provisioningState,omitempty"` State *EncryptionScopeState `json:"state,omitempty"` }
type EncryptionScopeProvisioningState ¶
type EncryptionScopeProvisioningState string
const ( EncryptionScopeProvisioningStateAccepted EncryptionScopeProvisioningState = "Accepted" EncryptionScopeProvisioningStateCanceled EncryptionScopeProvisioningState = "Canceled" EncryptionScopeProvisioningStateCreating EncryptionScopeProvisioningState = "Creating" EncryptionScopeProvisioningStateDeleting EncryptionScopeProvisioningState = "Deleting" EncryptionScopeProvisioningStateFailed EncryptionScopeProvisioningState = "Failed" EncryptionScopeProvisioningStateMoving EncryptionScopeProvisioningState = "Moving" EncryptionScopeProvisioningStateSucceeded EncryptionScopeProvisioningState = "Succeeded" )
func (*EncryptionScopeProvisioningState) UnmarshalJSON ¶
func (s *EncryptionScopeProvisioningState) UnmarshalJSON(bytes []byte) error
type EncryptionScopeState ¶
type EncryptionScopeState string
const ( EncryptionScopeStateDisabled EncryptionScopeState = "Disabled" EncryptionScopeStateEnabled EncryptionScopeState = "Enabled" )
func (*EncryptionScopeState) UnmarshalJSON ¶
func (s *EncryptionScopeState) UnmarshalJSON(bytes []byte) error
type EncryptionScopesClient ¶
type EncryptionScopesClient struct {
Client *resourcemanager.Client
}
func NewEncryptionScopesClientWithBaseURI ¶
func NewEncryptionScopesClientWithBaseURI(sdkApi sdkEnv.Api) (*EncryptionScopesClient, error)
func (EncryptionScopesClient) CreateOrUpdate ¶
func (c EncryptionScopesClient) CreateOrUpdate(ctx context.Context, id EncryptionScopeId, input EncryptionScope) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (EncryptionScopesClient) Delete ¶
func (c EncryptionScopesClient) Delete(ctx context.Context, id EncryptionScopeId) (result DeleteOperationResponse, err error)
Delete ...
func (EncryptionScopesClient) DeleteThenPoll ¶
func (c EncryptionScopesClient) DeleteThenPoll(ctx context.Context, id EncryptionScopeId) error
DeleteThenPoll performs Delete then polls until it's completed
func (EncryptionScopesClient) Get ¶
func (c EncryptionScopesClient) Get(ctx context.Context, id EncryptionScopeId) (result GetOperationResponse, err error)
Get ...
func (EncryptionScopesClient) List ¶
func (c EncryptionScopesClient) List(ctx context.Context, id AccountId) (result ListOperationResponse, err error)
List ...
func (EncryptionScopesClient) ListComplete ¶
func (c EncryptionScopesClient) ListComplete(ctx context.Context, id AccountId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (EncryptionScopesClient) ListCompleteMatchingPredicate ¶
func (c EncryptionScopesClient) ListCompleteMatchingPredicate(ctx context.Context, id AccountId, predicate EncryptionScopeOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *EncryptionScope }
type KeyVaultProperties ¶
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []EncryptionScope }
type ListCustomPager ¶
func (*ListCustomPager) NextPageLink ¶
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]EncryptionScope }