Documentation ¶
Index ¶
- func PossibleValuesForAvailability() []string
- func PossibleValuesForResourceType() []string
- func ValidateSubscriptionID(input interface{}, key string) (warnings []string, errors []error)
- type Availability
- type CheckFrontDoorNameAvailabilityWithSubscriptionClient
- type CheckNameAvailabilityInput
- type CheckNameAvailabilityOutput
- type FrontDoorNameAvailabilityWithSubscriptionCheckResponse
- type ResourceType
- type SubscriptionId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAvailability ¶
func PossibleValuesForAvailability() []string
func PossibleValuesForResourceType ¶
func PossibleValuesForResourceType() []string
func ValidateSubscriptionID ¶
ValidateSubscriptionID checks that 'input' can be parsed as a Subscription ID
Types ¶
type Availability ¶
type Availability string
const ( AvailabilityAvailable Availability = "Available" )
type CheckFrontDoorNameAvailabilityWithSubscriptionClient ¶
type CheckFrontDoorNameAvailabilityWithSubscriptionClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewCheckFrontDoorNameAvailabilityWithSubscriptionClientWithBaseURI ¶
func NewCheckFrontDoorNameAvailabilityWithSubscriptionClientWithBaseURI(endpoint string) CheckFrontDoorNameAvailabilityWithSubscriptionClient
func (CheckFrontDoorNameAvailabilityWithSubscriptionClient) FrontDoorNameAvailabilityWithSubscriptionCheck ¶
func (c CheckFrontDoorNameAvailabilityWithSubscriptionClient) FrontDoorNameAvailabilityWithSubscriptionCheck(ctx context.Context, id SubscriptionId, input CheckNameAvailabilityInput) (result FrontDoorNameAvailabilityWithSubscriptionCheckResponse, err error)
FrontDoorNameAvailabilityWithSubscriptionCheck ...
type CheckNameAvailabilityInput ¶
type CheckNameAvailabilityInput struct { Name string `json:"name"` Type ResourceType `json:"type"` }
type CheckNameAvailabilityOutput ¶
type CheckNameAvailabilityOutput struct { Message *string `json:"message,omitempty"` NameAvailability *Availability `json:"nameAvailability,omitempty"` Reason *string `json:"reason,omitempty"` }
type FrontDoorNameAvailabilityWithSubscriptionCheckResponse ¶
type FrontDoorNameAvailabilityWithSubscriptionCheckResponse struct { HttpResponse *http.Response Model *CheckNameAvailabilityOutput }
type ResourceType ¶
type ResourceType string
const ( ResourceTypeMicrosoftPointNetworkFrontDoors ResourceType = "Microsoft.Network/frontDoors" ResourceTypeMicrosoftPointNetworkFrontDoorsFrontendEndpoints ResourceType = "Microsoft.Network/frontDoors/frontendEndpoints" )
type SubscriptionId ¶
type SubscriptionId struct {
SubscriptionId string
}
SubscriptionId is a struct representing the Resource ID for a Subscription
func NewSubscriptionID ¶
func NewSubscriptionID(subscriptionId string) SubscriptionId
NewSubscriptionID returns a new SubscriptionId struct
func ParseSubscriptionID ¶
func ParseSubscriptionID(input string) (*SubscriptionId, error)
ParseSubscriptionID parses 'input' into a SubscriptionId
func ParseSubscriptionIDInsensitively ¶
func ParseSubscriptionIDInsensitively(input string) (*SubscriptionId, error)
ParseSubscriptionIDInsensitively parses 'input' case-insensitively into a SubscriptionId note: this method should only be used for API response data and not user input
func (SubscriptionId) ID ¶
func (id SubscriptionId) ID() string
ID returns the formatted Subscription ID
func (SubscriptionId) Segments ¶
func (id SubscriptionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Subscription ID
func (SubscriptionId) String ¶
func (id SubscriptionId) String() string
String returns a human-readable description of this Subscription ID