Documentation ¶
Index ¶
- func PossibleValuesForMigrationNameAvailabilityReason() []string
- func ValidateFlexibleServerID(input interface{}, key string) (warnings []string, errors []error)
- type CheckMigrationNameAvailabilityOperationResponse
- type CustomOperationClient
- type FlexibleServerId
- type MigrationNameAvailabilityReason
- type MigrationNameAvailabilityResource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForMigrationNameAvailabilityReason ¶
func PossibleValuesForMigrationNameAvailabilityReason() []string
func ValidateFlexibleServerID ¶
ValidateFlexibleServerID checks that 'input' can be parsed as a Flexible Server ID
Types ¶
type CheckMigrationNameAvailabilityOperationResponse ¶
type CheckMigrationNameAvailabilityOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *MigrationNameAvailabilityResource }
type CustomOperationClient ¶
type CustomOperationClient struct {
Client *resourcemanager.Client
}
func NewCustomOperationClientWithBaseURI ¶
func NewCustomOperationClientWithBaseURI(sdkApi sdkEnv.Api) (*CustomOperationClient, error)
func (CustomOperationClient) CheckMigrationNameAvailability ¶
func (c CustomOperationClient) CheckMigrationNameAvailability(ctx context.Context, id FlexibleServerId, input MigrationNameAvailabilityResource) (result CheckMigrationNameAvailabilityOperationResponse, err error)
CheckMigrationNameAvailability ...
type FlexibleServerId ¶
type FlexibleServerId struct { SubscriptionId string ResourceGroupName string FlexibleServerName string }
FlexibleServerId is a struct representing the Resource ID for a Flexible Server
func NewFlexibleServerID ¶
func NewFlexibleServerID(subscriptionId string, resourceGroupName string, flexibleServerName string) FlexibleServerId
NewFlexibleServerID returns a new FlexibleServerId struct
func ParseFlexibleServerID ¶
func ParseFlexibleServerID(input string) (*FlexibleServerId, error)
ParseFlexibleServerID parses 'input' into a FlexibleServerId
func ParseFlexibleServerIDInsensitively ¶
func ParseFlexibleServerIDInsensitively(input string) (*FlexibleServerId, error)
ParseFlexibleServerIDInsensitively parses 'input' case-insensitively into a FlexibleServerId note: this method should only be used for API response data and not user input
func (*FlexibleServerId) FromParseResult ¶ added in v0.20231127.1171502
func (id *FlexibleServerId) FromParseResult(input resourceids.ParseResult) error
func (FlexibleServerId) ID ¶
func (id FlexibleServerId) ID() string
ID returns the formatted Flexible Server ID
func (FlexibleServerId) Segments ¶
func (id FlexibleServerId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Flexible Server ID
func (FlexibleServerId) String ¶
func (id FlexibleServerId) String() string
String returns a human-readable description of this Flexible Server ID
type MigrationNameAvailabilityReason ¶
type MigrationNameAvailabilityReason string
const ( MigrationNameAvailabilityReasonAlreadyExists MigrationNameAvailabilityReason = "AlreadyExists" MigrationNameAvailabilityReasonInvalid MigrationNameAvailabilityReason = "Invalid" )
func (*MigrationNameAvailabilityReason) UnmarshalJSON ¶ added in v0.20230809.1081239
func (s *MigrationNameAvailabilityReason) UnmarshalJSON(bytes []byte) error
type MigrationNameAvailabilityResource ¶
type MigrationNameAvailabilityResource struct { Message *string `json:"message,omitempty"` Name string `json:"name"` NameAvailable *bool `json:"nameAvailable,omitempty"` Reason *MigrationNameAvailabilityReason `json:"reason,omitempty"` Type string `json:"type"` }