dns

package
v0.0.0-...-a7eb91c Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2017 License: MPL-2.0 Imports: 2 Imported by: 93

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AAAARecord

type AAAARecord struct {
	IPv6Address string `json:"ipv6Address" mapstructure:"ipv6Address"`
}

type ARecord

type ARecord struct {
	IPv4Address string `json:"ipv4Address" mapstructure:"ipv4Address"`
}

type CNAMERecord

type CNAMERecord struct {
	CNAME string `json:"cname" mapstructure:"cname"`
}

type CreateAAAARecordSet

type CreateAAAARecordSet struct {
	Name              string             `json:"-"`
	ResourceGroupName string             `json:"-"`
	ZoneName          string             `json:"-"`
	Location          string             `json:"-" riviera:"location"`
	Tags              map[string]*string `json:"-" riviera:"tags"`
	TTL               int                `json:"TTL"`
	AAAARecords       []AAAARecord       `json:"AAAARecords"`
}

func (CreateAAAARecordSet) APIInfo

func (command CreateAAAARecordSet) APIInfo() azure.APIInfo

type CreateAAAARecordSetResponse

type CreateAAAARecordSetResponse struct {
	ID          string             `mapstructure:"id"`
	Name        string             `mapstructure:"name"`
	Location    string             `mapstructure:"location"`
	Tags        map[string]*string `mapstructure:"tags"`
	TTL         *int               `mapstructure:"TTL"`
	AAAARecords []AAAARecord       `mapstructure:"AAAARecords"`
}

type CreateARecordSet

type CreateARecordSet struct {
	Name              string             `json:"-"`
	ResourceGroupName string             `json:"-"`
	ZoneName          string             `json:"-"`
	Location          string             `json:"-" riviera:"location"`
	Tags              map[string]*string `json:"-" riviera:"tags"`
	TTL               int                `json:"TTL"`
	ARecords          []ARecord          `json:"ARecords"`
}

func (CreateARecordSet) APIInfo

func (command CreateARecordSet) APIInfo() azure.APIInfo

type CreateARecordSetResponse

type CreateARecordSetResponse struct {
	ID       string             `mapstructure:"id"`
	Name     string             `mapstructure:"name"`
	Location string             `mapstructure:"location"`
	Tags     map[string]*string `mapstructure:"tags"`
	TTL      *int               `mapstructure:"TTL"`
	ARecords []ARecord          `mapstructure:"ARecords"`
}

type CreateCNAMERecordSet

type CreateCNAMERecordSet struct {
	Name              string             `json:"-"`
	ResourceGroupName string             `json:"-"`
	ZoneName          string             `json:"-"`
	Location          string             `json:"-" riviera:"location"`
	Tags              map[string]*string `json:"-" riviera:"tags"`
	TTL               int                `json:"TTL"`
	CNAMERecord       CNAMERecord        `json:"CNAMERecord"`
}

func (CreateCNAMERecordSet) APIInfo

func (command CreateCNAMERecordSet) APIInfo() azure.APIInfo

type CreateCNAMERecordSetResponse

type CreateCNAMERecordSetResponse struct {
	ID          string             `mapstructure:"id"`
	Name        string             `mapstructure:"name"`
	Location    string             `mapstructure:"location"`
	Tags        map[string]*string `mapstructure:"tags"`
	TTL         *int               `mapstructure:"TTL"`
	CNAMERecord CNAMERecord        `mapstructure:"CNAMERecord"`
}

type CreateDNSZone

type CreateDNSZone struct {
	Name              string             `json:"-"`
	ResourceGroupName string             `json:"-"`
	Location          string             `json:"-" riviera:"location"`
	Tags              map[string]*string `json:"-" riviera:"tags"`
}

func (CreateDNSZone) APIInfo

func (command CreateDNSZone) APIInfo() azure.APIInfo

type CreateMXRecordSet

type CreateMXRecordSet struct {
	Name              string             `json:"-"`
	ResourceGroupName string             `json:"-"`
	ZoneName          string             `json:"-"`
	Location          string             `json:"-" riviera:"location"`
	Tags              map[string]*string `json:"-" riviera:"tags"`
	TTL               int                `json:"TTL"`
	MXRecords         []MXRecord         `json:"MXRecords"`
}

func (CreateMXRecordSet) APIInfo

func (command CreateMXRecordSet) APIInfo() azure.APIInfo

type CreateMXRecordSetResponse

type CreateMXRecordSetResponse struct {
	ID        string             `mapstructure:"id"`
	Name      string             `mapstructure:"name"`
	Location  string             `mapstructure:"location"`
	Tags      map[string]*string `mapstructure:"tags"`
	TTL       *int               `mapstructure:"TTL"`
	MXRecords []MXRecord         `mapstructure:"MXRecords"`
}

type CreateNSRecordSet

type CreateNSRecordSet struct {
	Name              string             `json:"-"`
	ResourceGroupName string             `json:"-"`
	ZoneName          string             `json:"-"`
	Location          string             `json:"-" riviera:"location"`
	Tags              map[string]*string `json:"-" riviera:"tags"`
	TTL               int                `json:"TTL"`
	NSRecords         []NSRecord         `json:"NSRecords"`
}

func (CreateNSRecordSet) APIInfo

func (command CreateNSRecordSet) APIInfo() azure.APIInfo

type CreateNSRecordSetResponse

type CreateNSRecordSetResponse struct {
	ID        string             `mapstructure:"id"`
	Name      string             `mapstructure:"name"`
	Location  string             `mapstructure:"location"`
	Tags      map[string]*string `mapstructure:"tags"`
	TTL       *int               `mapstructure:"TTL"`
	NSRecords []NSRecord         `mapstructure:"NSRecords"`
}

type CreateSRVRecordSet

type CreateSRVRecordSet struct {
	Name              string             `json:"-"`
	ResourceGroupName string             `json:"-"`
	ZoneName          string             `json:"-"`
	Location          string             `json:"-" riviera:"location"`
	Tags              map[string]*string `json:"-" riviera:"tags"`
	TTL               int                `json:"TTL"`
	SRVRecords        []SRVRecord        `json:"SRVRecords"`
}

func (CreateSRVRecordSet) APIInfo

func (command CreateSRVRecordSet) APIInfo() azure.APIInfo

type CreateSRVRecordSetResponse

type CreateSRVRecordSetResponse struct {
	ID         string             `mapstructure:"id"`
	Name       string             `mapstructure:"name"`
	Location   string             `mapstructure:"location"`
	Tags       map[string]*string `mapstructure:"tags"`
	TTL        *int               `mapstructure:"TTL"`
	SRVRecords []SRVRecord        `mapstructure:"SRVRecords"`
}

type CreateTXTRecordSet

type CreateTXTRecordSet struct {
	Name              string             `json:"-"`
	ResourceGroupName string             `json:"-"`
	ZoneName          string             `json:"-"`
	Location          string             `json:"-" riviera:"location"`
	Tags              map[string]*string `json:"-" riviera:"tags"`
	TTL               int                `json:"TTL"`
	TXTRecords        []TXTRecord        `json:"TXTRecords"`
}

func (CreateTXTRecordSet) APIInfo

func (command CreateTXTRecordSet) APIInfo() azure.APIInfo

type CreateTXTRecordSetResponse

type CreateTXTRecordSetResponse struct {
	ID         string             `mapstructure:"id"`
	Name       string             `mapstructure:"name"`
	Location   string             `mapstructure:"location"`
	Tags       map[string]*string `mapstructure:"tags"`
	TTL        *int               `mapstructure:"TTL"`
	TXTRecords []TXTRecord        `mapstructure:"TXTRecords"`
}

type DeleteDNSZone

type DeleteDNSZone struct {
	Name              string `json:"-"`
	ResourceGroupName string `json:"-"`
}

func (DeleteDNSZone) APIInfo

func (command DeleteDNSZone) APIInfo() azure.APIInfo

type DeleteRecordSet

type DeleteRecordSet struct {
	Name              string `json:"-"`
	ResourceGroupName string `json:"-"`
	ZoneName          string `json:"-"`
	RecordSetType     string `json:"-"`
}

func (DeleteRecordSet) APIInfo

func (command DeleteRecordSet) APIInfo() azure.APIInfo

type GetAAAARecordSet

type GetAAAARecordSet struct {
	Name              string `json:"-"`
	ResourceGroupName string `json:"-"`
	ZoneName          string `json:"-"`
}

func (GetAAAARecordSet) APIInfo

func (command GetAAAARecordSet) APIInfo() azure.APIInfo

type GetAAAARecordSetResponse

type GetAAAARecordSetResponse struct {
	ID          string             `mapstructure:"id"`
	Name        string             `mapstructure:"name"`
	Location    string             `mapstructure:"location"`
	Tags        map[string]*string `mapstructure:"tags"`
	TTL         *int               `mapstructure:"TTL"`
	AAAARecords []AAAARecord       `mapstructure:"AAAARecords"`
}

type GetARecordSet

type GetARecordSet struct {
	Name              string `json:"-"`
	ResourceGroupName string `json:"-"`
	ZoneName          string `json:"-"`
}

func (GetARecordSet) APIInfo

func (command GetARecordSet) APIInfo() azure.APIInfo

type GetARecordSetResponse

type GetARecordSetResponse struct {
	ID       string             `mapstructure:"id"`
	Name     string             `mapstructure:"name"`
	Location string             `mapstructure:"location"`
	Tags     map[string]*string `mapstructure:"tags"`
	TTL      *int               `mapstructure:"TTL"`
	ARecords []ARecord          `mapstructure:"ARecords"`
}

type GetCNAMERecordSet

type GetCNAMERecordSet struct {
	Name              string `json:"-"`
	ResourceGroupName string `json:"-"`
	ZoneName          string `json:"-"`
}

func (GetCNAMERecordSet) APIInfo

func (command GetCNAMERecordSet) APIInfo() azure.APIInfo

type GetCNAMERecordSetResponse

type GetCNAMERecordSetResponse struct {
	ID          string             `mapstructure:"id"`
	Name        string             `mapstructure:"name"`
	Location    string             `mapstructure:"location"`
	Tags        map[string]*string `mapstructure:"tags"`
	TTL         *int               `mapstructure:"TTL"`
	CNAMERecord CNAMERecord        `mapstructure:"CNAMERecord"`
}

type GetDNSZone

type GetDNSZone struct {
	Name              string `json:"-"`
	ResourceGroupName string `json:"-"`
}

func (GetDNSZone) APIInfo

func (s GetDNSZone) APIInfo() azure.APIInfo

type GetDNSZoneResponse

type GetDNSZoneResponse struct {
	ID                    *string             `mapstructure:"id"`
	Name                  *string             `mapstructure:"name"`
	Location              *string             `mapstructure:"location"`
	Tags                  *map[string]*string `mapstructure:"tags"`
	NumberOfRecordSets    *string             `mapstructure:"numberOfRecordSets"`
	MaxNumberOfRecordSets *string             `mapstructure:"maxNumberOfRecordSets"`
	NameServers           []*string           `mapstructure:"nameServers"`
}

type GetMXRecordSet

type GetMXRecordSet struct {
	Name              string `json:"-"`
	ResourceGroupName string `json:"-"`
	ZoneName          string `json:"-"`
}

func (GetMXRecordSet) APIInfo

func (command GetMXRecordSet) APIInfo() azure.APIInfo

type GetMXRecordSetResponse

type GetMXRecordSetResponse struct {
	ID        string             `mapstructure:"id"`
	Name      string             `mapstructure:"name"`
	Location  string             `mapstructure:"location"`
	Tags      map[string]*string `mapstructure:"tags"`
	TTL       *int               `mapstructure:"TTL"`
	MXRecords []MXRecord         `mapstructure:"MXRecords"`
}

type GetNSRecordSet

type GetNSRecordSet struct {
	Name              string `json:"-"`
	ResourceGroupName string `json:"-"`
	ZoneName          string `json:"-"`
}

func (GetNSRecordSet) APIInfo

func (command GetNSRecordSet) APIInfo() azure.APIInfo

type GetNSRecordSetResponse

type GetNSRecordSetResponse struct {
	ID        string             `mapstructure:"id"`
	Name      string             `mapstructure:"name"`
	Location  string             `mapstructure:"location"`
	Tags      map[string]*string `mapstructure:"tags"`
	TTL       *int               `mapstructure:"TTL"`
	NSRecords []NSRecord         `mapstructure:"NSRecords"`
}

type GetSOARecordSet

type GetSOARecordSet struct {
	Name              string `json:"-"`
	ResourceGroupName string `json:"-"`
	ZoneName          string `json:"-"`
}

func (GetSOARecordSet) APIInfo

func (command GetSOARecordSet) APIInfo() azure.APIInfo

type GetSOARecordSetResponse

type GetSOARecordSetResponse struct {
	ID        string             `mapstructure:"id"`
	Name      string             `mapstructure:"name"`
	Location  string             `mapstructure:"location"`
	Tags      map[string]*string `mapstructure:"tags"`
	TTL       *int               `mapstructure:"TTL"`
	SOARecord SOARecord          `mapstructure:"SOARecord"`
}

type GetSRVRecordSet

type GetSRVRecordSet struct {
	Name              string `json:"-"`
	ResourceGroupName string `json:"-"`
	ZoneName          string `json:"-"`
}

func (GetSRVRecordSet) APIInfo

func (command GetSRVRecordSet) APIInfo() azure.APIInfo

type GetSRVRecordSetResponse

type GetSRVRecordSetResponse struct {
	ID         string             `mapstructure:"id"`
	Name       string             `mapstructure:"name"`
	Location   string             `mapstructure:"location"`
	Tags       map[string]*string `mapstructure:"tags"`
	TTL        *int               `mapstructure:"TTL"`
	SRVRecords []SRVRecord        `mapstructure:"SRVRecords"`
}

type GetTXTRecordSet

type GetTXTRecordSet struct {
	Name              string `json:"-"`
	ResourceGroupName string `json:"-"`
	ZoneName          string `json:"-"`
}

func (GetTXTRecordSet) APIInfo

func (command GetTXTRecordSet) APIInfo() azure.APIInfo

type GetTXTRecordSetResponse

type GetTXTRecordSetResponse struct {
	ID         string             `mapstructure:"id"`
	Name       string             `mapstructure:"name"`
	Location   string             `mapstructure:"location"`
	Tags       map[string]*string `mapstructure:"tags"`
	TTL        *int               `mapstructure:"TTL"`
	TXTRecords []TXTRecord        `mapstructure:"TXTRecords"`
}

type MXRecord

type MXRecord struct {
	Preference string `json:"preference" mapstructure:"preference"` //*Why* is this a string in the API?!
	Exchange   string `json:"exchange" mapstructure:"exchange"`
}

type NSRecord

type NSRecord struct {
	NSDName string `json:"nsdname" mapstructure:"nsdname"`
}

type SOARecord

type SOARecord struct {
	Email       string `json:"email" mapstructure:"email"`
	ExpireTime  int    `json:"expireTime" mapstructure:"expireTime"`
	Host        string `json:"host" mapstructure:"host"`
	MinimumTTL  int    `json:"minimumTTL" mapstructure:"minimumTTL"`
	RefreshTime int    `json:"refreshTime" mapstructure:"refreshTime"`
	RetryTime   int    `json:"retryTime" mapstructure:"retryTime"`
}

type SRVRecord

type SRVRecord struct {
	Priority int    `json:"priority" mapstructure:"priority"`
	Weight   int    `json:"weight" mapstructure:"weight"`
	Port     int    `json:"port" mapstructure:"port"`
	Target   string `json:"target" mapstructure:"target"`
}

type TXTRecord

type TXTRecord struct {
	Value string `json:"value" mapstructure:"value"`
}

type UpdateSOARecordSet

type UpdateSOARecordSet struct {
	Name              string             `json:"-"`
	ResourceGroupName string             `json:"-"`
	ZoneName          string             `json:"-"`
	Location          string             `json:"-" riviera:"location"`
	Tags              map[string]*string `json:"-" riviera:"tags"`
	TTL               int                `json:"TTL"`
	SOARecord         SOARecord          `json:"SOARecord"`
}

func (UpdateSOARecordSet) APIInfo

func (command UpdateSOARecordSet) APIInfo() azure.APIInfo

type UpdateSOARecordSetResponse

type UpdateSOARecordSetResponse struct {
	ID        string             `mapstructure:"id"`
	Name      string             `mapstructure:"name"`
	Location  string             `mapstructure:"location"`
	Tags      map[string]*string `mapstructure:"tags"`
	TTL       *int               `mapstructure:"TTL"`
	SOARecord SOARecord          `mapstructure:"SOARecord"`
}

Jump to

Keyboard shortcuts

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