Documentation ¶
Index ¶
- func ValidateConfigurationStoreID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateKeyValueID(input interface{}, key string) (warnings []string, errors []error)
- type ConfigurationStoreId
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type KeyValue
- type KeyValueId
- type KeyValueOperationPredicate
- 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)
- func (c KeyValuesClient) ListByConfigurationStore(ctx context.Context, id ConfigurationStoreId) (resp ListByConfigurationStoreOperationResponse, err error)
- func (c KeyValuesClient) ListByConfigurationStoreComplete(ctx context.Context, id ConfigurationStoreId) (ListByConfigurationStoreCompleteResult, error)
- func (c KeyValuesClient) ListByConfigurationStoreCompleteMatchingPredicate(ctx context.Context, id ConfigurationStoreId, ...) (resp ListByConfigurationStoreCompleteResult, err error)
- type ListByConfigurationStoreCompleteResult
- type ListByConfigurationStoreOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateConfigurationStoreID ¶
func ValidateConfigurationStoreID(input interface{}, key string) (warnings []string, errors []error)
ValidateConfigurationStoreID checks that 'input' can be parsed as a Configuration Store ID
func ValidateKeyValueID ¶
ValidateKeyValueID checks that 'input' can be parsed as a Key Value ID
Types ¶
type ConfigurationStoreId ¶
type ConfigurationStoreId struct { SubscriptionId string ResourceGroupName string ConfigurationStoreName string }
ConfigurationStoreId is a struct representing the Resource ID for a Configuration Store
func NewConfigurationStoreID ¶
func NewConfigurationStoreID(subscriptionId string, resourceGroupName string, configurationStoreName string) ConfigurationStoreId
NewConfigurationStoreID returns a new ConfigurationStoreId struct
func ParseConfigurationStoreID ¶
func ParseConfigurationStoreID(input string) (*ConfigurationStoreId, error)
ParseConfigurationStoreID parses 'input' into a ConfigurationStoreId
func ParseConfigurationStoreIDInsensitively ¶
func ParseConfigurationStoreIDInsensitively(input string) (*ConfigurationStoreId, error)
ParseConfigurationStoreIDInsensitively parses 'input' case-insensitively into a ConfigurationStoreId note: this method should only be used for API response data and not user input
func (ConfigurationStoreId) ID ¶
func (id ConfigurationStoreId) ID() string
ID returns the formatted Configuration Store ID
func (ConfigurationStoreId) Segments ¶
func (id ConfigurationStoreId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Configuration Store ID
func (ConfigurationStoreId) String ¶
func (id ConfigurationStoreId) String() string
String returns a human-readable description of this Configuration Store ID
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 KeyValueOperationPredicate ¶
func (KeyValueOperationPredicate) Matches ¶
func (p KeyValueOperationPredicate) Matches(input KeyValue) bool
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 ...
func (KeyValuesClient) ListByConfigurationStore ¶
func (c KeyValuesClient) ListByConfigurationStore(ctx context.Context, id ConfigurationStoreId) (resp ListByConfigurationStoreOperationResponse, err error)
ListByConfigurationStore ...
func (KeyValuesClient) ListByConfigurationStoreComplete ¶
func (c KeyValuesClient) ListByConfigurationStoreComplete(ctx context.Context, id ConfigurationStoreId) (ListByConfigurationStoreCompleteResult, error)
ListByConfigurationStoreComplete retrieves all of the results into a single object
func (KeyValuesClient) ListByConfigurationStoreCompleteMatchingPredicate ¶
func (c KeyValuesClient) ListByConfigurationStoreCompleteMatchingPredicate(ctx context.Context, id ConfigurationStoreId, predicate KeyValueOperationPredicate) (resp ListByConfigurationStoreCompleteResult, err error)
ListByConfigurationStoreCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type ListByConfigurationStoreCompleteResult ¶
type ListByConfigurationStoreCompleteResult struct {
Items []KeyValue
}
type ListByConfigurationStoreOperationResponse ¶
type ListByConfigurationStoreOperationResponse struct { HttpResponse *http.Response Model *[]KeyValue // contains filtered or unexported fields }
func (ListByConfigurationStoreOperationResponse) HasMore ¶
func (r ListByConfigurationStoreOperationResponse) HasMore() bool
func (ListByConfigurationStoreOperationResponse) LoadMore ¶
func (r ListByConfigurationStoreOperationResponse) LoadMore(ctx context.Context) (resp ListByConfigurationStoreOperationResponse, err error)