Documentation ¶
Index ¶
- func PossibleValuesForRecordType() []string
- func ValidateDnsZoneID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateRecordTypeID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateZoneID(input interface{}, key string) (warnings []string, errors []error)
- type ARecord
- type AaaaRecord
- type CaaRecord
- type CnameRecord
- type CreateOrUpdateOperationOptions
- type CreateOrUpdateOperationResponse
- type DeleteOperationOptions
- type DeleteOperationResponse
- type DnsZoneId
- type GetOperationResponse
- type ListAllByDnsZoneCompleteResult
- type ListAllByDnsZoneOperationOptions
- type ListAllByDnsZoneOperationResponse
- type ListByDnsZoneCompleteResult
- type ListByDnsZoneOperationOptions
- type ListByDnsZoneOperationResponse
- type ListByTypeCompleteResult
- type ListByTypeOperationOptions
- type ListByTypeOperationResponse
- type MxRecord
- type NsRecord
- type PtrRecord
- type RecordSet
- type RecordSetOperationPredicate
- type RecordSetProperties
- type RecordSetsClient
- func (c RecordSetsClient) CreateOrUpdate(ctx context.Context, id RecordTypeId, input RecordSet, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c RecordSetsClient) Delete(ctx context.Context, id RecordTypeId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
- func (c RecordSetsClient) Get(ctx context.Context, id RecordTypeId) (result GetOperationResponse, err error)
- func (c RecordSetsClient) ListAllByDnsZone(ctx context.Context, id DnsZoneId, options ListAllByDnsZoneOperationOptions) (resp ListAllByDnsZoneOperationResponse, err error)
- func (c RecordSetsClient) ListAllByDnsZoneComplete(ctx context.Context, id DnsZoneId, options ListAllByDnsZoneOperationOptions) (ListAllByDnsZoneCompleteResult, error)
- func (c RecordSetsClient) ListAllByDnsZoneCompleteMatchingPredicate(ctx context.Context, id DnsZoneId, options ListAllByDnsZoneOperationOptions, ...) (resp ListAllByDnsZoneCompleteResult, err error)
- func (c RecordSetsClient) ListByDnsZone(ctx context.Context, id DnsZoneId, options ListByDnsZoneOperationOptions) (resp ListByDnsZoneOperationResponse, err error)
- func (c RecordSetsClient) ListByDnsZoneComplete(ctx context.Context, id DnsZoneId, options ListByDnsZoneOperationOptions) (ListByDnsZoneCompleteResult, error)
- func (c RecordSetsClient) ListByDnsZoneCompleteMatchingPredicate(ctx context.Context, id DnsZoneId, options ListByDnsZoneOperationOptions, ...) (resp ListByDnsZoneCompleteResult, err error)
- func (c RecordSetsClient) ListByType(ctx context.Context, id ZoneId, options ListByTypeOperationOptions) (resp ListByTypeOperationResponse, err error)
- func (c RecordSetsClient) ListByTypeComplete(ctx context.Context, id ZoneId, options ListByTypeOperationOptions) (ListByTypeCompleteResult, error)
- func (c RecordSetsClient) ListByTypeCompleteMatchingPredicate(ctx context.Context, id ZoneId, options ListByTypeOperationOptions, ...) (resp ListByTypeCompleteResult, err error)
- func (c RecordSetsClient) Update(ctx context.Context, id RecordTypeId, input RecordSet, ...) (result UpdateOperationResponse, err error)
- type RecordType
- type RecordTypeId
- type SoaRecord
- type SrvRecord
- type SubResource
- type TxtRecord
- type UpdateOperationOptions
- type UpdateOperationResponse
- type ZoneId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForRecordType ¶
func PossibleValuesForRecordType() []string
func ValidateDnsZoneID ¶
ValidateDnsZoneID checks that 'input' can be parsed as a Dns Zone ID
func ValidateRecordTypeID ¶
ValidateRecordTypeID checks that 'input' can be parsed as a Record Type ID
func ValidateZoneID ¶
ValidateZoneID checks that 'input' can be parsed as a Zone ID
Types ¶
type AaaaRecord ¶
type AaaaRecord struct {
IPv6Address *string `json:"ipv6Address,omitempty"`
}
type CnameRecord ¶
type CnameRecord struct {
Cname *string `json:"cname,omitempty"`
}
type CreateOrUpdateOperationOptions ¶
func DefaultCreateOrUpdateOperationOptions ¶
func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
IfMatch *string
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
type DeleteOperationResponse ¶
type DnsZoneId ¶
DnsZoneId is a struct representing the Resource ID for a Dns Zone
func NewDnsZoneID ¶
NewDnsZoneID returns a new DnsZoneId struct
func ParseDnsZoneID ¶
ParseDnsZoneID parses 'input' into a DnsZoneId
func ParseDnsZoneIDInsensitively ¶
ParseDnsZoneIDInsensitively parses 'input' case-insensitively into a DnsZoneId note: this method should only be used for API response data and not user input
func (DnsZoneId) Segments ¶
func (id DnsZoneId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Dns Zone ID
type GetOperationResponse ¶
type ListAllByDnsZoneCompleteResult ¶
type ListAllByDnsZoneCompleteResult struct {
Items []RecordSet
}
type ListAllByDnsZoneOperationOptions ¶
func DefaultListAllByDnsZoneOperationOptions ¶
func DefaultListAllByDnsZoneOperationOptions() ListAllByDnsZoneOperationOptions
type ListAllByDnsZoneOperationResponse ¶
type ListAllByDnsZoneOperationResponse struct { HttpResponse *http.Response Model *[]RecordSet // contains filtered or unexported fields }
func (ListAllByDnsZoneOperationResponse) HasMore ¶
func (r ListAllByDnsZoneOperationResponse) HasMore() bool
func (ListAllByDnsZoneOperationResponse) LoadMore ¶
func (r ListAllByDnsZoneOperationResponse) LoadMore(ctx context.Context) (resp ListAllByDnsZoneOperationResponse, err error)
type ListByDnsZoneCompleteResult ¶
type ListByDnsZoneCompleteResult struct {
Items []RecordSet
}
type ListByDnsZoneOperationOptions ¶
func DefaultListByDnsZoneOperationOptions ¶
func DefaultListByDnsZoneOperationOptions() ListByDnsZoneOperationOptions
type ListByDnsZoneOperationResponse ¶
type ListByDnsZoneOperationResponse struct { HttpResponse *http.Response Model *[]RecordSet // contains filtered or unexported fields }
func (ListByDnsZoneOperationResponse) HasMore ¶
func (r ListByDnsZoneOperationResponse) HasMore() bool
func (ListByDnsZoneOperationResponse) LoadMore ¶
func (r ListByDnsZoneOperationResponse) LoadMore(ctx context.Context) (resp ListByDnsZoneOperationResponse, err error)
type ListByTypeCompleteResult ¶
type ListByTypeCompleteResult struct {
Items []RecordSet
}
type ListByTypeOperationOptions ¶
func DefaultListByTypeOperationOptions ¶
func DefaultListByTypeOperationOptions() ListByTypeOperationOptions
type ListByTypeOperationResponse ¶
type ListByTypeOperationResponse struct { HttpResponse *http.Response Model *[]RecordSet // contains filtered or unexported fields }
func (ListByTypeOperationResponse) HasMore ¶
func (r ListByTypeOperationResponse) HasMore() bool
func (ListByTypeOperationResponse) LoadMore ¶
func (r ListByTypeOperationResponse) LoadMore(ctx context.Context) (resp ListByTypeOperationResponse, err error)
type RecordSet ¶
type RecordSet struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *RecordSetProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type RecordSetOperationPredicate ¶
func (RecordSetOperationPredicate) Matches ¶
func (p RecordSetOperationPredicate) Matches(input RecordSet) bool
type RecordSetProperties ¶
type RecordSetProperties struct { AAAARecords *[]AaaaRecord `json:"AAAARecords,omitempty"` ARecords *[]ARecord `json:"ARecords,omitempty"` CNAMERecord *CnameRecord `json:"CNAMERecord,omitempty"` CaaRecords *[]CaaRecord `json:"caaRecords,omitempty"` Fqdn *string `json:"fqdn,omitempty"` MXRecords *[]MxRecord `json:"MXRecords,omitempty"` Metadata *map[string]string `json:"metadata,omitempty"` NSRecords *[]NsRecord `json:"NSRecords,omitempty"` PTRRecords *[]PtrRecord `json:"PTRRecords,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` SOARecord *SoaRecord `json:"SOARecord,omitempty"` SRVRecords *[]SrvRecord `json:"SRVRecords,omitempty"` TTL *int64 `json:"TTL,omitempty"` TXTRecords *[]TxtRecord `json:"TXTRecords,omitempty"` TargetResource *SubResource `json:"targetResource,omitempty"` }
type RecordSetsClient ¶
func NewRecordSetsClientWithBaseURI ¶
func NewRecordSetsClientWithBaseURI(endpoint string) RecordSetsClient
func (RecordSetsClient) CreateOrUpdate ¶
func (c RecordSetsClient) CreateOrUpdate(ctx context.Context, id RecordTypeId, input RecordSet, options CreateOrUpdateOperationOptions) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (RecordSetsClient) Delete ¶
func (c RecordSetsClient) Delete(ctx context.Context, id RecordTypeId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (RecordSetsClient) Get ¶
func (c RecordSetsClient) Get(ctx context.Context, id RecordTypeId) (result GetOperationResponse, err error)
Get ...
func (RecordSetsClient) ListAllByDnsZone ¶
func (c RecordSetsClient) ListAllByDnsZone(ctx context.Context, id DnsZoneId, options ListAllByDnsZoneOperationOptions) (resp ListAllByDnsZoneOperationResponse, err error)
ListAllByDnsZone ...
func (RecordSetsClient) ListAllByDnsZoneComplete ¶
func (c RecordSetsClient) ListAllByDnsZoneComplete(ctx context.Context, id DnsZoneId, options ListAllByDnsZoneOperationOptions) (ListAllByDnsZoneCompleteResult, error)
ListAllByDnsZoneComplete retrieves all of the results into a single object
func (RecordSetsClient) ListAllByDnsZoneCompleteMatchingPredicate ¶
func (c RecordSetsClient) ListAllByDnsZoneCompleteMatchingPredicate(ctx context.Context, id DnsZoneId, options ListAllByDnsZoneOperationOptions, predicate RecordSetOperationPredicate) (resp ListAllByDnsZoneCompleteResult, err error)
ListAllByDnsZoneCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (RecordSetsClient) ListByDnsZone ¶
func (c RecordSetsClient) ListByDnsZone(ctx context.Context, id DnsZoneId, options ListByDnsZoneOperationOptions) (resp ListByDnsZoneOperationResponse, err error)
ListByDnsZone ...
func (RecordSetsClient) ListByDnsZoneComplete ¶
func (c RecordSetsClient) ListByDnsZoneComplete(ctx context.Context, id DnsZoneId, options ListByDnsZoneOperationOptions) (ListByDnsZoneCompleteResult, error)
ListByDnsZoneComplete retrieves all of the results into a single object
func (RecordSetsClient) ListByDnsZoneCompleteMatchingPredicate ¶
func (c RecordSetsClient) ListByDnsZoneCompleteMatchingPredicate(ctx context.Context, id DnsZoneId, options ListByDnsZoneOperationOptions, predicate RecordSetOperationPredicate) (resp ListByDnsZoneCompleteResult, err error)
ListByDnsZoneCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (RecordSetsClient) ListByType ¶
func (c RecordSetsClient) ListByType(ctx context.Context, id ZoneId, options ListByTypeOperationOptions) (resp ListByTypeOperationResponse, err error)
ListByType ...
func (RecordSetsClient) ListByTypeComplete ¶
func (c RecordSetsClient) ListByTypeComplete(ctx context.Context, id ZoneId, options ListByTypeOperationOptions) (ListByTypeCompleteResult, error)
ListByTypeComplete retrieves all of the results into a single object
func (RecordSetsClient) ListByTypeCompleteMatchingPredicate ¶
func (c RecordSetsClient) ListByTypeCompleteMatchingPredicate(ctx context.Context, id ZoneId, options ListByTypeOperationOptions, predicate RecordSetOperationPredicate) (resp ListByTypeCompleteResult, err error)
ListByTypeCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (RecordSetsClient) Update ¶
func (c RecordSetsClient) Update(ctx context.Context, id RecordTypeId, input RecordSet, options UpdateOperationOptions) (result UpdateOperationResponse, err error)
Update ...
type RecordType ¶
type RecordType string
const ( RecordTypeA RecordType = "A" RecordTypeAAAA RecordType = "AAAA" RecordTypeCAA RecordType = "CAA" RecordTypeCNAME RecordType = "CNAME" RecordTypeMX RecordType = "MX" RecordTypeNS RecordType = "NS" RecordTypePTR RecordType = "PTR" RecordTypeSOA RecordType = "SOA" RecordTypeSRV RecordType = "SRV" RecordTypeTXT RecordType = "TXT" )
type RecordTypeId ¶
type RecordTypeId struct { SubscriptionId string ResourceGroupName string ZoneName string RecordType RecordType RelativeRecordSetName string }
RecordTypeId is a struct representing the Resource ID for a Record Type
func NewRecordTypeID ¶
func NewRecordTypeID(subscriptionId string, resourceGroupName string, zoneName string, recordType RecordType, relativeRecordSetName string) RecordTypeId
NewRecordTypeID returns a new RecordTypeId struct
func ParseRecordTypeID ¶
func ParseRecordTypeID(input string) (*RecordTypeId, error)
ParseRecordTypeID parses 'input' into a RecordTypeId
func ParseRecordTypeIDInsensitively ¶
func ParseRecordTypeIDInsensitively(input string) (*RecordTypeId, error)
ParseRecordTypeIDInsensitively parses 'input' case-insensitively into a RecordTypeId note: this method should only be used for API response data and not user input
func (RecordTypeId) Segments ¶
func (id RecordTypeId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Record Type ID
func (RecordTypeId) String ¶
func (id RecordTypeId) String() string
String returns a human-readable description of this Record Type ID
type SoaRecord ¶
type SoaRecord struct { Email *string `json:"email,omitempty"` ExpireTime *int64 `json:"expireTime,omitempty"` Host *string `json:"host,omitempty"` MinimumTTL *int64 `json:"minimumTTL,omitempty"` RefreshTime *int64 `json:"refreshTime,omitempty"` RetryTime *int64 `json:"retryTime,omitempty"` SerialNumber *int64 `json:"serialNumber,omitempty"` }
type SubResource ¶
type SubResource struct {
Id *string `json:"id,omitempty"`
}
type UpdateOperationOptions ¶
type UpdateOperationOptions struct {
IfMatch *string
}
func DefaultUpdateOperationOptions ¶
func DefaultUpdateOperationOptions() UpdateOperationOptions
type UpdateOperationResponse ¶
type ZoneId ¶
type ZoneId struct { SubscriptionId string ResourceGroupName string ZoneName string RecordType RecordType }
ZoneId is a struct representing the Resource ID for a Zone
func NewZoneID ¶
func NewZoneID(subscriptionId string, resourceGroupName string, zoneName string, recordType RecordType) ZoneId
NewZoneID returns a new ZoneId struct
func ParseZoneID ¶
ParseZoneID parses 'input' into a ZoneId
func ParseZoneIDInsensitively ¶
ParseZoneIDInsensitively parses 'input' case-insensitively into a ZoneId note: this method should only be used for API response data and not user input
func (ZoneId) Segments ¶
func (id ZoneId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Zone ID
Source Files ¶
- client.go
- constants.go
- id_dnszone.go
- id_recordtype.go
- id_zone.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_listallbydnszone_autorest.go
- method_listbydnszone_autorest.go
- method_listbytype_autorest.go
- method_update_autorest.go
- model_aaaarecord.go
- model_arecord.go
- model_caarecord.go
- model_cnamerecord.go
- model_mxrecord.go
- model_nsrecord.go
- model_ptrrecord.go
- model_recordset.go
- model_recordsetproperties.go
- model_soarecord.go
- model_srvrecord.go
- model_subresource.go
- model_txtrecord.go
- predicates.go
- version.go