README ¶
github.com/hashicorp/go-azure-sdk/resource-manager/mysql/2021-12-01-preview/getprivatednszonesuffix
Documentation
The getprivatednszonesuffix
SDK allows for interaction with the Azure Resource Manager Service mysql
(API Version 2021-12-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/mysql/2021-12-01-preview/getprivatednszonesuffix"
Client Initialization
client := getprivatednszonesuffix.NewGetPrivateDnsZoneSuffixClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer
Example Usage: GetPrivateDnsZoneSuffixClient.Execute
ctx := context.TODO()
read, err := client.Execute(ctx)
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 ¶
This section is empty.
Types ¶
type ExecuteOperationResponse ¶
type ExecuteOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *GetPrivateDnsZoneSuffixResponse }
type GetPrivateDnsZoneSuffixClient ¶
type GetPrivateDnsZoneSuffixClient struct {
Client *resourcemanager.Client
}
func NewGetPrivateDnsZoneSuffixClientWithBaseURI ¶
func NewGetPrivateDnsZoneSuffixClientWithBaseURI(api environments.Api) (*GetPrivateDnsZoneSuffixClient, error)
func (GetPrivateDnsZoneSuffixClient) Execute ¶
func (c GetPrivateDnsZoneSuffixClient) Execute(ctx context.Context) (result ExecuteOperationResponse, err error)
Execute ...
type GetPrivateDnsZoneSuffixResponse ¶
type GetPrivateDnsZoneSuffixResponse struct {
PrivateDnsZoneSuffix *string `json:"privateDnsZoneSuffix,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.