appconfiguration

package
v53.4.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package appconfiguration implements the Azure ARM Appconfiguration service API version 2020-07-01-preview.

Index

Constants

View Source
const (
	// DefaultBaseURI is the default URI used for the service Appconfiguration
	DefaultBaseURI = "https://management.azure.com"
)

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

Types

type APIKey

type APIKey struct {
	autorest.Response `json:"-"`
	// ID - READ-ONLY; The key ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; A name for the key describing its usage.
	Name *string `json:"name,omitempty"`
	// Value - READ-ONLY; The value of the key that is used for authentication purposes.
	Value *string `json:"value,omitempty"`
	// ConnectionString - READ-ONLY; A connection string that can be used by supporting clients for authentication.
	ConnectionString *string `json:"connectionString,omitempty"`
	// LastModified - READ-ONLY; The last time any of the key's properties were modified.
	LastModified *date.Time `json:"lastModified,omitempty"`
	// ReadOnly - READ-ONLY; Whether this key can only be used for read operations.
	ReadOnly *bool `json:"readOnly,omitempty"`
}

APIKey an API key used for authenticating with a configuration store endpoint.

type APIKeyListResult

type APIKeyListResult struct {
	autorest.Response `json:"-"`
	// Value - The collection value.
	Value *[]APIKey `json:"value,omitempty"`
	// NextLink - The URI that can be used to request the next set of paged results.
	NextLink *string `json:"nextLink,omitempty"`
}

APIKeyListResult the result of a request to list API keys.

func (APIKeyListResult) IsEmpty

func (aklr APIKeyListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type APIKeyListResultIterator

type APIKeyListResultIterator struct {
	// contains filtered or unexported fields
}

APIKeyListResultIterator provides access to a complete listing of APIKey values.

func NewAPIKeyListResultIterator

func NewAPIKeyListResultIterator(page APIKeyListResultPage) APIKeyListResultIterator

Creates a new instance of the APIKeyListResultIterator type.

func (*APIKeyListResultIterator) Next

func (iter *APIKeyListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*APIKeyListResultIterator) NextWithContext

func (iter *APIKeyListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (APIKeyListResultIterator) NotDone

func (iter APIKeyListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (APIKeyListResultIterator) Response

Response returns the raw server response from the last page request.

func (APIKeyListResultIterator) Value

func (iter APIKeyListResultIterator) Value() APIKey

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type APIKeyListResultPage

type APIKeyListResultPage struct {
	// contains filtered or unexported fields
}

APIKeyListResultPage contains a page of APIKey values.

func NewAPIKeyListResultPage

func NewAPIKeyListResultPage(cur APIKeyListResult, getNextPage func(context.Context, APIKeyListResult) (APIKeyListResult, error)) APIKeyListResultPage

Creates a new instance of the APIKeyListResultPage type.

func (*APIKeyListResultPage) Next

func (page *APIKeyListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*APIKeyListResultPage) NextWithContext

func (page *APIKeyListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (APIKeyListResultPage) NotDone

func (page APIKeyListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (APIKeyListResultPage) Response

func (page APIKeyListResultPage) Response() APIKeyListResult

Response returns the raw server response from the last page request.

func (APIKeyListResultPage) Values

func (page APIKeyListResultPage) Values() []APIKey

Values returns the slice of values for the current page or nil if there are no values.

type ActionsRequired

type ActionsRequired string

ActionsRequired enumerates the values for actions required.

const (
	// None ...
	None ActionsRequired = "None"
	// Recreate ...
	Recreate ActionsRequired = "Recreate"
)

func PossibleActionsRequiredValues

func PossibleActionsRequiredValues() []ActionsRequired

PossibleActionsRequiredValues returns an array of possible values for the ActionsRequired const type.

type BaseClient

type BaseClient struct {
	autorest.Client
	BaseURI        string
	SubscriptionID string
}

BaseClient is the base client for Appconfiguration.

func New

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

type CheckNameAvailabilityParameters

type CheckNameAvailabilityParameters struct {
	// Name - The name to check for availability.
	Name *string `json:"name,omitempty"`
	// Type - The resource type to check for name availability.
	Type *string `json:"type,omitempty"`
}

CheckNameAvailabilityParameters parameters used for checking whether a resource name is available.

type ConfigurationStore

type ConfigurationStore struct {
	autorest.Response `json:"-"`
	// Identity - The managed identity information, if configured.
	Identity *ResourceIdentity `json:"identity,omitempty"`
	// ConfigurationStoreProperties - The properties of a configuration store.
	*ConfigurationStoreProperties `json:"properties,omitempty"`
	// Sku - The sku of the configuration store.
	Sku *Sku `json:"sku,omitempty"`
	// ID - READ-ONLY; The resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type *string `json:"type,omitempty"`
	// Location - The location of the resource. This cannot be changed after the resource is created.
	Location *string `json:"location,omitempty"`
	// Tags - The tags of the resource.
	Tags map[string]*string `json:"tags"`
}

ConfigurationStore the configuration store along with all resource properties. The Configuration Store will have all information to begin utilizing it.

func (ConfigurationStore) MarshalJSON

func (cs ConfigurationStore) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConfigurationStore.

func (*ConfigurationStore) UnmarshalJSON

func (cs *ConfigurationStore) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ConfigurationStore struct.

type ConfigurationStoreListResult

type ConfigurationStoreListResult struct {
	autorest.Response `json:"-"`
	// Value - The collection value.
	Value *[]ConfigurationStore `json:"value,omitempty"`
	// NextLink - The URI that can be used to request the next set of paged results.
	NextLink *string `json:"nextLink,omitempty"`
}

ConfigurationStoreListResult the result of a request to list configuration stores.

func (ConfigurationStoreListResult) IsEmpty

func (cslr ConfigurationStoreListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ConfigurationStoreListResultIterator

type ConfigurationStoreListResultIterator struct {
	// contains filtered or unexported fields
}

ConfigurationStoreListResultIterator provides access to a complete listing of ConfigurationStore values.

func NewConfigurationStoreListResultIterator

func NewConfigurationStoreListResultIterator(page ConfigurationStoreListResultPage) ConfigurationStoreListResultIterator

Creates a new instance of the ConfigurationStoreListResultIterator type.

func (*ConfigurationStoreListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ConfigurationStoreListResultIterator) NextWithContext

func (iter *ConfigurationStoreListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ConfigurationStoreListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (ConfigurationStoreListResultIterator) Response

Response returns the raw server response from the last page request.

func (ConfigurationStoreListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ConfigurationStoreListResultPage

type ConfigurationStoreListResultPage struct {
	// contains filtered or unexported fields
}

ConfigurationStoreListResultPage contains a page of ConfigurationStore values.

func NewConfigurationStoreListResultPage

Creates a new instance of the ConfigurationStoreListResultPage type.

func (*ConfigurationStoreListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ConfigurationStoreListResultPage) NextWithContext

func (page *ConfigurationStoreListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ConfigurationStoreListResultPage) NotDone

func (page ConfigurationStoreListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ConfigurationStoreListResultPage) Response

Response returns the raw server response from the last page request.

func (ConfigurationStoreListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type ConfigurationStoreProperties

type ConfigurationStoreProperties struct {
	// ProvisioningState - READ-ONLY; The provisioning state of the configuration store. Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// CreationDate - READ-ONLY; The creation date of configuration store.
	CreationDate *date.Time `json:"creationDate,omitempty"`
	// Endpoint - READ-ONLY; The DNS endpoint where the configuration store API will be available.
	Endpoint *string `json:"endpoint,omitempty"`
	// Encryption - The encryption settings of the configuration store.
	Encryption *EncryptionProperties `json:"encryption,omitempty"`
	// PrivateEndpointConnections - READ-ONLY; The list of private endpoint connections that are set up for this resource.
	PrivateEndpointConnections *[]PrivateEndpointConnectionReference `json:"privateEndpointConnections,omitempty"`
	// PublicNetworkAccess - Control permission for data plane traffic coming from public networks while private endpoint is enabled. Possible values include: 'Enabled', 'Disabled'
	PublicNetworkAccess PublicNetworkAccess `json:"publicNetworkAccess,omitempty"`
}

ConfigurationStoreProperties the properties of a configuration store.

func (ConfigurationStoreProperties) MarshalJSON

func (csp ConfigurationStoreProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConfigurationStoreProperties.

type ConfigurationStorePropertiesUpdateParameters

type ConfigurationStorePropertiesUpdateParameters struct {
	// Encryption - The encryption settings of the configuration store.
	Encryption *EncryptionProperties `json:"encryption,omitempty"`
}

ConfigurationStorePropertiesUpdateParameters the properties for updating a configuration store.

type ConfigurationStoreUpdateParameters

type ConfigurationStoreUpdateParameters struct {
	// ConfigurationStorePropertiesUpdateParameters - The properties for updating a configuration store.
	*ConfigurationStorePropertiesUpdateParameters `json:"properties,omitempty"`
	// Identity - The managed identity information for the configuration store.
	Identity *ResourceIdentity `json:"identity,omitempty"`
	// Sku - The SKU of the configuration store.
	Sku *Sku `json:"sku,omitempty"`
	// Tags - The ARM resource tags.
	Tags map[string]*string `json:"tags"`
}

ConfigurationStoreUpdateParameters the parameters for updating a configuration store.

func (ConfigurationStoreUpdateParameters) MarshalJSON

func (csup ConfigurationStoreUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConfigurationStoreUpdateParameters.

func (*ConfigurationStoreUpdateParameters) UnmarshalJSON

func (csup *ConfigurationStoreUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ConfigurationStoreUpdateParameters struct.

type ConfigurationStoresClient

type ConfigurationStoresClient struct {
	BaseClient
}

ConfigurationStoresClient is the client for the ConfigurationStores methods of the Appconfiguration service.

func NewConfigurationStoresClient

func NewConfigurationStoresClient(subscriptionID string) ConfigurationStoresClient

NewConfigurationStoresClient creates an instance of the ConfigurationStoresClient client.

func NewConfigurationStoresClientWithBaseURI

func NewConfigurationStoresClientWithBaseURI(baseURI string, subscriptionID string) ConfigurationStoresClient

NewConfigurationStoresClientWithBaseURI creates an instance of the ConfigurationStoresClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ConfigurationStoresClient) Create

func (client ConfigurationStoresClient) Create(ctx context.Context, resourceGroupName string, configStoreName string, configStoreCreationParameters ConfigurationStore) (result ConfigurationStoresCreateFuture, err error)

Create creates a configuration store with the specified parameters. Parameters: resourceGroupName - the name of the resource group to which the container registry belongs. configStoreName - the name of the configuration store. configStoreCreationParameters - the parameters for creating a configuration store.

func (ConfigurationStoresClient) CreatePreparer

func (client ConfigurationStoresClient) CreatePreparer(ctx context.Context, resourceGroupName string, configStoreName string, configStoreCreationParameters ConfigurationStore) (*http.Request, error)

CreatePreparer prepares the Create request.

func (ConfigurationStoresClient) CreateResponder

func (client ConfigurationStoresClient) CreateResponder(resp *http.Response) (result ConfigurationStore, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (ConfigurationStoresClient) CreateSender

func (client ConfigurationStoresClient) CreateSender(req *http.Request) (future ConfigurationStoresCreateFuture, err error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (ConfigurationStoresClient) Delete

func (client ConfigurationStoresClient) Delete(ctx context.Context, resourceGroupName string, configStoreName string) (result ConfigurationStoresDeleteFuture, err error)

Delete deletes a configuration store. Parameters: resourceGroupName - the name of the resource group to which the container registry belongs. configStoreName - the name of the configuration store.

func (ConfigurationStoresClient) DeletePreparer

func (client ConfigurationStoresClient) DeletePreparer(ctx context.Context, resourceGroupName string, configStoreName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ConfigurationStoresClient) DeleteResponder

func (client ConfigurationStoresClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ConfigurationStoresClient) DeleteSender

func (client ConfigurationStoresClient) DeleteSender(req *http.Request) (future ConfigurationStoresDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ConfigurationStoresClient) Get

func (client ConfigurationStoresClient) Get(ctx context.Context, resourceGroupName string, configStoreName string) (result ConfigurationStore, err error)

Get gets the properties of the specified configuration store. Parameters: resourceGroupName - the name of the resource group to which the container registry belongs. configStoreName - the name of the configuration store.

func (ConfigurationStoresClient) GetPreparer

func (client ConfigurationStoresClient) GetPreparer(ctx context.Context, resourceGroupName string, configStoreName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ConfigurationStoresClient) GetResponder

func (client ConfigurationStoresClient) GetResponder(resp *http.Response) (result ConfigurationStore, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ConfigurationStoresClient) GetSender

func (client ConfigurationStoresClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ConfigurationStoresClient) List

func (client ConfigurationStoresClient) List(ctx context.Context, skipToken string) (result ConfigurationStoreListResultPage, err error)

List lists the configuration stores for a given subscription. Parameters: skipToken - a skip token is used to continue retrieving items after an operation returns a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.

func (ConfigurationStoresClient) ListByResourceGroup

func (client ConfigurationStoresClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, skipToken string) (result ConfigurationStoreListResultPage, err error)

ListByResourceGroup lists the configuration stores for a given resource group. Parameters: resourceGroupName - the name of the resource group to which the container registry belongs. skipToken - a skip token is used to continue retrieving items after an operation returns a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.

func (ConfigurationStoresClient) ListByResourceGroupComplete

func (client ConfigurationStoresClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, skipToken string) (result ConfigurationStoreListResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (ConfigurationStoresClient) ListByResourceGroupPreparer

func (client ConfigurationStoresClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, skipToken string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (ConfigurationStoresClient) ListByResourceGroupResponder

func (client ConfigurationStoresClient) ListByResourceGroupResponder(resp *http.Response) (result ConfigurationStoreListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (ConfigurationStoresClient) ListByResourceGroupSender

func (client ConfigurationStoresClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (ConfigurationStoresClient) ListComplete

func (client ConfigurationStoresClient) ListComplete(ctx context.Context, skipToken string) (result ConfigurationStoreListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ConfigurationStoresClient) ListKeys

func (client ConfigurationStoresClient) ListKeys(ctx context.Context, resourceGroupName string, configStoreName string, skipToken string) (result APIKeyListResultPage, err error)

ListKeys lists the access key for the specified configuration store. Parameters: resourceGroupName - the name of the resource group to which the container registry belongs. configStoreName - the name of the configuration store. skipToken - a skip token is used to continue retrieving items after an operation returns a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.

func (ConfigurationStoresClient) ListKeysComplete

func (client ConfigurationStoresClient) ListKeysComplete(ctx context.Context, resourceGroupName string, configStoreName string, skipToken string) (result APIKeyListResultIterator, err error)

ListKeysComplete enumerates all values, automatically crossing page boundaries as required.

func (ConfigurationStoresClient) ListKeysPreparer

func (client ConfigurationStoresClient) ListKeysPreparer(ctx context.Context, resourceGroupName string, configStoreName string, skipToken string) (*http.Request, error)

ListKeysPreparer prepares the ListKeys request.

func (ConfigurationStoresClient) ListKeysResponder

func (client ConfigurationStoresClient) ListKeysResponder(resp *http.Response) (result APIKeyListResult, err error)

ListKeysResponder handles the response to the ListKeys request. The method always closes the http.Response Body.

func (ConfigurationStoresClient) ListKeysSender

func (client ConfigurationStoresClient) ListKeysSender(req *http.Request) (*http.Response, error)

ListKeysSender sends the ListKeys request. The method will close the http.Response Body if it receives an error.

func (ConfigurationStoresClient) ListPreparer

func (client ConfigurationStoresClient) ListPreparer(ctx context.Context, skipToken string) (*http.Request, error)

ListPreparer prepares the List request.

func (ConfigurationStoresClient) ListResponder

func (client ConfigurationStoresClient) ListResponder(resp *http.Response) (result ConfigurationStoreListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ConfigurationStoresClient) ListSender

func (client ConfigurationStoresClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (ConfigurationStoresClient) RegenerateKey

func (client ConfigurationStoresClient) RegenerateKey(ctx context.Context, resourceGroupName string, configStoreName string, regenerateKeyParameters RegenerateKeyParameters) (result APIKey, err error)

RegenerateKey regenerates an access key for the specified configuration store. Parameters: resourceGroupName - the name of the resource group to which the container registry belongs. configStoreName - the name of the configuration store. regenerateKeyParameters - the parameters for regenerating an access key.

func (ConfigurationStoresClient) RegenerateKeyPreparer

func (client ConfigurationStoresClient) RegenerateKeyPreparer(ctx context.Context, resourceGroupName string, configStoreName string, regenerateKeyParameters RegenerateKeyParameters) (*http.Request, error)

RegenerateKeyPreparer prepares the RegenerateKey request.

func (ConfigurationStoresClient) RegenerateKeyResponder

func (client ConfigurationStoresClient) RegenerateKeyResponder(resp *http.Response) (result APIKey, err error)

RegenerateKeyResponder handles the response to the RegenerateKey request. The method always closes the http.Response Body.

func (ConfigurationStoresClient) RegenerateKeySender

func (client ConfigurationStoresClient) RegenerateKeySender(req *http.Request) (*http.Response, error)

RegenerateKeySender sends the RegenerateKey request. The method will close the http.Response Body if it receives an error.

func (ConfigurationStoresClient) Update

func (client ConfigurationStoresClient) Update(ctx context.Context, resourceGroupName string, configStoreName string, configStoreUpdateParameters ConfigurationStoreUpdateParameters) (result ConfigurationStoresUpdateFuture, err error)

Update updates a configuration store with the specified parameters. Parameters: resourceGroupName - the name of the resource group to which the container registry belongs. configStoreName - the name of the configuration store. configStoreUpdateParameters - the parameters for updating a configuration store.

func (ConfigurationStoresClient) UpdatePreparer

func (client ConfigurationStoresClient) UpdatePreparer(ctx context.Context, resourceGroupName string, configStoreName string, configStoreUpdateParameters ConfigurationStoreUpdateParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ConfigurationStoresClient) UpdateResponder

func (client ConfigurationStoresClient) UpdateResponder(resp *http.Response) (result ConfigurationStore, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (ConfigurationStoresClient) UpdateSender

func (client ConfigurationStoresClient) UpdateSender(req *http.Request) (future ConfigurationStoresUpdateFuture, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type ConfigurationStoresCreateFuture

type ConfigurationStoresCreateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ConfigurationStoresClient) (ConfigurationStore, error)
}

ConfigurationStoresCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ConfigurationStoresCreateFuture) UnmarshalJSON

func (future *ConfigurationStoresCreateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ConfigurationStoresDeleteFuture

type ConfigurationStoresDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ConfigurationStoresClient) (autorest.Response, error)
}

ConfigurationStoresDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ConfigurationStoresDeleteFuture) UnmarshalJSON

func (future *ConfigurationStoresDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ConfigurationStoresUpdateFuture

type ConfigurationStoresUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ConfigurationStoresClient) (ConfigurationStore, error)
}

ConfigurationStoresUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ConfigurationStoresUpdateFuture) UnmarshalJSON

func (future *ConfigurationStoresUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ConnectionStatus

type ConnectionStatus string

ConnectionStatus enumerates the values for connection status.

const (
	// Approved ...
	Approved ConnectionStatus = "Approved"
	// Disconnected ...
	Disconnected ConnectionStatus = "Disconnected"
	// Pending ...
	Pending ConnectionStatus = "Pending"
	// Rejected ...
	Rejected ConnectionStatus = "Rejected"
)

func PossibleConnectionStatusValues

func PossibleConnectionStatusValues() []ConnectionStatus

PossibleConnectionStatusValues returns an array of possible values for the ConnectionStatus const type.

type EncryptionProperties

type EncryptionProperties struct {
	// KeyVaultProperties - Key vault properties.
	KeyVaultProperties *KeyVaultProperties `json:"keyVaultProperties,omitempty"`
}

EncryptionProperties the encryption settings for a configuration store.

type ErrorAdditionalInfo

type ErrorAdditionalInfo struct {
	// Type - READ-ONLY; The additional info type.
	Type *string `json:"type,omitempty"`
	// Info - READ-ONLY; The additional info.
	Info interface{} `json:"info,omitempty"`
}

ErrorAdditionalInfo the resource management error additional info.

type ErrorDetails

type ErrorDetails struct {
	// Code - READ-ONLY; Error code.
	Code *string `json:"code,omitempty"`
	// Message - READ-ONLY; Error message indicating why the operation failed.
	Message *string `json:"message,omitempty"`
	// AdditionalInfo - READ-ONLY; The error additional info.
	AdditionalInfo *[]ErrorAdditionalInfo `json:"additionalInfo,omitempty"`
}

ErrorDetails the details of the error.

type ErrorResponse

type ErrorResponse struct {
	// Error - The details of the error.
	Error *ErrorDetails `json:"error,omitempty"`
}

ErrorResponse error response indicates that the service is not able to process the incoming request. The reason is provided in the error message.

type IdentityType

type IdentityType string

IdentityType enumerates the values for identity type.

const (
	// IdentityTypeNone ...
	IdentityTypeNone IdentityType = "None"
	// IdentityTypeSystemAssigned ...
	IdentityTypeSystemAssigned IdentityType = "SystemAssigned"
	// IdentityTypeSystemAssignedUserAssigned ...
	IdentityTypeSystemAssignedUserAssigned IdentityType = "SystemAssigned, UserAssigned"
	// IdentityTypeUserAssigned ...
	IdentityTypeUserAssigned IdentityType = "UserAssigned"
)

func PossibleIdentityTypeValues

func PossibleIdentityTypeValues() []IdentityType

PossibleIdentityTypeValues returns an array of possible values for the IdentityType const type.

type KeyValue

type KeyValue struct {
	autorest.Response `json:"-"`
	// ID - READ-ONLY; The resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type *string `json:"type,omitempty"`
	// KeyValueProperties - All key-value properties.
	*KeyValueProperties `json:"properties,omitempty"`
}

KeyValue the key-value resource along with all resource properties.

func (KeyValue) MarshalJSON

func (kv KeyValue) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for KeyValue.

func (*KeyValue) UnmarshalJSON

func (kv *KeyValue) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for KeyValue struct.

type KeyValueListResult

type KeyValueListResult struct {
	autorest.Response `json:"-"`
	// Value - The collection value.
	Value *[]KeyValue `json:"value,omitempty"`
	// NextLink - The URI that can be used to request the next set of paged results.
	NextLink *string `json:"nextLink,omitempty"`
}

KeyValueListResult the result of a request to list key-values.

func (KeyValueListResult) IsEmpty

func (kvlr KeyValueListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type KeyValueListResultIterator

type KeyValueListResultIterator struct {
	// contains filtered or unexported fields
}

KeyValueListResultIterator provides access to a complete listing of KeyValue values.

func NewKeyValueListResultIterator

func NewKeyValueListResultIterator(page KeyValueListResultPage) KeyValueListResultIterator

Creates a new instance of the KeyValueListResultIterator type.

func (*KeyValueListResultIterator) Next

func (iter *KeyValueListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*KeyValueListResultIterator) NextWithContext

func (iter *KeyValueListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (KeyValueListResultIterator) NotDone

func (iter KeyValueListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (KeyValueListResultIterator) Response

Response returns the raw server response from the last page request.

func (KeyValueListResultIterator) Value

func (iter KeyValueListResultIterator) Value() KeyValue

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type KeyValueListResultPage

type KeyValueListResultPage struct {
	// contains filtered or unexported fields
}

KeyValueListResultPage contains a page of KeyValue values.

func NewKeyValueListResultPage

func NewKeyValueListResultPage(cur KeyValueListResult, getNextPage func(context.Context, KeyValueListResult) (KeyValueListResult, error)) KeyValueListResultPage

Creates a new instance of the KeyValueListResultPage type.

func (*KeyValueListResultPage) Next

func (page *KeyValueListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*KeyValueListResultPage) NextWithContext

func (page *KeyValueListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (KeyValueListResultPage) NotDone

func (page KeyValueListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (KeyValueListResultPage) Response

Response returns the raw server response from the last page request.

func (KeyValueListResultPage) Values

func (page KeyValueListResultPage) Values() []KeyValue

Values returns the slice of values for the current page or nil if there are no values.

type KeyValueProperties

type KeyValueProperties struct {
	// Key - READ-ONLY; The primary identifier of a key-value.
	// The key is used in unison with the label to uniquely identify a key-value.
	Key *string `json:"key,omitempty"`
	// Label - READ-ONLY; A value used to group key-values.
	// The label is used in unison with the key to uniquely identify a key-value.
	Label *string `json:"label,omitempty"`
	// Value - The value of the key-value.
	Value *string `json:"value,omitempty"`
	// ContentType - The content type of the key-value's value.
	// Providing a proper content-type can enable transformations of values when they are retrieved by applications.
	ContentType *string `json:"contentType,omitempty"`
	// ETag - READ-ONLY; An ETag indicating the state of a key-value within a configuration store.
	ETag *string `json:"eTag,omitempty"`
	// LastModified - READ-ONLY; The last time a modifying operation was performed on the given key-value.
	LastModified *date.Time `json:"lastModified,omitempty"`
	// Locked - READ-ONLY; A value indicating whether the key-value is locked.
	// A locked key-value may not be modified until it is unlocked.
	Locked *bool `json:"locked,omitempty"`
	// Tags - A dictionary of tags that can help identify what a key-value may be applicable for.
	Tags map[string]*string `json:"tags"`
}

KeyValueProperties all key-value properties.

func (KeyValueProperties) MarshalJSON

func (kvp KeyValueProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for KeyValueProperties.

type KeyValuesClient

type KeyValuesClient struct {
	BaseClient
}

KeyValuesClient is the client for the KeyValues methods of the Appconfiguration service.

func NewKeyValuesClient

func NewKeyValuesClient(subscriptionID string) KeyValuesClient

NewKeyValuesClient creates an instance of the KeyValuesClient client.

func NewKeyValuesClientWithBaseURI

func NewKeyValuesClientWithBaseURI(baseURI string, subscriptionID string) KeyValuesClient

NewKeyValuesClientWithBaseURI creates an instance of the KeyValuesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (KeyValuesClient) CreateOrUpdate

func (client KeyValuesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, configStoreName string, keyValueName string, keyValueParameters *KeyValue) (result KeyValue, err error)

CreateOrUpdate creates a key-value. Parameters: resourceGroupName - the name of the resource group to which the container registry belongs. configStoreName - the name of the configuration store. keyValueName - identifier of key and label combination. Key and label are joined by $ character. Label is optional. keyValueParameters - the parameters for creating a key-value.

func (KeyValuesClient) CreateOrUpdatePreparer

func (client KeyValuesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, configStoreName string, keyValueName string, keyValueParameters *KeyValue) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (KeyValuesClient) CreateOrUpdateResponder

func (client KeyValuesClient) CreateOrUpdateResponder(resp *http.Response) (result KeyValue, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (KeyValuesClient) CreateOrUpdateSender

func (client KeyValuesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (KeyValuesClient) Delete

func (client KeyValuesClient) Delete(ctx context.Context, resourceGroupName string, configStoreName string, keyValueName string) (result KeyValuesDeleteFuture, err error)

Delete deletes a key-value. Parameters: resourceGroupName - the name of the resource group to which the container registry belongs. configStoreName - the name of the configuration store. keyValueName - identifier of key and label combination. Key and label are joined by $ character. Label is optional.

func (KeyValuesClient) DeletePreparer

func (client KeyValuesClient) DeletePreparer(ctx context.Context, resourceGroupName string, configStoreName string, keyValueName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (KeyValuesClient) DeleteResponder

func (client KeyValuesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (KeyValuesClient) DeleteSender

func (client KeyValuesClient) DeleteSender(req *http.Request) (future KeyValuesDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (KeyValuesClient) Get

func (client KeyValuesClient) Get(ctx context.Context, resourceGroupName string, configStoreName string, keyValueName string) (result KeyValue, err error)

Get gets the properties of the specified key-value. Parameters: resourceGroupName - the name of the resource group to which the container registry belongs. configStoreName - the name of the configuration store. keyValueName - identifier of key and label combination. Key and label are joined by $ character. Label is optional.

func (KeyValuesClient) GetPreparer

func (client KeyValuesClient) GetPreparer(ctx context.Context, resourceGroupName string, configStoreName string, keyValueName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (KeyValuesClient) GetResponder

func (client KeyValuesClient) GetResponder(resp *http.Response) (result KeyValue, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (KeyValuesClient) GetSender

func (client KeyValuesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (KeyValuesClient) ListByConfigurationStore

func (client KeyValuesClient) ListByConfigurationStore(ctx context.Context, resourceGroupName string, configStoreName string, skipToken string) (result KeyValueListResultPage, err error)

ListByConfigurationStore lists the key-values for a given configuration store. Parameters: resourceGroupName - the name of the resource group to which the container registry belongs. configStoreName - the name of the configuration store. skipToken - a skip token is used to continue retrieving items after an operation returns a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.

func (KeyValuesClient) ListByConfigurationStoreComplete

func (client KeyValuesClient) ListByConfigurationStoreComplete(ctx context.Context, resourceGroupName string, configStoreName string, skipToken string) (result KeyValueListResultIterator, err error)

ListByConfigurationStoreComplete enumerates all values, automatically crossing page boundaries as required.

func (KeyValuesClient) ListByConfigurationStorePreparer

func (client KeyValuesClient) ListByConfigurationStorePreparer(ctx context.Context, resourceGroupName string, configStoreName string, skipToken string) (*http.Request, error)

ListByConfigurationStorePreparer prepares the ListByConfigurationStore request.

func (KeyValuesClient) ListByConfigurationStoreResponder

func (client KeyValuesClient) ListByConfigurationStoreResponder(resp *http.Response) (result KeyValueListResult, err error)

ListByConfigurationStoreResponder handles the response to the ListByConfigurationStore request. The method always closes the http.Response Body.

func (KeyValuesClient) ListByConfigurationStoreSender

func (client KeyValuesClient) ListByConfigurationStoreSender(req *http.Request) (*http.Response, error)

ListByConfigurationStoreSender sends the ListByConfigurationStore request. The method will close the http.Response Body if it receives an error.

type KeyValuesDeleteFuture

type KeyValuesDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(KeyValuesClient) (autorest.Response, error)
}

KeyValuesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*KeyValuesDeleteFuture) UnmarshalJSON

func (future *KeyValuesDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type KeyVaultProperties

type KeyVaultProperties struct {
	// KeyIdentifier - The URI of the key vault key used to encrypt data.
	KeyIdentifier *string `json:"keyIdentifier,omitempty"`
	// IdentityClientID - The client id of the identity which will be used to access key vault.
	IdentityClientID *string `json:"identityClientId,omitempty"`
}

KeyVaultProperties settings concerning key vault encryption for a configuration store.

type LogSpecification

type LogSpecification struct {
	// Name - Name of the log
	Name *string `json:"name,omitempty"`
	// DisplayName - Localized friendly display name of the log
	DisplayName *string `json:"displayName,omitempty"`
	// BlobDuration - Blob duration of the log
	BlobDuration *string `json:"blobDuration,omitempty"`
}

LogSpecification specifications of the Log for Azure Monitoring

type MetricDimension

type MetricDimension struct {
	// Name - Name of the dimension
	Name *string `json:"name,omitempty"`
	// DisplayName - Localized friendly display name of the dimension
	DisplayName *string `json:"displayName,omitempty"`
	// InternalName - Internal name of the dimension.
	InternalName *string `json:"internalName,omitempty"`
}

MetricDimension specifications of the Dimension of metrics

type MetricSpecification

type MetricSpecification struct {
	// Name - Name of the metric
	Name *string `json:"name,omitempty"`
	// DisplayName - Localized friendly display name of the metric
	DisplayName *string `json:"displayName,omitempty"`
	// DisplayDescription - Localized friendly description of the metric
	DisplayDescription *string `json:"displayDescription,omitempty"`
	// Unit - Unit that makes sense for the metric
	Unit *string `json:"unit,omitempty"`
	// AggregationType - Only provide one value for this field. Valid values: Average, Minimum, Maximum, Total, Count.
	AggregationType *string `json:"aggregationType,omitempty"`
	// InternalMetricName - Internal metric name.
	InternalMetricName *string `json:"internalMetricName,omitempty"`
	// Dimensions - Dimensions of the metric
	Dimensions *[]MetricDimension `json:"dimensions,omitempty"`
}

MetricSpecification specifications of the Metrics for Azure Monitoring

type NameAvailabilityStatus

type NameAvailabilityStatus struct {
	autorest.Response `json:"-"`
	// NameAvailable - READ-ONLY; The value indicating whether the resource name is available.
	NameAvailable *bool `json:"nameAvailable,omitempty"`
	// Message - READ-ONLY; If any, the error message that provides more detail for the reason that the name is not available.
	Message *string `json:"message,omitempty"`
	// Reason - READ-ONLY; If any, the reason that the name is not available.
	Reason *string `json:"reason,omitempty"`
}

NameAvailabilityStatus the result of a request to check the availability of a resource name.

type OperationDefinition

type OperationDefinition struct {
	// Name - Operation name: {provider}/{resource}/{operation}.
	Name *string `json:"name,omitempty"`
	// IsDataAction - Indicates whether the operation is a data action
	IsDataAction *bool `json:"isDataAction,omitempty"`
	// Display - The display information for the configuration store operation.
	Display *OperationDefinitionDisplay `json:"display,omitempty"`
	// Origin - Origin of the operation
	Origin *string `json:"origin,omitempty"`
	// Properties - Properties of the operation
	Properties *OperationProperties `json:"properties,omitempty"`
}

OperationDefinition the definition of a configuration store operation.

type OperationDefinitionDisplay

type OperationDefinitionDisplay struct {
	// Provider - READ-ONLY; The resource provider name: Microsoft App Configuration."
	Provider *string `json:"provider,omitempty"`
	// Resource - The resource on which the operation is performed.
	Resource *string `json:"resource,omitempty"`
	// Operation - The operation that users can perform.
	Operation *string `json:"operation,omitempty"`
	// Description - The description for the operation.
	Description *string `json:"description,omitempty"`
}

OperationDefinitionDisplay the display information for a configuration store operation.

func (OperationDefinitionDisplay) MarshalJSON

func (odd OperationDefinitionDisplay) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OperationDefinitionDisplay.

type OperationDefinitionListResult

type OperationDefinitionListResult struct {
	autorest.Response `json:"-"`
	// Value - The collection value.
	Value *[]OperationDefinition `json:"value,omitempty"`
	// NextLink - The URI that can be used to request the next set of paged results.
	NextLink *string `json:"nextLink,omitempty"`
}

OperationDefinitionListResult the result of a request to list configuration store operations.

func (OperationDefinitionListResult) IsEmpty

func (odlr OperationDefinitionListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type OperationDefinitionListResultIterator

type OperationDefinitionListResultIterator struct {
	// contains filtered or unexported fields
}

OperationDefinitionListResultIterator provides access to a complete listing of OperationDefinition values.

func NewOperationDefinitionListResultIterator

func NewOperationDefinitionListResultIterator(page OperationDefinitionListResultPage) OperationDefinitionListResultIterator

Creates a new instance of the OperationDefinitionListResultIterator type.

func (*OperationDefinitionListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OperationDefinitionListResultIterator) NextWithContext

func (iter *OperationDefinitionListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (OperationDefinitionListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (OperationDefinitionListResultIterator) Response

Response returns the raw server response from the last page request.

func (OperationDefinitionListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type OperationDefinitionListResultPage

type OperationDefinitionListResultPage struct {
	// contains filtered or unexported fields
}

OperationDefinitionListResultPage contains a page of OperationDefinition values.

func NewOperationDefinitionListResultPage

Creates a new instance of the OperationDefinitionListResultPage type.

func (*OperationDefinitionListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OperationDefinitionListResultPage) NextWithContext

func (page *OperationDefinitionListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (OperationDefinitionListResultPage) NotDone

func (page OperationDefinitionListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (OperationDefinitionListResultPage) Response

Response returns the raw server response from the last page request.

func (OperationDefinitionListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type OperationProperties

type OperationProperties struct {
	// ServiceSpecification - Service specifications of the operation
	ServiceSpecification *ServiceSpecification `json:"serviceSpecification,omitempty"`
}

OperationProperties extra Operation properties

type OperationsClient

type OperationsClient struct {
	BaseClient
}

OperationsClient is the client for the Operations methods of the Appconfiguration service.

func NewOperationsClient

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (OperationsClient) CheckNameAvailability

func (client OperationsClient) CheckNameAvailability(ctx context.Context, checkNameAvailabilityParameters CheckNameAvailabilityParameters) (result NameAvailabilityStatus, err error)

CheckNameAvailability checks whether the configuration store name is available for use. Parameters: checkNameAvailabilityParameters - the object containing information for the availability request.

func (OperationsClient) CheckNameAvailabilityPreparer

func (client OperationsClient) CheckNameAvailabilityPreparer(ctx context.Context, checkNameAvailabilityParameters CheckNameAvailabilityParameters) (*http.Request, error)

CheckNameAvailabilityPreparer prepares the CheckNameAvailability request.

func (OperationsClient) CheckNameAvailabilityResponder

func (client OperationsClient) CheckNameAvailabilityResponder(resp *http.Response) (result NameAvailabilityStatus, err error)

CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always closes the http.Response Body.

func (OperationsClient) CheckNameAvailabilitySender

func (client OperationsClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error)

CheckNameAvailabilitySender sends the CheckNameAvailability request. The method will close the http.Response Body if it receives an error.

func (OperationsClient) List

func (client OperationsClient) List(ctx context.Context, skipToken string) (result OperationDefinitionListResultPage, err error)

List lists the operations available from this provider. Parameters: skipToken - a skip token is used to continue retrieving items after an operation returns a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.

func (OperationsClient) ListComplete

func (client OperationsClient) ListComplete(ctx context.Context, skipToken string) (result OperationDefinitionListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (OperationsClient) ListPreparer

func (client OperationsClient) ListPreparer(ctx context.Context, skipToken string) (*http.Request, error)

ListPreparer prepares the List request.

func (OperationsClient) ListResponder

func (client OperationsClient) ListResponder(resp *http.Response) (result OperationDefinitionListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (OperationsClient) ListSender

func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type PrivateEndpoint

type PrivateEndpoint struct {
	// ID - The resource Id for private endpoint
	ID *string `json:"id,omitempty"`
}

PrivateEndpoint private endpoint which a connection belongs to.

type PrivateEndpointConnection

type PrivateEndpointConnection struct {
	autorest.Response `json:"-"`
	// ID - READ-ONLY; The resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type *string `json:"type,omitempty"`
	// PrivateEndpointConnectionProperties - The properties of a private endpoint.
	*PrivateEndpointConnectionProperties `json:"properties,omitempty"`
}

PrivateEndpointConnection a private endpoint connection

func (PrivateEndpointConnection) MarshalJSON

func (pec PrivateEndpointConnection) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateEndpointConnection.

func (*PrivateEndpointConnection) UnmarshalJSON

func (pec *PrivateEndpointConnection) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PrivateEndpointConnection struct.

type PrivateEndpointConnectionListResult

type PrivateEndpointConnectionListResult struct {
	autorest.Response `json:"-"`
	// Value - The collection value.
	Value *[]PrivateEndpointConnection `json:"value,omitempty"`
	// NextLink - The URI that can be used to request the next set of paged results.
	NextLink *string `json:"nextLink,omitempty"`
}

PrivateEndpointConnectionListResult a list of private endpoint connections

func (PrivateEndpointConnectionListResult) IsEmpty

func (peclr PrivateEndpointConnectionListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type PrivateEndpointConnectionListResultIterator

type PrivateEndpointConnectionListResultIterator struct {
	// contains filtered or unexported fields
}

PrivateEndpointConnectionListResultIterator provides access to a complete listing of PrivateEndpointConnection values.

func NewPrivateEndpointConnectionListResultIterator

func NewPrivateEndpointConnectionListResultIterator(page PrivateEndpointConnectionListResultPage) PrivateEndpointConnectionListResultIterator

Creates a new instance of the PrivateEndpointConnectionListResultIterator type.

func (*PrivateEndpointConnectionListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PrivateEndpointConnectionListResultIterator) NextWithContext

func (iter *PrivateEndpointConnectionListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (PrivateEndpointConnectionListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (PrivateEndpointConnectionListResultIterator) Response

Response returns the raw server response from the last page request.

func (PrivateEndpointConnectionListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type PrivateEndpointConnectionListResultPage

type PrivateEndpointConnectionListResultPage struct {
	// contains filtered or unexported fields
}

PrivateEndpointConnectionListResultPage contains a page of PrivateEndpointConnection values.

func NewPrivateEndpointConnectionListResultPage

Creates a new instance of the PrivateEndpointConnectionListResultPage type.

func (*PrivateEndpointConnectionListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PrivateEndpointConnectionListResultPage) NextWithContext

func (page *PrivateEndpointConnectionListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (PrivateEndpointConnectionListResultPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (PrivateEndpointConnectionListResultPage) Response

Response returns the raw server response from the last page request.

func (PrivateEndpointConnectionListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type PrivateEndpointConnectionProperties

type PrivateEndpointConnectionProperties struct {
	// ProvisioningState - READ-ONLY; The provisioning status of the private endpoint connection. Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// PrivateEndpoint - The resource of private endpoint.
	PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty"`
	// PrivateLinkServiceConnectionState - A collection of information about the state of the connection between service consumer and provider.
	PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState,omitempty"`
}

PrivateEndpointConnectionProperties properties of a private endpoint connection.

func (PrivateEndpointConnectionProperties) MarshalJSON

func (pecp PrivateEndpointConnectionProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateEndpointConnectionProperties.

type PrivateEndpointConnectionReference

type PrivateEndpointConnectionReference struct {
	// ID - READ-ONLY; The resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type *string `json:"type,omitempty"`
	// PrivateEndpointConnectionProperties - The properties of a private endpoint connection.
	*PrivateEndpointConnectionProperties `json:"properties,omitempty"`
}

PrivateEndpointConnectionReference a reference to a related private endpoint connection.

func (PrivateEndpointConnectionReference) MarshalJSON

func (pecr PrivateEndpointConnectionReference) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateEndpointConnectionReference.

func (*PrivateEndpointConnectionReference) UnmarshalJSON

func (pecr *PrivateEndpointConnectionReference) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PrivateEndpointConnectionReference struct.

type PrivateEndpointConnectionsClient

type PrivateEndpointConnectionsClient struct {
	BaseClient
}

PrivateEndpointConnectionsClient is the client for the PrivateEndpointConnections methods of the Appconfiguration service.

func NewPrivateEndpointConnectionsClient

func NewPrivateEndpointConnectionsClient(subscriptionID string) PrivateEndpointConnectionsClient

NewPrivateEndpointConnectionsClient creates an instance of the PrivateEndpointConnectionsClient client.

func NewPrivateEndpointConnectionsClientWithBaseURI

func NewPrivateEndpointConnectionsClientWithBaseURI(baseURI string, subscriptionID string) PrivateEndpointConnectionsClient

NewPrivateEndpointConnectionsClientWithBaseURI creates an instance of the PrivateEndpointConnectionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (PrivateEndpointConnectionsClient) CreateOrUpdate

func (client PrivateEndpointConnectionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, configStoreName string, privateEndpointConnectionName string, privateEndpointConnection PrivateEndpointConnection) (result PrivateEndpointConnectionsCreateOrUpdateFuture, err error)

CreateOrUpdate update the state of the specified private endpoint connection associated with the configuration store. Parameters: resourceGroupName - the name of the resource group to which the container registry belongs. configStoreName - the name of the configuration store. privateEndpointConnectionName - private endpoint connection name privateEndpointConnection - the private endpoint connection properties.

func (PrivateEndpointConnectionsClient) CreateOrUpdatePreparer

func (client PrivateEndpointConnectionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, configStoreName string, privateEndpointConnectionName string, privateEndpointConnection PrivateEndpointConnection) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (PrivateEndpointConnectionsClient) CreateOrUpdateResponder

func (client PrivateEndpointConnectionsClient) CreateOrUpdateResponder(resp *http.Response) (result PrivateEndpointConnection, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (PrivateEndpointConnectionsClient) CreateOrUpdateSender

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (PrivateEndpointConnectionsClient) Delete

func (client PrivateEndpointConnectionsClient) Delete(ctx context.Context, resourceGroupName string, configStoreName string, privateEndpointConnectionName string) (result PrivateEndpointConnectionsDeleteFuture, err error)

Delete deletes a private endpoint connection. Parameters: resourceGroupName - the name of the resource group to which the container registry belongs. configStoreName - the name of the configuration store. privateEndpointConnectionName - private endpoint connection name

func (PrivateEndpointConnectionsClient) DeletePreparer

func (client PrivateEndpointConnectionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, configStoreName string, privateEndpointConnectionName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (PrivateEndpointConnectionsClient) DeleteResponder

func (client PrivateEndpointConnectionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (PrivateEndpointConnectionsClient) DeleteSender

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (PrivateEndpointConnectionsClient) Get

func (client PrivateEndpointConnectionsClient) Get(ctx context.Context, resourceGroupName string, configStoreName string, privateEndpointConnectionName string) (result PrivateEndpointConnection, err error)

Get gets the specified private endpoint connection associated with the configuration store. Parameters: resourceGroupName - the name of the resource group to which the container registry belongs. configStoreName - the name of the configuration store. privateEndpointConnectionName - private endpoint connection name

func (PrivateEndpointConnectionsClient) GetPreparer

func (client PrivateEndpointConnectionsClient) GetPreparer(ctx context.Context, resourceGroupName string, configStoreName string, privateEndpointConnectionName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (PrivateEndpointConnectionsClient) GetResponder

func (client PrivateEndpointConnectionsClient) GetResponder(resp *http.Response) (result PrivateEndpointConnection, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (PrivateEndpointConnectionsClient) GetSender

func (client PrivateEndpointConnectionsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (PrivateEndpointConnectionsClient) ListByConfigurationStore

func (client PrivateEndpointConnectionsClient) ListByConfigurationStore(ctx context.Context, resourceGroupName string, configStoreName string) (result PrivateEndpointConnectionListResultPage, err error)

ListByConfigurationStore lists all private endpoint connections for a configuration store. Parameters: resourceGroupName - the name of the resource group to which the container registry belongs. configStoreName - the name of the configuration store.

func (PrivateEndpointConnectionsClient) ListByConfigurationStoreComplete

func (client PrivateEndpointConnectionsClient) ListByConfigurationStoreComplete(ctx context.Context, resourceGroupName string, configStoreName string) (result PrivateEndpointConnectionListResultIterator, err error)

ListByConfigurationStoreComplete enumerates all values, automatically crossing page boundaries as required.

func (PrivateEndpointConnectionsClient) ListByConfigurationStorePreparer

func (client PrivateEndpointConnectionsClient) ListByConfigurationStorePreparer(ctx context.Context, resourceGroupName string, configStoreName string) (*http.Request, error)

ListByConfigurationStorePreparer prepares the ListByConfigurationStore request.

func (PrivateEndpointConnectionsClient) ListByConfigurationStoreResponder

func (client PrivateEndpointConnectionsClient) ListByConfigurationStoreResponder(resp *http.Response) (result PrivateEndpointConnectionListResult, err error)

ListByConfigurationStoreResponder handles the response to the ListByConfigurationStore request. The method always closes the http.Response Body.

func (PrivateEndpointConnectionsClient) ListByConfigurationStoreSender

func (client PrivateEndpointConnectionsClient) ListByConfigurationStoreSender(req *http.Request) (*http.Response, error)

ListByConfigurationStoreSender sends the ListByConfigurationStore request. The method will close the http.Response Body if it receives an error.

type PrivateEndpointConnectionsCreateOrUpdateFuture

type PrivateEndpointConnectionsCreateOrUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(PrivateEndpointConnectionsClient) (PrivateEndpointConnection, error)
}

PrivateEndpointConnectionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*PrivateEndpointConnectionsCreateOrUpdateFuture) UnmarshalJSON

func (future *PrivateEndpointConnectionsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type PrivateEndpointConnectionsDeleteFuture

type PrivateEndpointConnectionsDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(PrivateEndpointConnectionsClient) (autorest.Response, error)
}

PrivateEndpointConnectionsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*PrivateEndpointConnectionsDeleteFuture) UnmarshalJSON

func (future *PrivateEndpointConnectionsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type PrivateLinkResource

type PrivateLinkResource struct {
	autorest.Response `json:"-"`
	// ID - READ-ONLY; The resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type *string `json:"type,omitempty"`
	// PrivateLinkResourceProperties - Private link resource properties.
	*PrivateLinkResourceProperties `json:"properties,omitempty"`
}

PrivateLinkResource a resource that supports private link capabilities.

func (PrivateLinkResource) MarshalJSON

func (plr PrivateLinkResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateLinkResource.

func (*PrivateLinkResource) UnmarshalJSON

func (plr *PrivateLinkResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PrivateLinkResource struct.

type PrivateLinkResourceListResult

type PrivateLinkResourceListResult struct {
	autorest.Response `json:"-"`
	// Value - The collection value.
	Value *[]PrivateLinkResource `json:"value,omitempty"`
	// NextLink - The URI that can be used to request the next set of paged results.
	NextLink *string `json:"nextLink,omitempty"`
}

PrivateLinkResourceListResult a list of private link resources.

func (PrivateLinkResourceListResult) IsEmpty

func (plrlr PrivateLinkResourceListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type PrivateLinkResourceListResultIterator

type PrivateLinkResourceListResultIterator struct {
	// contains filtered or unexported fields
}

PrivateLinkResourceListResultIterator provides access to a complete listing of PrivateLinkResource values.

func NewPrivateLinkResourceListResultIterator

func NewPrivateLinkResourceListResultIterator(page PrivateLinkResourceListResultPage) PrivateLinkResourceListResultIterator

Creates a new instance of the PrivateLinkResourceListResultIterator type.

func (*PrivateLinkResourceListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PrivateLinkResourceListResultIterator) NextWithContext

func (iter *PrivateLinkResourceListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (PrivateLinkResourceListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (PrivateLinkResourceListResultIterator) Response

Response returns the raw server response from the last page request.

func (PrivateLinkResourceListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type PrivateLinkResourceListResultPage

type PrivateLinkResourceListResultPage struct {
	// contains filtered or unexported fields
}

PrivateLinkResourceListResultPage contains a page of PrivateLinkResource values.

func NewPrivateLinkResourceListResultPage

Creates a new instance of the PrivateLinkResourceListResultPage type.

func (*PrivateLinkResourceListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PrivateLinkResourceListResultPage) NextWithContext

func (page *PrivateLinkResourceListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (PrivateLinkResourceListResultPage) NotDone

func (page PrivateLinkResourceListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (PrivateLinkResourceListResultPage) Response

Response returns the raw server response from the last page request.

func (PrivateLinkResourceListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type PrivateLinkResourceProperties

type PrivateLinkResourceProperties struct {
	// GroupID - READ-ONLY; The private link resource group id.
	GroupID *string `json:"groupId,omitempty"`
	// RequiredMembers - READ-ONLY; The private link resource required member names.
	RequiredMembers *[]string `json:"requiredMembers,omitempty"`
	// RequiredZoneNames - READ-ONLY; The list of required DNS zone names of the private link resource.
	RequiredZoneNames *[]string `json:"requiredZoneNames,omitempty"`
}

PrivateLinkResourceProperties properties of a private link resource.

type PrivateLinkResourcesClient

type PrivateLinkResourcesClient struct {
	BaseClient
}

PrivateLinkResourcesClient is the client for the PrivateLinkResources methods of the Appconfiguration service.

func NewPrivateLinkResourcesClient

func NewPrivateLinkResourcesClient(subscriptionID string) PrivateLinkResourcesClient

NewPrivateLinkResourcesClient creates an instance of the PrivateLinkResourcesClient client.

func NewPrivateLinkResourcesClientWithBaseURI

func NewPrivateLinkResourcesClientWithBaseURI(baseURI string, subscriptionID string) PrivateLinkResourcesClient

NewPrivateLinkResourcesClientWithBaseURI creates an instance of the PrivateLinkResourcesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (PrivateLinkResourcesClient) Get

func (client PrivateLinkResourcesClient) Get(ctx context.Context, resourceGroupName string, configStoreName string, groupName string) (result PrivateLinkResource, err error)

Get gets a private link resource that need to be created for a configuration store. Parameters: resourceGroupName - the name of the resource group to which the container registry belongs. configStoreName - the name of the configuration store. groupName - the name of the private link resource group.

func (PrivateLinkResourcesClient) GetPreparer

func (client PrivateLinkResourcesClient) GetPreparer(ctx context.Context, resourceGroupName string, configStoreName string, groupName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (PrivateLinkResourcesClient) GetResponder

func (client PrivateLinkResourcesClient) GetResponder(resp *http.Response) (result PrivateLinkResource, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (PrivateLinkResourcesClient) GetSender

func (client PrivateLinkResourcesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (PrivateLinkResourcesClient) ListByConfigurationStore

func (client PrivateLinkResourcesClient) ListByConfigurationStore(ctx context.Context, resourceGroupName string, configStoreName string) (result PrivateLinkResourceListResultPage, err error)

ListByConfigurationStore gets the private link resources that need to be created for a configuration store. Parameters: resourceGroupName - the name of the resource group to which the container registry belongs. configStoreName - the name of the configuration store.

func (PrivateLinkResourcesClient) ListByConfigurationStoreComplete

func (client PrivateLinkResourcesClient) ListByConfigurationStoreComplete(ctx context.Context, resourceGroupName string, configStoreName string) (result PrivateLinkResourceListResultIterator, err error)

ListByConfigurationStoreComplete enumerates all values, automatically crossing page boundaries as required.

func (PrivateLinkResourcesClient) ListByConfigurationStorePreparer

func (client PrivateLinkResourcesClient) ListByConfigurationStorePreparer(ctx context.Context, resourceGroupName string, configStoreName string) (*http.Request, error)

ListByConfigurationStorePreparer prepares the ListByConfigurationStore request.

func (PrivateLinkResourcesClient) ListByConfigurationStoreResponder

func (client PrivateLinkResourcesClient) ListByConfigurationStoreResponder(resp *http.Response) (result PrivateLinkResourceListResult, err error)

ListByConfigurationStoreResponder handles the response to the ListByConfigurationStore request. The method always closes the http.Response Body.

func (PrivateLinkResourcesClient) ListByConfigurationStoreSender

func (client PrivateLinkResourcesClient) ListByConfigurationStoreSender(req *http.Request) (*http.Response, error)

ListByConfigurationStoreSender sends the ListByConfigurationStore request. The method will close the http.Response Body if it receives an error.

type PrivateLinkServiceConnectionState

type PrivateLinkServiceConnectionState struct {
	// Status - The private link service connection status. Possible values include: 'Pending', 'Approved', 'Rejected', 'Disconnected'
	Status ConnectionStatus `json:"status,omitempty"`
	// Description - The private link service connection description.
	Description *string `json:"description,omitempty"`
	// ActionsRequired - READ-ONLY; Any action that is required beyond basic workflow (approve/ reject/ disconnect). Possible values include: 'None', 'Recreate'
	ActionsRequired ActionsRequired `json:"actionsRequired,omitempty"`
}

PrivateLinkServiceConnectionState the state of a private link service connection.

func (PrivateLinkServiceConnectionState) MarshalJSON

func (plscs PrivateLinkServiceConnectionState) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateLinkServiceConnectionState.

type ProvisioningState

type ProvisioningState string

ProvisioningState enumerates the values for provisioning state.

const (
	// Canceled ...
	Canceled ProvisioningState = "Canceled"
	// Creating ...
	Creating ProvisioningState = "Creating"
	// Deleting ...
	Deleting ProvisioningState = "Deleting"
	// Failed ...
	Failed ProvisioningState = "Failed"
	// Succeeded ...
	Succeeded ProvisioningState = "Succeeded"
	// Updating ...
	Updating ProvisioningState = "Updating"
)

func PossibleProvisioningStateValues

func PossibleProvisioningStateValues() []ProvisioningState

PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.

type PublicNetworkAccess

type PublicNetworkAccess string

PublicNetworkAccess enumerates the values for public network access.

const (
	// Disabled ...
	Disabled PublicNetworkAccess = "Disabled"
	// Enabled ...
	Enabled PublicNetworkAccess = "Enabled"
)

func PossiblePublicNetworkAccessValues

func PossiblePublicNetworkAccessValues() []PublicNetworkAccess

PossiblePublicNetworkAccessValues returns an array of possible values for the PublicNetworkAccess const type.

type RegenerateKeyParameters

type RegenerateKeyParameters struct {
	// ID - The id of the key to regenerate.
	ID *string `json:"id,omitempty"`
}

RegenerateKeyParameters the parameters used to regenerate an API key.

type Resource

type Resource struct {
	// ID - READ-ONLY; The resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type *string `json:"type,omitempty"`
	// Location - The location of the resource. This cannot be changed after the resource is created.
	Location *string `json:"location,omitempty"`
	// Tags - The tags of the resource.
	Tags map[string]*string `json:"tags"`
}

Resource an Azure resource.

func (Resource) MarshalJSON

func (r Resource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Resource.

type ResourceIdentity

type ResourceIdentity struct {
	// Type - The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove any identities. Possible values include: 'IdentityTypeNone', 'IdentityTypeSystemAssigned', 'IdentityTypeUserAssigned', 'IdentityTypeSystemAssignedUserAssigned'
	Type IdentityType `json:"type,omitempty"`
	// UserAssignedIdentities - The list of user-assigned identities associated with the resource. The user-assigned identity dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
	UserAssignedIdentities map[string]*UserIdentity `json:"userAssignedIdentities"`
	// PrincipalID - READ-ONLY; The principal id of the identity. This property will only be provided for a system-assigned identity.
	PrincipalID *string `json:"principalId,omitempty"`
	// TenantID - READ-ONLY; The tenant id associated with the resource's identity. This property will only be provided for a system-assigned identity.
	TenantID *string `json:"tenantId,omitempty"`
}

ResourceIdentity an identity that can be associated with a resource.

func (ResourceIdentity) MarshalJSON

func (ri ResourceIdentity) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ResourceIdentity.

type ServiceSpecification

type ServiceSpecification struct {
	// LogSpecifications - Specifications of the Log for Azure Monitoring
	LogSpecifications *[]LogSpecification `json:"logSpecifications,omitempty"`
	// MetricSpecifications - Specifications of the Metrics for Azure Monitoring
	MetricSpecifications *[]MetricSpecification `json:"metricSpecifications,omitempty"`
}

ServiceSpecification service specification payload

type Sku

type Sku struct {
	// Name - The SKU name of the configuration store.
	Name *string `json:"name,omitempty"`
}

Sku describes a configuration store SKU.

type UserIdentity

type UserIdentity struct {
	// PrincipalID - READ-ONLY; The principal ID of the user-assigned identity.
	PrincipalID *string `json:"principalId,omitempty"`
	// ClientID - READ-ONLY; The client ID of the user-assigned identity.
	ClientID *string `json:"clientId,omitempty"`
}

UserIdentity a resource identity that is managed by the user of the service.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL