Documentation ¶
Index ¶
- func PossibleValuesForReplicaProvisioningState() []string
- func ValidateConfigurationStoreID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateReplicaID(input interface{}, key string) (warnings []string, errors []error)
- type ConfigurationStoreId
- type CreateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByConfigurationStoreCompleteResult
- type ListByConfigurationStoreOperationResponse
- type Replica
- type ReplicaId
- type ReplicaOperationPredicate
- type ReplicaProperties
- type ReplicaProvisioningState
- type ReplicasClient
- func (c ReplicasClient) Create(ctx context.Context, id ReplicaId, input Replica) (result CreateOperationResponse, err error)
- func (c ReplicasClient) CreateThenPoll(ctx context.Context, id ReplicaId, input Replica) error
- func (c ReplicasClient) Delete(ctx context.Context, id ReplicaId) (result DeleteOperationResponse, err error)
- func (c ReplicasClient) DeleteThenPoll(ctx context.Context, id ReplicaId) error
- func (c ReplicasClient) Get(ctx context.Context, id ReplicaId) (result GetOperationResponse, err error)
- func (c ReplicasClient) ListByConfigurationStore(ctx context.Context, id ConfigurationStoreId) (result ListByConfigurationStoreOperationResponse, err error)
- func (c ReplicasClient) ListByConfigurationStoreComplete(ctx context.Context, id ConfigurationStoreId) (ListByConfigurationStoreCompleteResult, error)
- func (c ReplicasClient) ListByConfigurationStoreCompleteMatchingPredicate(ctx context.Context, id ConfigurationStoreId, ...) (result ListByConfigurationStoreCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForReplicaProvisioningState ¶
func PossibleValuesForReplicaProvisioningState() []string
func ValidateConfigurationStoreID ¶
func ValidateConfigurationStoreID(input interface{}, key string) (warnings []string, errors []error)
ValidateConfigurationStoreID checks that 'input' can be parsed as a Configuration Store ID
func ValidateReplicaID ¶
ValidateReplicaID checks that 'input' can be parsed as a Replica ID
Types ¶
type ConfigurationStoreId ¶
type ConfigurationStoreId struct { SubscriptionId string ResourceGroupName string ConfigurationStoreName string }
ConfigurationStoreId is a struct representing the Resource ID for a Configuration Store
func NewConfigurationStoreID ¶
func NewConfigurationStoreID(subscriptionId string, resourceGroupName string, configurationStoreName string) ConfigurationStoreId
NewConfigurationStoreID returns a new ConfigurationStoreId struct
func ParseConfigurationStoreID ¶
func ParseConfigurationStoreID(input string) (*ConfigurationStoreId, error)
ParseConfigurationStoreID parses 'input' into a ConfigurationStoreId
func ParseConfigurationStoreIDInsensitively ¶
func ParseConfigurationStoreIDInsensitively(input string) (*ConfigurationStoreId, error)
ParseConfigurationStoreIDInsensitively parses 'input' case-insensitively into a ConfigurationStoreId note: this method should only be used for API response data and not user input
func (*ConfigurationStoreId) FromParseResult ¶ added in v0.20231127.1171502
func (id *ConfigurationStoreId) FromParseResult(input resourceids.ParseResult) error
func (ConfigurationStoreId) ID ¶
func (id ConfigurationStoreId) ID() string
ID returns the formatted Configuration Store ID
func (ConfigurationStoreId) Segments ¶
func (id ConfigurationStoreId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Configuration Store ID
func (ConfigurationStoreId) String ¶
func (id ConfigurationStoreId) String() string
String returns a human-readable description of this Configuration Store ID
type CreateOperationResponse ¶
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type Replica ¶
type Replica struct { Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *ReplicaProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type ReplicaId ¶
type ReplicaId struct { SubscriptionId string ResourceGroupName string ConfigurationStoreName string ReplicaName string }
ReplicaId is a struct representing the Resource ID for a Replica
func NewReplicaID ¶
func NewReplicaID(subscriptionId string, resourceGroupName string, configurationStoreName string, replicaName string) ReplicaId
NewReplicaID returns a new ReplicaId struct
func ParseReplicaID ¶
ParseReplicaID parses 'input' into a ReplicaId
func ParseReplicaIDInsensitively ¶
ParseReplicaIDInsensitively parses 'input' case-insensitively into a ReplicaId note: this method should only be used for API response data and not user input
func (*ReplicaId) FromParseResult ¶ added in v0.20231127.1171502
func (id *ReplicaId) FromParseResult(input resourceids.ParseResult) error
func (ReplicaId) Segments ¶
func (id ReplicaId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Replica ID
type ReplicaOperationPredicate ¶
func (ReplicaOperationPredicate) Matches ¶
func (p ReplicaOperationPredicate) Matches(input Replica) bool
type ReplicaProperties ¶
type ReplicaProperties struct { Endpoint *string `json:"endpoint,omitempty"` ProvisioningState *ReplicaProvisioningState `json:"provisioningState,omitempty"` }
type ReplicaProvisioningState ¶
type ReplicaProvisioningState string
const ( ReplicaProvisioningStateCanceled ReplicaProvisioningState = "Canceled" ReplicaProvisioningStateCreating ReplicaProvisioningState = "Creating" ReplicaProvisioningStateDeleting ReplicaProvisioningState = "Deleting" ReplicaProvisioningStateFailed ReplicaProvisioningState = "Failed" ReplicaProvisioningStateSucceeded ReplicaProvisioningState = "Succeeded" )
func (*ReplicaProvisioningState) UnmarshalJSON ¶ added in v0.20230503.1093249
func (s *ReplicaProvisioningState) UnmarshalJSON(bytes []byte) error
type ReplicasClient ¶
type ReplicasClient struct {
Client *resourcemanager.Client
}
func NewReplicasClientWithBaseURI ¶
func NewReplicasClientWithBaseURI(sdkApi sdkEnv.Api) (*ReplicasClient, error)
func (ReplicasClient) Create ¶
func (c ReplicasClient) Create(ctx context.Context, id ReplicaId, input Replica) (result CreateOperationResponse, err error)
Create ...
func (ReplicasClient) CreateThenPoll ¶
CreateThenPoll performs Create then polls until it's completed
func (ReplicasClient) Delete ¶
func (c ReplicasClient) Delete(ctx context.Context, id ReplicaId) (result DeleteOperationResponse, err error)
Delete ...
func (ReplicasClient) DeleteThenPoll ¶
func (c ReplicasClient) DeleteThenPoll(ctx context.Context, id ReplicaId) error
DeleteThenPoll performs Delete then polls until it's completed
func (ReplicasClient) Get ¶
func (c ReplicasClient) Get(ctx context.Context, id ReplicaId) (result GetOperationResponse, err error)
Get ...
func (ReplicasClient) ListByConfigurationStore ¶
func (c ReplicasClient) ListByConfigurationStore(ctx context.Context, id ConfigurationStoreId) (result ListByConfigurationStoreOperationResponse, err error)
ListByConfigurationStore ...
func (ReplicasClient) ListByConfigurationStoreComplete ¶
func (c ReplicasClient) ListByConfigurationStoreComplete(ctx context.Context, id ConfigurationStoreId) (ListByConfigurationStoreCompleteResult, error)
ListByConfigurationStoreComplete retrieves all the results into a single object
func (ReplicasClient) ListByConfigurationStoreCompleteMatchingPredicate ¶
func (c ReplicasClient) ListByConfigurationStoreCompleteMatchingPredicate(ctx context.Context, id ConfigurationStoreId, predicate ReplicaOperationPredicate) (result ListByConfigurationStoreCompleteResult, err error)
ListByConfigurationStoreCompleteMatchingPredicate retrieves all the results and then applies the predicate