dns

package
v0.20221213.1175541 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2022 License: MPL-2.0 Imports: 6 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/dns/2018-05-01/dns Documentation

The dns SDK allows for interaction with the Azure Resource Manager Service dns (API Version 2018-05-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/dns/2018-05-01/dns"

Client Initialization

client := dns.NewDnsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: DnsClient.DnsResourceReferenceGetByTargetResources

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

payload := dns.DnsResourceReferenceRequest{
	// ...
}


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

This section is empty.

Types

type DnsClient added in v0.20220815.1092453

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

func NewDnsClientWithBaseURI added in v0.20220815.1092453

func NewDnsClientWithBaseURI(endpoint string) DnsClient

func (DnsClient) DnsResourceReferenceGetByTargetResources added in v0.20220815.1092453

DnsResourceReferenceGetByTargetResources ...

type DnsResourceReference

type DnsResourceReference struct {
	DnsResources   *[]SubResource `json:"dnsResources,omitempty"`
	TargetResource *SubResource   `json:"targetResource,omitempty"`
}

type DnsResourceReferenceGetByTargetResourcesOperationResponse

type DnsResourceReferenceGetByTargetResourcesOperationResponse struct {
	HttpResponse *http.Response
	Model        *DnsResourceReferenceResult
}

type DnsResourceReferenceRequest

type DnsResourceReferenceRequest struct {
	Properties *DnsResourceReferenceRequestProperties `json:"properties,omitempty"`
}

type DnsResourceReferenceRequestProperties

type DnsResourceReferenceRequestProperties struct {
	TargetResources *[]SubResource `json:"targetResources,omitempty"`
}

type DnsResourceReferenceResult

type DnsResourceReferenceResult struct {
	Properties *DnsResourceReferenceResultProperties `json:"properties,omitempty"`
}

type DnsResourceReferenceResultProperties

type DnsResourceReferenceResultProperties struct {
	DnsResourceReferences *[]DnsResourceReference `json:"dnsResourceReferences,omitempty"`
}

type SubResource

type SubResource struct {
	Id *string `json:"id,omitempty"`
}

Jump to

Keyboard shortcuts

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