README ¶
github.com/hashicorp/go-azure-sdk/resource-manager/healthcareapis/2022-12-01/proxy
Documentation
The proxy
SDK allows for interaction with the Azure Resource Manager Service healthcareapis
(API Version 2022-12-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/healthcareapis/2022-12-01/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 ProxyClient ¶
type ProxyClient struct {
Client *resourcemanager.Client
}
func NewProxyClientWithBaseURI ¶
func NewProxyClientWithBaseURI(sdkApi sdkEnv.Api) (*ProxyClient, error)
func (ProxyClient) ServicesCheckNameAvailability ¶
func (c ProxyClient) ServicesCheckNameAvailability(ctx context.Context, id commonids.SubscriptionId, input CheckNameAvailabilityParameters) (result ServicesCheckNameAvailabilityOperationResponse, err error)
ServicesCheckNameAvailability ...
type ServiceNameUnavailabilityReason ¶
type ServiceNameUnavailabilityReason string
const ()
func (*ServiceNameUnavailabilityReason) UnmarshalJSON ¶ added in v0.20230508.1101604
func (s *ServiceNameUnavailabilityReason) UnmarshalJSON(bytes []byte) error
type ServicesCheckNameAvailabilityOperationResponse ¶
type ServicesCheckNameAvailabilityOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ServicesNameAvailabilityInfo }
type ServicesNameAvailabilityInfo ¶
type ServicesNameAvailabilityInfo struct { Message *string `json:"message,omitempty"` NameAvailable *bool `json:"nameAvailable,omitempty"` Reason *ServiceNameUnavailabilityReason `json:"reason,omitempty"` }
Click to show internal directories.
Click to hide internal directories.