azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/preview/appconfiguration/mgmt/2019-02-01-preview/appconfiguration Index | Files | Directories

package appconfiguration

import "github.com/Azure/azure-sdk-for-go/services/preview/appconfiguration/mgmt/2019-02-01-preview/appconfiguration"

Package appconfiguration implements the Azure ARM Appconfiguration service API version 2019-02-01-preview.

Index

Package Files

client.go configurationstores.go models.go operations.go version.go

Constants

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

func UserAgent Uses

func UserAgent() string

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

func Version Uses

func Version() string

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

type APIKey Uses

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 Uses

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 Uses

func (aklr APIKeyListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type APIKeyListResultIterator Uses

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

APIKeyListResultIterator provides access to a complete listing of APIKey values.

func NewAPIKeyListResultIterator Uses

func NewAPIKeyListResultIterator(page APIKeyListResultPage) APIKeyListResultIterator

Creates a new instance of the APIKeyListResultIterator type.

func (*APIKeyListResultIterator) Next Uses

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 Uses

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 Uses

func (iter APIKeyListResultIterator) NotDone() bool

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

func (APIKeyListResultIterator) Response Uses

func (iter APIKeyListResultIterator) Response() APIKeyListResult

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

func (APIKeyListResultIterator) Value Uses

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 Uses

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

APIKeyListResultPage contains a page of APIKey values.

func NewAPIKeyListResultPage Uses

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

Creates a new instance of the APIKeyListResultPage type.

func (*APIKeyListResultPage) Next Uses

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 Uses

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 Uses

func (page APIKeyListResultPage) NotDone() bool

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

func (APIKeyListResultPage) Response Uses

func (page APIKeyListResultPage) Response() APIKeyListResult

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

func (APIKeyListResultPage) Values Uses

func (page APIKeyListResultPage) Values() []APIKey

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

type BaseClient Uses

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

BaseClient is the base client for Appconfiguration.

func New Uses

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI Uses

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

type CheckNameAvailabilityParameters Uses

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 Uses

type ConfigurationStore struct {
    autorest.Response `json:"-"`
    // ConfigurationStoreProperties - The properties of a configuration store.
    *ConfigurationStoreProperties `json:"properties,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 Uses

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

MarshalJSON is the custom marshaler for ConfigurationStore.

func (*ConfigurationStore) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for ConfigurationStore struct.

type ConfigurationStoreListResult Uses

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 Uses

func (cslr ConfigurationStoreListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ConfigurationStoreListResultIterator Uses

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

ConfigurationStoreListResultIterator provides access to a complete listing of ConfigurationStore values.

func NewConfigurationStoreListResultIterator Uses

func NewConfigurationStoreListResultIterator(page ConfigurationStoreListResultPage) ConfigurationStoreListResultIterator

Creates a new instance of the ConfigurationStoreListResultIterator type.

func (*ConfigurationStoreListResultIterator) Next Uses

func (iter *ConfigurationStoreListResultIterator) 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 (*ConfigurationStoreListResultIterator) NextWithContext Uses

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 Uses

func (iter ConfigurationStoreListResultIterator) NotDone() bool

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

func (ConfigurationStoreListResultIterator) Response Uses

func (iter ConfigurationStoreListResultIterator) Response() ConfigurationStoreListResult

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

func (ConfigurationStoreListResultIterator) Value Uses

func (iter ConfigurationStoreListResultIterator) Value() ConfigurationStore

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

type ConfigurationStoreListResultPage Uses

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

ConfigurationStoreListResultPage contains a page of ConfigurationStore values.

func NewConfigurationStoreListResultPage Uses

func NewConfigurationStoreListResultPage(getNextPage func(context.Context, ConfigurationStoreListResult) (ConfigurationStoreListResult, error)) ConfigurationStoreListResultPage

Creates a new instance of the ConfigurationStoreListResultPage type.

func (*ConfigurationStoreListResultPage) Next Uses

func (page *ConfigurationStoreListResultPage) 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 (*ConfigurationStoreListResultPage) NextWithContext Uses

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 Uses

func (page ConfigurationStoreListResultPage) NotDone() bool

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

func (ConfigurationStoreListResultPage) Response Uses

func (page ConfigurationStoreListResultPage) Response() ConfigurationStoreListResult

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

func (ConfigurationStoreListResultPage) Values Uses

func (page ConfigurationStoreListResultPage) Values() []ConfigurationStore

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

type ConfigurationStoreProperties Uses

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"`
}

ConfigurationStoreProperties the properties of a configuration store.

type ConfigurationStoreUpdateParameters Uses

type ConfigurationStoreUpdateParameters struct {
    // Properties - The properties for updating a configuration store.
    Properties interface{} `json:"properties,omitempty"`
    // Tags - The ARM resource tags.
    Tags map[string]*string `json:"tags"`
}

ConfigurationStoreUpdateParameters the parameters for updating a configuration store.

func (ConfigurationStoreUpdateParameters) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ConfigurationStoreUpdateParameters.

type ConfigurationStoresClient Uses

type ConfigurationStoresClient struct {
    BaseClient
}

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

func NewConfigurationStoresClient Uses

func NewConfigurationStoresClient(subscriptionID string) ConfigurationStoresClient

NewConfigurationStoresClient creates an instance of the ConfigurationStoresClient client.

func NewConfigurationStoresClientWithBaseURI Uses

func NewConfigurationStoresClientWithBaseURI(baseURI string, subscriptionID string) ConfigurationStoresClient

NewConfigurationStoresClientWithBaseURI creates an instance of the ConfigurationStoresClient client.

func (ConfigurationStoresClient) Create Uses

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 Uses

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

CreatePreparer prepares the Create request.

func (ConfigurationStoresClient) CreateResponder Uses

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 Uses

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 Uses

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 Uses

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

DeletePreparer prepares the Delete request.

func (ConfigurationStoresClient) DeleteResponder Uses

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 Uses

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 Uses

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 Uses

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

GetPreparer prepares the Get request.

func (ConfigurationStoresClient) GetResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (ConfigurationStoresClient) ListByResourceGroupResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ListKeysPreparer prepares the ListKeys request.

func (ConfigurationStoresClient) ListKeysResponder Uses

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 Uses

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 Uses

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

ListPreparer prepares the List request.

func (ConfigurationStoresClient) ListResponder Uses

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 Uses

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 Uses

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 Uses

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

RegenerateKeyPreparer prepares the RegenerateKey request.

func (ConfigurationStoresClient) RegenerateKeyResponder Uses

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 Uses

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 Uses

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 Uses

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

UpdatePreparer prepares the Update request.

func (ConfigurationStoresClient) UpdateResponder Uses

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 Uses

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 Uses

type ConfigurationStoresCreateFuture struct {
    azure.Future
}

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

func (*ConfigurationStoresCreateFuture) Result Uses

func (future *ConfigurationStoresCreateFuture) Result(client ConfigurationStoresClient) (cs ConfigurationStore, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ConfigurationStoresDeleteFuture Uses

type ConfigurationStoresDeleteFuture struct {
    azure.Future
}

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

func (*ConfigurationStoresDeleteFuture) Result Uses

func (future *ConfigurationStoresDeleteFuture) Result(client ConfigurationStoresClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ConfigurationStoresUpdateFuture Uses

type ConfigurationStoresUpdateFuture struct {
    azure.Future
}

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

func (*ConfigurationStoresUpdateFuture) Result Uses

func (future *ConfigurationStoresUpdateFuture) Result(client ConfigurationStoresClient) (cs ConfigurationStore, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type Error Uses

type Error struct {
    // Code - Error code.
    Code *string `json:"code,omitempty"`
    // Message - Error message.
    Message *string `json:"message,omitempty"`
}

Error appConfiguration error object.

type NameAvailabilityStatus Uses

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 Uses

type OperationDefinition struct {
    // Name - Operation name: {provider}/{resource}/{operation}.
    Name *string `json:"name,omitempty"`
    // Display - The display information for the configuration store operation.
    Display *OperationDefinitionDisplay `json:"display,omitempty"`
}

OperationDefinition the definition of a configuration store operation.

type OperationDefinitionDisplay Uses

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.

type OperationDefinitionListResult Uses

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 Uses

func (odlr OperationDefinitionListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type OperationDefinitionListResultIterator Uses

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

OperationDefinitionListResultIterator provides access to a complete listing of OperationDefinition values.

func NewOperationDefinitionListResultIterator Uses

func NewOperationDefinitionListResultIterator(page OperationDefinitionListResultPage) OperationDefinitionListResultIterator

Creates a new instance of the OperationDefinitionListResultIterator type.

func (*OperationDefinitionListResultIterator) Next Uses

func (iter *OperationDefinitionListResultIterator) 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 (*OperationDefinitionListResultIterator) NextWithContext Uses

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 Uses

func (iter OperationDefinitionListResultIterator) NotDone() bool

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

func (OperationDefinitionListResultIterator) Response Uses

func (iter OperationDefinitionListResultIterator) Response() OperationDefinitionListResult

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

func (OperationDefinitionListResultIterator) Value Uses

func (iter OperationDefinitionListResultIterator) Value() OperationDefinition

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

type OperationDefinitionListResultPage Uses

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

OperationDefinitionListResultPage contains a page of OperationDefinition values.

func NewOperationDefinitionListResultPage Uses

func NewOperationDefinitionListResultPage(getNextPage func(context.Context, OperationDefinitionListResult) (OperationDefinitionListResult, error)) OperationDefinitionListResultPage

Creates a new instance of the OperationDefinitionListResultPage type.

func (*OperationDefinitionListResultPage) Next Uses

func (page *OperationDefinitionListResultPage) 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 (*OperationDefinitionListResultPage) NextWithContext Uses

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 Uses

func (page OperationDefinitionListResultPage) NotDone() bool

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

func (OperationDefinitionListResultPage) Response Uses

func (page OperationDefinitionListResultPage) Response() OperationDefinitionListResult

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

func (OperationDefinitionListResultPage) Values Uses

func (page OperationDefinitionListResultPage) Values() []OperationDefinition

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

type OperationsClient Uses

type OperationsClient struct {
    BaseClient
}

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

func NewOperationsClient Uses

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI Uses

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.

func (OperationsClient) CheckNameAvailability Uses

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 Uses

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

CheckNameAvailabilityPreparer prepares the CheckNameAvailability request.

func (OperationsClient) CheckNameAvailabilityResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ListPreparer prepares the List request.

func (OperationsClient) ListResponder Uses

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 Uses

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 ProvisioningState Uses

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 Uses

func PossibleProvisioningStateValues() []ProvisioningState

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

type RegenerateKeyParameters Uses

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 Uses

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 Uses

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

MarshalJSON is the custom marshaler for Resource.

Directories

PathSynopsis
appconfigurationapi

Package appconfiguration imports 10 packages (graph) and is imported by 3 packages. Updated 2019-08-06. Refresh now. Tools for package owners.