Documentation ¶
Index ¶
- func PossibleValuesForServerKeyType() []string
- func ValidateKeyID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateServerID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type KeyId
- type ListCompleteResult
- type ListCustomPager
- type ListOperationResponse
- type ServerId
- type ServerKey
- type ServerKeyOperationPredicate
- type ServerKeyProperties
- type ServerKeyType
- type ServerKeysClient
- func (c ServerKeysClient) CreateOrUpdate(ctx context.Context, id KeyId, input ServerKey) (result CreateOrUpdateOperationResponse, err error)
- func (c ServerKeysClient) CreateOrUpdateThenPoll(ctx context.Context, id KeyId, input ServerKey) error
- func (c ServerKeysClient) Delete(ctx context.Context, id KeyId) (result DeleteOperationResponse, err error)
- func (c ServerKeysClient) DeleteThenPoll(ctx context.Context, id KeyId) error
- func (c ServerKeysClient) Get(ctx context.Context, id KeyId) (result GetOperationResponse, err error)
- func (c ServerKeysClient) List(ctx context.Context, id ServerId) (result ListOperationResponse, err error)
- func (c ServerKeysClient) ListComplete(ctx context.Context, id ServerId) (ListCompleteResult, error)
- func (c ServerKeysClient) ListCompleteMatchingPredicate(ctx context.Context, id ServerId, predicate ServerKeyOperationPredicate) (result ListCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForServerKeyType ¶
func PossibleValuesForServerKeyType() []string
func ValidateKeyID ¶
ValidateKeyID checks that 'input' can be parsed as a Key ID
func ValidateServerID ¶
ValidateServerID checks that 'input' can be parsed as a Server ID
Types ¶
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type KeyId ¶
type KeyId struct { SubscriptionId string ResourceGroupName string ServerName string KeyName string }
KeyId is a struct representing the Resource ID for a Key
func NewKeyID ¶
func NewKeyID(subscriptionId string, resourceGroupName string, serverName 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 ListCompleteResult ¶
type ListCustomPager ¶ added in v0.20240628.1153531
func (*ListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type ServerId ¶
ServerId is a struct representing the Resource ID for a Server
func NewServerID ¶
NewServerID returns a new ServerId struct
func ParseServerID ¶
ParseServerID parses 'input' into a ServerId
func ParseServerIDInsensitively ¶
ParseServerIDInsensitively parses 'input' case-insensitively into a ServerId note: this method should only be used for API response data and not user input
func (*ServerId) FromParseResult ¶
func (id *ServerId) FromParseResult(input resourceids.ParseResult) error
func (ServerId) Segments ¶
func (id ServerId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Server ID
type ServerKey ¶
type ServerKey struct { Id *string `json:"id,omitempty"` Kind *string `json:"kind,omitempty"` Name *string `json:"name,omitempty"` Properties *ServerKeyProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type ServerKeyOperationPredicate ¶
func (ServerKeyOperationPredicate) Matches ¶
func (p ServerKeyOperationPredicate) Matches(input ServerKey) bool
type ServerKeyProperties ¶
type ServerKeyProperties struct { CreationDate *string `json:"creationDate,omitempty"` ServerKeyType ServerKeyType `json:"serverKeyType"` Uri *string `json:"uri,omitempty"` }
func (*ServerKeyProperties) GetCreationDateAsTime ¶
func (o *ServerKeyProperties) GetCreationDateAsTime() (*time.Time, error)
func (*ServerKeyProperties) SetCreationDateAsTime ¶
func (o *ServerKeyProperties) SetCreationDateAsTime(input time.Time)
type ServerKeyType ¶
type ServerKeyType string
const (
ServerKeyTypeAzureKeyVault ServerKeyType = "AzureKeyVault"
)
func (*ServerKeyType) UnmarshalJSON ¶
func (s *ServerKeyType) UnmarshalJSON(bytes []byte) error
type ServerKeysClient ¶
type ServerKeysClient struct {
Client *resourcemanager.Client
}
func NewServerKeysClientWithBaseURI ¶
func NewServerKeysClientWithBaseURI(sdkApi sdkEnv.Api) (*ServerKeysClient, error)
func (ServerKeysClient) CreateOrUpdate ¶
func (c ServerKeysClient) CreateOrUpdate(ctx context.Context, id KeyId, input ServerKey) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ServerKeysClient) CreateOrUpdateThenPoll ¶
func (c ServerKeysClient) CreateOrUpdateThenPoll(ctx context.Context, id KeyId, input ServerKey) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (ServerKeysClient) Delete ¶
func (c ServerKeysClient) Delete(ctx context.Context, id KeyId) (result DeleteOperationResponse, err error)
Delete ...
func (ServerKeysClient) DeleteThenPoll ¶
func (c ServerKeysClient) DeleteThenPoll(ctx context.Context, id KeyId) error
DeleteThenPoll performs Delete then polls until it's completed
func (ServerKeysClient) Get ¶
func (c ServerKeysClient) Get(ctx context.Context, id KeyId) (result GetOperationResponse, err error)
Get ...
func (ServerKeysClient) List ¶
func (c ServerKeysClient) List(ctx context.Context, id ServerId) (result ListOperationResponse, err error)
List ...
func (ServerKeysClient) ListComplete ¶
func (c ServerKeysClient) ListComplete(ctx context.Context, id ServerId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (ServerKeysClient) ListCompleteMatchingPredicate ¶
func (c ServerKeysClient) ListCompleteMatchingPredicate(ctx context.Context, id ServerId, predicate ServerKeyOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate