checkfrontdoornameavailabilitywithsubscription

package
v0.0.0-...-a81a29a Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2023 License: MPL-2.0 Imports: 7 Imported by: 0

README

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

The checkfrontdoornameavailabilitywithsubscription 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/checkfrontdoornameavailabilitywithsubscription"

Client Initialization

client := checkfrontdoornameavailabilitywithsubscription.NewCheckFrontDoorNameAvailabilityWithSubscriptionClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: CheckFrontDoorNameAvailabilityWithSubscriptionClient.FrontDoorNameAvailabilityWithSubscriptionCheck

ctx := context.TODO()
id := checkfrontdoornameavailabilitywithsubscription.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

payload := checkfrontdoornameavailabilitywithsubscription.CheckNameAvailabilityInput{
	// ...
}


read, err := client.FrontDoorNameAvailabilityWithSubscriptionCheck(ctx, id, 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 CheckFrontDoorNameAvailabilityWithSubscriptionClient

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

func NewCheckFrontDoorNameAvailabilityWithSubscriptionClientWithBaseURI

func NewCheckFrontDoorNameAvailabilityWithSubscriptionClientWithBaseURI(endpoint string) CheckFrontDoorNameAvailabilityWithSubscriptionClient

func (CheckFrontDoorNameAvailabilityWithSubscriptionClient) FrontDoorNameAvailabilityWithSubscriptionCheck

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 FrontDoorNameAvailabilityWithSubscriptionCheckOperationResponse

type FrontDoorNameAvailabilityWithSubscriptionCheckOperationResponse 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