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) (result 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, ...) (result ListAllByDnsZoneCompleteResult, err error)
- func (c RecordSetsClient) ListByDnsZone(ctx context.Context, id DnsZoneId, options ListByDnsZoneOperationOptions) (result 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, ...) (result ListByDnsZoneCompleteResult, err error)
- func (c RecordSetsClient) ListByType(ctx context.Context, id ZoneId, options ListByTypeOperationOptions) (result 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, ...) (result 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
func (CreateOrUpdateOperationOptions) ToHeaders ¶
func (o CreateOrUpdateOperationOptions) ToHeaders() *client.Headers
func (CreateOrUpdateOperationOptions) ToOData ¶
func (o CreateOrUpdateOperationOptions) ToOData() *odata.Query
func (CreateOrUpdateOperationOptions) ToQuery ¶
func (o CreateOrUpdateOperationOptions) ToQuery() *client.QueryParams
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
IfMatch *string
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
func (DeleteOperationOptions) ToHeaders ¶
func (o DeleteOperationOptions) ToHeaders() *client.Headers
func (DeleteOperationOptions) ToOData ¶
func (o DeleteOperationOptions) ToOData() *odata.Query
func (DeleteOperationOptions) ToQuery ¶
func (o DeleteOperationOptions) ToQuery() *client.QueryParams
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) FromParseResult ¶
func (id *DnsZoneId) FromParseResult(input resourceids.ParseResult) error
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 ListAllByDnsZoneOperationOptions ¶
func DefaultListAllByDnsZoneOperationOptions ¶
func DefaultListAllByDnsZoneOperationOptions() ListAllByDnsZoneOperationOptions
func (ListAllByDnsZoneOperationOptions) ToHeaders ¶
func (o ListAllByDnsZoneOperationOptions) ToHeaders() *client.Headers
func (ListAllByDnsZoneOperationOptions) ToOData ¶
func (o ListAllByDnsZoneOperationOptions) ToOData() *odata.Query
func (ListAllByDnsZoneOperationOptions) ToQuery ¶
func (o ListAllByDnsZoneOperationOptions) ToQuery() *client.QueryParams
type ListByDnsZoneOperationOptions ¶
func DefaultListByDnsZoneOperationOptions ¶
func DefaultListByDnsZoneOperationOptions() ListByDnsZoneOperationOptions
func (ListByDnsZoneOperationOptions) ToHeaders ¶
func (o ListByDnsZoneOperationOptions) ToHeaders() *client.Headers
func (ListByDnsZoneOperationOptions) ToOData ¶
func (o ListByDnsZoneOperationOptions) ToOData() *odata.Query
func (ListByDnsZoneOperationOptions) ToQuery ¶
func (o ListByDnsZoneOperationOptions) ToQuery() *client.QueryParams
type ListByTypeOperationOptions ¶
func DefaultListByTypeOperationOptions ¶
func DefaultListByTypeOperationOptions() ListByTypeOperationOptions
func (ListByTypeOperationOptions) ToHeaders ¶
func (o ListByTypeOperationOptions) ToHeaders() *client.Headers
func (ListByTypeOperationOptions) ToOData ¶
func (o ListByTypeOperationOptions) ToOData() *odata.Query
func (ListByTypeOperationOptions) ToQuery ¶
func (o ListByTypeOperationOptions) ToQuery() *client.QueryParams
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 ¶
type RecordSetsClient struct {
Client *resourcemanager.Client
}
func NewRecordSetsClientWithBaseURI ¶
func NewRecordSetsClientWithBaseURI(sdkApi sdkEnv.Api) (*RecordSetsClient, error)
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) (result ListAllByDnsZoneOperationResponse, err error)
ListAllByDnsZone ...
func (RecordSetsClient) ListAllByDnsZoneComplete ¶
func (c RecordSetsClient) ListAllByDnsZoneComplete(ctx context.Context, id DnsZoneId, options ListAllByDnsZoneOperationOptions) (ListAllByDnsZoneCompleteResult, error)
ListAllByDnsZoneComplete retrieves all the results into a single object
func (RecordSetsClient) ListAllByDnsZoneCompleteMatchingPredicate ¶
func (c RecordSetsClient) ListAllByDnsZoneCompleteMatchingPredicate(ctx context.Context, id DnsZoneId, options ListAllByDnsZoneOperationOptions, predicate RecordSetOperationPredicate) (result ListAllByDnsZoneCompleteResult, err error)
ListAllByDnsZoneCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (RecordSetsClient) ListByDnsZone ¶
func (c RecordSetsClient) ListByDnsZone(ctx context.Context, id DnsZoneId, options ListByDnsZoneOperationOptions) (result ListByDnsZoneOperationResponse, err error)
ListByDnsZone ...
func (RecordSetsClient) ListByDnsZoneComplete ¶
func (c RecordSetsClient) ListByDnsZoneComplete(ctx context.Context, id DnsZoneId, options ListByDnsZoneOperationOptions) (ListByDnsZoneCompleteResult, error)
ListByDnsZoneComplete retrieves all the results into a single object
func (RecordSetsClient) ListByDnsZoneCompleteMatchingPredicate ¶
func (c RecordSetsClient) ListByDnsZoneCompleteMatchingPredicate(ctx context.Context, id DnsZoneId, options ListByDnsZoneOperationOptions, predicate RecordSetOperationPredicate) (result ListByDnsZoneCompleteResult, err error)
ListByDnsZoneCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (RecordSetsClient) ListByType ¶
func (c RecordSetsClient) ListByType(ctx context.Context, id ZoneId, options ListByTypeOperationOptions) (result ListByTypeOperationResponse, err error)
ListByType ...
func (RecordSetsClient) ListByTypeComplete ¶
func (c RecordSetsClient) ListByTypeComplete(ctx context.Context, id ZoneId, options ListByTypeOperationOptions) (ListByTypeCompleteResult, error)
ListByTypeComplete retrieves all the results into a single object
func (RecordSetsClient) ListByTypeCompleteMatchingPredicate ¶
func (c RecordSetsClient) ListByTypeCompleteMatchingPredicate(ctx context.Context, id ZoneId, options ListByTypeOperationOptions, predicate RecordSetOperationPredicate) (result ListByTypeCompleteResult, err error)
ListByTypeCompleteMatchingPredicate retrieves all the results and then applies 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" )
func (*RecordType) UnmarshalJSON ¶
func (s *RecordType) UnmarshalJSON(bytes []byte) error
type RecordTypeId ¶
type RecordTypeId struct { SubscriptionId string ResourceGroupName string DnsZoneName 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, dnsZoneName 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) FromParseResult ¶
func (id *RecordTypeId) FromParseResult(input resourceids.ParseResult) error
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
func (UpdateOperationOptions) ToHeaders ¶
func (o UpdateOperationOptions) ToHeaders() *client.Headers
func (UpdateOperationOptions) ToOData ¶
func (o UpdateOperationOptions) ToOData() *odata.Query
func (UpdateOperationOptions) ToQuery ¶
func (o UpdateOperationOptions) ToQuery() *client.QueryParams
type UpdateOperationResponse ¶
type ZoneId ¶
type ZoneId struct { SubscriptionId string ResourceGroupName string DnsZoneName string RecordType RecordType }
ZoneId is a struct representing the Resource ID for a Zone
func NewZoneID ¶
func NewZoneID(subscriptionId string, resourceGroupName string, dnsZoneName 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) FromParseResult ¶
func (id *ZoneId) FromParseResult(input resourceids.ParseResult) error
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.go
- method_delete.go
- method_get.go
- method_listallbydnszone.go
- method_listbydnszone.go
- method_listbytype.go
- method_update.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