deletedconfigurationstores

package
v0.20230411.1183115 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2023 License: MPL-2.0 Imports: 12 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/appconfiguration/2022-05-01/deletedconfigurationstores Documentation

The deletedconfigurationstores SDK allows for interaction with the Azure Resource Manager Service appconfiguration (API Version 2022-05-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/2022-05-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
	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 (ConfigurationStoresListDeletedOperationResponse) LoadMore

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

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 autorest.Client
	// contains filtered or unexported fields
}

func NewDeletedConfigurationStoresClientWithBaseURI

func NewDeletedConfigurationStoresClientWithBaseURI(endpoint string) DeletedConfigurationStoresClient

func (DeletedConfigurationStoresClient) ConfigurationStoresGetDeleted

ConfigurationStoresGetDeleted ...

func (DeletedConfigurationStoresClient) ConfigurationStoresListDeleted

ConfigurationStoresListDeleted ...

func (DeletedConfigurationStoresClient) ConfigurationStoresListDeletedComplete

ConfigurationStoresListDeletedComplete retrieves all of the results into a single object

func (DeletedConfigurationStoresClient) ConfigurationStoresListDeletedCompleteMatchingPredicate

ConfigurationStoresListDeletedCompleteMatchingPredicate retrieves all of the results and then applied 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