Documentation ¶
Index ¶
- func ValidateKeyValueID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type KeyValue
- type KeyValueId
- type KeyValueProperties
- type KeyValuesClient
- func (c KeyValuesClient) CreateOrUpdate(ctx context.Context, id KeyValueId, input KeyValue) (result CreateOrUpdateOperationResponse, err error)
- func (c KeyValuesClient) Delete(ctx context.Context, id KeyValueId) (result DeleteOperationResponse, err error)
- func (c KeyValuesClient) DeleteThenPoll(ctx context.Context, id KeyValueId) error
- func (c KeyValuesClient) Get(ctx context.Context, id KeyValueId) (result GetOperationResponse, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateKeyValueID ¶
ValidateKeyValueID checks that 'input' can be parsed as a Key Value ID
Types ¶
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type GetOperationResponse ¶
type KeyValue ¶
type KeyValue struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *KeyValueProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type KeyValueId ¶
type KeyValueId struct { SubscriptionId string ResourceGroupName string ConfigurationStoreName string KeyValueName string }
KeyValueId is a struct representing the Resource ID for a Key Value
func NewKeyValueID ¶
func NewKeyValueID(subscriptionId string, resourceGroupName string, configurationStoreName string, keyValueName string) KeyValueId
NewKeyValueID returns a new KeyValueId struct
func ParseKeyValueID ¶
func ParseKeyValueID(input string) (*KeyValueId, error)
ParseKeyValueID parses 'input' into a KeyValueId
func ParseKeyValueIDInsensitively ¶
func ParseKeyValueIDInsensitively(input string) (*KeyValueId, error)
ParseKeyValueIDInsensitively parses 'input' case-insensitively into a KeyValueId note: this method should only be used for API response data and not user input
func (KeyValueId) Segments ¶
func (id KeyValueId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Key Value ID
func (KeyValueId) String ¶
func (id KeyValueId) String() string
String returns a human-readable description of this Key Value ID
type KeyValueProperties ¶
type KeyValueProperties struct { ContentType *string `json:"contentType,omitempty"` ETag *string `json:"eTag,omitempty"` Key *string `json:"key,omitempty"` Label *string `json:"label,omitempty"` LastModified *string `json:"lastModified,omitempty"` Locked *bool `json:"locked,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Value *string `json:"value,omitempty"` }
func (*KeyValueProperties) GetLastModifiedAsTime ¶
func (o *KeyValueProperties) GetLastModifiedAsTime() (*time.Time, error)
func (*KeyValueProperties) SetLastModifiedAsTime ¶
func (o *KeyValueProperties) SetLastModifiedAsTime(input time.Time)
type KeyValuesClient ¶
func NewKeyValuesClientWithBaseURI ¶
func NewKeyValuesClientWithBaseURI(endpoint string) KeyValuesClient
func (KeyValuesClient) CreateOrUpdate ¶
func (c KeyValuesClient) CreateOrUpdate(ctx context.Context, id KeyValueId, input KeyValue) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (KeyValuesClient) Delete ¶
func (c KeyValuesClient) Delete(ctx context.Context, id KeyValueId) (result DeleteOperationResponse, err error)
Delete ...
func (KeyValuesClient) DeleteThenPoll ¶
func (c KeyValuesClient) DeleteThenPoll(ctx context.Context, id KeyValueId) error
DeleteThenPoll performs Delete then polls until it's completed
func (KeyValuesClient) Get ¶
func (c KeyValuesClient) Get(ctx context.Context, id KeyValueId) (result GetOperationResponse, err error)
Get ...
Click to show internal directories.
Click to hide internal directories.