privatedns

package
v26.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package privatedns implements the Azure ARM Privatedns service API version 2018-09-01.

The Private DNS Management Client.

Index

Constants

View Source
const (
	// DefaultBaseURI is the default URI used for the service Privatedns
	DefaultBaseURI = "https://management.azure.com"
)

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

Types

type ARecord

type ARecord struct {
	// Ipv4Address - The IPv4 address of this A record.
	Ipv4Address *string `json:"ipv4Address,omitempty"`
}

ARecord an A record.

type AaaaRecord

type AaaaRecord struct {
	// Ipv6Address - The IPv6 address of this AAAA record.
	Ipv6Address *string `json:"ipv6Address,omitempty"`
}

AaaaRecord an AAAA record.

type BaseClient

type BaseClient struct {
	autorest.Client
	BaseURI        string
	SubscriptionID string
}

BaseClient is the base client for Privatedns.

func New

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

type CloudError

type CloudError struct {
	// Error - The error message body
	Error *CloudErrorBody `json:"error,omitempty"`
}

CloudError an error message

type CloudErrorBody

type CloudErrorBody struct {
	// Code - The error code
	Code *string `json:"code,omitempty"`
	// Message - A description of what caused the error
	Message *string `json:"message,omitempty"`
	// Target - The target resource of the error message
	Target *string `json:"target,omitempty"`
	// Details - Extra error information
	Details *[]CloudErrorBody `json:"details,omitempty"`
}

CloudErrorBody the body of an error message

type CnameRecord

type CnameRecord struct {
	// Cname - The canonical name for this CNAME record.
	Cname *string `json:"cname,omitempty"`
}

CnameRecord a CNAME record.

type MxRecord

type MxRecord struct {
	// Preference - The preference value for this MX record.
	Preference *int32 `json:"preference,omitempty"`
	// Exchange - The domain name of the mail host for this MX record.
	Exchange *string `json:"exchange,omitempty"`
}

MxRecord an MX record.

type PrivateZone

type PrivateZone struct {
	autorest.Response `json:"-"`
	// Etag - The ETag of the zone.
	Etag *string `json:"etag,omitempty"`
	// PrivateZoneProperties - Properties of the Private DNS zone.
	*PrivateZoneProperties `json:"properties,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
	// Location - The Azure Region where the resource lives
	Location *string `json:"location,omitempty"`
	// ID - Fully qualified resource Id for the resource. Example - '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateDnsZoneName}'.
	ID *string `json:"id,omitempty"`
	// Name - The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - The type of the resource. Example - 'Microsoft.Network/privateDnsZones'.
	Type *string `json:"type,omitempty"`
}

PrivateZone describes a Private DNS zone.

func (PrivateZone) MarshalJSON

func (pz PrivateZone) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateZone.

func (*PrivateZone) UnmarshalJSON

func (pz *PrivateZone) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PrivateZone struct.

type PrivateZoneListResult

type PrivateZoneListResult struct {
	autorest.Response `json:"-"`
	// Value - Information about the Private DNS zones.
	Value *[]PrivateZone `json:"value,omitempty"`
	// NextLink - The continuation token for the next page of results.
	NextLink *string `json:"nextLink,omitempty"`
}

PrivateZoneListResult the response to a Private DNS zone list operation.

func (PrivateZoneListResult) IsEmpty

func (pzlr PrivateZoneListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type PrivateZoneListResultIterator

type PrivateZoneListResultIterator struct {
	// contains filtered or unexported fields
}

PrivateZoneListResultIterator provides access to a complete listing of PrivateZone values.

func NewPrivateZoneListResultIterator

func NewPrivateZoneListResultIterator(page PrivateZoneListResultPage) PrivateZoneListResultIterator

Creates a new instance of the PrivateZoneListResultIterator type.

func (*PrivateZoneListResultIterator) Next

func (iter *PrivateZoneListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PrivateZoneListResultIterator) NextWithContext

func (iter *PrivateZoneListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (PrivateZoneListResultIterator) NotDone

func (iter PrivateZoneListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (PrivateZoneListResultIterator) Response

Response returns the raw server response from the last page request.

func (PrivateZoneListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type PrivateZoneListResultPage

type PrivateZoneListResultPage struct {
	// contains filtered or unexported fields
}

PrivateZoneListResultPage contains a page of PrivateZone values.

func NewPrivateZoneListResultPage

func NewPrivateZoneListResultPage(getNextPage func(context.Context, PrivateZoneListResult) (PrivateZoneListResult, error)) PrivateZoneListResultPage

Creates a new instance of the PrivateZoneListResultPage type.

func (*PrivateZoneListResultPage) Next

func (page *PrivateZoneListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PrivateZoneListResultPage) NextWithContext

func (page *PrivateZoneListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (PrivateZoneListResultPage) NotDone

func (page PrivateZoneListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (PrivateZoneListResultPage) Response

Response returns the raw server response from the last page request.

func (PrivateZoneListResultPage) Values

func (page PrivateZoneListResultPage) Values() []PrivateZone

Values returns the slice of values for the current page or nil if there are no values.

type PrivateZoneProperties

type PrivateZoneProperties struct {
	// MaxNumberOfRecordSets - The maximum number of record sets that can be created in this Private DNS zone. This is a read-only property and any attempt to set this value will be ignored.
	MaxNumberOfRecordSets *int64 `json:"maxNumberOfRecordSets,omitempty"`
	// NumberOfRecordSets - The current number of record sets in this Private DNS zone. This is a read-only property and any attempt to set this value will be ignored.
	NumberOfRecordSets *int64 `json:"numberOfRecordSets,omitempty"`
	// MaxNumberOfVirtualNetworkLinks - The maximum number of virtual networks that can be linked to this Private DNS zone. This is a read-only property and any attempt to set this value will be ignored.
	MaxNumberOfVirtualNetworkLinks *int64 `json:"maxNumberOfVirtualNetworkLinks,omitempty"`
	// NumberOfVirtualNetworkLinks - The current number of virtual networks that are linked to this Private DNS zone. This is a read-only property and any attempt to set this value will be ignored.
	NumberOfVirtualNetworkLinks *int64 `json:"numberOfVirtualNetworkLinks,omitempty"`
	// MaxNumberOfVirtualNetworkLinksWithRegistration - The maximum number of virtual networks that can be linked to this Private DNS zone with registration enabled. This is a read-only property and any attempt to set this value will be ignored.
	MaxNumberOfVirtualNetworkLinksWithRegistration *int64 `json:"maxNumberOfVirtualNetworkLinksWithRegistration,omitempty"`
	// NumberOfVirtualNetworkLinksWithRegistration - The current number of virtual networks that are linked to this Private DNS zone with registration enabled. This is a read-only property and any attempt to set this value will be ignored.
	NumberOfVirtualNetworkLinksWithRegistration *int64 `json:"numberOfVirtualNetworkLinksWithRegistration,omitempty"`
	// ProvisioningState - The provisioning state of the resource. This is a read-only property and any attempt to set this value will be ignored. Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

PrivateZoneProperties represents the properties of the Private DNS zone.

type PrivateZonesClient

type PrivateZonesClient struct {
	BaseClient
}

PrivateZonesClient is the the Private DNS Management Client.

func NewPrivateZonesClient

func NewPrivateZonesClient(subscriptionID string) PrivateZonesClient

NewPrivateZonesClient creates an instance of the PrivateZonesClient client.

func NewPrivateZonesClientWithBaseURI

func NewPrivateZonesClientWithBaseURI(baseURI string, subscriptionID string) PrivateZonesClient

NewPrivateZonesClientWithBaseURI creates an instance of the PrivateZonesClient client.

func (PrivateZonesClient) CreateOrUpdate

func (client PrivateZonesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, privateZoneName string, parameters PrivateZone, ifMatch string, ifNoneMatch string) (result PrivateZonesCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates a Private DNS zone. Does not modify Links to virtual networks or DNS records within the zone. Parameters: resourceGroupName - the name of the resource group. privateZoneName - the name of the Private DNS zone (without a terminating dot). parameters - parameters supplied to the CreateOrUpdate operation. ifMatch - the ETag of the Private DNS zone. Omit this value to always overwrite the current zone. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. ifNoneMatch - set to '*' to allow a new Private DNS zone to be created, but to prevent updating an existing zone. Other values will be ignored.

func (PrivateZonesClient) CreateOrUpdatePreparer

func (client PrivateZonesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, privateZoneName string, parameters PrivateZone, ifMatch string, ifNoneMatch string) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (PrivateZonesClient) CreateOrUpdateResponder

func (client PrivateZonesClient) CreateOrUpdateResponder(resp *http.Response) (result PrivateZone, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (PrivateZonesClient) CreateOrUpdateSender

func (client PrivateZonesClient) CreateOrUpdateSender(req *http.Request) (future PrivateZonesCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (PrivateZonesClient) Delete

func (client PrivateZonesClient) Delete(ctx context.Context, resourceGroupName string, privateZoneName string, ifMatch string) (result PrivateZonesDeleteFuture, err error)

Delete deletes a Private DNS zone. WARNING: All DNS records in the zone will also be deleted. This operation cannot be undone. Private DNS zone cannot be deleted unless all virtual network links to it are removed. Parameters: resourceGroupName - the name of the resource group. privateZoneName - the name of the Private DNS zone (without a terminating dot). ifMatch - the ETag of the Private DNS zone. Omit this value to always delete the current zone. Specify the last-seen ETag value to prevent accidentally deleting any concurrent changes.

func (PrivateZonesClient) DeletePreparer

func (client PrivateZonesClient) DeletePreparer(ctx context.Context, resourceGroupName string, privateZoneName string, ifMatch string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (PrivateZonesClient) DeleteResponder

func (client PrivateZonesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (PrivateZonesClient) DeleteSender

func (client PrivateZonesClient) DeleteSender(req *http.Request) (future PrivateZonesDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (PrivateZonesClient) Get

func (client PrivateZonesClient) Get(ctx context.Context, resourceGroupName string, privateZoneName string) (result PrivateZone, err error)

Get gets a Private DNS zone. Retrieves the zone properties, but not the virtual networks links or the record sets within the zone. Parameters: resourceGroupName - the name of the resource group. privateZoneName - the name of the Private DNS zone (without a terminating dot).

func (PrivateZonesClient) GetPreparer

func (client PrivateZonesClient) GetPreparer(ctx context.Context, resourceGroupName string, privateZoneName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (PrivateZonesClient) GetResponder

func (client PrivateZonesClient) GetResponder(resp *http.Response) (result PrivateZone, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (PrivateZonesClient) GetSender

func (client PrivateZonesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (PrivateZonesClient) List

func (client PrivateZonesClient) List(ctx context.Context, top *int32) (result PrivateZoneListResultPage, err error)

List lists the Private DNS zones in all resource groups in a subscription. Parameters: top - the maximum number of Private DNS zones to return. If not specified, returns up to 100 zones.

func (PrivateZonesClient) ListByResourceGroup

func (client PrivateZonesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, top *int32) (result PrivateZoneListResultPage, err error)

ListByResourceGroup lists the Private DNS zones within a resource group. Parameters: resourceGroupName - the name of the resource group. top - the maximum number of record sets to return. If not specified, returns up to 100 record sets.

func (PrivateZonesClient) ListByResourceGroupComplete

func (client PrivateZonesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, top *int32) (result PrivateZoneListResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (PrivateZonesClient) ListByResourceGroupPreparer

func (client PrivateZonesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, top *int32) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (PrivateZonesClient) ListByResourceGroupResponder

func (client PrivateZonesClient) ListByResourceGroupResponder(resp *http.Response) (result PrivateZoneListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (PrivateZonesClient) ListByResourceGroupSender

func (client PrivateZonesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (PrivateZonesClient) ListComplete

func (client PrivateZonesClient) ListComplete(ctx context.Context, top *int32) (result PrivateZoneListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (PrivateZonesClient) ListPreparer

func (client PrivateZonesClient) ListPreparer(ctx context.Context, top *int32) (*http.Request, error)

ListPreparer prepares the List request.

func (PrivateZonesClient) ListResponder

func (client PrivateZonesClient) ListResponder(resp *http.Response) (result PrivateZoneListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (PrivateZonesClient) ListSender

func (client PrivateZonesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (PrivateZonesClient) Update

func (client PrivateZonesClient) Update(ctx context.Context, resourceGroupName string, privateZoneName string, parameters PrivateZone, ifMatch string) (result PrivateZonesUpdateFuture, err error)

Update updates a Private DNS zone. Does not modify virtual network links or DNS records within the zone. Parameters: resourceGroupName - the name of the resource group. privateZoneName - the name of the Private DNS zone (without a terminating dot). parameters - parameters supplied to the Update operation. ifMatch - the ETag of the Private DNS zone. Omit this value to always overwrite the current zone. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.

func (PrivateZonesClient) UpdatePreparer

func (client PrivateZonesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, privateZoneName string, parameters PrivateZone, ifMatch string) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (PrivateZonesClient) UpdateResponder

func (client PrivateZonesClient) UpdateResponder(resp *http.Response) (result PrivateZone, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (PrivateZonesClient) UpdateSender

func (client PrivateZonesClient) UpdateSender(req *http.Request) (future PrivateZonesUpdateFuture, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type PrivateZonesCreateOrUpdateFuture

type PrivateZonesCreateOrUpdateFuture struct {
	azure.Future
}

PrivateZonesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*PrivateZonesCreateOrUpdateFuture) Result

func (future *PrivateZonesCreateOrUpdateFuture) Result(client PrivateZonesClient) (pz PrivateZone, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type PrivateZonesDeleteFuture

type PrivateZonesDeleteFuture struct {
	azure.Future
}

PrivateZonesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*PrivateZonesDeleteFuture) Result

func (future *PrivateZonesDeleteFuture) Result(client PrivateZonesClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type PrivateZonesUpdateFuture

type PrivateZonesUpdateFuture struct {
	azure.Future
}

PrivateZonesUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*PrivateZonesUpdateFuture) Result

func (future *PrivateZonesUpdateFuture) Result(client PrivateZonesClient) (pz PrivateZone, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ProvisioningState

type ProvisioningState string

ProvisioningState enumerates the values for provisioning state.

const (
	// Canceled ...
	Canceled ProvisioningState = "Canceled"
	// Creating ...
	Creating ProvisioningState = "Creating"
	// Deleting ...
	Deleting ProvisioningState = "Deleting"
	// Failed ...
	Failed ProvisioningState = "Failed"
	// Succeeded ...
	Succeeded ProvisioningState = "Succeeded"
	// Updating ...
	Updating ProvisioningState = "Updating"
)

func PossibleProvisioningStateValues

func PossibleProvisioningStateValues() []ProvisioningState

PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.

type ProxyResource

type ProxyResource struct {
	// ID - Fully qualified resource Id for the resource. Example - '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateDnsZoneName}'.
	ID *string `json:"id,omitempty"`
	// Name - The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - The type of the resource. Example - 'Microsoft.Network/privateDnsZones'.
	Type *string `json:"type,omitempty"`
}

ProxyResource the resource model definition for an ARM proxy resource.

type PtrRecord

type PtrRecord struct {
	// Ptrdname - The PTR target domain name for this PTR record.
	Ptrdname *string `json:"ptrdname,omitempty"`
}

PtrRecord a PTR record.

type RecordSet

type RecordSet struct {
	autorest.Response `json:"-"`
	// Etag - The ETag of the record set.
	Etag *string `json:"etag,omitempty"`
	// RecordSetProperties - The properties of the record set.
	*RecordSetProperties `json:"properties,omitempty"`
	// ID - Fully qualified resource Id for the resource. Example - '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateDnsZoneName}'.
	ID *string `json:"id,omitempty"`
	// Name - The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - The type of the resource. Example - 'Microsoft.Network/privateDnsZones'.
	Type *string `json:"type,omitempty"`
}

RecordSet describes a DNS record set (a collection of DNS records with the same name and type) in a Private DNS zone.

func (RecordSet) MarshalJSON

func (rs RecordSet) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RecordSet.

func (*RecordSet) UnmarshalJSON

func (rs *RecordSet) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for RecordSet struct.

type RecordSetListResult

type RecordSetListResult struct {
	autorest.Response `json:"-"`
	// Value - Information about the record sets in the response.
	Value *[]RecordSet `json:"value,omitempty"`
	// NextLink - The continuation token for the next page of results.
	NextLink *string `json:"nextLink,omitempty"`
}

RecordSetListResult the response to a record set list operation.

func (RecordSetListResult) IsEmpty

func (rslr RecordSetListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type RecordSetListResultIterator

type RecordSetListResultIterator struct {
	// contains filtered or unexported fields
}

RecordSetListResultIterator provides access to a complete listing of RecordSet values.

func NewRecordSetListResultIterator

func NewRecordSetListResultIterator(page RecordSetListResultPage) RecordSetListResultIterator

Creates a new instance of the RecordSetListResultIterator type.

func (*RecordSetListResultIterator) Next

func (iter *RecordSetListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*RecordSetListResultIterator) NextWithContext

func (iter *RecordSetListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (RecordSetListResultIterator) NotDone

func (iter RecordSetListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (RecordSetListResultIterator) Response

Response returns the raw server response from the last page request.

func (RecordSetListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type RecordSetListResultPage

type RecordSetListResultPage struct {
	// contains filtered or unexported fields
}

RecordSetListResultPage contains a page of RecordSet values.

func NewRecordSetListResultPage

func NewRecordSetListResultPage(getNextPage func(context.Context, RecordSetListResult) (RecordSetListResult, error)) RecordSetListResultPage

Creates a new instance of the RecordSetListResultPage type.

func (*RecordSetListResultPage) Next

func (page *RecordSetListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*RecordSetListResultPage) NextWithContext

func (page *RecordSetListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (RecordSetListResultPage) NotDone

func (page RecordSetListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (RecordSetListResultPage) Response

Response returns the raw server response from the last page request.

func (RecordSetListResultPage) Values

func (page RecordSetListResultPage) Values() []RecordSet

Values returns the slice of values for the current page or nil if there are no values.

type RecordSetProperties

type RecordSetProperties struct {
	// Metadata - The metadata attached to the record set.
	Metadata map[string]*string `json:"metadata"`
	// TTL - The TTL (time-to-live) of the records in the record set.
	TTL *int64 `json:"ttl,omitempty"`
	// Fqdn - Fully qualified domain name of the record set.
	Fqdn *string `json:"fqdn,omitempty"`
	// IsAutoRegistered - Is the record set auto-registered in the Private DNS zone through a virtual network link?
	IsAutoRegistered *bool `json:"isAutoRegistered,omitempty"`
	// ARecords - The list of A records in the record set.
	ARecords *[]ARecord `json:"aRecords,omitempty"`
	// AaaaRecords - The list of AAAA records in the record set.
	AaaaRecords *[]AaaaRecord `json:"aaaaRecords,omitempty"`
	// CnameRecord - The CNAME record in the record set.
	CnameRecord *CnameRecord `json:"cnameRecord,omitempty"`
	// MxRecords - The list of MX records in the record set.
	MxRecords *[]MxRecord `json:"mxRecords,omitempty"`
	// PtrRecords - The list of PTR records in the record set.
	PtrRecords *[]PtrRecord `json:"ptrRecords,omitempty"`
	// SoaRecord - The SOA record in the record set.
	SoaRecord *SoaRecord `json:"soaRecord,omitempty"`
	// SrvRecords - The list of SRV records in the record set.
	SrvRecords *[]SrvRecord `json:"srvRecords,omitempty"`
	// TxtRecords - The list of TXT records in the record set.
	TxtRecords *[]TxtRecord `json:"txtRecords,omitempty"`
}

RecordSetProperties represents the properties of the records in the record set.

func (RecordSetProperties) MarshalJSON

func (rsp RecordSetProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RecordSetProperties.

type RecordSetsClient

type RecordSetsClient struct {
	BaseClient
}

RecordSetsClient is the the Private DNS Management Client.

func NewRecordSetsClient

func NewRecordSetsClient(subscriptionID string) RecordSetsClient

NewRecordSetsClient creates an instance of the RecordSetsClient client.

func NewRecordSetsClientWithBaseURI

func NewRecordSetsClientWithBaseURI(baseURI string, subscriptionID string) RecordSetsClient

NewRecordSetsClientWithBaseURI creates an instance of the RecordSetsClient client.

func (RecordSetsClient) CreateOrUpdate

func (client RecordSetsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, privateZoneName string, recordType RecordType, relativeRecordSetName string, parameters RecordSet, ifMatch string, ifNoneMatch string) (result RecordSet, err error)

CreateOrUpdate creates or updates a record set within a Private DNS zone. Parameters: resourceGroupName - the name of the resource group. privateZoneName - the name of the Private DNS zone (without a terminating dot). recordType - the type of DNS record in this record set. Record sets of type SOA can be updated but not created (they are created when the Private DNS zone is created). relativeRecordSetName - the name of the record set, relative to the name of the zone. parameters - parameters supplied to the CreateOrUpdate operation. ifMatch - the ETag of the record set. Omit this value to always overwrite the current record set. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. ifNoneMatch - set to '*' to allow a new record set to be created, but to prevent updating an existing record set. Other values will be ignored.

func (RecordSetsClient) CreateOrUpdatePreparer

func (client RecordSetsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, privateZoneName string, recordType RecordType, relativeRecordSetName string, parameters RecordSet, ifMatch string, ifNoneMatch string) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (RecordSetsClient) CreateOrUpdateResponder

func (client RecordSetsClient) CreateOrUpdateResponder(resp *http.Response) (result RecordSet, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (RecordSetsClient) CreateOrUpdateSender

func (client RecordSetsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (RecordSetsClient) Delete

func (client RecordSetsClient) Delete(ctx context.Context, resourceGroupName string, privateZoneName string, recordType RecordType, relativeRecordSetName string, ifMatch string) (result autorest.Response, err error)

Delete deletes a record set from a Private DNS zone. This operation cannot be undone. Parameters: resourceGroupName - the name of the resource group. privateZoneName - the name of the Private DNS zone (without a terminating dot). recordType - the type of DNS record in this record set. Record sets of type SOA cannot be deleted (they are deleted when the Private DNS zone is deleted). relativeRecordSetName - the name of the record set, relative to the name of the zone. ifMatch - the ETag of the record set. Omit this value to always delete the current record set. Specify the last-seen ETag value to prevent accidentally deleting any concurrent changes.

func (RecordSetsClient) DeletePreparer

func (client RecordSetsClient) DeletePreparer(ctx context.Context, resourceGroupName string, privateZoneName string, recordType RecordType, relativeRecordSetName string, ifMatch string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (RecordSetsClient) DeleteResponder

func (client RecordSetsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (RecordSetsClient) DeleteSender

func (client RecordSetsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (RecordSetsClient) Get

func (client RecordSetsClient) Get(ctx context.Context, resourceGroupName string, privateZoneName string, recordType RecordType, relativeRecordSetName string) (result RecordSet, err error)

Get gets a record set. Parameters: resourceGroupName - the name of the resource group. privateZoneName - the name of the Private DNS zone (without a terminating dot). recordType - the type of DNS record in this record set. relativeRecordSetName - the name of the record set, relative to the name of the zone.

func (RecordSetsClient) GetPreparer

func (client RecordSetsClient) GetPreparer(ctx context.Context, resourceGroupName string, privateZoneName string, recordType RecordType, relativeRecordSetName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (RecordSetsClient) GetResponder

func (client RecordSetsClient) GetResponder(resp *http.Response) (result RecordSet, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (RecordSetsClient) GetSender

func (client RecordSetsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (RecordSetsClient) List

func (client RecordSetsClient) List(ctx context.Context, resourceGroupName string, privateZoneName string, top *int32, recordsetnamesuffix string) (result RecordSetListResultPage, err error)

List lists all record sets in a Private DNS zone. Parameters: resourceGroupName - the name of the resource group. privateZoneName - the name of the Private DNS zone (without a terminating dot). top - the maximum number of record sets to return. If not specified, returns up to 100 record sets. recordsetnamesuffix - the suffix label of the record set name to be used to filter the record set enumeration. If this parameter is specified, the returned enumeration will only contain records that end with ".<recordsetnamesuffix>".

func (RecordSetsClient) ListByType

func (client RecordSetsClient) ListByType(ctx context.Context, resourceGroupName string, privateZoneName string, recordType RecordType, top *int32, recordsetnamesuffix string) (result RecordSetListResultPage, err error)

ListByType lists the record sets of a specified type in a Private DNS zone. Parameters: resourceGroupName - the name of the resource group. privateZoneName - the name of the Private DNS zone (without a terminating dot). recordType - the type of record sets to enumerate. top - the maximum number of record sets to return. If not specified, returns up to 100 record sets. recordsetnamesuffix - the suffix label of the record set name to be used to filter the record set enumeration. If this parameter is specified, the returned enumeration will only contain records that end with ".<recordsetnamesuffix>".

func (RecordSetsClient) ListByTypeComplete

func (client RecordSetsClient) ListByTypeComplete(ctx context.Context, resourceGroupName string, privateZoneName string, recordType RecordType, top *int32, recordsetnamesuffix string) (result RecordSetListResultIterator, err error)

ListByTypeComplete enumerates all values, automatically crossing page boundaries as required.

func (RecordSetsClient) ListByTypePreparer

func (client RecordSetsClient) ListByTypePreparer(ctx context.Context, resourceGroupName string, privateZoneName string, recordType RecordType, top *int32, recordsetnamesuffix string) (*http.Request, error)

ListByTypePreparer prepares the ListByType request.

func (RecordSetsClient) ListByTypeResponder

func (client RecordSetsClient) ListByTypeResponder(resp *http.Response) (result RecordSetListResult, err error)

ListByTypeResponder handles the response to the ListByType request. The method always closes the http.Response Body.

func (RecordSetsClient) ListByTypeSender

func (client RecordSetsClient) ListByTypeSender(req *http.Request) (*http.Response, error)

ListByTypeSender sends the ListByType request. The method will close the http.Response Body if it receives an error.

func (RecordSetsClient) ListComplete

func (client RecordSetsClient) ListComplete(ctx context.Context, resourceGroupName string, privateZoneName string, top *int32, recordsetnamesuffix string) (result RecordSetListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (RecordSetsClient) ListPreparer

func (client RecordSetsClient) ListPreparer(ctx context.Context, resourceGroupName string, privateZoneName string, top *int32, recordsetnamesuffix string) (*http.Request, error)

ListPreparer prepares the List request.

func (RecordSetsClient) ListResponder

func (client RecordSetsClient) ListResponder(resp *http.Response) (result RecordSetListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (RecordSetsClient) ListSender

func (client RecordSetsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (RecordSetsClient) Update

func (client RecordSetsClient) Update(ctx context.Context, resourceGroupName string, privateZoneName string, recordType RecordType, relativeRecordSetName string, parameters RecordSet, ifMatch string) (result RecordSet, err error)

Update updates a record set within a Private DNS zone. Parameters: resourceGroupName - the name of the resource group. privateZoneName - the name of the Private DNS zone (without a terminating dot). recordType - the type of DNS record in this record set. relativeRecordSetName - the name of the record set, relative to the name of the zone. parameters - parameters supplied to the Update operation. ifMatch - the ETag of the record set. Omit this value to always overwrite the current record set. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.

func (RecordSetsClient) UpdatePreparer

func (client RecordSetsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, privateZoneName string, recordType RecordType, relativeRecordSetName string, parameters RecordSet, ifMatch string) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (RecordSetsClient) UpdateResponder

func (client RecordSetsClient) UpdateResponder(resp *http.Response) (result RecordSet, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (RecordSetsClient) UpdateSender

func (client RecordSetsClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type RecordType

type RecordType string

RecordType enumerates the values for record type.

const (
	// A ...
	A RecordType = "A"
	// AAAA ...
	AAAA RecordType = "AAAA"
	// CNAME ...
	CNAME RecordType = "CNAME"
	// MX ...
	MX RecordType = "MX"
	// PTR ...
	PTR RecordType = "PTR"
	// SOA ...
	SOA RecordType = "SOA"
	// SRV ...
	SRV RecordType = "SRV"
	// TXT ...
	TXT RecordType = "TXT"
)

func PossibleRecordTypeValues

func PossibleRecordTypeValues() []RecordType

PossibleRecordTypeValues returns an array of possible values for the RecordType const type.

type Resource

type Resource struct {
	// ID - Fully qualified resource Id for the resource. Example - '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateDnsZoneName}'.
	ID *string `json:"id,omitempty"`
	// Name - The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - The type of the resource. Example - 'Microsoft.Network/privateDnsZones'.
	Type *string `json:"type,omitempty"`
}

Resource the core properties of ARM resources

type SoaRecord

type SoaRecord struct {
	// Host - The domain name of the authoritative name server for this SOA record.
	Host *string `json:"host,omitempty"`
	// Email - The email contact for this SOA record.
	Email *string `json:"email,omitempty"`
	// SerialNumber - The serial number for this SOA record.
	SerialNumber *int64 `json:"serialNumber,omitempty"`
	// RefreshTime - The refresh value for this SOA record.
	RefreshTime *int64 `json:"refreshTime,omitempty"`
	// RetryTime - The retry time for this SOA record.
	RetryTime *int64 `json:"retryTime,omitempty"`
	// ExpireTime - The expire time for this SOA record.
	ExpireTime *int64 `json:"expireTime,omitempty"`
	// MinimumTTL - The minimum value for this SOA record. By convention this is used to determine the negative caching duration.
	MinimumTTL *int64 `json:"minimumTtl,omitempty"`
}

SoaRecord an SOA record.

type SrvRecord

type SrvRecord struct {
	// Priority - The priority value for this SRV record.
	Priority *int32 `json:"priority,omitempty"`
	// Weight - The weight value for this SRV record.
	Weight *int32 `json:"weight,omitempty"`
	// Port - The port value for this SRV record.
	Port *int32 `json:"port,omitempty"`
	// Target - The target domain name for this SRV record.
	Target *string `json:"target,omitempty"`
}

SrvRecord an SRV record.

type SubResource

type SubResource struct {
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

SubResource reference to another subresource.

type TrackedResource

type TrackedResource struct {
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
	// Location - The Azure Region where the resource lives
	Location *string `json:"location,omitempty"`
	// ID - Fully qualified resource Id for the resource. Example - '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateDnsZoneName}'.
	ID *string `json:"id,omitempty"`
	// Name - The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - The type of the resource. Example - 'Microsoft.Network/privateDnsZones'.
	Type *string `json:"type,omitempty"`
}

TrackedResource the resource model definition for a ARM tracked top level resource

func (TrackedResource) MarshalJSON

func (tr TrackedResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TrackedResource.

type TxtRecord

type TxtRecord struct {
	// Value - The text value of this TXT record.
	Value *[]string `json:"value,omitempty"`
}

TxtRecord a TXT record.

type VirtualNetworkLink struct {
	autorest.Response `json:"-"`
	// Etag - The ETag of the virtual network link.
	Etag *string `json:"etag,omitempty"`
	// VirtualNetworkLinkProperties - Properties of the virtual network link to the Private DNS zone.
	*VirtualNetworkLinkProperties `json:"properties,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
	// Location - The Azure Region where the resource lives
	Location *string `json:"location,omitempty"`
	// ID - Fully qualified resource Id for the resource. Example - '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateDnsZoneName}'.
	ID *string `json:"id,omitempty"`
	// Name - The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - The type of the resource. Example - 'Microsoft.Network/privateDnsZones'.
	Type *string `json:"type,omitempty"`
}

VirtualNetworkLink describes a link to virtual network for a Private DNS zone.

func (VirtualNetworkLink) MarshalJSON

func (vnl VirtualNetworkLink) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualNetworkLink.

func (*VirtualNetworkLink) UnmarshalJSON

func (vnl *VirtualNetworkLink) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VirtualNetworkLink struct.

type VirtualNetworkLinkListResult

type VirtualNetworkLinkListResult struct {
	autorest.Response `json:"-"`
	// Value - Information about the virtual network links to the Private DNS zones.
	Value *[]VirtualNetworkLink `json:"value,omitempty"`
	// NextLink - The continuation token for the next page of results.
	NextLink *string `json:"nextLink,omitempty"`
}

VirtualNetworkLinkListResult the response to a list virtual network link to Private DNS zone operation.

func (VirtualNetworkLinkListResult) IsEmpty

func (vnllr VirtualNetworkLinkListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type VirtualNetworkLinkListResultIterator

type VirtualNetworkLinkListResultIterator struct {
	// contains filtered or unexported fields
}

VirtualNetworkLinkListResultIterator provides access to a complete listing of VirtualNetworkLink values.

func NewVirtualNetworkLinkListResultIterator

func NewVirtualNetworkLinkListResultIterator(page VirtualNetworkLinkListResultPage) VirtualNetworkLinkListResultIterator

Creates a new instance of the VirtualNetworkLinkListResultIterator type.

func (*VirtualNetworkLinkListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VirtualNetworkLinkListResultIterator) NextWithContext

func (iter *VirtualNetworkLinkListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (VirtualNetworkLinkListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (VirtualNetworkLinkListResultIterator) Response

Response returns the raw server response from the last page request.

func (VirtualNetworkLinkListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type VirtualNetworkLinkListResultPage

type VirtualNetworkLinkListResultPage struct {
	// contains filtered or unexported fields
}

VirtualNetworkLinkListResultPage contains a page of VirtualNetworkLink values.

func NewVirtualNetworkLinkListResultPage

Creates a new instance of the VirtualNetworkLinkListResultPage type.

func (*VirtualNetworkLinkListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VirtualNetworkLinkListResultPage) NextWithContext

func (page *VirtualNetworkLinkListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (VirtualNetworkLinkListResultPage) NotDone

func (page VirtualNetworkLinkListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (VirtualNetworkLinkListResultPage) Response

Response returns the raw server response from the last page request.

func (VirtualNetworkLinkListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type VirtualNetworkLinkProperties

type VirtualNetworkLinkProperties struct {
	// VirtualNetwork - The reference of the virtual network.
	VirtualNetwork *SubResource `json:"virtualNetwork,omitempty"`
	// RegistrationEnabled - Is auto-registration of virtual machine records in the virtual network in the Private DNS zone enabled?
	RegistrationEnabled *bool `json:"registrationEnabled,omitempty"`
	// VirtualNetworkLinkState - The status of the virtual network link to the Private DNS zone. Possible values are 'InProgress' and 'Done'. This is a read-only property and any attempt to set this value will be ignored. Possible values include: 'InProgress', 'Completed'
	VirtualNetworkLinkState VirtualNetworkLinkState `json:"virtualNetworkLinkState,omitempty"`
	// ProvisioningState - The provisioning state of the resource. This is a read-only property and any attempt to set this value will be ignored. Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

VirtualNetworkLinkProperties represents the properties of the Private DNS zone.

type VirtualNetworkLinkState

type VirtualNetworkLinkState string

VirtualNetworkLinkState enumerates the values for virtual network link state.

const (
	// Completed ...
	Completed VirtualNetworkLinkState = "Completed"
	// InProgress ...
	InProgress VirtualNetworkLinkState = "InProgress"
)

func PossibleVirtualNetworkLinkStateValues

func PossibleVirtualNetworkLinkStateValues() []VirtualNetworkLinkState

PossibleVirtualNetworkLinkStateValues returns an array of possible values for the VirtualNetworkLinkState const type.

type VirtualNetworkLinksClient

type VirtualNetworkLinksClient struct {
	BaseClient
}

VirtualNetworkLinksClient is the the Private DNS Management Client.

func NewVirtualNetworkLinksClient

func NewVirtualNetworkLinksClient(subscriptionID string) VirtualNetworkLinksClient

NewVirtualNetworkLinksClient creates an instance of the VirtualNetworkLinksClient client.

func NewVirtualNetworkLinksClientWithBaseURI

func NewVirtualNetworkLinksClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworkLinksClient

NewVirtualNetworkLinksClientWithBaseURI creates an instance of the VirtualNetworkLinksClient client.

func (VirtualNetworkLinksClient) CreateOrUpdate

func (client VirtualNetworkLinksClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, privateZoneName string, virtualNetworkLinkName string, parameters VirtualNetworkLink, ifMatch string, ifNoneMatch string) (result VirtualNetworkLinksCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates a virtual network link to the specified Private DNS zone. Parameters: resourceGroupName - the name of the resource group. privateZoneName - the name of the Private DNS zone (without a terminating dot). virtualNetworkLinkName - the name of the virtual network link. parameters - parameters supplied to the CreateOrUpdate operation. ifMatch - the ETag of the virtual network link to the Private DNS zone. Omit this value to always overwrite the current virtual network link. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. ifNoneMatch - set to '*' to allow a new virtual network link to the Private DNS zone to be created, but to prevent updating an existing link. Other values will be ignored.

func (VirtualNetworkLinksClient) CreateOrUpdatePreparer

func (client VirtualNetworkLinksClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, privateZoneName string, virtualNetworkLinkName string, parameters VirtualNetworkLink, ifMatch string, ifNoneMatch string) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (VirtualNetworkLinksClient) CreateOrUpdateResponder

func (client VirtualNetworkLinksClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualNetworkLink, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (VirtualNetworkLinksClient) CreateOrUpdateSender

func (client VirtualNetworkLinksClient) CreateOrUpdateSender(req *http.Request) (future VirtualNetworkLinksCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (VirtualNetworkLinksClient) Delete

func (client VirtualNetworkLinksClient) Delete(ctx context.Context, resourceGroupName string, privateZoneName string, virtualNetworkLinkName string, ifMatch string) (result VirtualNetworkLinksDeleteFuture, err error)

Delete deletes a virtual network link to the specified Private DNS zone. WARNING: In case of a registration virtual network, all auto-registered DNS records in the zone for the virtual network will also be deleted. This operation cannot be undone. Parameters: resourceGroupName - the name of the resource group. privateZoneName - the name of the Private DNS zone (without a terminating dot). virtualNetworkLinkName - the name of the virtual network link. ifMatch - the ETag of the virtual network link to the Private DNS zone. Omit this value to always delete the current zone. Specify the last-seen ETag value to prevent accidentally deleting any concurrent changes.

func (VirtualNetworkLinksClient) DeletePreparer

func (client VirtualNetworkLinksClient) DeletePreparer(ctx context.Context, resourceGroupName string, privateZoneName string, virtualNetworkLinkName string, ifMatch string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (VirtualNetworkLinksClient) DeleteResponder

func (client VirtualNetworkLinksClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (VirtualNetworkLinksClient) DeleteSender

func (client VirtualNetworkLinksClient) DeleteSender(req *http.Request) (future VirtualNetworkLinksDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (VirtualNetworkLinksClient) Get

func (client VirtualNetworkLinksClient) Get(ctx context.Context, resourceGroupName string, privateZoneName string, virtualNetworkLinkName string) (result VirtualNetworkLink, err error)

Get gets a virtual network link to the specified Private DNS zone. Parameters: resourceGroupName - the name of the resource group. privateZoneName - the name of the Private DNS zone (without a terminating dot). virtualNetworkLinkName - the name of the virtual network link.

func (VirtualNetworkLinksClient) GetPreparer

func (client VirtualNetworkLinksClient) GetPreparer(ctx context.Context, resourceGroupName string, privateZoneName string, virtualNetworkLinkName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (VirtualNetworkLinksClient) GetResponder

func (client VirtualNetworkLinksClient) GetResponder(resp *http.Response) (result VirtualNetworkLink, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (VirtualNetworkLinksClient) GetSender

func (client VirtualNetworkLinksClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (VirtualNetworkLinksClient) List

func (client VirtualNetworkLinksClient) List(ctx context.Context, resourceGroupName string, privateZoneName string, top *int32) (result VirtualNetworkLinkListResultPage, err error)

List lists the virtual network links to the specified Private DNS zone. Parameters: resourceGroupName - the name of the resource group. privateZoneName - the name of the Private DNS zone (without a terminating dot). top - the maximum number of virtual network links to return. If not specified, returns up to 100 virtual network links.

func (VirtualNetworkLinksClient) ListComplete

func (client VirtualNetworkLinksClient) ListComplete(ctx context.Context, resourceGroupName string, privateZoneName string, top *int32) (result VirtualNetworkLinkListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (VirtualNetworkLinksClient) ListPreparer

func (client VirtualNetworkLinksClient) ListPreparer(ctx context.Context, resourceGroupName string, privateZoneName string, top *int32) (*http.Request, error)

ListPreparer prepares the List request.

func (VirtualNetworkLinksClient) ListResponder

func (client VirtualNetworkLinksClient) ListResponder(resp *http.Response) (result VirtualNetworkLinkListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (VirtualNetworkLinksClient) ListSender

func (client VirtualNetworkLinksClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (VirtualNetworkLinksClient) Update

func (client VirtualNetworkLinksClient) Update(ctx context.Context, resourceGroupName string, privateZoneName string, virtualNetworkLinkName string, parameters VirtualNetworkLink, ifMatch string) (result VirtualNetworkLinksUpdateFuture, err error)

Update updates a virtual network link to the specified Private DNS zone. Parameters: resourceGroupName - the name of the resource group. privateZoneName - the name of the Private DNS zone (without a terminating dot). virtualNetworkLinkName - the name of the virtual network link. parameters - parameters supplied to the Update operation. ifMatch - the ETag of the virtual network link to the Private DNS zone. Omit this value to always overwrite the current virtual network link. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.

func (VirtualNetworkLinksClient) UpdatePreparer

func (client VirtualNetworkLinksClient) UpdatePreparer(ctx context.Context, resourceGroupName string, privateZoneName string, virtualNetworkLinkName string, parameters VirtualNetworkLink, ifMatch string) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (VirtualNetworkLinksClient) UpdateResponder

func (client VirtualNetworkLinksClient) UpdateResponder(resp *http.Response) (result VirtualNetworkLink, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (VirtualNetworkLinksClient) UpdateSender

func (client VirtualNetworkLinksClient) UpdateSender(req *http.Request) (future VirtualNetworkLinksUpdateFuture, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type VirtualNetworkLinksCreateOrUpdateFuture

type VirtualNetworkLinksCreateOrUpdateFuture struct {
	azure.Future
}

VirtualNetworkLinksCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VirtualNetworkLinksCreateOrUpdateFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VirtualNetworkLinksDeleteFuture

type VirtualNetworkLinksDeleteFuture struct {
	azure.Future
}

VirtualNetworkLinksDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VirtualNetworkLinksDeleteFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VirtualNetworkLinksUpdateFuture

type VirtualNetworkLinksUpdateFuture struct {
	azure.Future
}

VirtualNetworkLinksUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VirtualNetworkLinksUpdateFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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