README ¶
github.com/hashicorp/go-azure-sdk/resource-manager/frontdoor/2020-05-01/checkfrontdoornameavailability
Documentation
The checkfrontdoornameavailability
SDK allows for interaction with the Azure Resource Manager Service frontdoor
(API Version 2020-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/frontdoor/2020-05-01/checkfrontdoornameavailability"
Client Initialization
client := checkfrontdoornameavailability.NewCheckFrontDoorNameAvailabilityClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer
Example Usage: CheckFrontDoorNameAvailabilityClient.FrontDoorNameAvailabilityCheck
ctx := context.TODO()
payload := checkfrontdoornameavailability.CheckNameAvailabilityInput{
// ...
}
read, err := client.FrontDoorNameAvailabilityCheck(ctx, payload)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAvailability ¶
func PossibleValuesForAvailability() []string
func PossibleValuesForResourceType ¶
func PossibleValuesForResourceType() []string
Types ¶
type Availability ¶
type Availability string
const ( AvailabilityAvailable Availability = "Available" )
type CheckFrontDoorNameAvailabilityClient ¶
type CheckFrontDoorNameAvailabilityClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewCheckFrontDoorNameAvailabilityClientWithBaseURI ¶
func NewCheckFrontDoorNameAvailabilityClientWithBaseURI(endpoint string) CheckFrontDoorNameAvailabilityClient
func (CheckFrontDoorNameAvailabilityClient) FrontDoorNameAvailabilityCheck ¶
func (c CheckFrontDoorNameAvailabilityClient) FrontDoorNameAvailabilityCheck(ctx context.Context, input CheckNameAvailabilityInput) (result FrontDoorNameAvailabilityCheckOperationResponse, err error)
FrontDoorNameAvailabilityCheck ...
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 FrontDoorNameAvailabilityCheckOperationResponse ¶
type FrontDoorNameAvailabilityCheckOperationResponse struct { HttpResponse *http.Response Model *CheckNameAvailabilityOutput }
type ResourceType ¶
type ResourceType string
const ( ResourceTypeMicrosoftPointNetworkFrontDoors ResourceType = "Microsoft.Network/frontDoors" ResourceTypeMicrosoftPointNetworkFrontDoorsFrontendEndpoints ResourceType = "Microsoft.Network/frontDoors/frontendEndpoints" )
Click to show internal directories.
Click to hide internal directories.