checkfrontdoornameavailabilitywithsubscription

package
v0.20240214.1100807 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: MPL-2.0 Imports: 7 Imported by: 1

README

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

The checkfrontdoornameavailabilitywithsubscription SDK allows for interaction with the Azure Resource Manager Service frontdoor (API Version 2020-04-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-helpers/resourcemanager/commonids"
import "github.com/hashicorp/go-azure-sdk/resource-manager/frontdoor/2020-04-01/checkfrontdoornameavailabilitywithsubscription"

Client Initialization

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

Example Usage: CheckFrontDoorNameAvailabilityWithSubscriptionClient.CheckFrontDoorNameAvailabilityWithSubscription

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

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


read, err := client.CheckFrontDoorNameAvailabilityWithSubscription(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) CheckFrontDoorNameAvailabilityWithSubscription

CheckFrontDoorNameAvailabilityWithSubscription ...

type CheckFrontDoorNameAvailabilityWithSubscriptionOperationResponse

type CheckFrontDoorNameAvailabilityWithSubscriptionOperationResponse struct {
	HttpResponse *http.Response
	Model        *CheckNameAvailabilityOutput
}

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