Documentation ¶
Index ¶
- func PossibleValuesForEncryptionScopeSource() []string
- func PossibleValuesForEncryptionScopeState() []string
- func ValidateEncryptionScopeID(input interface{}, key string) (warnings []string, errors []error)
- type EncryptionScope
- type EncryptionScopeId
- type EncryptionScopeKeyVaultProperties
- type EncryptionScopeOperationPredicate
- type EncryptionScopeProperties
- func (o *EncryptionScopeProperties) GetCreationTimeAsTime() (*time.Time, error)
- func (o *EncryptionScopeProperties) GetLastModifiedTimeAsTime() (*time.Time, error)
- func (o *EncryptionScopeProperties) SetCreationTimeAsTime(input time.Time)
- func (o *EncryptionScopeProperties) SetLastModifiedTimeAsTime(input time.Time)
- type EncryptionScopeSource
- type EncryptionScopeState
- type EncryptionScopesClient
- func (c EncryptionScopesClient) Get(ctx context.Context, id EncryptionScopeId) (result GetOperationResponse, err error)
- func (c EncryptionScopesClient) List(ctx context.Context, id commonids.StorageAccountId) (resp ListOperationResponse, err error)
- func (c EncryptionScopesClient) ListComplete(ctx context.Context, id commonids.StorageAccountId) (ListCompleteResult, error)
- func (c EncryptionScopesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.StorageAccountId, ...) (resp ListCompleteResult, err error)
- func (c EncryptionScopesClient) Patch(ctx context.Context, id EncryptionScopeId, input EncryptionScope) (result PatchOperationResponse, err error)
- func (c EncryptionScopesClient) Put(ctx context.Context, id EncryptionScopeId, input EncryptionScope) (result PutOperationResponse, err error)
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type PatchOperationResponse
- type PutOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForEncryptionScopeSource ¶
func PossibleValuesForEncryptionScopeSource() []string
func PossibleValuesForEncryptionScopeState ¶
func PossibleValuesForEncryptionScopeState() []string
func ValidateEncryptionScopeID ¶
ValidateEncryptionScopeID checks that 'input' can be parsed as a Encryption Scope ID
Types ¶
type EncryptionScope ¶
type EncryptionScope struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *EncryptionScopeProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type EncryptionScopeId ¶
type EncryptionScopeId struct { SubscriptionId string ResourceGroupName string StorageAccountName string EncryptionScopeName string }
EncryptionScopeId is a struct representing the Resource ID for a Encryption Scope
func NewEncryptionScopeID ¶
func NewEncryptionScopeID(subscriptionId string, resourceGroupName string, storageAccountName 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) 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 EncryptionScopeKeyVaultProperties ¶
type EncryptionScopeKeyVaultProperties struct { CurrentVersionedKeyIdentifier *string `json:"currentVersionedKeyIdentifier,omitempty"` KeyUri *string `json:"keyUri,omitempty"` LastKeyRotationTimestamp *string `json:"lastKeyRotationTimestamp,omitempty"` }
func (*EncryptionScopeKeyVaultProperties) GetLastKeyRotationTimestampAsTime ¶
func (o *EncryptionScopeKeyVaultProperties) GetLastKeyRotationTimestampAsTime() (*time.Time, error)
func (*EncryptionScopeKeyVaultProperties) SetLastKeyRotationTimestampAsTime ¶
func (o *EncryptionScopeKeyVaultProperties) SetLastKeyRotationTimestampAsTime(input time.Time)
type EncryptionScopeOperationPredicate ¶
func (EncryptionScopeOperationPredicate) Matches ¶
func (p EncryptionScopeOperationPredicate) Matches(input EncryptionScope) bool
type EncryptionScopeProperties ¶
type EncryptionScopeProperties struct { CreationTime *string `json:"creationTime,omitempty"` KeyVaultProperties *EncryptionScopeKeyVaultProperties `json:"keyVaultProperties,omitempty"` LastModifiedTime *string `json:"lastModifiedTime,omitempty"` RequireInfrastructureEncryption *bool `json:"requireInfrastructureEncryption,omitempty"` Source *EncryptionScopeSource `json:"source,omitempty"` State *EncryptionScopeState `json:"state,omitempty"` }
func (*EncryptionScopeProperties) GetCreationTimeAsTime ¶
func (o *EncryptionScopeProperties) GetCreationTimeAsTime() (*time.Time, error)
func (*EncryptionScopeProperties) GetLastModifiedTimeAsTime ¶
func (o *EncryptionScopeProperties) GetLastModifiedTimeAsTime() (*time.Time, error)
func (*EncryptionScopeProperties) SetCreationTimeAsTime ¶
func (o *EncryptionScopeProperties) SetCreationTimeAsTime(input time.Time)
func (*EncryptionScopeProperties) SetLastModifiedTimeAsTime ¶
func (o *EncryptionScopeProperties) SetLastModifiedTimeAsTime(input time.Time)
type EncryptionScopeSource ¶
type EncryptionScopeSource string
const ( EncryptionScopeSourceMicrosoftPointKeyVault EncryptionScopeSource = "Microsoft.KeyVault" EncryptionScopeSourceMicrosoftPointStorage EncryptionScopeSource = "Microsoft.Storage" )
type EncryptionScopeState ¶
type EncryptionScopeState string
const ( EncryptionScopeStateDisabled EncryptionScopeState = "Disabled" EncryptionScopeStateEnabled EncryptionScopeState = "Enabled" )
type EncryptionScopesClient ¶
type EncryptionScopesClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewEncryptionScopesClientWithBaseURI ¶
func NewEncryptionScopesClientWithBaseURI(endpoint string) EncryptionScopesClient
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 commonids.StorageAccountId) (resp ListOperationResponse, err error)
List ...
func (EncryptionScopesClient) ListComplete ¶
func (c EncryptionScopesClient) ListComplete(ctx context.Context, id commonids.StorageAccountId) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (EncryptionScopesClient) ListCompleteMatchingPredicate ¶
func (c EncryptionScopesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.StorageAccountId, predicate EncryptionScopeOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (EncryptionScopesClient) Patch ¶
func (c EncryptionScopesClient) Patch(ctx context.Context, id EncryptionScopeId, input EncryptionScope) (result PatchOperationResponse, err error)
Patch ...
func (EncryptionScopesClient) Put ¶
func (c EncryptionScopesClient) Put(ctx context.Context, id EncryptionScopeId, input EncryptionScope) (result PutOperationResponse, err error)
Put ...
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *EncryptionScope }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []EncryptionScope
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]EncryptionScope // 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 PatchOperationResponse ¶
type PatchOperationResponse struct { HttpResponse *http.Response Model *EncryptionScope }
type PutOperationResponse ¶
type PutOperationResponse struct { HttpResponse *http.Response Model *EncryptionScope }