Documentation ¶
Index ¶
- Constants
- Variables
- func NewDefaultServiceInfo() *base.Client
- type AddressConfig
- type BatchDeleteCustomerLineRequest
- type BatchDeleteCustomerLineResponse
- type Caller
- type CheckRetrieveZoneRequest
- type CheckRetrieveZoneResponse
- type Client
- func (c *Client) BatchDeleteCustomerLine(ctx context.Context, data *BatchDeleteCustomerLineRequest) (*BatchDeleteCustomerLineResponse, error)
- func (c *Client) CheckRetrieveZone(ctx context.Context, data *CheckRetrieveZoneRequest) (*CheckRetrieveZoneResponse, error)
- func (c *Client) CreateCustomerLine(ctx context.Context, data *CreateCustomerLineRequest) (*CreateCustomerLineResponse, error)
- func (c *Client) CreateRecord(ctx context.Context, data *CreateRecordRequest) (*CreateRecordResponse, error)
- func (c *Client) CreateZone(ctx context.Context, data *CreateZoneRequest) (*CreateZoneResponse, error)
- func (c *Client) DeleteRecord(ctx context.Context, data *DeleteRecordRequest) error
- func (c *Client) DeleteZone(ctx context.Context, data *DeleteZoneRequest) error
- func (c *Client) ListCustomerLines(ctx context.Context, data *ListCustomerLinesRequest) (*ListCustomerLinesResponse, error)
- func (c *Client) ListDomainStatistics(ctx context.Context, data *ListDomainStatisticsRequest) (*ListDomainStatisticsResponse, error)
- func (c *Client) ListLines(ctx context.Context, data *ListLinesRequest) (*ListLinesResponse, error)
- func (c *Client) ListRecordAttributes(ctx context.Context, data *ListRecordAttributesRequest) (*ListRecordAttributesResponse, error)
- func (c *Client) ListRecordDigestByLine(ctx context.Context, data *ListRecordDigestByLineRequest) (*ListRecordDigestByLineResponse, error)
- func (c *Client) ListRecordSets(ctx context.Context, data *ListRecordSetsRequest) (*ListRecordSetsResponse, error)
- func (c *Client) ListRecords(ctx context.Context, data *ListRecordsRequest) (*ListRecordsResponse, error)
- func (c *Client) ListRecordsAdvance(ctx context.Context, data *ListRecordsAdvanceRequest) (*ListRecordsAdvanceResponse, error)
- func (c *Client) ListZoneStatistics(ctx context.Context, data *ListZoneStatisticsRequest) (*ListZoneStatisticsResponse, error)
- func (c *Client) ListZones(ctx context.Context, data *ListZonesRequest) (*ListZonesResponse, error)
- func (c *Client) ListZonesNameServer(ctx context.Context, data *ListZonesNameServerRequest) (*ListZonesNameServerResponse, error)
- func (c *Client) QueryDomainStatistics(ctx context.Context, data *QueryDomainStatisticsRequest) (QueryDomainStatisticsResponse, error)
- func (c *Client) QueryRecord(ctx context.Context, data *QueryRecordRequest) (*QueryRecordResponse, error)
- func (c *Client) QueryZone(ctx context.Context, data *QueryZoneRequest) (*QueryZoneResponse, error)
- func (c *Client) QueryZoneStatistics(ctx context.Context, data *QueryZoneStatisticsRequest) (QueryZoneStatisticsResponse, error)
- func (c *Client) RetrieveZone(ctx context.Context, data *RetrieveZoneRequest) (*RetrieveZoneResponse, error)
- func (c *Client) SyncFullRecordsV2(ctx context.Context, data *SyncFullRecordsV2Request) (*SyncFullRecordsV2Response, error)
- func (c *Client) UpdateCustomerLine(ctx context.Context, data *UpdateCustomerLineRequest) (*UpdateCustomerLineResponse, error)
- func (c *Client) UpdateRecord(ctx context.Context, data *UpdateRecordRequest) (*UpdateRecordResponse, error)
- func (c *Client) UpdateRecordSet(ctx context.Context, data *UpdateRecordSetRequest) (*UpdateRecordSetResponse, error)
- func (c *Client) UpdateRecordStatus(ctx context.Context, data *UpdateRecordStatusRequest) (*UpdateRecordStatusResponse, error)
- func (c *Client) UpdateZone(ctx context.Context, data *UpdateZoneRequest) (*UpdateZoneResponse, error)
- type CreateCustomerLineRequest
- type CreateCustomerLineResponse
- type CreateRecordRequest
- type CreateRecordResponse
- type CreateZoneRequest
- type CreateZoneResponse
- type CustomerLine
- type DeleteRecordRequest
- type DeleteZoneRequest
- type ListCustomerLinesRequest
- type ListCustomerLinesResponse
- type ListDomainStatisticsRequest
- type ListDomainStatisticsResponse
- type ListLinesRequest
- type ListLinesResponse
- type ListRecordAttributesRequest
- type ListRecordAttributesResponse
- type ListRecordDigestByLineRequest
- type ListRecordDigestByLineResponse
- type ListRecordSetsRequest
- type ListRecordSetsResponse
- type ListRecordsAdvanceRequest
- type ListRecordsAdvanceResponse
- type ListRecordsRequest
- type ListRecordsResponse
- type ListZoneStatisticsRequest
- type ListZoneStatisticsResponse
- type ListZonesNameServerRequest
- type ListZonesNameServerResponse
- type ListZonesRequest
- type ListZonesResponse
- type QueryDomainStatisticsRequest
- type QueryDomainStatisticsResponse
- type QueryRecordRequest
- type QueryRecordResponse
- type QueryZoneRequest
- type QueryZoneResponse
- type QueryZoneStatisticsRequest
- type QueryZoneStatisticsResponse
- type RecordDigest
- type RetrieveZoneRequest
- type RetrieveZoneResponse
- type SDKClient
- type Stat
- type SyncFullRecordsV2Request
- type SyncFullRecordsV2Response
- type TOPError
- type TopGroupStat
- type TopLineResponse
- type TopRecordResponse
- type TopRecordSetResp
- type TopRespError
- type TopRespMeta
- type TopResponse
- type TopStat
- type TopSubDomain
- type TopZoneResponse
- type UpdateCustomerLineRequest
- type UpdateCustomerLineResponse
- type UpdateRecordRequest
- type UpdateRecordResponse
- type UpdateRecordSetRequest
- type UpdateRecordSetResponse
- type UpdateRecordStatusRequest
- type UpdateRecordStatusResponse
- type UpdateZoneRequest
- type UpdateZoneResponse
- type VolcCaller
- type ZoneNameServerInfo
Constants ¶
View Source
const ( DefaultRegion = "cn-beijing" ServiceVersion = "2018-08-01" ServiceName = "dns" Timeout = 15 )
Variables ¶
View Source
var ( ServiceInfo = &base.ServiceInfo{ Timeout: Timeout * time.Second, Host: "open.volcengineapi.com", Header: http.Header{ "Accept": []string{"application/json"}, }, Scheme: "http", Credentials: base.Credentials{ Service: ServiceName, Region: DefaultRegion, AccessKeyID: os.Getenv("VOLC_ACCESSKEY"), SecretAccessKey: os.Getenv("VOLC_SECRETKEY"), }, } )
Functions ¶
func NewDefaultServiceInfo ¶
Types ¶
type AddressConfig ¶
type BatchDeleteCustomerLineRequest ¶
type BatchDeleteCustomerLineRequest struct {
Lines []string `form:"Lines" json:"Lines,omitempty"`
}
type BatchDeleteCustomerLineResponse ¶
type BatchDeleteCustomerLineResponse struct {
TotalCount *int64 `form:"TotalCount" json:"TotalCount,omitempty"`
}
type CheckRetrieveZoneRequest ¶
type CheckRetrieveZoneRequest struct {
ZoneName *string `form:"ZoneName" json:"ZoneName,omitempty"`
}
type CheckRetrieveZoneResponse ¶
type CheckRetrieveZoneResponse struct {
Success *string `form:"Success" json:"Success,omitempty"`
}
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) BatchDeleteCustomerLine ¶
func (c *Client) BatchDeleteCustomerLine(ctx context.Context, data *BatchDeleteCustomerLineRequest) (*BatchDeleteCustomerLineResponse, error)
func (*Client) CheckRetrieveZone ¶
func (c *Client) CheckRetrieveZone(ctx context.Context, data *CheckRetrieveZoneRequest) (*CheckRetrieveZoneResponse, error)
func (*Client) CreateCustomerLine ¶
func (c *Client) CreateCustomerLine(ctx context.Context, data *CreateCustomerLineRequest) (*CreateCustomerLineResponse, error)
func (*Client) CreateRecord ¶
func (c *Client) CreateRecord(ctx context.Context, data *CreateRecordRequest) (*CreateRecordResponse, error)
func (*Client) CreateZone ¶
func (c *Client) CreateZone(ctx context.Context, data *CreateZoneRequest) (*CreateZoneResponse, error)
func (*Client) DeleteRecord ¶
func (c *Client) DeleteRecord(ctx context.Context, data *DeleteRecordRequest) error
func (*Client) DeleteZone ¶
func (c *Client) DeleteZone(ctx context.Context, data *DeleteZoneRequest) error
func (*Client) ListCustomerLines ¶
func (c *Client) ListCustomerLines(ctx context.Context, data *ListCustomerLinesRequest) (*ListCustomerLinesResponse, error)
func (*Client) ListDomainStatistics ¶
func (c *Client) ListDomainStatistics(ctx context.Context, data *ListDomainStatisticsRequest) (*ListDomainStatisticsResponse, error)
func (*Client) ListLines ¶
func (c *Client) ListLines(ctx context.Context, data *ListLinesRequest) (*ListLinesResponse, error)
func (*Client) ListRecordAttributes ¶
func (c *Client) ListRecordAttributes(ctx context.Context, data *ListRecordAttributesRequest) (*ListRecordAttributesResponse, error)
func (*Client) ListRecordDigestByLine ¶
func (c *Client) ListRecordDigestByLine(ctx context.Context, data *ListRecordDigestByLineRequest) (*ListRecordDigestByLineResponse, 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) ListRecordsAdvance ¶
func (c *Client) ListRecordsAdvance(ctx context.Context, data *ListRecordsAdvanceRequest) (*ListRecordsAdvanceResponse, error)
func (*Client) ListZoneStatistics ¶
func (c *Client) ListZoneStatistics(ctx context.Context, data *ListZoneStatisticsRequest) (*ListZoneStatisticsResponse, error)
func (*Client) ListZones ¶
func (c *Client) ListZones(ctx context.Context, data *ListZonesRequest) (*ListZonesResponse, error)
func (*Client) ListZonesNameServer ¶
func (c *Client) ListZonesNameServer(ctx context.Context, data *ListZonesNameServerRequest) (*ListZonesNameServerResponse, error)
func (*Client) QueryDomainStatistics ¶
func (c *Client) QueryDomainStatistics(ctx context.Context, data *QueryDomainStatisticsRequest) (QueryDomainStatisticsResponse, error)
func (*Client) QueryRecord ¶
func (c *Client) QueryRecord(ctx context.Context, data *QueryRecordRequest) (*QueryRecordResponse, error)
func (*Client) QueryZone ¶
func (c *Client) QueryZone(ctx context.Context, data *QueryZoneRequest) (*QueryZoneResponse, error)
func (*Client) QueryZoneStatistics ¶
func (c *Client) QueryZoneStatistics(ctx context.Context, data *QueryZoneStatisticsRequest) (QueryZoneStatisticsResponse, error)
func (*Client) RetrieveZone ¶
func (c *Client) RetrieveZone(ctx context.Context, data *RetrieveZoneRequest) (*RetrieveZoneResponse, error)
func (*Client) SyncFullRecordsV2 ¶
func (c *Client) SyncFullRecordsV2(ctx context.Context, data *SyncFullRecordsV2Request) (*SyncFullRecordsV2Response, error)
func (*Client) UpdateCustomerLine ¶
func (c *Client) UpdateCustomerLine(ctx context.Context, data *UpdateCustomerLineRequest) (*UpdateCustomerLineResponse, error)
func (*Client) UpdateRecord ¶
func (c *Client) UpdateRecord(ctx context.Context, data *UpdateRecordRequest) (*UpdateRecordResponse, error)
func (*Client) UpdateRecordSet ¶
func (c *Client) UpdateRecordSet(ctx context.Context, data *UpdateRecordSetRequest) (*UpdateRecordSetResponse, error)
func (*Client) UpdateRecordStatus ¶
func (c *Client) UpdateRecordStatus(ctx context.Context, data *UpdateRecordStatusRequest) (*UpdateRecordStatusResponse, error)
func (*Client) UpdateZone ¶
func (c *Client) UpdateZone(ctx context.Context, data *UpdateZoneRequest) (*UpdateZoneResponse, error)
type CreateCustomerLineResponse ¶
type CreateCustomerLineResponse struct {
Line *string `form:"Line" json:"Line,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 { CreatedAt *string `form:"CreatedAt" json:"CreatedAt,omitempty"` Enable *bool `form:"Enable" json:"Enable,omitempty"` FQDN *string `form:"FQDN" json:"FQDN,omitempty"` Host *string `form:"Host" json:"Host,omitempty"` Line *string `form:"Line" json:"Line,omitempty"` Operators []string `form:"Operators" json:"Operators,omitempty"` PQDN *string `form:"PQDN" json:"PQDN,omitempty"` RecordID *string `form:"RecordID" json:"RecordID,omitempty"` RecordSetID *string `form:"RecordSetID" json:"RecordSetID,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"` }
type CreateZoneRequest ¶
type CreateZoneResponse ¶
type CreateZoneResponse struct { CacheStage *int64 `form:"CacheStage" json:"CacheStage,omitempty"` ConfigurationCode *string `form:"ConfigurationCode" json:"ConfigurationCode,omitempty"` CreatedAt *string `form:"CreatedAt" json:"CreatedAt,omitempty"` ExpiredTime *int64 `form:"ExpiredTime" json:"ExpiredTime,omitempty"` InstanceID *string `form:"InstanceID" json:"InstanceID,omitempty"` LastOperator *string `form:"LastOperator" json:"LastOperator,omitempty"` RecordCount *int64 `form:"RecordCount" json:"RecordCount,omitempty"` Remark *string `form:"Remark" json:"Remark,omitempty"` TradeCode *string `form:"TradeCode" json:"TradeCode,omitempty"` UpdatedAt *string `form:"UpdatedAt" json:"UpdatedAt,omitempty"` ZID *int64 `form:"ZID" json:"ZID,omitempty"` ZoneName *string `form:"ZoneName" json:"ZoneName,omitempty"` }
type CustomerLine ¶
type CustomerLine struct { CreatedAt *string `form:"CreatedAt" json:"CreatedAt,omitempty"` IPSegments []string `form:"IPSegments" json:"IPSegments,omitempty"` Line *string `form:"Line" json:"Line,omitempty"` NameCN *string `form:"NameCN" json:"NameCN,omitempty"` Remark *string `form:"Remark" json:"Remark,omitempty"` UpdatedAt *string `form:"UpdatedAt" json:"UpdatedAt,omitempty"` }
type DeleteRecordRequest ¶
type DeleteRecordRequest struct {
RecordID *string `form:"RecordID" json:"RecordID,omitempty"`
}
type DeleteZoneRequest ¶
type DeleteZoneRequest struct {
ZID *int64 `form:"ZID" json:"ZID,omitempty"`
}
type ListCustomerLinesResponse ¶
type ListCustomerLinesResponse struct { CustomerLines []CustomerLine `form:"CustomerLines" json:"CustomerLines,omitempty"` IPSegmentCount *int64 `form:"IPSegmentCount" json:"IPSegmentCount,omitempty"` PageNumber *int64 `form:"PageNumber" json:"PageNumber,omitempty"` PageSize *int64 `form:"PageSize" json:"PageSize,omitempty"` TotalCount *int64 `form:"TotalCount" json:"TotalCount,omitempty"` }
type ListDomainStatisticsRequest ¶
type ListDomainStatisticsRequest struct { End *string `form:"-" json:"-"` Name *string `form:"-" json:"-"` PageNumber *string `form:"-" json:"-"` PageSize *string `form:"-" json:"-"` SearchMode *string `form:"-" json:"-"` Start *string `form:"-" json:"-"` Threshold *string `form:"-" json:"-"` ZID *string `form:"-" json:"-"` }
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 ListLinesRequest ¶
type ListLinesResponse ¶
type ListLinesResponse struct { Lines []TopLineResponse `form:"Lines" json:"Lines,omitempty"` PageNumber *int64 `form:"PageNumber" json:"PageNumber,omitempty"` PageSize *int64 `form:"PageSize" json:"PageSize,omitempty"` TotalCount *int64 `form:"TotalCount" json:"TotalCount,omitempty"` }
type ListRecordAttributesRequest ¶
type ListRecordAttributesRequest struct {
ZID *string `form:"-" json:"-"`
}
type ListRecordAttributesResponse ¶
type ListRecordAttributesResponse struct { BackupSchedules []int64 `form:"BackupSchedules" json:"BackupSchedules,omitempty"` LineLevelLimit []int64 `form:"LineLevelLimit" json:"LineLevelLimit,omitempty"` LoadBalancerLimit *int64 `form:"LoadBalancerLimit" json:"LoadBalancerLimit,omitempty"` RecordStatisticsLimit *bool `form:"RecordStatisticsLimit" json:"RecordStatisticsLimit,omitempty"` RecordTierLimit *int64 `form:"RecordTierLimit" json:"RecordTierLimit,omitempty"` TTLs []int64 `form:"TTLs" json:"TTLs,omitempty"` Types []string `form:"Types" json:"Types,omitempty"` WeightLimit *int64 `form:"WeightLimit" json:"WeightLimit,omitempty"` }
type ListRecordDigestByLineRequest ¶
type ListRecordDigestByLineRequest struct {
Line *string `form:"Line" json:"Line,omitempty"`
}
type ListRecordDigestByLineResponse ¶
type ListRecordDigestByLineResponse struct { Line *string `form:"Line" json:"Line,omitempty"` RecordDigests []RecordDigest `form:"RecordDigests" json:"RecordDigests,omitempty"` }
type ListRecordSetsRequest ¶
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 ListRecordsAdvanceRequest ¶
type ListRecordsAdvanceRequest struct { Enable *string `form:"-" json:"-"` Host *string `form:"-" json:"-"` LastOperator *string `form:"-" json:"-"` Line *string `form:"-" json:"-"` Name *string `form:"-" json:"-"` OrderKey *string `form:"-" json:"-"` PageNumber *string `form:"-" json:"-"` PageSize *string `form:"-" json:"-"` SearchMode *string `form:"-" json:"-"` SearchOrder *string `form:"-" json:"-"` SubPageNumber *string `form:"-" json:"-"` SubPageSize *string `form:"-" json:"-"` TTL *string `form:"-" json:"-"` Type *string `form:"-" json:"-"` Value *string `form:"-" json:"-"` ZID *string `form:"-" json:"-"` }
type ListRecordsAdvanceResponse ¶
type ListRecordsAdvanceResponse struct { PageNumber *int64 `form:"PageNumber" json:"PageNumber,omitempty"` PageSize *int64 `form:"PageSize" json:"PageSize,omitempty"` SubDomains []TopSubDomain `form:"SubDomains" json:"SubDomains,omitempty"` TotalCount *int64 `form:"TotalCount" json:"TotalCount,omitempty"` TotalRecordCount *int64 `form:"TotalRecordCount" json:"TotalRecordCount,omitempty"` }
type ListRecordsRequest ¶
type ListRecordsRequest struct { Host *string `form:"-" json:"-"` Line *string `form:"-" json:"-"` PageNumber *string `form:"-" json:"-"` PageSize *string `form:"-" json:"-"` RecordSetID *string `form:"-" json:"-"` SearchMode *string `form:"-" json:"-"` SearchOrder *string `form:"-" json:"-"` Type *string `form:"-" json:"-"` Value *string `form:"-" json:"-"` ZID *string `form:"-" json:"-"` }
type ListRecordsResponse ¶
type ListRecordsResponse struct { PageNumber *int64 `form:"PageNumber" json:"PageNumber,omitempty"` PageSize *int64 `form:"PageSize" json:"PageSize,omitempty"` Records []TopRecordResponse `form:"Records" json:"Records,omitempty"` TotalCount *int64 `form:"TotalCount" json:"TotalCount,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 ListZonesNameServerRequest ¶
type ListZonesNameServerRequest struct {
ZIDs *string `form:"-" json:"-"`
}
type ListZonesNameServerResponse ¶
type ListZonesNameServerResponse struct {
ZonesNameServer []ZoneNameServerInfo `form:"ZonesNameServer" json:"ZonesNameServer,omitempty"`
}
type ListZonesRequest ¶
type ListZonesRequest struct { AboutToExpire *string `form:"-" json:"-"` Key *string `form:"-" json:"-"` OrderKey *string `form:"-" json:"-"` PageNumber *string `form:"-" json:"-"` PageSize *string `form:"-" json:"-"` Remark *string `form:"-" json:"-"` SearchMode *string `form:"-" json:"-"` SearchOrder *string `form:"-" json:"-"` Stage *string `form:"-" json:"-"` TradeCode *string `form:"-" json:"-"` }
type ListZonesResponse ¶
type ListZonesResponse struct { Total *int64 `form:"Total" json:"Total,omitempty"` Zones []TopZoneResponse `form:"Zones" json:"Zones,omitempty"` }
type QueryDomainStatisticsResponse ¶
type QueryDomainStatisticsResponse []TopStat
type QueryRecordRequest ¶
type QueryRecordResponse ¶
type QueryRecordResponse struct { CreatedAt *string `form:"CreatedAt" json:"CreatedAt,omitempty"` Enable *bool `form:"Enable" json:"Enable,omitempty"` FQDN *string `form:"FQDN" json:"FQDN,omitempty"` Host *string `form:"Host" json:"Host,omitempty"` Line *string `form:"Line" json:"Line,omitempty"` Operators []string `form:"Operators" json:"Operators,omitempty"` PQDN *string `form:"PQDN" json:"PQDN,omitempty"` RecordID *string `form:"RecordID" json:"RecordID,omitempty"` RecordSetID *string `form:"RecordSetID" json:"RecordSetID,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"` }
type QueryZoneRequest ¶
type QueryZoneResponse ¶
type QueryZoneResponse struct { AllocateDNSServerList []string `form:"AllocateDNSServerList" json:"AllocateDNSServerList,omitempty"` ConfigurationCode *string `form:"ConfigurationCode" json:"ConfigurationCode,omitempty"` ExpiredTime *int64 `form:"ExpiredTime" json:"ExpiredTime,omitempty"` InstanceNo *string `form:"InstanceNo" json:"InstanceNo,omitempty"` IsNSCorrect *bool `form:"IsNSCorrect" json:"IsNSCorrect,omitempty"` RealDNSServerList []string `form:"RealDNSServerList" json:"RealDNSServerList,omitempty"` RecordCount *int64 `form:"RecordCount" json:"RecordCount,omitempty"` Remark *string `form:"Remark" json:"Remark,omitempty"` Stage *int64 `form:"Stage" json:"Stage,omitempty"` Status *int64 `form:"Status" json:"Status,omitempty"` TradeCode *string `form:"TradeCode" json:"TradeCode,omitempty"` UpdatedAt *string `form:"UpdatedAt" json:"UpdatedAt,omitempty"` ZoneName *string `form:"ZoneName" json:"ZoneName,omitempty"` }
type QueryZoneStatisticsResponse ¶
type QueryZoneStatisticsResponse []Stat
type RecordDigest ¶
type RetrieveZoneRequest ¶
type RetrieveZoneRequest struct {
ZoneName *string `form:"ZoneName" json:"ZoneName,omitempty"`
}
type RetrieveZoneResponse ¶
type SDKClient ¶
SDKClient .
func (*SDKClient) GetServiceInfo ¶
func (p *SDKClient) GetServiceInfo() *base.ServiceInfo
GetServiceInfo interface
type Stat ¶
type Stat struct { Error *int64 `form:"error" json:"error,omitempty"` NotExists *int64 `form:"not_exists" json:"not_exists,omitempty"` Success *int64 `form:"success" json:"success,omitempty"` Timestamp *int64 `form:"timestamp" json:"timestamp,omitempty"` Total *int64 `form:"total" json:"total,omitempty"` }
type SyncFullRecordsV2Request ¶
type SyncFullRecordsV2Request struct { Await *bool `form:"Await" json:"Await,omitempty"` DomainWeightEnable *bool `form:"DomainWeightEnable" json:"DomainWeightEnable,omitempty"` IncludeTypes *string `form:"IncludeTypes" json:"IncludeTypes,omitempty"` RecordSetWeightEnable *bool `form:"RecordSetWeightEnable" json:"RecordSetWeightEnable,omitempty"` SyncAll *bool `form:"SyncAll" json:"SyncAll,omitempty"` SyncConf *string `form:"SyncConf" json:"SyncConf,omitempty"` Zones map[string]map[string]map[string]map[string]map[string]AddressConfig `form:"Zones" json:"Zones,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
type TopGroupStat ¶
type TopGroupStat struct { CacheStage *int64 `form:"CacheStage" json:"CacheStage,omitempty"` Error *int64 `form:"Error" json:"Error,omitempty"` Name *string `form:"Name" json:"Name,omitempty"` NotExists *int64 `form:"NotExists" json:"NotExists,omitempty"` Success *int64 `form:"Success" json:"Success,omitempty"` Timestamp *int64 `form:"Timestamp" json:"Timestamp,omitempty"` Total *int64 `form:"Total" json:"Total,omitempty"` ZID *int64 `form:"ZID" json:"ZID,omitempty"` }
type TopLineResponse ¶
type TopLineResponse struct { Children []TopLineResponse `form:"Children" json:"Children,omitempty"` FatherValue *string `form:"FatherValue" json:"FatherValue,omitempty"` ID *string `form:"ID" json:"ID,omitempty"` IpSegment *string `form:"IpSegment" json:"IpSegment,omitempty"` Level *int64 `form:"Level" json:"Level,omitempty"` Name *string `form:"Name" json:"Name,omitempty"` PartName *string `form:"PartName" json:"PartName,omitempty"` Type *int64 `form:"Type" json:"Type,omitempty"` Value *string `form:"Value" json:"Value,omitempty"` }
type TopRecordResponse ¶
type TopRecordResponse struct { CreatedAt *string `form:"CreatedAt" json:"CreatedAt,omitempty"` Enable *bool `form:"Enable" json:"Enable,omitempty"` FQDN *string `form:"FQDN" json:"FQDN,omitempty"` Host *string `form:"Host" json:"Host,omitempty"` Line *string `form:"Line" json:"Line,omitempty"` Operators []string `form:"Operators" json:"Operators,omitempty"` PQDN *string `form:"PQDN" json:"PQDN,omitempty"` RecordID *string `form:"RecordID" json:"RecordID,omitempty"` RecordSetID *string `form:"RecordSetID" json:"RecordSetID,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"` }
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"` PQDN *string `form:"PQDN" json:"PQDN,omitempty"` Type *string `form:"Type" json:"Type,omitempty"` WeightEnabled *bool `form:"WeightEnabled" json:"WeightEnabled,omitempty"` }
type TopRespError ¶
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 { Error *int64 `form:"Error" json:"Error,omitempty"` NotExists *int64 `form:"NotExists" json:"NotExists,omitempty"` Success *int64 `form:"Success" json:"Success,omitempty"` Timestamp *int64 `form:"Timestamp" json:"Timestamp,omitempty"` Total *int64 `form:"Total" json:"Total,omitempty"` }
type TopSubDomain ¶
type TopSubDomain struct { HasNext *bool `form:"HasNext" json:"HasNext,omitempty"` Host *string `form:"Host" json:"Host,omitempty"` LastOperator *string `form:"LastOperator" json:"LastOperator,omitempty"` Line *string `form:"Line" json:"Line,omitempty"` LineNameCN *string `form:"LineNameCN" json:"LineNameCN,omitempty"` Name *string `form:"Name" json:"Name,omitempty"` Records []TopRecordResponse `form:"Records" json:"Records,omitempty"` TTL *int64 `form:"TTL" json:"TTL,omitempty"` Type *string `form:"Type" json:"Type,omitempty"` UpdatedAt *string `form:"UpdatedAt" json:"UpdatedAt,omitempty"` WeightEnabled *bool `form:"WeightEnabled" json:"WeightEnabled,omitempty"` }
type TopZoneResponse ¶
type TopZoneResponse struct { CacheStage *int64 `form:"CacheStage" json:"CacheStage,omitempty"` ConfigurationCode *string `form:"ConfigurationCode" json:"ConfigurationCode,omitempty"` CreatedAt *string `form:"CreatedAt" json:"CreatedAt,omitempty"` ExpiredTime *int64 `form:"ExpiredTime" json:"ExpiredTime,omitempty"` InstanceID *string `form:"InstanceID" json:"InstanceID,omitempty"` LastOperator *string `form:"LastOperator" json:"LastOperator,omitempty"` RecordCount *int64 `form:"RecordCount" json:"RecordCount,omitempty"` Remark *string `form:"Remark" json:"Remark,omitempty"` TradeCode *string `form:"TradeCode" json:"TradeCode,omitempty"` UpdatedAt *string `form:"UpdatedAt" json:"UpdatedAt,omitempty"` ZID *int64 `form:"ZID" json:"ZID,omitempty"` ZoneName *string `form:"ZoneName" json:"ZoneName,omitempty"` }
type UpdateCustomerLineResponse ¶
type UpdateCustomerLineResponse struct {
Line *string `form:"Line" json:"Line,omitempty"`
}
type UpdateRecordRequest ¶
type UpdateRecordRequest struct { Host string `form:"Host" json:"Host"` Line string `form:"Line" json:"Line"` RecordID string `form:"RecordID" json:"RecordID"` 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 UpdateRecordResponse ¶
type UpdateRecordResponse struct { CreatedAt *string `form:"CreatedAt" json:"CreatedAt,omitempty"` Enable *bool `form:"Enable" json:"Enable,omitempty"` FQDN *string `form:"FQDN" json:"FQDN,omitempty"` Host *string `form:"Host" json:"Host,omitempty"` Line *string `form:"Line" json:"Line,omitempty"` Operators []string `form:"Operators" json:"Operators,omitempty"` PQDN *string `form:"PQDN" json:"PQDN,omitempty"` RecordID *string `form:"RecordID" json:"RecordID,omitempty"` RecordSetID *string `form:"RecordSetID" json:"RecordSetID,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"` }
type UpdateRecordSetRequest ¶
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"` PQDN *string `form:"PQDN" json:"PQDN,omitempty"` Type *string `form:"Type" json:"Type,omitempty"` WeightEnabled *bool `form:"WeightEnabled" json:"WeightEnabled,omitempty"` }
type UpdateRecordStatusResponse ¶
type UpdateRecordStatusResponse struct { CreatedAt *string `form:"CreatedAt" json:"CreatedAt,omitempty"` Enable *bool `form:"Enable" json:"Enable,omitempty"` FQDN *string `form:"FQDN" json:"FQDN,omitempty"` Host *string `form:"Host" json:"Host,omitempty"` Line *string `form:"Line" json:"Line,omitempty"` Operators []string `form:"Operators" json:"Operators,omitempty"` PQDN *string `form:"PQDN" json:"PQDN,omitempty"` RecordID *string `form:"RecordID" json:"RecordID,omitempty"` RecordSetID *string `form:"RecordSetID" json:"RecordSetID,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"` }
type UpdateZoneRequest ¶
type UpdateZoneResponse ¶
type UpdateZoneResponse struct { CacheStage *int64 `form:"CacheStage" json:"CacheStage,omitempty"` ConfigurationCode *string `form:"ConfigurationCode" json:"ConfigurationCode,omitempty"` CreatedAt *string `form:"CreatedAt" json:"CreatedAt,omitempty"` ExpiredTime *int64 `form:"ExpiredTime" json:"ExpiredTime,omitempty"` InstanceID *string `form:"InstanceID" json:"InstanceID,omitempty"` LastOperator *string `form:"LastOperator" json:"LastOperator,omitempty"` RecordCount *int64 `form:"RecordCount" json:"RecordCount,omitempty"` Remark *string `form:"Remark" json:"Remark,omitempty"` TradeCode *string `form:"TradeCode" json:"TradeCode,omitempty"` UpdatedAt *string `form:"UpdatedAt" json:"UpdatedAt,omitempty"` ZID *int64 `form:"ZID" json:"ZID,omitempty"` ZoneName *string `form:"ZoneName" json:"ZoneName,omitempty"` }
type VolcCaller ¶
func NewVolcCaller ¶
func NewVolcCaller() *VolcCaller
type ZoneNameServerInfo ¶
type ZoneNameServerInfo struct { AllocateDNSServerList []string `form:"AllocateDNSServerList" json:"AllocateDNSServerList,omitempty"` IsNSCorrect *bool `form:"IsNSCorrect" json:"IsNSCorrect,omitempty"` Name *string `form:"Name" json:"Name,omitempty"` RealDNSServerList []string `form:"RealDNSServerList" json:"RealDNSServerList,omitempty"` Stage *int64 `form:"Stage" json:"Stage,omitempty"` ZID *int64 `form:"ZID" json:"ZID,omitempty"` }
Click to show internal directories.
Click to hide internal directories.