azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/privatedns/mgmt/2018-09-01/privatedns Index | Files | Directories

package privatedns

import "github.com/Azure/azure-sdk-for-go/services/privatedns/mgmt/2018-09-01/privatedns"

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

The Private DNS Management Client.

Index

Package Files

client.go models.go privatezones.go recordsets.go version.go virtualnetworklinks.go

Constants

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

func UserAgent Uses

func UserAgent() string

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

func Version Uses

func Version() string

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

type ARecord Uses

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

ARecord an A record.

type AaaaRecord Uses

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

AaaaRecord an AAAA record.

type BaseClient Uses

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

BaseClient is the base client for Privatedns.

func New Uses

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI Uses

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

type CloudError Uses

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

CloudError an error message

type CloudErrorBody Uses

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 Uses

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

CnameRecord a CNAME record.

type MxRecord Uses

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 Uses

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 - READ-ONLY; Fully qualified resource Id for the resource. Example - '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateDnsZoneName}'.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. Example - 'Microsoft.Network/privateDnsZones'.
    Type *string `json:"type,omitempty"`
}

PrivateZone describes a Private DNS zone.

func (PrivateZone) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for PrivateZone.

func (*PrivateZone) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for PrivateZone struct.

type PrivateZoneListResult Uses

type PrivateZoneListResult struct {
    autorest.Response `json:"-"`
    // Value - Information about the Private DNS zones.
    Value *[]PrivateZone `json:"value,omitempty"`
    // NextLink - READ-ONLY; 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 Uses

func (pzlr PrivateZoneListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type PrivateZoneListResultIterator Uses

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

PrivateZoneListResultIterator provides access to a complete listing of PrivateZone values.

func NewPrivateZoneListResultIterator Uses

func NewPrivateZoneListResultIterator(page PrivateZoneListResultPage) PrivateZoneListResultIterator

Creates a new instance of the PrivateZoneListResultIterator type.

func (*PrivateZoneListResultIterator) Next Uses

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 Uses

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 Uses

func (iter PrivateZoneListResultIterator) NotDone() bool

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

func (PrivateZoneListResultIterator) Response Uses

func (iter PrivateZoneListResultIterator) Response() PrivateZoneListResult

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

func (PrivateZoneListResultIterator) Value Uses

func (iter PrivateZoneListResultIterator) Value() PrivateZone

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

type PrivateZoneListResultPage Uses

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

PrivateZoneListResultPage contains a page of PrivateZone values.

func NewPrivateZoneListResultPage Uses

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

Creates a new instance of the PrivateZoneListResultPage type.

func (*PrivateZoneListResultPage) Next Uses

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 Uses

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 Uses

func (page PrivateZoneListResultPage) NotDone() bool

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

func (PrivateZoneListResultPage) Response Uses

func (page PrivateZoneListResultPage) Response() PrivateZoneListResult

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

func (PrivateZoneListResultPage) Values Uses

func (page PrivateZoneListResultPage) Values() []PrivateZone

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

type PrivateZoneProperties Uses

type PrivateZoneProperties struct {
    // MaxNumberOfRecordSets - READ-ONLY; 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 - READ-ONLY; 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 - READ-ONLY; 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 - READ-ONLY; 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 - READ-ONLY; 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 - READ-ONLY; 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 - READ-ONLY; 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 Uses

type PrivateZonesClient struct {
    BaseClient
}

PrivateZonesClient is the the Private DNS Management Client.

func NewPrivateZonesClient Uses

func NewPrivateZonesClient(subscriptionID string) PrivateZonesClient

NewPrivateZonesClient creates an instance of the PrivateZonesClient client.

func NewPrivateZonesClientWithBaseURI Uses

func NewPrivateZonesClientWithBaseURI(baseURI string, subscriptionID string) PrivateZonesClient

NewPrivateZonesClientWithBaseURI creates an instance of the PrivateZonesClient client.

func (PrivateZonesClient) CreateOrUpdate Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

DeletePreparer prepares the Delete request.

func (PrivateZonesClient) DeleteResponder Uses

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 Uses

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 Uses

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 Uses

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

GetPreparer prepares the Get request.

func (PrivateZonesClient) GetResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (PrivateZonesClient) ListByResourceGroupResponder Uses

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 Uses

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 Uses

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 Uses

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

ListPreparer prepares the List request.

func (PrivateZonesClient) ListResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

type PrivateZonesCreateOrUpdateFuture struct {
    azure.Future
}

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

func (*PrivateZonesCreateOrUpdateFuture) Result Uses

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 Uses

type PrivateZonesDeleteFuture struct {
    azure.Future
}

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

func (*PrivateZonesDeleteFuture) Result Uses

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 Uses

type PrivateZonesUpdateFuture struct {
    azure.Future
}

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

func (*PrivateZonesUpdateFuture) Result Uses

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 Uses

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 Uses

func PossibleProvisioningStateValues() []ProvisioningState

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

type ProxyResource Uses

type ProxyResource struct {
    // ID - READ-ONLY; Fully qualified resource Id for the resource. Example - '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateDnsZoneName}'.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; 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 Uses

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

PtrRecord a PTR record.

type RecordSet Uses

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 - READ-ONLY; Fully qualified resource Id for the resource. Example - '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateDnsZoneName}'.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; 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 Uses

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

MarshalJSON is the custom marshaler for RecordSet.

func (*RecordSet) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for RecordSet struct.

type RecordSetListResult Uses

type RecordSetListResult struct {
    autorest.Response `json:"-"`
    // Value - Information about the record sets in the response.
    Value *[]RecordSet `json:"value,omitempty"`
    // NextLink - READ-ONLY; 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 Uses

func (rslr RecordSetListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type RecordSetListResultIterator Uses

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

RecordSetListResultIterator provides access to a complete listing of RecordSet values.

func NewRecordSetListResultIterator Uses

func NewRecordSetListResultIterator(page RecordSetListResultPage) RecordSetListResultIterator

Creates a new instance of the RecordSetListResultIterator type.

func (*RecordSetListResultIterator) Next Uses

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 Uses

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 Uses

func (iter RecordSetListResultIterator) NotDone() bool

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

func (RecordSetListResultIterator) Response Uses

func (iter RecordSetListResultIterator) Response() RecordSetListResult

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

func (RecordSetListResultIterator) Value Uses

func (iter RecordSetListResultIterator) Value() RecordSet

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

type RecordSetListResultPage Uses

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

RecordSetListResultPage contains a page of RecordSet values.

func NewRecordSetListResultPage Uses

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

Creates a new instance of the RecordSetListResultPage type.

func (*RecordSetListResultPage) Next Uses

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 Uses

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 Uses

func (page RecordSetListResultPage) NotDone() bool

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

func (RecordSetListResultPage) Response Uses

func (page RecordSetListResultPage) Response() RecordSetListResult

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

func (RecordSetListResultPage) Values Uses

func (page RecordSetListResultPage) Values() []RecordSet

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

type RecordSetProperties Uses

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 - READ-ONLY; Fully qualified domain name of the record set.
    Fqdn *string `json:"fqdn,omitempty"`
    // IsAutoRegistered - READ-ONLY; 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 Uses

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

MarshalJSON is the custom marshaler for RecordSetProperties.

type RecordSetsClient Uses

type RecordSetsClient struct {
    BaseClient
}

RecordSetsClient is the the Private DNS Management Client.

func NewRecordSetsClient Uses

func NewRecordSetsClient(subscriptionID string) RecordSetsClient

NewRecordSetsClient creates an instance of the RecordSetsClient client.

func NewRecordSetsClientWithBaseURI Uses

func NewRecordSetsClientWithBaseURI(baseURI string, subscriptionID string) RecordSetsClient

NewRecordSetsClientWithBaseURI creates an instance of the RecordSetsClient client.

func (RecordSetsClient) CreateOrUpdate Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

func PossibleRecordTypeValues() []RecordType

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

type Resource Uses

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

Resource the core properties of ARM resources

type SoaRecord Uses

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 Uses

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 Uses

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

SubResource reference to another subresource.

type TrackedResource Uses

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 - READ-ONLY; Fully qualified resource Id for the resource. Example - '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateDnsZoneName}'.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; 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 Uses

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

MarshalJSON is the custom marshaler for TrackedResource.

type TxtRecord Uses

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 - READ-ONLY; Fully qualified resource Id for the resource. Example - '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateDnsZoneName}'.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; 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 Uses

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

MarshalJSON is the custom marshaler for VirtualNetworkLink.

func (*VirtualNetworkLink) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for VirtualNetworkLink struct.

type VirtualNetworkLinkListResult Uses

type VirtualNetworkLinkListResult struct {
    autorest.Response `json:"-"`
    // Value - Information about the virtual network links to the Private DNS zones.
    Value *[]VirtualNetworkLink `json:"value,omitempty"`
    // NextLink - READ-ONLY; 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 Uses

func (vnllr VirtualNetworkLinkListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type VirtualNetworkLinkListResultIterator Uses

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

VirtualNetworkLinkListResultIterator provides access to a complete listing of VirtualNetworkLink values.

func NewVirtualNetworkLinkListResultIterator Uses

func NewVirtualNetworkLinkListResultIterator(page VirtualNetworkLinkListResultPage) VirtualNetworkLinkListResultIterator

Creates a new instance of the VirtualNetworkLinkListResultIterator type.

func (*VirtualNetworkLinkListResultIterator) Next Uses

func (iter *VirtualNetworkLinkListResultIterator) 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 (*VirtualNetworkLinkListResultIterator) NextWithContext Uses

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 Uses

func (iter VirtualNetworkLinkListResultIterator) NotDone() bool

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

func (VirtualNetworkLinkListResultIterator) Response Uses

func (iter VirtualNetworkLinkListResultIterator) Response() VirtualNetworkLinkListResult

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

func (VirtualNetworkLinkListResultIterator) Value Uses

func (iter VirtualNetworkLinkListResultIterator) Value() VirtualNetworkLink

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

type VirtualNetworkLinkListResultPage Uses

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

VirtualNetworkLinkListResultPage contains a page of VirtualNetworkLink values.

func NewVirtualNetworkLinkListResultPage Uses

func NewVirtualNetworkLinkListResultPage(getNextPage func(context.Context, VirtualNetworkLinkListResult) (VirtualNetworkLinkListResult, error)) VirtualNetworkLinkListResultPage

Creates a new instance of the VirtualNetworkLinkListResultPage type.

func (*VirtualNetworkLinkListResultPage) Next Uses

func (page *VirtualNetworkLinkListResultPage) 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 (*VirtualNetworkLinkListResultPage) NextWithContext Uses

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 Uses

func (page VirtualNetworkLinkListResultPage) NotDone() bool

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

func (VirtualNetworkLinkListResultPage) Response Uses

func (page VirtualNetworkLinkListResultPage) Response() VirtualNetworkLinkListResult

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

func (VirtualNetworkLinkListResultPage) Values Uses

func (page VirtualNetworkLinkListResultPage) Values() []VirtualNetworkLink

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

type VirtualNetworkLinkProperties Uses

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 - READ-ONLY; 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 - READ-ONLY; 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 Uses

type VirtualNetworkLinkState string

VirtualNetworkLinkState enumerates the values for virtual network link state.

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

func PossibleVirtualNetworkLinkStateValues Uses

func PossibleVirtualNetworkLinkStateValues() []VirtualNetworkLinkState

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

type VirtualNetworkLinksClient Uses

type VirtualNetworkLinksClient struct {
    BaseClient
}

VirtualNetworkLinksClient is the the Private DNS Management Client.

func NewVirtualNetworkLinksClient Uses

func NewVirtualNetworkLinksClient(subscriptionID string) VirtualNetworkLinksClient

NewVirtualNetworkLinksClient creates an instance of the VirtualNetworkLinksClient client.

func NewVirtualNetworkLinksClientWithBaseURI Uses

func NewVirtualNetworkLinksClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworkLinksClient

NewVirtualNetworkLinksClientWithBaseURI creates an instance of the VirtualNetworkLinksClient client.

func (VirtualNetworkLinksClient) CreateOrUpdate Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

GetPreparer prepares the Get request.

func (VirtualNetworkLinksClient) GetResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ListPreparer prepares the List request.

func (VirtualNetworkLinksClient) ListResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

type VirtualNetworkLinksCreateOrUpdateFuture struct {
    azure.Future
}

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

func (*VirtualNetworkLinksCreateOrUpdateFuture) Result Uses

func (future *VirtualNetworkLinksCreateOrUpdateFuture) Result(client VirtualNetworkLinksClient) (vnl VirtualNetworkLink, err error)

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

type VirtualNetworkLinksDeleteFuture Uses

type VirtualNetworkLinksDeleteFuture struct {
    azure.Future
}

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

func (*VirtualNetworkLinksDeleteFuture) Result Uses

func (future *VirtualNetworkLinksDeleteFuture) Result(client VirtualNetworkLinksClient) (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 VirtualNetworkLinksUpdateFuture Uses

type VirtualNetworkLinksUpdateFuture struct {
    azure.Future
}

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

func (*VirtualNetworkLinksUpdateFuture) Result Uses

func (future *VirtualNetworkLinksUpdateFuture) Result(client VirtualNetworkLinksClient) (vnl VirtualNetworkLink, err error)

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

Directories

PathSynopsis
privatednsapi

Package privatedns imports 8 packages (graph) and is imported by 4 packages. Updated 2019-08-03. Refresh now. Tools for package owners.