proxy

package
v0.20230427.1141117 Latest Latest
Warning

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

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

README

github.com/hashicorp/go-azure-sdk/resource-manager/healthcareapis/2021-06-01-preview/proxy Documentation

The proxy SDK allows for interaction with the Azure Resource Manager Service healthcareapis (API Version 2021-06-01-preview).

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/healthcareapis/2021-06-01-preview/proxy"

Client Initialization

client := proxy.NewProxyClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: ProxyClient.ServicesCheckNameAvailability

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

payload := proxy.CheckNameAvailabilityParameters{
	// ...
}


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

func PossibleValuesForServiceNameUnavailabilityReason() []string

Types

type CheckNameAvailabilityParameters

type CheckNameAvailabilityParameters struct {
	Name string `json:"name"`
	Type string `json:"type"`
}

type ProxyClient

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

func NewProxyClientWithBaseURI

func NewProxyClientWithBaseURI(endpoint string) ProxyClient

func (ProxyClient) ServicesCheckNameAvailability

ServicesCheckNameAvailability ...

type ServiceNameUnavailabilityReason

type ServiceNameUnavailabilityReason string
const (
	ServiceNameUnavailabilityReasonAlreadyExists ServiceNameUnavailabilityReason = "AlreadyExists"
	ServiceNameUnavailabilityReasonInvalid       ServiceNameUnavailabilityReason = "Invalid"
)

type ServicesCheckNameAvailabilityOperationResponse

type ServicesCheckNameAvailabilityOperationResponse struct {
	HttpResponse *http.Response
	Model        *ServicesNameAvailabilityInfo
}

type ServicesNameAvailabilityInfo

type ServicesNameAvailabilityInfo struct {
	Message       *string                          `json:"message,omitempty"`
	NameAvailable *bool                            `json:"nameAvailable,omitempty"`
	Reason        *ServiceNameUnavailabilityReason `json:"reason,omitempty"`
}

Jump to

Keyboard shortcuts

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