Documentation ¶
Index ¶
- func PossibleValuesForEncryptionScopeSource() []string
- func PossibleValuesForEncryptionScopeState() []string
- func PossibleValuesForListEncryptionScopesInclude() []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, ...) (result 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, ...) (result 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 ListCustomPager
- type ListEncryptionScopesInclude
- type ListOperationOptions
- 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 PossibleValuesForListEncryptionScopesInclude ¶
func PossibleValuesForListEncryptionScopesInclude() []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) 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 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" )
func (*EncryptionScopeSource) UnmarshalJSON ¶
func (s *EncryptionScopeSource) 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) 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, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (EncryptionScopesClient) ListComplete ¶
func (c EncryptionScopesClient) ListComplete(ctx context.Context, id commonids.StorageAccountId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (EncryptionScopesClient) ListCompleteMatchingPredicate ¶
func (c EncryptionScopesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.StorageAccountId, options ListOperationOptions, predicate EncryptionScopeOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies 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 OData *odata.OData Model *EncryptionScope }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []EncryptionScope }
type ListCustomPager ¶
func (*ListCustomPager) NextPageLink ¶
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListEncryptionScopesInclude ¶
type ListEncryptionScopesInclude string
const ( ListEncryptionScopesIncludeAll ListEncryptionScopesInclude = "All" ListEncryptionScopesIncludeDisabled ListEncryptionScopesInclude = "Disabled" ListEncryptionScopesIncludeEnabled ListEncryptionScopesInclude = "Enabled" )
func (*ListEncryptionScopesInclude) UnmarshalJSON ¶
func (s *ListEncryptionScopesInclude) UnmarshalJSON(bytes []byte) error
type ListOperationOptions ¶
type ListOperationOptions struct { Filter *string Include *ListEncryptionScopesInclude Maxpagesize *int64 }
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]EncryptionScope }
type PatchOperationResponse ¶
type PatchOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *EncryptionScope }
type PutOperationResponse ¶
type PutOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *EncryptionScope }