checkfrontdoornameavailability

package
v0.20241023.1122425 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: MPL-2.0 Imports: 5 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/frontdoor/2020-05-01/checkfrontdoornameavailability Documentation

The checkfrontdoornameavailability SDK allows for interaction with Azure Resource Manager 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"
	AvailabilityUnavailable Availability = "Unavailable"
)

type CheckFrontDoorNameAvailabilityClient

type CheckFrontDoorNameAvailabilityClient struct {
	Client autorest.Client
	// contains filtered or unexported fields
}

func NewCheckFrontDoorNameAvailabilityClientWithBaseURI

func NewCheckFrontDoorNameAvailabilityClientWithBaseURI(endpoint string) CheckFrontDoorNameAvailabilityClient

func (CheckFrontDoorNameAvailabilityClient) FrontDoorNameAvailabilityCheck

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"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL