deletedconfigurationstores

package
v0.20231205.1181718 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2023 License: MPL-2.0 Imports: 13 Imported by: 1

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

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
	OData        *odata.OData
	Model        *DeletedConfigurationStore
}

type ConfigurationStoresListDeletedCompleteResult

type ConfigurationStoresListDeletedCompleteResult struct {
	Items []DeletedConfigurationStore
}

type ConfigurationStoresListDeletedOperationResponse

type ConfigurationStoresListDeletedOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]DeletedConfigurationStore
}

type ConfigurationStoresPurgeDeletedOperationResponse

type ConfigurationStoresPurgeDeletedOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

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) FromParseResult added in v0.20231127.1171502

func (id *DeletedConfigurationStoreId) FromParseResult(input resourceids.ParseResult) error

func (DeletedConfigurationStoreId) ID

ID returns the formatted Deleted Configuration Store ID

func (DeletedConfigurationStoreId) Segments

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

type DeletedConfigurationStoreOperationPredicate struct {
	Id   *string
	Name *string
	Type *string
}

func (DeletedConfigurationStoreOperationPredicate) Matches

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 *resourcemanager.Client
}

func NewDeletedConfigurationStoresClientWithBaseURI

func NewDeletedConfigurationStoresClientWithBaseURI(sdkApi sdkEnv.Api) (*DeletedConfigurationStoresClient, error)

func (DeletedConfigurationStoresClient) ConfigurationStoresGetDeleted

ConfigurationStoresGetDeleted ...

func (DeletedConfigurationStoresClient) ConfigurationStoresListDeleted

ConfigurationStoresListDeleted ...

func (DeletedConfigurationStoresClient) ConfigurationStoresListDeletedComplete

ConfigurationStoresListDeletedComplete retrieves all the results into a single object

func (DeletedConfigurationStoresClient) ConfigurationStoresListDeletedCompleteMatchingPredicate

func (c DeletedConfigurationStoresClient) ConfigurationStoresListDeletedCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate DeletedConfigurationStoreOperationPredicate) (result ConfigurationStoresListDeletedCompleteResult, err error)

ConfigurationStoresListDeletedCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (DeletedConfigurationStoresClient) ConfigurationStoresPurgeDeleted

ConfigurationStoresPurgeDeleted ...

func (DeletedConfigurationStoresClient) ConfigurationStoresPurgeDeletedThenPoll

func (c DeletedConfigurationStoresClient) ConfigurationStoresPurgeDeletedThenPoll(ctx context.Context, id DeletedConfigurationStoreId) error

ConfigurationStoresPurgeDeletedThenPoll performs ConfigurationStoresPurgeDeleted then polls until it's completed

Jump to

Keyboard shortcuts

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