Documentation ¶
Index ¶
- func PossibleValuesForRecordType() []string
- func ValidatePrivateDnsZoneID(input interface{}, key string) (warnings []string, errors []error)
- func ValidatePrivateZoneID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateRecordTypeID(input interface{}, key string) (warnings []string, errors []error)
- type ARecord
- type AaaaRecord
- type CnameRecord
- type CreateOrUpdateOperationOptions
- type CreateOrUpdateOperationResponse
- type DeleteOperationOptions
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByTypeCompleteResult
- type ListByTypeOperationOptions
- type ListByTypeOperationResponse
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type MxRecord
- type PrivateDnsZoneId
- type PrivateZoneId
- 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) List(ctx context.Context, id PrivateDnsZoneId, options ListOperationOptions) (resp ListOperationResponse, err error)
- func (c RecordSetsClient) ListByType(ctx context.Context, id PrivateZoneId, options ListByTypeOperationOptions) (resp ListByTypeOperationResponse, err error)
- func (c RecordSetsClient) ListByTypeComplete(ctx context.Context, id PrivateZoneId, options ListByTypeOperationOptions) (ListByTypeCompleteResult, error)
- func (c RecordSetsClient) ListByTypeCompleteMatchingPredicate(ctx context.Context, id PrivateZoneId, options ListByTypeOperationOptions, ...) (resp ListByTypeCompleteResult, err error)
- func (c RecordSetsClient) ListComplete(ctx context.Context, id PrivateDnsZoneId, options ListOperationOptions) (ListCompleteResult, error)
- func (c RecordSetsClient) ListCompleteMatchingPredicate(ctx context.Context, id PrivateDnsZoneId, options ListOperationOptions, ...) (resp ListCompleteResult, 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 TxtRecord
- type UpdateOperationOptions
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForRecordType ¶
func PossibleValuesForRecordType() []string
func ValidatePrivateDnsZoneID ¶
ValidatePrivateDnsZoneID checks that 'input' can be parsed as a Private Dns Zone ID
func ValidatePrivateZoneID ¶
ValidatePrivateZoneID checks that 'input' can be parsed as a Private Zone ID
func ValidateRecordTypeID ¶
ValidateRecordTypeID checks that 'input' can be parsed as a Record Type 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 GetOperationResponse ¶
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 ListCompleteResult ¶
type ListCompleteResult struct {
Items []RecordSet
}
type ListOperationOptions ¶
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]RecordSet // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
type PrivateDnsZoneId ¶
type PrivateDnsZoneId struct { SubscriptionId string ResourceGroupName string PrivateZoneName string }
PrivateDnsZoneId is a struct representing the Resource ID for a Private Dns Zone
func NewPrivateDnsZoneID ¶
func NewPrivateDnsZoneID(subscriptionId string, resourceGroupName string, privateZoneName string) PrivateDnsZoneId
NewPrivateDnsZoneID returns a new PrivateDnsZoneId struct
func ParsePrivateDnsZoneID ¶
func ParsePrivateDnsZoneID(input string) (*PrivateDnsZoneId, error)
ParsePrivateDnsZoneID parses 'input' into a PrivateDnsZoneId
func ParsePrivateDnsZoneIDInsensitively ¶
func ParsePrivateDnsZoneIDInsensitively(input string) (*PrivateDnsZoneId, error)
ParsePrivateDnsZoneIDInsensitively parses 'input' case-insensitively into a PrivateDnsZoneId note: this method should only be used for API response data and not user input
func (PrivateDnsZoneId) ID ¶
func (id PrivateDnsZoneId) ID() string
ID returns the formatted Private Dns Zone ID
func (PrivateDnsZoneId) Segments ¶
func (id PrivateDnsZoneId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Private Dns Zone ID
func (PrivateDnsZoneId) String ¶
func (id PrivateDnsZoneId) String() string
String returns a human-readable description of this Private Dns Zone ID
type PrivateZoneId ¶
type PrivateZoneId struct { SubscriptionId string ResourceGroupName string PrivateZoneName string RecordType RecordType }
PrivateZoneId is a struct representing the Resource ID for a Private Zone
func NewPrivateZoneID ¶
func NewPrivateZoneID(subscriptionId string, resourceGroupName string, privateZoneName string, recordType RecordType) PrivateZoneId
NewPrivateZoneID returns a new PrivateZoneId struct
func ParsePrivateZoneID ¶
func ParsePrivateZoneID(input string) (*PrivateZoneId, error)
ParsePrivateZoneID parses 'input' into a PrivateZoneId
func ParsePrivateZoneIDInsensitively ¶
func ParsePrivateZoneIDInsensitively(input string) (*PrivateZoneId, error)
ParsePrivateZoneIDInsensitively parses 'input' case-insensitively into a PrivateZoneId note: this method should only be used for API response data and not user input
func (PrivateZoneId) ID ¶
func (id PrivateZoneId) ID() string
ID returns the formatted Private Zone ID
func (PrivateZoneId) Segments ¶
func (id PrivateZoneId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Private Zone ID
func (PrivateZoneId) String ¶
func (id PrivateZoneId) String() string
String returns a human-readable description of this Private Zone ID
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 { ARecords *[]ARecord `json:"aRecords,omitempty"` AaaaRecords *[]AaaaRecord `json:"aaaaRecords,omitempty"` CnameRecord *CnameRecord `json:"cnameRecord,omitempty"` Fqdn *string `json:"fqdn,omitempty"` IsAutoRegistered *bool `json:"isAutoRegistered,omitempty"` Metadata *map[string]string `json:"metadata,omitempty"` MxRecords *[]MxRecord `json:"mxRecords,omitempty"` PtrRecords *[]PtrRecord `json:"ptrRecords,omitempty"` SoaRecord *SoaRecord `json:"soaRecord,omitempty"` SrvRecords *[]SrvRecord `json:"srvRecords,omitempty"` Ttl *int64 `json:"ttl,omitempty"` TxtRecords *[]TxtRecord `json:"txtRecords,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) List ¶
func (c RecordSetsClient) List(ctx context.Context, id PrivateDnsZoneId, options ListOperationOptions) (resp ListOperationResponse, err error)
List ...
func (RecordSetsClient) ListByType ¶
func (c RecordSetsClient) ListByType(ctx context.Context, id PrivateZoneId, options ListByTypeOperationOptions) (resp ListByTypeOperationResponse, err error)
ListByType ...
func (RecordSetsClient) ListByTypeComplete ¶
func (c RecordSetsClient) ListByTypeComplete(ctx context.Context, id PrivateZoneId, 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 PrivateZoneId, options ListByTypeOperationOptions, predicate RecordSetOperationPredicate) (resp ListByTypeCompleteResult, err error)
ListByTypeCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (RecordSetsClient) ListComplete ¶
func (c RecordSetsClient) ListComplete(ctx context.Context, id PrivateDnsZoneId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (RecordSetsClient) ListCompleteMatchingPredicate ¶
func (c RecordSetsClient) ListCompleteMatchingPredicate(ctx context.Context, id PrivateDnsZoneId, options ListOperationOptions, predicate RecordSetOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate 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" RecordTypeCNAME RecordType = "CNAME" RecordTypeMX RecordType = "MX" RecordTypePTR RecordType = "PTR" RecordTypeSOA RecordType = "SOA" RecordTypeSRV RecordType = "SRV" RecordTypeTXT RecordType = "TXT" )
type RecordTypeId ¶
type RecordTypeId struct { SubscriptionId string ResourceGroupName string PrivateZoneName 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, privateZoneName 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 UpdateOperationOptions ¶
type UpdateOperationOptions struct {
IfMatch *string
}
func DefaultUpdateOperationOptions ¶
func DefaultUpdateOperationOptions() UpdateOperationOptions
type UpdateOperationResponse ¶
Source Files ¶
- client.go
- constants.go
- id_privatednszone.go
- id_privatezone.go
- id_recordtype.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_list_autorest.go
- method_listbytype_autorest.go
- method_update_autorest.go
- model_aaaarecord.go
- model_arecord.go
- model_cnamerecord.go
- model_mxrecord.go
- model_ptrrecord.go
- model_recordset.go
- model_recordsetproperties.go
- model_soarecord.go
- model_srvrecord.go
- model_txtrecord.go
- predicates.go
- version.go