Documentation ¶
Overview ¶
Package appconfiguration implements the Azure ARM Appconfiguration service API version 2020-06-01.
Index ¶
- Constants
- func UserAgent() string
- func Version() string
- type APIKey
- type APIKeyListResult
- type APIKeyListResultIterator
- func (iter *APIKeyListResultIterator) Next() error
- func (iter *APIKeyListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter APIKeyListResultIterator) NotDone() bool
- func (iter APIKeyListResultIterator) Response() APIKeyListResult
- func (iter APIKeyListResultIterator) Value() APIKey
- type APIKeyListResultPage
- type ActionsRequired
- type BaseClient
- type CheckNameAvailabilityParameters
- type ConfigurationStore
- type ConfigurationStoreListResult
- type ConfigurationStoreListResultIterator
- func (iter *ConfigurationStoreListResultIterator) Next() error
- func (iter *ConfigurationStoreListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ConfigurationStoreListResultIterator) NotDone() bool
- func (iter ConfigurationStoreListResultIterator) Response() ConfigurationStoreListResult
- func (iter ConfigurationStoreListResultIterator) Value() ConfigurationStore
- type ConfigurationStoreListResultPage
- func (page *ConfigurationStoreListResultPage) Next() error
- func (page *ConfigurationStoreListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page ConfigurationStoreListResultPage) NotDone() bool
- func (page ConfigurationStoreListResultPage) Response() ConfigurationStoreListResult
- func (page ConfigurationStoreListResultPage) Values() []ConfigurationStore
- type ConfigurationStoreProperties
- type ConfigurationStorePropertiesUpdateParameters
- type ConfigurationStoreUpdateParameters
- type ConfigurationStoresClient
- func (client ConfigurationStoresClient) Create(ctx context.Context, resourceGroupName string, configStoreName string, ...) (result ConfigurationStoresCreateFuture, err error)
- func (client ConfigurationStoresClient) CreatePreparer(ctx context.Context, resourceGroupName string, configStoreName string, ...) (*http.Request, error)
- func (client ConfigurationStoresClient) CreateResponder(resp *http.Response) (result ConfigurationStore, err error)
- func (client ConfigurationStoresClient) CreateSender(req *http.Request) (future ConfigurationStoresCreateFuture, err error)
- func (client ConfigurationStoresClient) Delete(ctx context.Context, resourceGroupName string, configStoreName string) (result ConfigurationStoresDeleteFuture, err error)
- func (client ConfigurationStoresClient) DeletePreparer(ctx context.Context, resourceGroupName string, configStoreName string) (*http.Request, error)
- func (client ConfigurationStoresClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ConfigurationStoresClient) DeleteSender(req *http.Request) (future ConfigurationStoresDeleteFuture, err error)
- func (client ConfigurationStoresClient) Get(ctx context.Context, resourceGroupName string, configStoreName string) (result ConfigurationStore, err error)
- func (client ConfigurationStoresClient) GetPreparer(ctx context.Context, resourceGroupName string, configStoreName string) (*http.Request, error)
- func (client ConfigurationStoresClient) GetResponder(resp *http.Response) (result ConfigurationStore, err error)
- func (client ConfigurationStoresClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ConfigurationStoresClient) List(ctx context.Context, skipToken string) (result ConfigurationStoreListResultPage, err error)
- func (client ConfigurationStoresClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, skipToken string) (result ConfigurationStoreListResultPage, err error)
- func (client ConfigurationStoresClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, skipToken string) (result ConfigurationStoreListResultIterator, err error)
- func (client ConfigurationStoresClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, skipToken string) (*http.Request, error)
- func (client ConfigurationStoresClient) ListByResourceGroupResponder(resp *http.Response) (result ConfigurationStoreListResult, err error)
- func (client ConfigurationStoresClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client ConfigurationStoresClient) ListComplete(ctx context.Context, skipToken string) (result ConfigurationStoreListResultIterator, err error)
- func (client ConfigurationStoresClient) ListKeyValue(ctx context.Context, resourceGroupName string, configStoreName string, ...) (result KeyValue, err error)
- func (client ConfigurationStoresClient) ListKeyValuePreparer(ctx context.Context, resourceGroupName string, configStoreName string, ...) (*http.Request, error)
- func (client ConfigurationStoresClient) ListKeyValueResponder(resp *http.Response) (result KeyValue, err error)
- func (client ConfigurationStoresClient) ListKeyValueSender(req *http.Request) (*http.Response, error)
- func (client ConfigurationStoresClient) ListKeys(ctx context.Context, resourceGroupName string, configStoreName string, ...) (result APIKeyListResultPage, err error)
- func (client ConfigurationStoresClient) ListKeysComplete(ctx context.Context, resourceGroupName string, configStoreName string, ...) (result APIKeyListResultIterator, err error)
- func (client ConfigurationStoresClient) ListKeysPreparer(ctx context.Context, resourceGroupName string, configStoreName string, ...) (*http.Request, error)
- func (client ConfigurationStoresClient) ListKeysResponder(resp *http.Response) (result APIKeyListResult, err error)
- func (client ConfigurationStoresClient) ListKeysSender(req *http.Request) (*http.Response, error)
- func (client ConfigurationStoresClient) ListPreparer(ctx context.Context, skipToken string) (*http.Request, error)
- func (client ConfigurationStoresClient) ListResponder(resp *http.Response) (result ConfigurationStoreListResult, err error)
- func (client ConfigurationStoresClient) ListSender(req *http.Request) (*http.Response, error)
- func (client ConfigurationStoresClient) RegenerateKey(ctx context.Context, resourceGroupName string, configStoreName string, ...) (result APIKey, err error)
- func (client ConfigurationStoresClient) RegenerateKeyPreparer(ctx context.Context, resourceGroupName string, configStoreName string, ...) (*http.Request, error)
- func (client ConfigurationStoresClient) RegenerateKeyResponder(resp *http.Response) (result APIKey, err error)
- func (client ConfigurationStoresClient) RegenerateKeySender(req *http.Request) (*http.Response, error)
- func (client ConfigurationStoresClient) Update(ctx context.Context, resourceGroupName string, configStoreName string, ...) (result ConfigurationStoresUpdateFuture, err error)
- func (client ConfigurationStoresClient) UpdatePreparer(ctx context.Context, resourceGroupName string, configStoreName string, ...) (*http.Request, error)
- func (client ConfigurationStoresClient) UpdateResponder(resp *http.Response) (result ConfigurationStore, err error)
- func (client ConfigurationStoresClient) UpdateSender(req *http.Request) (future ConfigurationStoresUpdateFuture, err error)
- type ConfigurationStoresCreateFuture
- type ConfigurationStoresDeleteFuture
- type ConfigurationStoresUpdateFuture
- type ConnectionStatus
- type EncryptionProperties
- type Error
- type IdentityType
- type KeyValue
- type KeyVaultProperties
- type ListKeyValueParameters
- type NameAvailabilityStatus
- type OperationDefinition
- type OperationDefinitionDisplay
- type OperationDefinitionListResult
- type OperationDefinitionListResultIterator
- func (iter *OperationDefinitionListResultIterator) Next() error
- func (iter *OperationDefinitionListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter OperationDefinitionListResultIterator) NotDone() bool
- func (iter OperationDefinitionListResultIterator) Response() OperationDefinitionListResult
- func (iter OperationDefinitionListResultIterator) Value() OperationDefinition
- type OperationDefinitionListResultPage
- func (page *OperationDefinitionListResultPage) Next() error
- func (page *OperationDefinitionListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page OperationDefinitionListResultPage) NotDone() bool
- func (page OperationDefinitionListResultPage) Response() OperationDefinitionListResult
- func (page OperationDefinitionListResultPage) Values() []OperationDefinition
- type OperationsClient
- func (client OperationsClient) CheckNameAvailability(ctx context.Context, ...) (result NameAvailabilityStatus, err error)
- func (client OperationsClient) CheckNameAvailabilityPreparer(ctx context.Context, ...) (*http.Request, error)
- func (client OperationsClient) CheckNameAvailabilityResponder(resp *http.Response) (result NameAvailabilityStatus, err error)
- func (client OperationsClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error)
- func (client OperationsClient) List(ctx context.Context, skipToken string) (result OperationDefinitionListResultPage, err error)
- func (client OperationsClient) ListComplete(ctx context.Context, skipToken string) (result OperationDefinitionListResultIterator, err error)
- func (client OperationsClient) ListPreparer(ctx context.Context, skipToken string) (*http.Request, error)
- func (client OperationsClient) ListResponder(resp *http.Response) (result OperationDefinitionListResult, err error)
- func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)
- type PrivateEndpoint
- type PrivateEndpointConnection
- type PrivateEndpointConnectionListResult
- type PrivateEndpointConnectionListResultIterator
- func (iter *PrivateEndpointConnectionListResultIterator) Next() error
- func (iter *PrivateEndpointConnectionListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter PrivateEndpointConnectionListResultIterator) NotDone() bool
- func (iter PrivateEndpointConnectionListResultIterator) Response() PrivateEndpointConnectionListResult
- func (iter PrivateEndpointConnectionListResultIterator) Value() PrivateEndpointConnection
- type PrivateEndpointConnectionListResultPage
- func (page *PrivateEndpointConnectionListResultPage) Next() error
- func (page *PrivateEndpointConnectionListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page PrivateEndpointConnectionListResultPage) NotDone() bool
- func (page PrivateEndpointConnectionListResultPage) Response() PrivateEndpointConnectionListResult
- func (page PrivateEndpointConnectionListResultPage) Values() []PrivateEndpointConnection
- type PrivateEndpointConnectionProperties
- type PrivateEndpointConnectionReference
- type PrivateEndpointConnectionsClient
- func (client PrivateEndpointConnectionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, configStoreName string, ...) (result PrivateEndpointConnectionsCreateOrUpdateFuture, err error)
- func (client PrivateEndpointConnectionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, configStoreName string, ...) (*http.Request, error)
- func (client PrivateEndpointConnectionsClient) CreateOrUpdateResponder(resp *http.Response) (result PrivateEndpointConnection, err error)
- func (client PrivateEndpointConnectionsClient) CreateOrUpdateSender(req *http.Request) (future PrivateEndpointConnectionsCreateOrUpdateFuture, err error)
- func (client PrivateEndpointConnectionsClient) Delete(ctx context.Context, resourceGroupName string, configStoreName string, ...) (result PrivateEndpointConnectionsDeleteFuture, err error)
- func (client PrivateEndpointConnectionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, configStoreName string, ...) (*http.Request, error)
- func (client PrivateEndpointConnectionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client PrivateEndpointConnectionsClient) DeleteSender(req *http.Request) (future PrivateEndpointConnectionsDeleteFuture, err error)
- func (client PrivateEndpointConnectionsClient) Get(ctx context.Context, resourceGroupName string, configStoreName string, ...) (result PrivateEndpointConnection, err error)
- func (client PrivateEndpointConnectionsClient) GetPreparer(ctx context.Context, resourceGroupName string, configStoreName string, ...) (*http.Request, error)
- func (client PrivateEndpointConnectionsClient) GetResponder(resp *http.Response) (result PrivateEndpointConnection, err error)
- func (client PrivateEndpointConnectionsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client PrivateEndpointConnectionsClient) ListByConfigurationStore(ctx context.Context, resourceGroupName string, configStoreName string) (result PrivateEndpointConnectionListResultPage, err error)
- func (client PrivateEndpointConnectionsClient) ListByConfigurationStoreComplete(ctx context.Context, resourceGroupName string, configStoreName string) (result PrivateEndpointConnectionListResultIterator, err error)
- func (client PrivateEndpointConnectionsClient) ListByConfigurationStorePreparer(ctx context.Context, resourceGroupName string, configStoreName string) (*http.Request, error)
- func (client PrivateEndpointConnectionsClient) ListByConfigurationStoreResponder(resp *http.Response) (result PrivateEndpointConnectionListResult, err error)
- func (client PrivateEndpointConnectionsClient) ListByConfigurationStoreSender(req *http.Request) (*http.Response, error)
- type PrivateEndpointConnectionsCreateOrUpdateFuture
- type PrivateEndpointConnectionsDeleteFuture
- type PrivateLinkResource
- type PrivateLinkResourceListResult
- type PrivateLinkResourceListResultIterator
- func (iter *PrivateLinkResourceListResultIterator) Next() error
- func (iter *PrivateLinkResourceListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter PrivateLinkResourceListResultIterator) NotDone() bool
- func (iter PrivateLinkResourceListResultIterator) Response() PrivateLinkResourceListResult
- func (iter PrivateLinkResourceListResultIterator) Value() PrivateLinkResource
- type PrivateLinkResourceListResultPage
- func (page *PrivateLinkResourceListResultPage) Next() error
- func (page *PrivateLinkResourceListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page PrivateLinkResourceListResultPage) NotDone() bool
- func (page PrivateLinkResourceListResultPage) Response() PrivateLinkResourceListResult
- func (page PrivateLinkResourceListResultPage) Values() []PrivateLinkResource
- type PrivateLinkResourceProperties
- type PrivateLinkResourcesClient
- func (client PrivateLinkResourcesClient) Get(ctx context.Context, resourceGroupName string, configStoreName string, ...) (result PrivateLinkResource, err error)
- func (client PrivateLinkResourcesClient) GetPreparer(ctx context.Context, resourceGroupName string, configStoreName string, ...) (*http.Request, error)
- func (client PrivateLinkResourcesClient) GetResponder(resp *http.Response) (result PrivateLinkResource, err error)
- func (client PrivateLinkResourcesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client PrivateLinkResourcesClient) ListByConfigurationStore(ctx context.Context, resourceGroupName string, configStoreName string) (result PrivateLinkResourceListResultPage, err error)
- func (client PrivateLinkResourcesClient) ListByConfigurationStoreComplete(ctx context.Context, resourceGroupName string, configStoreName string) (result PrivateLinkResourceListResultIterator, err error)
- func (client PrivateLinkResourcesClient) ListByConfigurationStorePreparer(ctx context.Context, resourceGroupName string, configStoreName string) (*http.Request, error)
- func (client PrivateLinkResourcesClient) ListByConfigurationStoreResponder(resp *http.Response) (result PrivateLinkResourceListResult, err error)
- func (client PrivateLinkResourcesClient) ListByConfigurationStoreSender(req *http.Request) (*http.Response, error)
- type PrivateLinkServiceConnectionState
- type ProvisioningState
- type PublicNetworkAccess
- type RegenerateKeyParameters
- type Resource
- type ResourceIdentity
- type Sku
- type UserIdentity
Constants ¶
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 ¶
func (iter APIKeyListResultIterator) Response() APIKeyListResult
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 ¶
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 ¶
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 ¶
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 ¶
func (iter ConfigurationStoreListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ConfigurationStoreListResultIterator) Response ¶
func (iter ConfigurationStoreListResultIterator) Response() ConfigurationStoreListResult
Response returns the raw server response from the last page request.
func (ConfigurationStoreListResultIterator) Value ¶
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 ¶
type ConfigurationStoreListResultPage struct {
// contains filtered or unexported fields
}
ConfigurationStoreListResultPage contains a page of ConfigurationStore values.
func NewConfigurationStoreListResultPage ¶
func NewConfigurationStoreListResultPage(cur ConfigurationStoreListResult, getNextPage func(context.Context, ConfigurationStoreListResult) (ConfigurationStoreListResult, error)) ConfigurationStoreListResultPage
Creates a new instance of the ConfigurationStoreListResultPage type.
func (*ConfigurationStoreListResultPage) Next ¶
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 ¶
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 ¶
func (page ConfigurationStoreListResultPage) Response() ConfigurationStoreListResult
Response returns the raw server response from the last page request.
func (ConfigurationStoreListResultPage) Values ¶
func (page ConfigurationStoreListResultPage) Values() []ConfigurationStore
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"` // 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"` }
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 ¶
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) ListKeyValue ¶
func (client ConfigurationStoresClient) ListKeyValue(ctx context.Context, resourceGroupName string, configStoreName string, listKeyValueParameters ListKeyValueParameters) (result KeyValue, err error)
ListKeyValue lists a configuration store key-value. Parameters: resourceGroupName - the name of the resource group to which the container registry belongs. configStoreName - the name of the configuration store. listKeyValueParameters - the parameters for retrieving a key-value.
func (ConfigurationStoresClient) ListKeyValuePreparer ¶
func (client ConfigurationStoresClient) ListKeyValuePreparer(ctx context.Context, resourceGroupName string, configStoreName string, listKeyValueParameters ListKeyValueParameters) (*http.Request, error)
ListKeyValuePreparer prepares the ListKeyValue request.
func (ConfigurationStoresClient) ListKeyValueResponder ¶
func (client ConfigurationStoresClient) ListKeyValueResponder(resp *http.Response) (result KeyValue, err error)
ListKeyValueResponder handles the response to the ListKeyValue request. The method always closes the http.Response Body.
func (ConfigurationStoresClient) ListKeyValueSender ¶
func (client ConfigurationStoresClient) ListKeyValueSender(req *http.Request) (*http.Response, error)
ListKeyValueSender sends the ListKeyValue request. The method will close the http.Response Body if it receives an error.
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 ¶
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 ¶
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 Error ¶
type Error struct { // Code - Error code. Code *string `json:"code,omitempty"` // Message - Error message. Message *string `json:"message,omitempty"` }
Error appConfiguration error object.
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:"-"` // 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 - READ-ONLY; The value of the key-value. Value *string `json:"value,omitempty"` // ContentType - READ-ONLY; 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 - READ-ONLY; A dictionary of tags that can help identify what a key-value may be applicable for. Tags map[string]*string `json:"tags"` }
KeyValue the result of a request to retrieve a key-value from the specified configuration store.
func (KeyValue) MarshalJSON ¶
MarshalJSON is the custom marshaler for KeyValue.
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 ListKeyValueParameters ¶
type ListKeyValueParameters struct { // Key - The key to retrieve. Key *string `json:"key,omitempty"` // Label - The label of the key. Label *string `json:"label,omitempty"` }
ListKeyValueParameters the parameters used to list a configuration store key-value
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"` // Display - The display information for the configuration store operation. Display *OperationDefinitionDisplay `json:"display,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 ¶
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 ¶
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 ¶
func (iter OperationDefinitionListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (OperationDefinitionListResultIterator) Response ¶
func (iter OperationDefinitionListResultIterator) Response() OperationDefinitionListResult
Response returns the raw server response from the last page request.
func (OperationDefinitionListResultIterator) Value ¶
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 ¶
type OperationDefinitionListResultPage struct {
// contains filtered or unexported fields
}
OperationDefinitionListResultPage contains a page of OperationDefinition values.
func NewOperationDefinitionListResultPage ¶
func NewOperationDefinitionListResultPage(cur OperationDefinitionListResult, getNextPage func(context.Context, OperationDefinitionListResult) (OperationDefinitionListResult, error)) OperationDefinitionListResultPage
Creates a new instance of the OperationDefinitionListResultPage type.
func (*OperationDefinitionListResultPage) Next ¶
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 ¶
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 ¶
func (page OperationDefinitionListResultPage) Response() OperationDefinitionListResult
Response returns the raw server response from the last page request.
func (OperationDefinitionListResultPage) Values ¶
func (page OperationDefinitionListResultPage) Values() []OperationDefinition
Values returns the slice of values for the current page or nil if there are no values.
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 ¶
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 ¶
func (iter *PrivateEndpointConnectionListResultIterator) 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 (*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 ¶
func (iter PrivateEndpointConnectionListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (PrivateEndpointConnectionListResultIterator) Response ¶
func (iter PrivateEndpointConnectionListResultIterator) Response() PrivateEndpointConnectionListResult
Response returns the raw server response from the last page request.
func (PrivateEndpointConnectionListResultIterator) Value ¶
func (iter PrivateEndpointConnectionListResultIterator) Value() PrivateEndpointConnection
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 ¶
func NewPrivateEndpointConnectionListResultPage(cur PrivateEndpointConnectionListResult, getNextPage func(context.Context, PrivateEndpointConnectionListResult) (PrivateEndpointConnectionListResult, error)) PrivateEndpointConnectionListResultPage
Creates a new instance of the PrivateEndpointConnectionListResultPage type.
func (*PrivateEndpointConnectionListResultPage) Next ¶
func (page *PrivateEndpointConnectionListResultPage) 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 (*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 ¶
func (page PrivateEndpointConnectionListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (PrivateEndpointConnectionListResultPage) Response ¶
func (page PrivateEndpointConnectionListResultPage) Response() PrivateEndpointConnectionListResult
Response returns the raw server response from the last page request.
func (PrivateEndpointConnectionListResultPage) Values ¶
func (page PrivateEndpointConnectionListResultPage) Values() []PrivateEndpointConnection
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 ¶
func (client PrivateEndpointConnectionsClient) CreateOrUpdateSender(req *http.Request) (future PrivateEndpointConnectionsCreateOrUpdateFuture, err error)
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 ¶
func (client PrivateEndpointConnectionsClient) DeleteSender(req *http.Request) (future PrivateEndpointConnectionsDeleteFuture, err error)
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 ¶
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 ¶
func (iter *PrivateLinkResourceListResultIterator) 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 (*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 ¶
func (iter PrivateLinkResourceListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (PrivateLinkResourceListResultIterator) Response ¶
func (iter PrivateLinkResourceListResultIterator) Response() PrivateLinkResourceListResult
Response returns the raw server response from the last page request.
func (PrivateLinkResourceListResultIterator) Value ¶
func (iter PrivateLinkResourceListResultIterator) Value() PrivateLinkResource
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 ¶
func NewPrivateLinkResourceListResultPage(cur PrivateLinkResourceListResult, getNextPage func(context.Context, PrivateLinkResourceListResult) (PrivateLinkResourceListResult, error)) PrivateLinkResourceListResultPage
Creates a new instance of the PrivateLinkResourceListResultPage type.
func (*PrivateLinkResourceListResultPage) Next ¶
func (page *PrivateLinkResourceListResultPage) 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 (*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 ¶
func (page PrivateLinkResourceListResultPage) Response() PrivateLinkResourceListResult
Response returns the raw server response from the last page request.
func (PrivateLinkResourceListResultPage) Values ¶
func (page PrivateLinkResourceListResultPage) Values() []PrivateLinkResource
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 ¶
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 ¶
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 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.