README ¶
github.com/hashicorp/go-azure-sdk/resource-manager/appconfiguration/2023-03-01/deletedconfigurationstores
Documentation
The deletedconfigurationstores
SDK allows for interaction with the Azure Resource Manager Service appconfiguration
(API Version 2023-03-01
).
This readme covers example usages, but further information on using this SDK can be found in the project root.
Import Path
import "github.com/hashicorp/go-azure-sdk/resource-manager/appconfiguration/2023-03-01/deletedconfigurationstores"
Client Initialization
client := deletedconfigurationstores.NewDeletedConfigurationStoresClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer
Example Usage: DeletedConfigurationStoresClient.ConfigurationStoresGetDeleted
ctx := context.TODO()
id := deletedconfigurationstores.NewDeletedConfigurationStoreID("12345678-1234-9876-4563-123456789012", "locationValue", "deletedConfigurationStoreValue")
read, err := client.ConfigurationStoresGetDeleted(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: DeletedConfigurationStoresClient.ConfigurationStoresListDeleted
ctx := context.TODO()
id := deletedconfigurationstores.NewSubscriptionID("12345678-1234-9876-4563-123456789012")
// alternatively `client.ConfigurationStoresListDeleted(ctx, id)` can be used to do batched pagination
items, err := client.ConfigurationStoresListDeletedComplete(ctx, id)
if err != nil {
// handle the error
}
for _, item := range items {
// do something
}
Example Usage: DeletedConfigurationStoresClient.ConfigurationStoresPurgeDeleted
ctx := context.TODO()
id := deletedconfigurationstores.NewDeletedConfigurationStoreID("12345678-1234-9876-4563-123456789012", "locationValue", "deletedConfigurationStoreValue")
if err := client.ConfigurationStoresPurgeDeletedThenPoll(ctx, id); err != nil {
// handle the error
}
Documentation ¶
Index ¶
- func ValidateDeletedConfigurationStoreID(input interface{}, key string) (warnings []string, errors []error)
- type ConfigurationStoresGetDeletedOperationResponse
- type ConfigurationStoresListDeletedCompleteResult
- type ConfigurationStoresListDeletedOperationResponse
- type ConfigurationStoresPurgeDeletedOperationResponse
- type DeletedConfigurationStore
- type DeletedConfigurationStoreId
- func NewDeletedConfigurationStoreID(subscriptionId string, locationName string, ...) DeletedConfigurationStoreId
- func ParseDeletedConfigurationStoreID(input string) (*DeletedConfigurationStoreId, error)
- func ParseDeletedConfigurationStoreIDInsensitively(input string) (*DeletedConfigurationStoreId, error)
- type DeletedConfigurationStoreOperationPredicate
- type DeletedConfigurationStoreProperties
- func (o *DeletedConfigurationStoreProperties) GetDeletionDateAsTime() (*time.Time, error)
- func (o *DeletedConfigurationStoreProperties) GetScheduledPurgeDateAsTime() (*time.Time, error)
- func (o *DeletedConfigurationStoreProperties) SetDeletionDateAsTime(input time.Time)
- func (o *DeletedConfigurationStoreProperties) SetScheduledPurgeDateAsTime(input time.Time)
- type DeletedConfigurationStoresClient
- func (c DeletedConfigurationStoresClient) ConfigurationStoresGetDeleted(ctx context.Context, id DeletedConfigurationStoreId) (result ConfigurationStoresGetDeletedOperationResponse, err error)
- func (c DeletedConfigurationStoresClient) ConfigurationStoresListDeleted(ctx context.Context, id commonids.SubscriptionId) (resp ConfigurationStoresListDeletedOperationResponse, err error)
- func (c DeletedConfigurationStoresClient) ConfigurationStoresListDeletedComplete(ctx context.Context, id commonids.SubscriptionId) (ConfigurationStoresListDeletedCompleteResult, error)
- func (c DeletedConfigurationStoresClient) ConfigurationStoresListDeletedCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (resp ConfigurationStoresListDeletedCompleteResult, err error)
- func (c DeletedConfigurationStoresClient) ConfigurationStoresPurgeDeleted(ctx context.Context, id DeletedConfigurationStoreId) (result ConfigurationStoresPurgeDeletedOperationResponse, err error)
- func (c DeletedConfigurationStoresClient) ConfigurationStoresPurgeDeletedThenPoll(ctx context.Context, id DeletedConfigurationStoreId) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateDeletedConfigurationStoreID ¶
func ValidateDeletedConfigurationStoreID(input interface{}, key string) (warnings []string, errors []error)
ValidateDeletedConfigurationStoreID checks that 'input' can be parsed as a Deleted Configuration Store ID
Types ¶
type ConfigurationStoresGetDeletedOperationResponse ¶
type ConfigurationStoresGetDeletedOperationResponse struct { HttpResponse *http.Response Model *DeletedConfigurationStore }
type ConfigurationStoresListDeletedCompleteResult ¶
type ConfigurationStoresListDeletedCompleteResult struct {
Items []DeletedConfigurationStore
}
type ConfigurationStoresListDeletedOperationResponse ¶
type ConfigurationStoresListDeletedOperationResponse struct { HttpResponse *http.Response Model *[]DeletedConfigurationStore // contains filtered or unexported fields }
func (ConfigurationStoresListDeletedOperationResponse) HasMore ¶
func (r ConfigurationStoresListDeletedOperationResponse) HasMore() bool
func (ConfigurationStoresListDeletedOperationResponse) LoadMore ¶
func (r ConfigurationStoresListDeletedOperationResponse) LoadMore(ctx context.Context) (resp ConfigurationStoresListDeletedOperationResponse, err error)
type ConfigurationStoresPurgeDeletedOperationResponse ¶
type ConfigurationStoresPurgeDeletedOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DeletedConfigurationStore ¶
type DeletedConfigurationStore struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *DeletedConfigurationStoreProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type DeletedConfigurationStoreId ¶
type DeletedConfigurationStoreId struct { SubscriptionId string LocationName string DeletedConfigurationStoreName string }
DeletedConfigurationStoreId is a struct representing the Resource ID for a Deleted Configuration Store
func NewDeletedConfigurationStoreID ¶
func NewDeletedConfigurationStoreID(subscriptionId string, locationName string, deletedConfigurationStoreName string) DeletedConfigurationStoreId
NewDeletedConfigurationStoreID returns a new DeletedConfigurationStoreId struct
func ParseDeletedConfigurationStoreID ¶
func ParseDeletedConfigurationStoreID(input string) (*DeletedConfigurationStoreId, error)
ParseDeletedConfigurationStoreID parses 'input' into a DeletedConfigurationStoreId
func ParseDeletedConfigurationStoreIDInsensitively ¶
func ParseDeletedConfigurationStoreIDInsensitively(input string) (*DeletedConfigurationStoreId, error)
ParseDeletedConfigurationStoreIDInsensitively parses 'input' case-insensitively into a DeletedConfigurationStoreId note: this method should only be used for API response data and not user input
func (DeletedConfigurationStoreId) ID ¶
func (id DeletedConfigurationStoreId) ID() string
ID returns the formatted Deleted Configuration Store ID
func (DeletedConfigurationStoreId) Segments ¶
func (id DeletedConfigurationStoreId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Deleted Configuration Store ID
func (DeletedConfigurationStoreId) String ¶
func (id DeletedConfigurationStoreId) String() string
String returns a human-readable description of this Deleted Configuration Store ID
type DeletedConfigurationStoreOperationPredicate ¶
func (DeletedConfigurationStoreOperationPredicate) Matches ¶
func (p DeletedConfigurationStoreOperationPredicate) Matches(input DeletedConfigurationStore) bool
type DeletedConfigurationStoreProperties ¶
type DeletedConfigurationStoreProperties struct { ConfigurationStoreId *string `json:"configurationStoreId,omitempty"` DeletionDate *string `json:"deletionDate,omitempty"` Location *string `json:"location,omitempty"` PurgeProtectionEnabled *bool `json:"purgeProtectionEnabled,omitempty"` ScheduledPurgeDate *string `json:"scheduledPurgeDate,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
func (*DeletedConfigurationStoreProperties) GetDeletionDateAsTime ¶
func (o *DeletedConfigurationStoreProperties) GetDeletionDateAsTime() (*time.Time, error)
func (*DeletedConfigurationStoreProperties) GetScheduledPurgeDateAsTime ¶
func (o *DeletedConfigurationStoreProperties) GetScheduledPurgeDateAsTime() (*time.Time, error)
func (*DeletedConfigurationStoreProperties) SetDeletionDateAsTime ¶
func (o *DeletedConfigurationStoreProperties) SetDeletionDateAsTime(input time.Time)
func (*DeletedConfigurationStoreProperties) SetScheduledPurgeDateAsTime ¶
func (o *DeletedConfigurationStoreProperties) SetScheduledPurgeDateAsTime(input time.Time)
type DeletedConfigurationStoresClient ¶
type DeletedConfigurationStoresClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewDeletedConfigurationStoresClientWithBaseURI ¶
func NewDeletedConfigurationStoresClientWithBaseURI(endpoint string) DeletedConfigurationStoresClient
func (DeletedConfigurationStoresClient) ConfigurationStoresGetDeleted ¶
func (c DeletedConfigurationStoresClient) ConfigurationStoresGetDeleted(ctx context.Context, id DeletedConfigurationStoreId) (result ConfigurationStoresGetDeletedOperationResponse, err error)
ConfigurationStoresGetDeleted ...
func (DeletedConfigurationStoresClient) ConfigurationStoresListDeleted ¶
func (c DeletedConfigurationStoresClient) ConfigurationStoresListDeleted(ctx context.Context, id commonids.SubscriptionId) (resp ConfigurationStoresListDeletedOperationResponse, err error)
ConfigurationStoresListDeleted ...
func (DeletedConfigurationStoresClient) ConfigurationStoresListDeletedComplete ¶
func (c DeletedConfigurationStoresClient) ConfigurationStoresListDeletedComplete(ctx context.Context, id commonids.SubscriptionId) (ConfigurationStoresListDeletedCompleteResult, error)
ConfigurationStoresListDeletedComplete retrieves all of the results into a single object
func (DeletedConfigurationStoresClient) ConfigurationStoresListDeletedCompleteMatchingPredicate ¶
func (c DeletedConfigurationStoresClient) ConfigurationStoresListDeletedCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate DeletedConfigurationStoreOperationPredicate) (resp ConfigurationStoresListDeletedCompleteResult, err error)
ConfigurationStoresListDeletedCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (DeletedConfigurationStoresClient) ConfigurationStoresPurgeDeleted ¶
func (c DeletedConfigurationStoresClient) ConfigurationStoresPurgeDeleted(ctx context.Context, id DeletedConfigurationStoreId) (result ConfigurationStoresPurgeDeletedOperationResponse, err error)
ConfigurationStoresPurgeDeleted ...
func (DeletedConfigurationStoresClient) ConfigurationStoresPurgeDeletedThenPoll ¶
func (c DeletedConfigurationStoresClient) ConfigurationStoresPurgeDeletedThenPoll(ctx context.Context, id DeletedConfigurationStoreId) error
ConfigurationStoresPurgeDeletedThenPoll performs ConfigurationStoresPurgeDeleted then polls until it's completed