privatezone

package
v1.0.169 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultRegion  string
	ServiceVersion string
	ServiceName    string
	ServiceHost    string
	Timeout        int
	ServiceInfo    *base.ServiceInfo
)

Functions

func NewDefaultServiceInfo

func NewDefaultServiceInfo() *base.Client

Types

type AZ

type AZ struct {
	AzID   *string `form:"AzID" json:"AzID,omitempty"`
	AzName *string `form:"AzName" json:"AzName,omitempty"`
}

type BatchCreateRecordRequest

type BatchCreateRecordRequest struct {
	Records []CRecord `form:"Records" json:"Records,omitempty"`
	ZID     *int64    `form:"ZID" json:"ZID,omitempty"`
}

type BatchCreateRecordResponse

type BatchCreateRecordResponse struct {
	RecordIDs []string `form:"RecordIDs" json:"RecordIDs,omitempty"`
}

type BatchDeleteRecordRequest

type BatchDeleteRecordRequest struct {
	RecordIDs []string `form:"RecordIDs" json:"RecordIDs,omitempty"`
	ZID       *int64   `form:"ZID" json:"ZID,omitempty"`
}

type BatchUpdateRecordRequest

type BatchUpdateRecordRequest struct {
	Records []URecord `form:"Records" json:"Records,omitempty"`
	ZID     *int64    `form:"ZID" json:"ZID,omitempty"`
}

type BindVPCRequest

type BindVPCRequest struct {
	VPCs map[string][]string `form:"VPCs" json:"VPCs,omitempty"`
	ZID  *int64              `form:"ZID" json:"ZID,omitempty"`
}

type CRecord

type CRecord struct {
	Host   *string `form:"Host" json:"Host,omitempty"`
	Line   *string `form:"Line" json:"Line,omitempty"`
	Remark *string `form:"Remark" json:"Remark,omitempty"`
	TTL    *int64  `form:"TTL" json:"TTL,omitempty"`
	Type   *string `form:"Type" json:"Type,omitempty"`
	Value  *string `form:"Value" json:"Value,omitempty"`
	Weight *int64  `form:"Weight" json:"Weight,omitempty"`
}

type Caller

type Caller interface {
	Do(*http.Request) (*http.Response, error)
}

type Client

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

func InitDNSVolcClient

func InitDNSVolcClient() *Client

func NewClient

func NewClient(c Caller) *Client

func (*Client) BatchCreateRecord

func (c *Client) BatchCreateRecord(ctx context.Context, data *BatchCreateRecordRequest) (*BatchCreateRecordResponse, error)

func (*Client) BatchDeleteRecord

func (c *Client) BatchDeleteRecord(ctx context.Context, data *BatchDeleteRecordRequest) error

func (*Client) BatchUpdateRecord

func (c *Client) BatchUpdateRecord(ctx context.Context, data *BatchUpdateRecordRequest) error

func (*Client) BindVPC

func (c *Client) BindVPC(ctx context.Context, data *BindVPCRequest) error

func (*Client) CreatePrivateZone

func (c *Client) CreatePrivateZone(ctx context.Context, data *CreatePrivateZoneRequest) (*CreatePrivateZoneResponse, error)

func (*Client) CreateRecord

func (c *Client) CreateRecord(ctx context.Context, data *CreateRecordRequest) (*CreateRecordResponse, error)

func (*Client) DeletePrivateZone

func (c *Client) DeletePrivateZone(ctx context.Context, data *DeletePrivateZoneRequest) error

func (*Client) DeleteRecord

func (c *Client) DeleteRecord(ctx context.Context, data *DeleteRecordRequest) error

func (*Client) IncBindVPC

func (c *Client) IncBindVPC(ctx context.Context, data *IncBindVPCRequest) error

func (*Client) ListAvailabilityZones

func (c *Client) ListAvailabilityZones(ctx context.Context, data *ListAvailabilityZonesRequest) (*ListAvailabilityZonesResponse, error)

func (*Client) ListBindVPC

func (c *Client) ListBindVPC(ctx context.Context, data *ListBindVPCRequest) (*ListBindVPCResponse, error)

func (*Client) ListDomainStatistics

func (c *Client) ListDomainStatistics(ctx context.Context, data *ListDomainStatisticsRequest) (*ListDomainStatisticsResponse, error)

func (*Client) ListPrivateZones

func (c *Client) ListPrivateZones(ctx context.Context, data *ListPrivateZonesRequest) (*ListPrivateZonesResponse, error)

func (*Client) ListRecordAttributes

func (c *Client) ListRecordAttributes(ctx context.Context, data *ListRecordAttributesRequest) (*ListRecordAttributesResponse, error)

func (*Client) ListRecordSets

func (c *Client) ListRecordSets(ctx context.Context, data *ListRecordSetsRequest) (*ListRecordSetsResponse, error)

func (*Client) ListRecords

func (c *Client) ListRecords(ctx context.Context, data *ListRecordsRequest) (*ListRecordsResponse, error)

func (*Client) ListRegions

func (c *Client) ListRegions(ctx context.Context, data *ListRegionsRequest) (*ListRegionsResponse, error)

func (*Client) ListZoneStatistics

func (c *Client) ListZoneStatistics(ctx context.Context, data *ListZoneStatisticsRequest) (*ListZoneStatisticsResponse, error)

func (*Client) QueryDomainStatistics

func (*Client) QueryPrivateZone

func (c *Client) QueryPrivateZone(ctx context.Context, data *QueryPrivateZoneRequest) (*QueryPrivateZoneResponse, error)

func (*Client) QueryRecord added in v1.0.121

func (c *Client) QueryRecord(ctx context.Context, data *QueryRecordRequest) (*QueryRecordResponse, error)

func (*Client) QueryZoneStatistics

func (c *Client) QueryZoneStatistics(ctx context.Context, data *QueryZoneStatisticsRequest) (QueryZoneStatisticsResponse, error)

func (*Client) UpdatePrivateZone

func (c *Client) UpdatePrivateZone(ctx context.Context, data *UpdatePrivateZoneRequest) (*UpdatePrivateZoneResponse, error)

func (*Client) UpdateRecord

func (c *Client) UpdateRecord(ctx context.Context, data *UpdateRecordRequest) error

func (*Client) UpdateRecordSet

func (c *Client) UpdateRecordSet(ctx context.Context, data *UpdateRecordSetRequest) (*UpdateRecordSetResponse, error)

type CreatePrivateZoneRequest

type CreatePrivateZoneRequest struct {
	LineMode      *int64              `form:"LineMode" json:"LineMode,omitempty"`
	RecursionMode *bool               `form:"RecursionMode" json:"RecursionMode,omitempty"`
	Remark        *string             `form:"Remark" json:"Remark,omitempty"`
	VPCs          map[string][]string `form:"VPCs" json:"VPCs,omitempty"`
	ZoneName      *string             `form:"ZoneName" json:"ZoneName,omitempty"`
}

type CreatePrivateZoneResponse

type CreatePrivateZoneResponse struct {
	ZID *int64 `form:"ZID" json:"ZID,omitempty"`
}

type CreateRecordRequest

type CreateRecordRequest struct {
	Host   *string `form:"Host" json:"Host,omitempty"`
	Line   *string `form:"Line" json:"Line,omitempty"`
	Remark *string `form:"Remark" json:"Remark,omitempty"`
	TTL    *int64  `form:"TTL" json:"TTL,omitempty"`
	Type   *string `form:"Type" json:"Type,omitempty"`
	Value  *string `form:"Value" json:"Value,omitempty"`
	Weight *int64  `form:"Weight" json:"Weight,omitempty"`
	ZID    *int64  `form:"ZID" json:"ZID,omitempty"`
}

type CreateRecordResponse

type CreateRecordResponse struct {
	RecordID *string `form:"RecordID" json:"RecordID,omitempty"`
}

type DeletePrivateZoneRequest

type DeletePrivateZoneRequest struct {
	DeleteWhenEmpty *bool  `form:"DeleteWhenEmpty" json:"DeleteWhenEmpty,omitempty"`
	ZID             *int64 `form:"ZID" json:"ZID,omitempty"`
}

type DeleteRecordRequest

type DeleteRecordRequest struct {
	RecordID *string `form:"RecordID" json:"RecordID,omitempty"`
}

type IncBindVPCRequest

type IncBindVPCRequest struct {
	Bind   map[string][]string `form:"Bind" json:"Bind,omitempty"`
	Unbind map[string][]string `form:"Unbind" json:"Unbind,omitempty"`
	ZID    *int64              `form:"ZID" json:"ZID,omitempty"`
}

type ListAvailabilityZonesRequest

type ListAvailabilityZonesRequest struct {
	Region *string `form:"Region" json:"Region,omitempty"`
}

type ListAvailabilityZonesResponse

type ListAvailabilityZonesResponse struct {
	AZs []AZ `form:"AZs" json:"AZs,omitempty"`
}

type ListBindVPCRequest

type ListBindVPCRequest struct {
	Region *string `form:"-" json:"-"`
	ZID    *string `form:"-" json:"-"`
}

type ListBindVPCResponse

type ListBindVPCResponse struct {
	BindVPCs []VPC  `form:"BindVPCs" json:"BindVPCs,omitempty"`
	Total    *int64 `form:"Total" json:"Total,omitempty"`
}

type ListDomainStatisticsRequest

type ListDomainStatisticsRequest struct {
	End        *int64  `form:"End" json:"End,omitempty"`
	Name       *string `form:"Name" json:"Name,omitempty"`
	Page       *int64  `form:"Page" json:"Page,omitempty"`
	SearchMode *string `form:"SearchMode" json:"SearchMode,omitempty"`
	Size       *int64  `form:"Size" json:"Size,omitempty"`
	Start      *int64  `form:"Start" json:"Start,omitempty"`
	ZID        *int64  `form:"ZID" json:"ZID,omitempty"`
}

type ListDomainStatisticsResponse

type ListDomainStatisticsResponse struct {
	Data  []TopGroupStat `form:"Data" json:"Data,omitempty"`
	Page  *int64         `form:"Page" json:"Page,omitempty"`
	Size  *int64         `form:"Size" json:"Size,omitempty"`
	Total *int64         `form:"Total" json:"Total,omitempty"`
}

type ListPrivateZonesRequest

type ListPrivateZonesRequest struct {
	KeyWord       *string  `form:"-" json:"-"`
	LineMode      *string  `form:"-" json:"-"`
	PageNumber    *string  `form:"-" json:"-"`
	PageSize      *string  `form:"-" json:"-"`
	RecursionMode *string  `form:"-" json:"-"`
	Region        *string  `form:"-" json:"-"`
	SearchMode    *string  `form:"-" json:"-"`
	VpcID         *string  `form:"-" json:"-"`
	ZIDs          []string `form:"-" json:"-"`
}

type ListPrivateZonesResponse

type ListPrivateZonesResponse struct {
	PageNumber *int64                   `form:"PageNumber" json:"PageNumber"`
	PageSize   *int64                   `form:"PageSize" json:"PageSize"`
	Total      *int64                   `form:"Total" json:"Total,omitempty"`
	Zones      []TopPrivateZoneResponse `form:"Zones" json:"Zones,omitempty"`
}

type ListRecordAttributesRequest

type ListRecordAttributesRequest struct {
	ZID *string `form:"-" json:"-"`
}

type ListRecordAttributesResponse

type ListRecordAttributesResponse struct {
	TTLs        []int64  `form:"TTLs" json:"TTLs,omitempty"`
	Types       []string `form:"Types" json:"Types,omitempty"`
	WeightLimit *int64   `form:"WeightLimit" json:"WeightLimit,omitempty"`
}

type ListRecordSetsRequest

type ListRecordSetsRequest struct {
	Host        *string `form:"-" json:"-"`
	PageNumber  *string `form:"-" json:"-"`
	PageSize    *string `form:"-" json:"-"`
	RecordSetID *string `form:"-" json:"-"`
	SearchMode  *string `form:"-" json:"-"`
	ZID         *string `form:"-" json:"-"`
}

type ListRecordSetsResponse

type ListRecordSetsResponse struct {
	PageNumber *int64             `form:"PageNumber" json:"PageNumber,omitempty"`
	PageSize   *int64             `form:"PageSize" json:"PageSize,omitempty"`
	RecordSets []TopRecordSetResp `form:"RecordSets" json:"RecordSets,omitempty"`
	TotalCount *int64             `form:"TotalCount" json:"TotalCount,omitempty"`
}

type ListRecordsRequest

type ListRecordsRequest struct {
	Host         *string  `form:"-" json:"-"`
	LastOperator *string  `form:"-" json:"-"`
	Line         *string  `form:"-" json:"-"`
	Name         *string  `form:"-" json:"-"`
	PageNumber   *string  `form:"-" json:"-"`
	PageSize     *string  `form:"-" json:"-"`
	SearchMode   *string  `form:"-" json:"-"`
	SearchOrder  *string  `form:"-" json:"-"`
	Tag          *string  `form:"-" json:"-"`
	Type         *string  `form:"-" json:"-"`
	Value        *string  `form:"-" json:"-"`
	ZID          *string  `form:"-" json:"-"`
	RecordIDs    []string `form:"-" json:"-"`
}

type ListRecordsResponse

type ListRecordsResponse struct {
	Records    []Record `form:"Records" json:"Records,omitempty"`
	PageNumber *int64   `form:"PageNumber" json:"page_number,omitempty"`
	PageSize   *int64   `form:"PageSize" json:"page_size,omitempty"`
	Total      *int64   `form:"Total" json:"total,omitempty"`
}

type ListRegionsRequest

type ListRegionsRequest struct {
	Tag *string `form:"Tag" json:"Tag,omitempty"`
	Env *string `form:"Env" json:"Env,omitempty"`
}

type ListRegionsResponse

type ListRegionsResponse struct {
	Regions []Region `form:"Regions" json:"Regions,omitempty"`
}

type ListZoneStatisticsRequest

type ListZoneStatisticsRequest struct {
	End        *int64  `form:"End" json:"End,omitempty"`
	Name       *string `form:"Name" json:"Name,omitempty"`
	Page       *int64  `form:"Page" json:"Page,omitempty"`
	SearchMode *string `form:"SearchMode" json:"SearchMode,omitempty"`
	Size       *int64  `form:"Size" json:"Size,omitempty"`
	Start      *int64  `form:"Start" json:"Start,omitempty"`
}

type ListZoneStatisticsResponse

type ListZoneStatisticsResponse struct {
	Data       []TopGroupStat `form:"Data" json:"Data,omitempty"`
	PageNumber *int64         `form:"PageNumber" json:"PageNumber,omitempty"`
	PageSize   *int64         `form:"PageSize" json:"PageSize,omitempty"`
	Total      *int64         `form:"Total" json:"Total,omitempty"`
}

type QueryDomainStatisticsRequest

type QueryDomainStatisticsRequest struct {
	End   *int64  `form:"End" json:"End,omitempty"`
	Name  *string `form:"Name" json:"Name,omitempty"`
	Start *int64  `form:"Start" json:"Start,omitempty"`
	ZID   *int64  `form:"ZID" json:"ZID,omitempty"`
}

type QueryDomainStatisticsResponse

type QueryDomainStatisticsResponse []TopStat

type QueryPrivateZoneRequest

type QueryPrivateZoneRequest struct {
	ZID *string `form:"-" json:"-"`
}

type QueryPrivateZoneResponse

type QueryPrivateZoneResponse struct {
	BindVPCs      []VPC    `form:"BindVPCs" json:"BindVPCs,omitempty"`
	CreatedAt     *string  `form:"CreatedAt" json:"CreatedAt,omitempty"`
	LastOperator  *string  `form:"LastOperator" json:"LastOperator,omitempty"`
	LineMode      *int64   `form:"LineMode" json:"LineMode,omitempty"`
	RecordCount   *int64   `form:"RecordCount" json:"RecordCount,omitempty"`
	RecursionMode *bool    `form:"RecursionMode" json:"RecursionMode,omitempty"`
	Region        []string `form:"Region" json:"Region,omitempty"`
	Remark        *string  `form:"Remark" json:"Remark,omitempty"`
	UpdatedAt     *string  `form:"UpdatedAt" json:"UpdatedAt,omitempty"`
	ZoneName      *string  `form:"ZoneName" json:"ZoneName,omitempty"`
}

type QueryRecordRequest added in v1.0.121

type QueryRecordRequest struct {
	RecordID *string `form:"-" json:"-"`
}

type QueryRecordResponse added in v1.0.121

type QueryRecordResponse struct {
	CreatedAt    *string `form:"CreatedAt" json:"CreatedAt,omitempty"`
	Enable       *bool   `form:"Enable" json:"Enable"`
	Host         *string `form:"Host" json:"Host,omitempty"`
	LastOperator *string `form:"LastOperator" json:"LastOperator,omitempty"`
	Line         *string `form:"Line" json:"Line,omitempty"`
	RecordID     *string `form:"RecordID" json:"RecordID,omitempty"`
	Remark       *string `form:"Remark" json:"Remark,omitempty"`
	TTL          *int64  `form:"TTL" json:"TTL,omitempty"`
	Type         *string `form:"Type" json:"Type,omitempty"`
	UpdatedAt    *string `form:"UpdatedAt" json:"UpdatedAt,omitempty"`
	Value        *string `form:"Value" json:"Value,omitempty"`
	Weight       *int64  `form:"Weight" json:"Weight,omitempty"`
	ZID          *int64  `form:"ZID" json:"ZID,omitempty"`
}

type QueryZoneStatisticsRequest

type QueryZoneStatisticsRequest struct {
	End   *int64 `form:"End" json:"End,omitempty"`
	Start *int64 `form:"Start" json:"Start,omitempty"`
	ZID   *int64 `form:"ZID" json:"ZID,omitempty"`
}

type QueryZoneStatisticsResponse

type QueryZoneStatisticsResponse []TopStat

type Record

type Record struct {
	CreatedAt    *string `form:"CreatedAt" json:"CreatedAt,omitempty"`
	Enable       *bool   `form:"Enable" json:"Enable,omitempty"`
	Host         *string `form:"Host" json:"Host,omitempty"`
	LastOperator *string `form:"LastOperator" json:"LastOperator,omitempty"`
	Line         *string `form:"Line" json:"Line,omitempty"`
	RecordID     *string `form:"RecordID" json:"RecordID,omitempty"`
	Remark       *string `form:"Remark" json:"Remark,omitempty"`
	TTL          *int64  `form:"TTL" json:"TTL,omitempty"`
	Type         *string `form:"Type" json:"Type,omitempty"`
	UpdatedAt    *string `form:"UpdatedAt" json:"UpdatedAt,omitempty"`
	Value        *string `form:"Value" json:"Value,omitempty"`
	Weight       *int64  `form:"Weight" json:"Weight,omitempty"`
	ZID          *int64  `form:"ZID" json:"ZID,omitempty"`
}

type Region

type Region struct {
	Code *string `form:"Code" json:"Code,omitempty"`
	Name *string `form:"Name" json:"Name,omitempty"`
}

type TOPError

type TOPError struct {
	Code      string `form:"Code" json:"Code"`
	CodeN     int64  `form:"CodeN" json:"CodeN"`
	Message   string `form:"Message" json:"Message"`
	RequestID string `form:"RequestId" json:"RequestId"`
}

func NewTOPError

func NewTOPError(respMeta *TopRespMeta) *TOPError

func (*TOPError) Error

func (err *TOPError) Error() string

func (*TOPError) GetCode

func (err *TOPError) GetCode() int64

type TopGroupStat

type TopGroupStat struct {
	Name      *string `form:"Name" json:"Name,omitempty"`
	Timestamp *int64  `form:"Timestamp" json:"Timestamp,omitempty"`
	Total     *int64  `form:"Total" json:"Total,omitempty"`
	ZID       *int64  `form:"ZID" json:"ZID,omitempty"`
}

type TopPrivateZoneResponse

type TopPrivateZoneResponse struct {
	CreatedAt     *string  `form:"CreatedAt" json:"CreatedAt,omitempty"`
	LastOperator  *string  `form:"LastOperator" json:"LastOperator,omitempty"`
	LineMode      *int64   `form:"LineMode" json:"LineMode,omitempty"`
	RecordCount   *int64   `form:"RecordCount" json:"RecordCount,omitempty"`
	RecursionMode *bool    `form:"RecursionMode" json:"RecursionMode,omitempty"`
	Region        []string `form:"Region" json:"Region,omitempty"`
	Remark        *string  `form:"Remark" json:"Remark,omitempty"`
	UpdatedAt     *string  `form:"UpdatedAt" json:"UpdatedAt,omitempty"`
	ZID           *int64   `form:"ZID" json:"ZID,omitempty"`
	ZoneName      *string  `form:"ZoneName" json:"ZoneName,omitempty"`
}

type TopRecordSetResp

type TopRecordSetResp struct {
	FQDN          *string `form:"FQDN" json:"FQDN,omitempty"`
	Host          *string `form:"Host" json:"Host,omitempty"`
	ID            *string `form:"ID" json:"ID,omitempty"`
	Line          *string `form:"Line" json:"Line,omitempty"`
	Type          *string `form:"Type" json:"Type,omitempty"`
	WeightEnabled *bool   `form:"WeightEnabled" json:"WeightEnabled,omitempty"`
}

type TopRespError

type TopRespError struct {
	Code    string `form:"Code" json:"Code"`
	CodeN   int64  `form:"CodeN" json:"CodeN"`
	Message string `form:"Message" json:"Message"`
}

type TopRespMeta

type TopRespMeta struct {
	Action    string       `form:"Action" json:"Action"`
	Error     TopRespError `form:"Error" json:"Error"`
	Region    string       `form:"Region" json:"Region"`
	RequestID string       `form:"RequestId" json:"RequestId"`
	Service   string       `form:"Service" json:"Service"`
	Version   string       `form:"Version" json:"Version"`
}

type TopResponse

type TopResponse struct {
	ResponseMetadata TopRespMeta     `form:"ResponseMetadata" json:"ResponseMetadata"`
	Result           json.RawMessage `form:"Result" json:"Result"`
}

type TopStat

type TopStat struct {
	Timestamp *int64 `form:"Timestamp" json:"Timestamp,omitempty"`
	Total     *int64 `form:"Total" json:"Total,omitempty"`
}

type URecord

type URecord struct {
	Enable   *bool   `form:"Enable" json:"Enable,omitempty"`
	Host     *string `form:"Host" json:"Host,omitempty"`
	Line     *string `form:"Line" json:"Line,omitempty"`
	RecordID *string `form:"RecordID" json:"RecordID,omitempty"`
	Remark   *string `form:"Remark" json:"Remark,omitempty"`
	TTL      *int64  `form:"TTL" json:"TTL,omitempty"`
	Type     *string `form:"Type" json:"Type,omitempty"`
	Value    *string `form:"Value" json:"Value,omitempty"`
	Weight   *int64  `form:"Weight" json:"Weight,omitempty"`
}

type UpdatePrivateZoneRequest

type UpdatePrivateZoneRequest struct {
	LoadBalance   *bool   `form:"LoadBalance" json:"LoadBalance,omitempty"`
	RecursionMode *bool   `form:"RecursionMode" json:"RecursionMode,omitempty"`
	Remark        *string `form:"Remark" json:"Remark,omitempty"`
	ZID           *int64  `form:"ZID" json:"ZID,omitempty"`
}

type UpdatePrivateZoneResponse

type UpdatePrivateZoneResponse struct {
	CreatedAt     *string  `form:"CreatedAt" json:"CreatedAt,omitempty"`
	LastOperator  *string  `form:"LastOperator" json:"LastOperator,omitempty"`
	LineMode      *int64   `form:"LineMode" json:"LineMode,omitempty"`
	RecordCount   *int64   `form:"RecordCount" json:"RecordCount,omitempty"`
	RecursionMode *bool    `form:"RecursionMode" json:"RecursionMode,omitempty"`
	Region        []string `form:"Region" json:"Region,omitempty"`
	Remark        *string  `form:"Remark" json:"Remark,omitempty"`
	UpdatedAt     *string  `form:"UpdatedAt" json:"UpdatedAt,omitempty"`
	ZID           *int64   `form:"ZID" json:"ZID,omitempty"`
	ZoneName      *string  `form:"ZoneName" json:"ZoneName,omitempty"`
}

type UpdateRecordRequest

type UpdateRecordRequest struct {
	Enable   *bool   `form:"Enable" json:"Enable,omitempty"`
	Host     *string `form:"Host" json:"Host,omitempty"`
	Line     *string `form:"Line" json:"Line,omitempty"`
	RecordID *string `form:"RecordID" json:"RecordID,omitempty"`
	Remark   *string `form:"Remark" json:"Remark,omitempty"`
	TTL      *int64  `form:"TTL" json:"TTL,omitempty"`
	Type     *string `form:"Type" json:"Type,omitempty"`
	Value    *string `form:"Value" json:"Value,omitempty"`
	Weight   *int64  `form:"Weight" json:"Weight,omitempty"`
}

type UpdateRecordSetRequest

type UpdateRecordSetRequest struct {
	RecordSetID   *string `form:"RecordSetID" json:"RecordSetID,omitempty"`
	WeightEnabled *bool   `form:"WeightEnabled" json:"WeightEnabled,omitempty"`
}

type UpdateRecordSetResponse

type UpdateRecordSetResponse struct {
	FQDN          *string `form:"FQDN" json:"FQDN,omitempty"`
	Host          *string `form:"Host" json:"Host,omitempty"`
	ID            *string `form:"ID" json:"ID,omitempty"`
	Line          *string `form:"Line" json:"Line,omitempty"`
	Type          *string `form:"Type" json:"Type,omitempty"`
	WeightEnabled *bool   `form:"WeightEnabled" json:"WeightEnabled,omitempty"`
}

type VPC

type VPC struct {
	AccountID  *string `form:"AccountID" json:"AccountID,omitempty"`
	ID         *string `form:"ID" json:"ID,omitempty"`
	Region     *string `form:"Region" json:"Region,omitempty"`
	RegionName *string `form:"RegionName" json:"RegionName,omitempty"`
}

type VolcCaller

type VolcCaller struct {
	Volc *base.Client
}

func NewVolcCaller

func NewVolcCaller() *VolcCaller

func (*VolcCaller) Do

func (c *VolcCaller) Do(r *http.Request) (*http.Response, error)

func (*VolcCaller) GetServiceInfo

func (p *VolcCaller) GetServiceInfo() *base.ServiceInfo

GetServiceInfo interface

func (*VolcCaller) SetHost

func (p *VolcCaller) SetHost(host string)

func (*VolcCaller) SetRegion

func (p *VolcCaller) SetRegion(region string)

func (*VolcCaller) SetSchema

func (p *VolcCaller) SetSchema(schema string)

func (*VolcCaller) SetService

func (p *VolcCaller) SetService(service string)

Jump to

Keyboard shortcuts

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