README ¶
github.com/hashicorp/go-azure-sdk/resource-manager/purview/2021-07-01/provider
Documentation
The provider
SDK allows for interaction with the Azure Resource Manager Service purview
(API Version 2021-07-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/purview/2021-07-01/provider"
Client Initialization
client := provider.NewProviderClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer
Example Usage: ProviderClient.AccountsCheckNameAvailability
ctx := context.TODO()
id := provider.NewSubscriptionID()
payload := provider.CheckNameAvailabilityRequest{
// ...
}
read, err := client.AccountsCheckNameAvailability(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 PossibleValuesForReason ¶
func PossibleValuesForReason() []string
Types ¶
type AccountsCheckNameAvailabilityOperationResponse ¶
type AccountsCheckNameAvailabilityOperationResponse struct { HttpResponse *http.Response Model *CheckNameAvailabilityResult }
type ProviderClient ¶
func NewProviderClientWithBaseURI ¶
func NewProviderClientWithBaseURI(endpoint string) ProviderClient
func (ProviderClient) AccountsCheckNameAvailability ¶
func (c ProviderClient) AccountsCheckNameAvailability(ctx context.Context, id commonids.SubscriptionId, input CheckNameAvailabilityRequest) (result AccountsCheckNameAvailabilityOperationResponse, err error)
AccountsCheckNameAvailability ...
Click to show internal directories.
Click to hide internal directories.