Documentation ¶
Index ¶
- Constants
- type AccountVpcInfo
- type AccountVpcInfoOut
- type AccountVpcInfoOutput
- type AuditLog
- type AuditLogInfo
- type Client
- func (c *Client) CreatePrivateDNSAccount(request *CreatePrivateDNSAccountRequest) (response *CreatePrivateDNSAccountResponse, err error)
- func (c *Client) CreatePrivateZone(request *CreatePrivateZoneRequest) (response *CreatePrivateZoneResponse, err error)
- func (c *Client) CreatePrivateZoneRecord(request *CreatePrivateZoneRecordRequest) (response *CreatePrivateZoneRecordResponse, err error)
- func (c *Client) DeletePrivateDNSAccount(request *DeletePrivateDNSAccountRequest) (response *DeletePrivateDNSAccountResponse, err error)
- func (c *Client) DeletePrivateZone(request *DeletePrivateZoneRequest) (response *DeletePrivateZoneResponse, err error)
- func (c *Client) DeletePrivateZoneRecord(request *DeletePrivateZoneRecordRequest) (response *DeletePrivateZoneRecordResponse, err error)
- func (c *Client) DescribeAccountVpcList(request *DescribeAccountVpcListRequest) (response *DescribeAccountVpcListResponse, err error)
- func (c *Client) DescribeAuditLog(request *DescribeAuditLogRequest) (response *DescribeAuditLogResponse, err error)
- func (c *Client) DescribeDashboard(request *DescribeDashboardRequest) (response *DescribeDashboardResponse, err error)
- func (c *Client) DescribePrivateDNSAccountList(request *DescribePrivateDNSAccountListRequest) (response *DescribePrivateDNSAccountListResponse, err error)
- func (c *Client) DescribePrivateZone(request *DescribePrivateZoneRequest) (response *DescribePrivateZoneResponse, err error)
- func (c *Client) DescribePrivateZoneList(request *DescribePrivateZoneListRequest) (response *DescribePrivateZoneListResponse, err error)
- func (c *Client) DescribePrivateZoneRecordList(request *DescribePrivateZoneRecordListRequest) (response *DescribePrivateZoneRecordListResponse, err error)
- func (c *Client) DescribePrivateZoneService(request *DescribePrivateZoneServiceRequest) (response *DescribePrivateZoneServiceResponse, err error)
- func (c *Client) DescribeRequestData(request *DescribeRequestDataRequest) (response *DescribeRequestDataResponse, err error)
- func (c *Client) ModifyPrivateZone(request *ModifyPrivateZoneRequest) (response *ModifyPrivateZoneResponse, err error)
- func (c *Client) ModifyPrivateZoneRecord(request *ModifyPrivateZoneRecordRequest) (response *ModifyPrivateZoneRecordResponse, err error)
- func (c *Client) ModifyPrivateZoneVpc(request *ModifyPrivateZoneVpcRequest) (response *ModifyPrivateZoneVpcResponse, err error)
- func (c *Client) SubscribePrivateZoneService(request *SubscribePrivateZoneServiceRequest) (response *SubscribePrivateZoneServiceResponse, err error)
- type CreatePrivateDNSAccountRequest
- type CreatePrivateDNSAccountResponse
- type CreatePrivateZoneRecordRequest
- type CreatePrivateZoneRecordResponse
- type CreatePrivateZoneRequest
- type CreatePrivateZoneResponse
- type DatePoint
- type DeletePrivateDNSAccountRequest
- type DeletePrivateDNSAccountResponse
- type DeletePrivateZoneRecordRequest
- type DeletePrivateZoneRecordResponse
- type DeletePrivateZoneRequest
- type DeletePrivateZoneResponse
- type DescribeAccountVpcListRequest
- type DescribeAccountVpcListResponse
- type DescribeAuditLogRequest
- type DescribeAuditLogResponse
- type DescribeDashboardRequest
- type DescribeDashboardResponse
- type DescribePrivateDNSAccountListRequest
- type DescribePrivateDNSAccountListResponse
- type DescribePrivateZoneListRequest
- type DescribePrivateZoneListResponse
- type DescribePrivateZoneRecordListRequest
- type DescribePrivateZoneRecordListResponse
- type DescribePrivateZoneRequest
- type DescribePrivateZoneResponse
- type DescribePrivateZoneServiceRequest
- type DescribePrivateZoneServiceResponse
- type DescribeRequestDataRequest
- type DescribeRequestDataResponse
- type Filter
- type FlowUsage
- type MetricData
- type ModifyPrivateZoneRecordRequest
- type ModifyPrivateZoneRecordResponse
- type ModifyPrivateZoneRequest
- type ModifyPrivateZoneResponse
- type ModifyPrivateZoneVpcRequest
- type ModifyPrivateZoneVpcResponse
- type PrivateDNSAccount
- type PrivateZone
- type PrivateZoneRecord
- type SubscribePrivateZoneServiceRequest
- type SubscribePrivateZoneServiceResponse
- type TagInfo
- type VpcInfo
Constants ¶
const ( // Error with CAM signature/authentication. AUTHFAILURE = "AuthFailure" // Token verification failed. AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure" // `DryRun` Operation. It means that the request would have succeeded, but the `DryRun` parameter was used. DRYRUNOPERATION = "DryRunOperation" // Operation failed. FAILEDOPERATION = "FailedOperation" // Failed to associate the private domain with the VPC. FAILEDOPERATION_BINDZONEVPCFAILED = "FailedOperation.BindZoneVpcFailed" // Failed to create the record. FAILEDOPERATION_CREATERECORDFAILED = "FailedOperation.CreateRecordFailed" // Failed to create the private domain. FAILEDOPERATION_CREATEZONEFAILED = "FailedOperation.CreateZoneFailed" // The private domain is currently associated with a VPC. Please disassociate the VPC first before clearing its records. FAILEDOPERATION_DELETELASTBINDVPCRECORDFAILED = "FailedOperation.DeleteLastBindVpcRecordFailed" // Failed to delete the domain. FAILEDOPERATION_DELETEZONEFAILED = "FailedOperation.DeleteZoneFailed" // Failed to modify the record. FAILEDOPERATION_MODIFYRECORDFAILED = "FailedOperation.ModifyRecordFailed" // Failed to modify the private domain. FAILEDOPERATION_MODIFYZONEFAILED = "FailedOperation.ModifyZoneFailed" // Internal error. INTERNALERROR = "InternalError" // Undefined error. INTERNALERROR_UNDEFIENDERROR = "InternalError.UndefiendError" // Incorrect parameter. INVALIDPARAMETER = "InvalidParameter" // A bound account already exists. INVALIDPARAMETER_ACCOUNTEXIST = "InvalidParameter.AccountExist" // Invalid CIDR. INVALIDPARAMETER_ILLEGALCIDR = "InvalidParameter.IllegalCidr" // Incorrect domain name. INVALIDPARAMETER_ILLEGALDOMAIN = "InvalidParameter.IllegalDomain" // Incorrect top-level domain name. INVALIDPARAMETER_ILLEGALDOMAINTLD = "InvalidParameter.IllegalDomainTld" // Invalid PTR record. INVALIDPARAMETER_ILLEGALPTRRECORD = "InvalidParameter.IllegalPTRRecord" // Invalid record. INVALIDPARAMETER_ILLEGALRECORD = "InvalidParameter.IllegalRecord" // Invalid record value. INVALIDPARAMETER_ILLEGALRECORDVALUE = "InvalidParameter.IllegalRecordValue" // Invalid VPC. INVALIDPARAMETER_ILLEGALVPCINFO = "InvalidParameter.IllegalVpcInfo" // The MX value must be a multiple of 5 between 5 and 50. INVALIDPARAMETER_INVALIDMX = "InvalidParameter.InvalidMX" // The number of round-robin DNS AAAA records exceeds 50. INVALIDPARAMETER_RECORDAAAACOUNTEXCEED = "InvalidParameter.RecordAAAACountExceed" // The number of round-robin DNS A records exceeds 50. INVALIDPARAMETER_RECORDACOUNTEXCEED = "InvalidParameter.RecordACountExceed" // The number of round-robin DNS CNAME records exceeds 50. INVALIDPARAMETER_RECORDCNAMECOUNTEXCEED = "InvalidParameter.RecordCNAMECountExceed" // Records conflict. INVALIDPARAMETER_RECORDCONFLICT = "InvalidParameter.RecordConflict" // The number of records exceeds the limit. INVALIDPARAMETER_RECORDCOUNTEXCEED = "InvalidParameter.RecordCountExceed" // The record already exists. INVALIDPARAMETER_RECORDEXIST = "InvalidParameter.RecordExist" // The number of record levels exceeds the limit. INVALIDPARAMETER_RECORDLEVELEXCEED = "InvalidParameter.RecordLevelExceed" // The number of round-robin DNS MX records exceeds 50. INVALIDPARAMETER_RECORDMXCOUNTEXCEED = "InvalidParameter.RecordMXCountExceed" // The record does not exist. INVALIDPARAMETER_RECORDNOTEXIST = "InvalidParameter.RecordNotExist" // The number of round-robin DNS records exceeds the limit. INVALIDPARAMETER_RECORDROLLLIMITCOUNTEXCEED = "InvalidParameter.RecordRolllimitCountExceed" // The number of round-robin DNS TXT records exceeds 10. INVALIDPARAMETER_RECORDTXTCOUNTEXCEED = "InvalidParameter.RecordTXTCountExceed" // The current record type does not support weight. INVALIDPARAMETER_RECORDUNSUPPORTWEIGHT = "InvalidParameter.RecordUnsupportWeight" // The VPC has been bound to another domain. INVALIDPARAMETER_VPCBINDED = "InvalidParameter.VpcBinded" // The VPC has been associated with the same primary domain. INVALIDPARAMETER_VPCBINDEDMAINDOMAIN = "InvalidParameter.VpcBindedMainDomain" // The number of PTR records associated with the VPC has reached the limit. INVALIDPARAMETER_VPCPTRZONEBINDEXCEED = "InvalidParameter.VpcPtrZoneBindExceed" // The domain does not exist. INVALIDPARAMETER_ZONENOTEXISTS = "InvalidParameter.ZoneNotExists" // Incorrect parameter value. INVALIDPARAMETERVALUE = "InvalidParameterValue" // The quota limit is exceeded. LIMITEXCEEDED = "LimitExceeded" // Missing parameter. MISSINGPARAMETER = "MissingParameter" // The operation was denied. OPERATIONDENIED = "OperationDenied" // The number of requests exceeds the frequency limit. REQUESTLIMITEXCEEDED = "RequestLimitExceeded" // The resource is in use. RESOURCEINUSE = "ResourceInUse" // Insufficient resource. RESOURCEINSUFFICIENT = "ResourceInsufficient" // The resource does not exist. RESOURCENOTFOUND = "ResourceNotFound" // The Private DNS service is not activated. RESOURCENOTFOUND_SERVICENOTSUBSCRIBED = "ResourceNotFound.ServiceNotSubscribed" // The resource is unavailable. RESOURCEUNAVAILABLE = "ResourceUnavailable" // The resources have been sold out. RESOURCESSOLDOUT = "ResourcesSoldOut" // Unauthorized operation. UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // Role not authorized. UNAUTHORIZEDOPERATION_ROLEUNAUTHORIZED = "UnauthorizedOperation.RoleUnAuthorized" // Unverified user. UNAUTHORIZEDOPERATION_UNAUTHORIZEDACCOUNT = "UnauthorizedOperation.UnauthorizedAccount" // Unknown parameter. UNKNOWNPARAMETER = "UnknownParameter" // Unsupported operation. UNSUPPORTEDOPERATION = "UnsupportedOperation" // Account not bound. UNSUPPORTEDOPERATION_ACCOUNTNOTBOUND = "UnsupportedOperation.AccountNotBound" // There are bound VPC resources. UNSUPPORTEDOPERATION_EXISTBOUNDVPC = "UnsupportedOperation.ExistBoundVpc" )
const APIVersion = "2020-10-28"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountVpcInfo ¶
type AccountVpcInfo struct { // VpcId: vpc-xadsafsdasd UniqVpcId *string `json:"UniqVpcId,omitempty" name:"UniqVpcId"` // VPC region: ap-guangzhou, ap-shanghai // Note: this field may return `null`, indicating that no valid values can be obtained. Region *string `json:"Region,omitempty" name:"Region"` // VPC account: 123456789 // Note: this field may return `null`, indicating that no valid values can be obtained. Uin *string `json:"Uin,omitempty" name:"Uin"` // VPC name: testname // Note: this field may return `null`, indicating that no valid values can be obtained. VpcName *string `json:"VpcName,omitempty" name:"VpcName"` }
type AccountVpcInfoOut ¶
type AccountVpcInfoOut struct { // VpcId: vpc-xadsafsdasd VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // Region: ap-guangzhou, ap-shanghai Region *string `json:"Region,omitempty" name:"Region"` // VPC ID: 123456789 Uin *string `json:"Uin,omitempty" name:"Uin"` // VPC name: testname VpcName *string `json:"VpcName,omitempty" name:"VpcName"` }
type AccountVpcInfoOutput ¶
type AuditLog ¶
type AuditLog struct { // Log type Resource *string `json:"Resource,omitempty" name:"Resource"` // Log table name Metric *string `json:"Metric,omitempty" name:"Metric"` // Total number of logs TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // List of logs DataSet []*AuditLogInfo `json:"DataSet,omitempty" name:"DataSet"` }
type AuditLogInfo ¶
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) CreatePrivateDNSAccount ¶
func (c *Client) CreatePrivateDNSAccount(request *CreatePrivateDNSAccountRequest) (response *CreatePrivateDNSAccountResponse, err error)
CreatePrivateDNSAccount This API is used to create a Private DNS account.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_UNDEFIENDERROR = "InternalError.UndefiendError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ACCOUNTEXIST = "InvalidParameter.AccountExist" INVALIDPARAMETER_RECORDEXIST = "InvalidParameter.RecordExist" INVALIDPARAMETER_RECORDNOTEXIST = "InvalidParameter.RecordNotExist" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_SERVICENOTSUBSCRIBED = "ResourceNotFound.ServiceNotSubscribed" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDACCOUNT = "UnauthorizedOperation.UnauthorizedAccount" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreatePrivateZone ¶
func (c *Client) CreatePrivateZone(request *CreatePrivateZoneRequest) (response *CreatePrivateZoneResponse, err error)
CreatePrivateZone This API is used to create a private domain.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CREATEZONEFAILED = "FailedOperation.CreateZoneFailed" INTERNALERROR = "InternalError" INTERNALERROR_UNDEFIENDERROR = "InternalError.UndefiendError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ILLEGALCIDR = "InvalidParameter.IllegalCidr" INVALIDPARAMETER_ILLEGALDOMAIN = "InvalidParameter.IllegalDomain" INVALIDPARAMETER_ILLEGALDOMAINTLD = "InvalidParameter.IllegalDomainTld" INVALIDPARAMETER_ILLEGALRECORD = "InvalidParameter.IllegalRecord" INVALIDPARAMETER_ILLEGALRECORDVALUE = "InvalidParameter.IllegalRecordValue" INVALIDPARAMETER_RECORDLEVELEXCEED = "InvalidParameter.RecordLevelExceed" INVALIDPARAMETER_VPCBINDED = "InvalidParameter.VpcBinded" INVALIDPARAMETER_VPCBINDEDMAINDOMAIN = "InvalidParameter.VpcBindedMainDomain" INVALIDPARAMETER_VPCPTRZONEBINDEXCEED = "InvalidParameter.VpcPtrZoneBindExceed" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_SERVICENOTSUBSCRIBED = "ResourceNotFound.ServiceNotSubscribed" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_ROLEUNAUTHORIZED = "UnauthorizedOperation.RoleUnAuthorized" UNAUTHORIZEDOPERATION_UNAUTHORIZEDACCOUNT = "UnauthorizedOperation.UnauthorizedAccount" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_ACCOUNTNOTBOUND = "UnsupportedOperation.AccountNotBound"
func (*Client) CreatePrivateZoneRecord ¶
func (c *Client) CreatePrivateZoneRecord(request *CreatePrivateZoneRecordRequest) (response *CreatePrivateZoneRecordResponse, err error)
CreatePrivateZoneRecord This API is used to add a DNS record for a private domain.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CREATERECORDFAILED = "FailedOperation.CreateRecordFailed" INTERNALERROR = "InternalError" INTERNALERROR_UNDEFIENDERROR = "InternalError.UndefiendError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ILLEGALPTRRECORD = "InvalidParameter.IllegalPTRRecord" INVALIDPARAMETER_ILLEGALRECORDVALUE = "InvalidParameter.IllegalRecordValue" INVALIDPARAMETER_INVALIDMX = "InvalidParameter.InvalidMX" INVALIDPARAMETER_RECORDAAAACOUNTEXCEED = "InvalidParameter.RecordAAAACountExceed" INVALIDPARAMETER_RECORDACOUNTEXCEED = "InvalidParameter.RecordACountExceed" INVALIDPARAMETER_RECORDCNAMECOUNTEXCEED = "InvalidParameter.RecordCNAMECountExceed" INVALIDPARAMETER_RECORDCONFLICT = "InvalidParameter.RecordConflict" INVALIDPARAMETER_RECORDCOUNTEXCEED = "InvalidParameter.RecordCountExceed" INVALIDPARAMETER_RECORDEXIST = "InvalidParameter.RecordExist" INVALIDPARAMETER_RECORDMXCOUNTEXCEED = "InvalidParameter.RecordMXCountExceed" INVALIDPARAMETER_RECORDROLLLIMITCOUNTEXCEED = "InvalidParameter.RecordRolllimitCountExceed" INVALIDPARAMETER_RECORDTXTCOUNTEXCEED = "InvalidParameter.RecordTXTCountExceed" INVALIDPARAMETER_RECORDUNSUPPORTWEIGHT = "InvalidParameter.RecordUnsupportWeight" INVALIDPARAMETER_VPCBINDEDMAINDOMAIN = "InvalidParameter.VpcBindedMainDomain" INVALIDPARAMETER_ZONENOTEXISTS = "InvalidParameter.ZoneNotExists" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDACCOUNT = "UnauthorizedOperation.UnauthorizedAccount" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeletePrivateDNSAccount ¶
func (c *Client) DeletePrivateDNSAccount(request *DeletePrivateDNSAccountRequest) (response *DeletePrivateDNSAccountResponse, err error)
DeletePrivateDNSAccount This API is used to delete a Private DNS account.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_UNDEFIENDERROR = "InternalError.UndefiendError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_SERVICENOTSUBSCRIBED = "ResourceNotFound.ServiceNotSubscribed" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDACCOUNT = "UnauthorizedOperation.UnauthorizedAccount" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_EXISTBOUNDVPC = "UnsupportedOperation.ExistBoundVpc"
func (*Client) DeletePrivateZone ¶
func (c *Client) DeletePrivateZone(request *DeletePrivateZoneRequest) (response *DeletePrivateZoneResponse, err error)
DeletePrivateZone This API is used to delete a private domain and stop DNS.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DELETEZONEFAILED = "FailedOperation.DeleteZoneFailed" INTERNALERROR = "InternalError" INTERNALERROR_UNDEFIENDERROR = "InternalError.UndefiendError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ZONENOTEXISTS = "InvalidParameter.ZoneNotExists" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDACCOUNT = "UnauthorizedOperation.UnauthorizedAccount" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeletePrivateZoneRecord ¶
func (c *Client) DeletePrivateZoneRecord(request *DeletePrivateZoneRecordRequest) (response *DeletePrivateZoneRecordResponse, err error)
DeletePrivateZoneRecord This API is used to delete a DNS record for a private domain.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DELETELASTBINDVPCRECORDFAILED = "FailedOperation.DeleteLastBindVpcRecordFailed" INTERNALERROR = "InternalError" INTERNALERROR_UNDEFIENDERROR = "InternalError.UndefiendError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_RECORDNOTEXIST = "InvalidParameter.RecordNotExist" INVALIDPARAMETER_ZONENOTEXISTS = "InvalidParameter.ZoneNotExists" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDACCOUNT = "UnauthorizedOperation.UnauthorizedAccount" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeAccountVpcList ¶
func (c *Client) DescribeAccountVpcList(request *DescribeAccountVpcListRequest) (response *DescribeAccountVpcListResponse, err error)
DescribeAccountVpcList This API is used to get the VPC list of a Private DNS account.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_UNDEFIENDERROR = "InternalError.UndefiendError" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_SERVICENOTSUBSCRIBED = "ResourceNotFound.ServiceNotSubscribed" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_ROLEUNAUTHORIZED = "UnauthorizedOperation.RoleUnAuthorized" UNAUTHORIZEDOPERATION_UNAUTHORIZEDACCOUNT = "UnauthorizedOperation.UnauthorizedAccount" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_ACCOUNTNOTBOUND = "UnsupportedOperation.AccountNotBound"
func (*Client) DescribeAuditLog ¶
func (c *Client) DescribeAuditLog(request *DescribeAuditLogRequest) (response *DescribeAuditLogResponse, err error)
DescribeAuditLog This API is used to get the list of operation logs.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_UNDEFIENDERROR = "InternalError.UndefiendError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_SERVICENOTSUBSCRIBED = "ResourceNotFound.ServiceNotSubscribed" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDACCOUNT = "UnauthorizedOperation.UnauthorizedAccount" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeDashboard ¶
func (c *Client) DescribeDashboard(request *DescribeDashboardRequest) (response *DescribeDashboardResponse, err error)
DescribeDashboard This API is used to get the overview of private DNS records.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_UNDEFIENDERROR = "InternalError.UndefiendError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_SERVICENOTSUBSCRIBED = "ResourceNotFound.ServiceNotSubscribed" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDACCOUNT = "UnauthorizedOperation.UnauthorizedAccount" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribePrivateDNSAccountList ¶
func (c *Client) DescribePrivateDNSAccountList(request *DescribePrivateDNSAccountListRequest) (response *DescribePrivateDNSAccountListResponse, err error)
DescribePrivateDNSAccountList This API is used to get the list of Private DNS accounts.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_UNDEFIENDERROR = "InternalError.UndefiendError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_SERVICENOTSUBSCRIBED = "ResourceNotFound.ServiceNotSubscribed" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDACCOUNT = "UnauthorizedOperation.UnauthorizedAccount" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribePrivateZone ¶
func (c *Client) DescribePrivateZone(request *DescribePrivateZoneRequest) (response *DescribePrivateZoneResponse, err error)
DescribePrivateZone This API is used to get the private domain information.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_UNDEFIENDERROR = "InternalError.UndefiendError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ZONENOTEXISTS = "InvalidParameter.ZoneNotExists" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_SERVICENOTSUBSCRIBED = "ResourceNotFound.ServiceNotSubscribed" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDACCOUNT = "UnauthorizedOperation.UnauthorizedAccount" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribePrivateZoneList ¶
func (c *Client) DescribePrivateZoneList(request *DescribePrivateZoneListRequest) (response *DescribePrivateZoneListResponse, err error)
DescribePrivateZoneList This API is used to get the list of private domains.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_UNDEFIENDERROR = "InternalError.UndefiendError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_SERVICENOTSUBSCRIBED = "ResourceNotFound.ServiceNotSubscribed" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDACCOUNT = "UnauthorizedOperation.UnauthorizedAccount" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribePrivateZoneRecordList ¶
func (c *Client) DescribePrivateZoneRecordList(request *DescribePrivateZoneRecordListRequest) (response *DescribePrivateZoneRecordListResponse, err error)
DescribePrivateZoneRecordList This API is used to get the list of records for a private domain.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_UNDEFIENDERROR = "InternalError.UndefiendError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ZONENOTEXISTS = "InvalidParameter.ZoneNotExists" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND_SERVICENOTSUBSCRIBED = "ResourceNotFound.ServiceNotSubscribed" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDACCOUNT = "UnauthorizedOperation.UnauthorizedAccount" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribePrivateZoneService ¶
func (c *Client) DescribePrivateZoneService(request *DescribePrivateZoneServiceRequest) (response *DescribePrivateZoneServiceResponse, err error)
DescribePrivateZoneService This API is used to query the Private DNS activation status.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDACCOUNT = "UnauthorizedOperation.UnauthorizedAccount" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeRequestData ¶
func (c *Client) DescribeRequestData(request *DescribeRequestDataRequest) (response *DescribeRequestDataResponse, err error)
DescribeRequestData This API is used to get the DNS request volume of a private domain.
error code that may be returned:
INTERNALERROR_UNDEFIENDERROR = "InternalError.UndefiendError" RESOURCENOTFOUND_SERVICENOTSUBSCRIBED = "ResourceNotFound.ServiceNotSubscribed" UNAUTHORIZEDOPERATION_UNAUTHORIZEDACCOUNT = "UnauthorizedOperation.UnauthorizedAccount"
func (*Client) ModifyPrivateZone ¶
func (c *Client) ModifyPrivateZone(request *ModifyPrivateZoneRequest) (response *ModifyPrivateZoneResponse, err error)
ModifyPrivateZone This API is used to modify a private domain.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_MODIFYZONEFAILED = "FailedOperation.ModifyZoneFailed" INTERNALERROR = "InternalError" INTERNALERROR_UNDEFIENDERROR = "InternalError.UndefiendError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ZONENOTEXISTS = "InvalidParameter.ZoneNotExists" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDACCOUNT = "UnauthorizedOperation.UnauthorizedAccount" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyPrivateZoneRecord ¶
func (c *Client) ModifyPrivateZoneRecord(request *ModifyPrivateZoneRecordRequest) (response *ModifyPrivateZoneRecordResponse, err error)
ModifyPrivateZoneRecord This API is used to modify a DNS record for a private domain.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_MODIFYRECORDFAILED = "FailedOperation.ModifyRecordFailed" INTERNALERROR = "InternalError" INTERNALERROR_UNDEFIENDERROR = "InternalError.UndefiendError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ILLEGALCIDR = "InvalidParameter.IllegalCidr" INVALIDPARAMETER_ILLEGALPTRRECORD = "InvalidParameter.IllegalPTRRecord" INVALIDPARAMETER_ILLEGALRECORD = "InvalidParameter.IllegalRecord" INVALIDPARAMETER_ILLEGALRECORDVALUE = "InvalidParameter.IllegalRecordValue" INVALIDPARAMETER_INVALIDMX = "InvalidParameter.InvalidMX" INVALIDPARAMETER_RECORDAAAACOUNTEXCEED = "InvalidParameter.RecordAAAACountExceed" INVALIDPARAMETER_RECORDACOUNTEXCEED = "InvalidParameter.RecordACountExceed" INVALIDPARAMETER_RECORDCNAMECOUNTEXCEED = "InvalidParameter.RecordCNAMECountExceed" INVALIDPARAMETER_RECORDCONFLICT = "InvalidParameter.RecordConflict" INVALIDPARAMETER_RECORDCOUNTEXCEED = "InvalidParameter.RecordCountExceed" INVALIDPARAMETER_RECORDEXIST = "InvalidParameter.RecordExist" INVALIDPARAMETER_RECORDLEVELEXCEED = "InvalidParameter.RecordLevelExceed" INVALIDPARAMETER_RECORDMXCOUNTEXCEED = "InvalidParameter.RecordMXCountExceed" INVALIDPARAMETER_RECORDROLLLIMITCOUNTEXCEED = "InvalidParameter.RecordRolllimitCountExceed" INVALIDPARAMETER_RECORDTXTCOUNTEXCEED = "InvalidParameter.RecordTXTCountExceed" INVALIDPARAMETER_RECORDUNSUPPORTWEIGHT = "InvalidParameter.RecordUnsupportWeight" INVALIDPARAMETER_VPCBINDEDMAINDOMAIN = "InvalidParameter.VpcBindedMainDomain" INVALIDPARAMETER_ZONENOTEXISTS = "InvalidParameter.ZoneNotExists" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDACCOUNT = "UnauthorizedOperation.UnauthorizedAccount" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyPrivateZoneVpc ¶
func (c *Client) ModifyPrivateZoneVpc(request *ModifyPrivateZoneVpcRequest) (response *ModifyPrivateZoneVpcResponse, err error)
ModifyPrivateZoneVpc This API is used to modify the VPC associated with a private domain.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_BINDZONEVPCFAILED = "FailedOperation.BindZoneVpcFailed" INTERNALERROR = "InternalError" INTERNALERROR_UNDEFIENDERROR = "InternalError.UndefiendError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_ILLEGALVPCINFO = "InvalidParameter.IllegalVpcInfo" INVALIDPARAMETER_VPCBINDED = "InvalidParameter.VpcBinded" INVALIDPARAMETER_VPCBINDEDMAINDOMAIN = "InvalidParameter.VpcBindedMainDomain" INVALIDPARAMETER_ZONENOTEXISTS = "InvalidParameter.ZoneNotExists" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_ROLEUNAUTHORIZED = "UnauthorizedOperation.RoleUnAuthorized" UNAUTHORIZEDOPERATION_UNAUTHORIZEDACCOUNT = "UnauthorizedOperation.UnauthorizedAccount" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) SubscribePrivateZoneService ¶
func (c *Client) SubscribePrivateZoneService(request *SubscribePrivateZoneServiceRequest) (response *SubscribePrivateZoneServiceResponse, err error)
SubscribePrivateZoneService This API is used to activate the Private DNS service.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDACCOUNT = "UnauthorizedOperation.UnauthorizedAccount" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
type CreatePrivateDNSAccountRequest ¶
type CreatePrivateDNSAccountRequest struct { *tchttp.BaseRequest // Private DNS account Account *PrivateDNSAccount `json:"Account,omitempty" name:"Account"` }
func NewCreatePrivateDNSAccountRequest ¶
func NewCreatePrivateDNSAccountRequest() (request *CreatePrivateDNSAccountRequest)
func (*CreatePrivateDNSAccountRequest) FromJsonString ¶
func (r *CreatePrivateDNSAccountRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreatePrivateDNSAccountRequest) ToJsonString ¶
func (r *CreatePrivateDNSAccountRequest) ToJsonString() string
type CreatePrivateDNSAccountResponse ¶
type CreatePrivateDNSAccountResponse struct { *tchttp.BaseResponse Response *struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreatePrivateDNSAccountResponse ¶
func NewCreatePrivateDNSAccountResponse() (response *CreatePrivateDNSAccountResponse)
func (*CreatePrivateDNSAccountResponse) FromJsonString ¶
func (r *CreatePrivateDNSAccountResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreatePrivateDNSAccountResponse) ToJsonString ¶
func (r *CreatePrivateDNSAccountResponse) ToJsonString() string
type CreatePrivateZoneRecordRequest ¶
type CreatePrivateZoneRecordRequest struct { *tchttp.BaseRequest // Private domain ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Record type. Valid values: "A", "AAAA", "CNAME", "MX", "TXT", "PTR" RecordType *string `json:"RecordType,omitempty" name:"RecordType"` // Subdomain, such as "www", "m", and "@" SubDomain *string `json:"SubDomain,omitempty" name:"SubDomain"` // Record value, such as IP: 192.168.10.2, CNAME: cname.qcloud.com., and MX: mail.qcloud.com. RecordValue *string `json:"RecordValue,omitempty" name:"RecordValue"` // Record weight. Value range: 1–100 Weight *int64 `json:"Weight,omitempty" name:"Weight"` // MX priority, which is required when the record type is MX. Valid values: 5, 10, 15, 20, 30, 40, 50 MX *int64 `json:"MX,omitempty" name:"MX"` // Record cache time. The smaller the value, the faster the record will take effect. Value range: 1–86400s. Default value: 600 TTL *int64 `json:"TTL,omitempty" name:"TTL"` }
func NewCreatePrivateZoneRecordRequest ¶
func NewCreatePrivateZoneRecordRequest() (request *CreatePrivateZoneRecordRequest)
func (*CreatePrivateZoneRecordRequest) FromJsonString ¶
func (r *CreatePrivateZoneRecordRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreatePrivateZoneRecordRequest) ToJsonString ¶
func (r *CreatePrivateZoneRecordRequest) ToJsonString() string
type CreatePrivateZoneRecordResponse ¶
type CreatePrivateZoneRecordResponse struct { *tchttp.BaseResponse Response *struct { // Record ID RecordId *string `json:"RecordId,omitempty" name:"RecordId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreatePrivateZoneRecordResponse ¶
func NewCreatePrivateZoneRecordResponse() (response *CreatePrivateZoneRecordResponse)
func (*CreatePrivateZoneRecordResponse) FromJsonString ¶
func (r *CreatePrivateZoneRecordResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreatePrivateZoneRecordResponse) ToJsonString ¶
func (r *CreatePrivateZoneRecordResponse) ToJsonString() string
type CreatePrivateZoneRequest ¶
type CreatePrivateZoneRequest struct { *tchttp.BaseRequest // Domain name, which must be in the format of standard TLD Domain *string `json:"Domain,omitempty" name:"Domain"` // Tags the private domain when it is created TagSet []*TagInfo `json:"TagSet,omitempty" name:"TagSet"` // Associates the private domain to a VPC when it is created VpcSet []*VpcInfo `json:"VpcSet,omitempty" name:"VpcSet"` // Remarks Remark *string `json:"Remark,omitempty" name:"Remark"` // Whether to enable subdomain recursive DNS. Valid values: ENABLED, DISABLED. Default value: DISABLED DnsForwardStatus *string `json:"DnsForwardStatus,omitempty" name:"DnsForwardStatus"` // Associates the private domain to a VPC when it is created Vpcs []*VpcInfo `json:"Vpcs,omitempty" name:"Vpcs"` // List of authorized accounts' VPCs to associate with the private domain AccountVpcSet []*AccountVpcInfo `json:"AccountVpcSet,omitempty" name:"AccountVpcSet"` }
func NewCreatePrivateZoneRequest ¶
func NewCreatePrivateZoneRequest() (request *CreatePrivateZoneRequest)
func (*CreatePrivateZoneRequest) FromJsonString ¶
func (r *CreatePrivateZoneRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreatePrivateZoneRequest) ToJsonString ¶
func (r *CreatePrivateZoneRequest) ToJsonString() string
type CreatePrivateZoneResponse ¶
type CreatePrivateZoneResponse struct { *tchttp.BaseResponse Response *struct { // Private domain ID, such as zone-xxxxxx ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Private domain Domain *string `json:"Domain,omitempty" name:"Domain"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreatePrivateZoneResponse ¶
func NewCreatePrivateZoneResponse() (response *CreatePrivateZoneResponse)
func (*CreatePrivateZoneResponse) FromJsonString ¶
func (r *CreatePrivateZoneResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreatePrivateZoneResponse) ToJsonString ¶
func (r *CreatePrivateZoneResponse) ToJsonString() string
type DeletePrivateDNSAccountRequest ¶
type DeletePrivateDNSAccountRequest struct { *tchttp.BaseRequest // Private DNS account Account *PrivateDNSAccount `json:"Account,omitempty" name:"Account"` }
func NewDeletePrivateDNSAccountRequest ¶
func NewDeletePrivateDNSAccountRequest() (request *DeletePrivateDNSAccountRequest)
func (*DeletePrivateDNSAccountRequest) FromJsonString ¶
func (r *DeletePrivateDNSAccountRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeletePrivateDNSAccountRequest) ToJsonString ¶
func (r *DeletePrivateDNSAccountRequest) ToJsonString() string
type DeletePrivateDNSAccountResponse ¶
type DeletePrivateDNSAccountResponse struct { *tchttp.BaseResponse Response *struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeletePrivateDNSAccountResponse ¶
func NewDeletePrivateDNSAccountResponse() (response *DeletePrivateDNSAccountResponse)
func (*DeletePrivateDNSAccountResponse) FromJsonString ¶
func (r *DeletePrivateDNSAccountResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeletePrivateDNSAccountResponse) ToJsonString ¶
func (r *DeletePrivateDNSAccountResponse) ToJsonString() string
type DeletePrivateZoneRecordRequest ¶
type DeletePrivateZoneRecordRequest struct { *tchttp.BaseRequest // Private domain ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Record ID RecordId *string `json:"RecordId,omitempty" name:"RecordId"` // Array of record IDs. `RecordId` takes precedence. RecordIdSet []*string `json:"RecordIdSet,omitempty" name:"RecordIdSet"` }
func NewDeletePrivateZoneRecordRequest ¶
func NewDeletePrivateZoneRecordRequest() (request *DeletePrivateZoneRecordRequest)
func (*DeletePrivateZoneRecordRequest) FromJsonString ¶
func (r *DeletePrivateZoneRecordRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeletePrivateZoneRecordRequest) ToJsonString ¶
func (r *DeletePrivateZoneRecordRequest) ToJsonString() string
type DeletePrivateZoneRecordResponse ¶
type DeletePrivateZoneRecordResponse struct { *tchttp.BaseResponse Response *struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeletePrivateZoneRecordResponse ¶
func NewDeletePrivateZoneRecordResponse() (response *DeletePrivateZoneRecordResponse)
func (*DeletePrivateZoneRecordResponse) FromJsonString ¶
func (r *DeletePrivateZoneRecordResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeletePrivateZoneRecordResponse) ToJsonString ¶
func (r *DeletePrivateZoneRecordResponse) ToJsonString() string
type DeletePrivateZoneRequest ¶
type DeletePrivateZoneRequest struct { *tchttp.BaseRequest // Private domain ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Array of private domain IDs. `ZoneId` takes precedence. ZoneIdSet []*string `json:"ZoneIdSet,omitempty" name:"ZoneIdSet"` }
func NewDeletePrivateZoneRequest ¶
func NewDeletePrivateZoneRequest() (request *DeletePrivateZoneRequest)
func (*DeletePrivateZoneRequest) FromJsonString ¶
func (r *DeletePrivateZoneRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeletePrivateZoneRequest) ToJsonString ¶
func (r *DeletePrivateZoneRequest) ToJsonString() string
type DeletePrivateZoneResponse ¶
type DeletePrivateZoneResponse struct { *tchttp.BaseResponse Response *struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeletePrivateZoneResponse ¶
func NewDeletePrivateZoneResponse() (response *DeletePrivateZoneResponse)
func (*DeletePrivateZoneResponse) FromJsonString ¶
func (r *DeletePrivateZoneResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeletePrivateZoneResponse) ToJsonString ¶
func (r *DeletePrivateZoneResponse) ToJsonString() string
type DescribeAccountVpcListRequest ¶
type DescribeAccountVpcListRequest struct { *tchttp.BaseRequest // UIN of account AccountUin *string `json:"AccountUin,omitempty" name:"AccountUin"` // Pagination offset, starting from 0 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Number of entries per page. Maximum value: `100`. Default value: `20` Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Filter parameters Filters []*Filter `json:"Filters,omitempty" name:"Filters"` }
func NewDescribeAccountVpcListRequest ¶
func NewDescribeAccountVpcListRequest() (request *DescribeAccountVpcListRequest)
func (*DescribeAccountVpcListRequest) FromJsonString ¶
func (r *DescribeAccountVpcListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAccountVpcListRequest) ToJsonString ¶
func (r *DescribeAccountVpcListRequest) ToJsonString() string
type DescribeAccountVpcListResponse ¶
type DescribeAccountVpcListResponse struct { *tchttp.BaseResponse Response *struct { // Number of VPCs TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // VPC list VpcSet []*AccountVpcInfoOut `json:"VpcSet,omitempty" name:"VpcSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeAccountVpcListResponse ¶
func NewDescribeAccountVpcListResponse() (response *DescribeAccountVpcListResponse)
func (*DescribeAccountVpcListResponse) FromJsonString ¶
func (r *DescribeAccountVpcListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAccountVpcListResponse) ToJsonString ¶
func (r *DescribeAccountVpcListResponse) ToJsonString() string
type DescribeAuditLogRequest ¶
type DescribeAuditLogRequest struct { *tchttp.BaseRequest // Request volume statistics start time TimeRangeBegin *string `json:"TimeRangeBegin,omitempty" name:"TimeRangeBegin"` // Filter parameter. Valid values: ZoneId (private domain ID), Domain (private domain), OperatorUin (operator account ID) Filters []*Filter `json:"Filters,omitempty" name:"Filters"` // Request volume statistics end time TimeRangeEnd *string `json:"TimeRangeEnd,omitempty" name:"TimeRangeEnd"` // Pagination offset, starting from 0 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Number of entries per page. Maximum value: 100. Default value: 20 Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeAuditLogRequest ¶
func NewDescribeAuditLogRequest() (request *DescribeAuditLogRequest)
func (*DescribeAuditLogRequest) FromJsonString ¶
func (r *DescribeAuditLogRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAuditLogRequest) ToJsonString ¶
func (r *DescribeAuditLogRequest) ToJsonString() string
type DescribeAuditLogResponse ¶
type DescribeAuditLogResponse struct { *tchttp.BaseResponse Response *struct { // List of operation logs Data []*AuditLog `json:"Data,omitempty" name:"Data"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeAuditLogResponse ¶
func NewDescribeAuditLogResponse() (response *DescribeAuditLogResponse)
func (*DescribeAuditLogResponse) FromJsonString ¶
func (r *DescribeAuditLogResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAuditLogResponse) ToJsonString ¶
func (r *DescribeAuditLogResponse) ToJsonString() string
type DescribeDashboardRequest ¶
type DescribeDashboardRequest struct {
*tchttp.BaseRequest
}
func NewDescribeDashboardRequest ¶
func NewDescribeDashboardRequest() (request *DescribeDashboardRequest)
func (*DescribeDashboardRequest) FromJsonString ¶
func (r *DescribeDashboardRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDashboardRequest) ToJsonString ¶
func (r *DescribeDashboardRequest) ToJsonString() string
type DescribeDashboardResponse ¶
type DescribeDashboardResponse struct { *tchttp.BaseResponse Response *struct { // Total number of private domain DNS records ZoneTotal *int64 `json:"ZoneTotal,omitempty" name:"ZoneTotal"` // Number of VPCs associated with private domain ZoneVpcCount *int64 `json:"ZoneVpcCount,omitempty" name:"ZoneVpcCount"` // Total number of historical requests RequestTotalCount *int64 `json:"RequestTotalCount,omitempty" name:"RequestTotalCount"` // Traffic package usage FlowUsage []*FlowUsage `json:"FlowUsage,omitempty" name:"FlowUsage"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeDashboardResponse ¶
func NewDescribeDashboardResponse() (response *DescribeDashboardResponse)
func (*DescribeDashboardResponse) FromJsonString ¶
func (r *DescribeDashboardResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDashboardResponse) ToJsonString ¶
func (r *DescribeDashboardResponse) ToJsonString() string
type DescribePrivateDNSAccountListRequest ¶
type DescribePrivateDNSAccountListRequest struct { *tchttp.BaseRequest // Pagination offset, starting from `0` Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Number of entries per page. Maximum value: `100`. Default value: `20` Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Filter parameters Filters []*Filter `json:"Filters,omitempty" name:"Filters"` }
func NewDescribePrivateDNSAccountListRequest ¶
func NewDescribePrivateDNSAccountListRequest() (request *DescribePrivateDNSAccountListRequest)
func (*DescribePrivateDNSAccountListRequest) FromJsonString ¶
func (r *DescribePrivateDNSAccountListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePrivateDNSAccountListRequest) ToJsonString ¶
func (r *DescribePrivateDNSAccountListRequest) ToJsonString() string
type DescribePrivateDNSAccountListResponse ¶
type DescribePrivateDNSAccountListResponse struct { *tchttp.BaseResponse Response *struct { // Number of Private DNS accounts TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // List of Private DNS accounts AccountSet []*PrivateDNSAccount `json:"AccountSet,omitempty" name:"AccountSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribePrivateDNSAccountListResponse ¶
func NewDescribePrivateDNSAccountListResponse() (response *DescribePrivateDNSAccountListResponse)
func (*DescribePrivateDNSAccountListResponse) FromJsonString ¶
func (r *DescribePrivateDNSAccountListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePrivateDNSAccountListResponse) ToJsonString ¶
func (r *DescribePrivateDNSAccountListResponse) ToJsonString() string
type DescribePrivateZoneListRequest ¶
type DescribePrivateZoneListRequest struct { *tchttp.BaseRequest // Pagination offset, starting from 0 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Number of entries per page. Maximum value: 100. Default value: 20 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Filter parameter Filters []*Filter `json:"Filters,omitempty" name:"Filters"` }
func NewDescribePrivateZoneListRequest ¶
func NewDescribePrivateZoneListRequest() (request *DescribePrivateZoneListRequest)
func (*DescribePrivateZoneListRequest) FromJsonString ¶
func (r *DescribePrivateZoneListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePrivateZoneListRequest) ToJsonString ¶
func (r *DescribePrivateZoneListRequest) ToJsonString() string
type DescribePrivateZoneListResponse ¶
type DescribePrivateZoneListResponse struct { *tchttp.BaseResponse Response *struct { // Number of private domains TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // List of private domains PrivateZoneSet []*PrivateZone `json:"PrivateZoneSet,omitempty" name:"PrivateZoneSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribePrivateZoneListResponse ¶
func NewDescribePrivateZoneListResponse() (response *DescribePrivateZoneListResponse)
func (*DescribePrivateZoneListResponse) FromJsonString ¶
func (r *DescribePrivateZoneListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePrivateZoneListResponse) ToJsonString ¶
func (r *DescribePrivateZoneListResponse) ToJsonString() string
type DescribePrivateZoneRecordListRequest ¶
type DescribePrivateZoneRecordListRequest struct { *tchttp.BaseRequest // Private domain ID: zone-xxxxxx ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Filter parameter Filters []*Filter `json:"Filters,omitempty" name:"Filters"` // Pagination offset, starting from 0 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Number of entries per page. Maximum value: 100. Default value: 20 Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribePrivateZoneRecordListRequest ¶
func NewDescribePrivateZoneRecordListRequest() (request *DescribePrivateZoneRecordListRequest)
func (*DescribePrivateZoneRecordListRequest) FromJsonString ¶
func (r *DescribePrivateZoneRecordListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePrivateZoneRecordListRequest) ToJsonString ¶
func (r *DescribePrivateZoneRecordListRequest) ToJsonString() string
type DescribePrivateZoneRecordListResponse ¶
type DescribePrivateZoneRecordListResponse struct { *tchttp.BaseResponse Response *struct { // Number of DNS records TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // List of DNS records RecordSet []*PrivateZoneRecord `json:"RecordSet,omitempty" name:"RecordSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribePrivateZoneRecordListResponse ¶
func NewDescribePrivateZoneRecordListResponse() (response *DescribePrivateZoneRecordListResponse)
func (*DescribePrivateZoneRecordListResponse) FromJsonString ¶
func (r *DescribePrivateZoneRecordListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePrivateZoneRecordListResponse) ToJsonString ¶
func (r *DescribePrivateZoneRecordListResponse) ToJsonString() string
type DescribePrivateZoneRequest ¶
type DescribePrivateZoneRequest struct { *tchttp.BaseRequest // Domain name, which must be in the format of standard TLD ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` }
func NewDescribePrivateZoneRequest ¶
func NewDescribePrivateZoneRequest() (request *DescribePrivateZoneRequest)
func (*DescribePrivateZoneRequest) FromJsonString ¶
func (r *DescribePrivateZoneRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePrivateZoneRequest) ToJsonString ¶
func (r *DescribePrivateZoneRequest) ToJsonString() string
type DescribePrivateZoneResponse ¶
type DescribePrivateZoneResponse struct { *tchttp.BaseResponse Response *struct { // Private domain details PrivateZone *PrivateZone `json:"PrivateZone,omitempty" name:"PrivateZone"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribePrivateZoneResponse ¶
func NewDescribePrivateZoneResponse() (response *DescribePrivateZoneResponse)
func (*DescribePrivateZoneResponse) FromJsonString ¶
func (r *DescribePrivateZoneResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePrivateZoneResponse) ToJsonString ¶
func (r *DescribePrivateZoneResponse) ToJsonString() string
type DescribePrivateZoneServiceRequest ¶
type DescribePrivateZoneServiceRequest struct {
*tchttp.BaseRequest
}
func NewDescribePrivateZoneServiceRequest ¶
func NewDescribePrivateZoneServiceRequest() (request *DescribePrivateZoneServiceRequest)
func (*DescribePrivateZoneServiceRequest) FromJsonString ¶
func (r *DescribePrivateZoneServiceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePrivateZoneServiceRequest) ToJsonString ¶
func (r *DescribePrivateZoneServiceRequest) ToJsonString() string
type DescribePrivateZoneServiceResponse ¶
type DescribePrivateZoneServiceResponse struct { *tchttp.BaseResponse Response *struct { // Private DNS service activation status. Valid values: ENABLED, DISABLED ServiceStatus *string `json:"ServiceStatus,omitempty" name:"ServiceStatus"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribePrivateZoneServiceResponse ¶
func NewDescribePrivateZoneServiceResponse() (response *DescribePrivateZoneServiceResponse)
func (*DescribePrivateZoneServiceResponse) FromJsonString ¶
func (r *DescribePrivateZoneServiceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePrivateZoneServiceResponse) ToJsonString ¶
func (r *DescribePrivateZoneServiceResponse) ToJsonString() string
type DescribeRequestDataRequest ¶
type DescribeRequestDataRequest struct { *tchttp.BaseRequest // Request volume statistics start time in the format of 2020-11-22 00:00:00 TimeRangeBegin *string `json:"TimeRangeBegin,omitempty" name:"TimeRangeBegin"` // Filter parameter: Filters []*Filter `json:"Filters,omitempty" name:"Filters"` // Request volume statistics end time in the format of 2020-11-22 23:59:59 TimeRangeEnd *string `json:"TimeRangeEnd,omitempty" name:"TimeRangeEnd"` }
func NewDescribeRequestDataRequest ¶
func NewDescribeRequestDataRequest() (request *DescribeRequestDataRequest)
func (*DescribeRequestDataRequest) FromJsonString ¶
func (r *DescribeRequestDataRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRequestDataRequest) ToJsonString ¶
func (r *DescribeRequestDataRequest) ToJsonString() string
type DescribeRequestDataResponse ¶
type DescribeRequestDataResponse struct { *tchttp.BaseResponse Response *struct { // Request volume statistics table Data []*MetricData `json:"Data,omitempty" name:"Data"` // Request volume unit time. Valid values: Day, Hour Interval *string `json:"Interval,omitempty" name:"Interval"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeRequestDataResponse ¶
func NewDescribeRequestDataResponse() (response *DescribeRequestDataResponse)
func (*DescribeRequestDataResponse) FromJsonString ¶
func (r *DescribeRequestDataResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRequestDataResponse) ToJsonString ¶
func (r *DescribeRequestDataResponse) ToJsonString() string
type FlowUsage ¶
type FlowUsage struct { // Traffic package type, Valid values: ZONE (private domain); TRAFFIC (DNS traffic package) FlowType *string `json:"FlowType,omitempty" name:"FlowType"` // Traffic package quota TotalQuantity *int64 `json:"TotalQuantity,omitempty" name:"TotalQuantity"` // Available quota of traffic package AvailableQuantity *int64 `json:"AvailableQuantity,omitempty" name:"AvailableQuantity"` }
type MetricData ¶
type ModifyPrivateZoneRecordRequest ¶
type ModifyPrivateZoneRecordRequest struct { *tchttp.BaseRequest // Private domain ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Record ID RecordId *string `json:"RecordId,omitempty" name:"RecordId"` // Record type. Valid values: "A", "AAAA", "CNAME", "MX", "TXT", "PTR" RecordType *string `json:"RecordType,omitempty" name:"RecordType"` // Subdomain, such as "www", "m", and "@" SubDomain *string `json:"SubDomain,omitempty" name:"SubDomain"` // Record value, such as IP: 192.168.10.2, CNAME: cname.qcloud.com., and MX: mail.qcloud.com. RecordValue *string `json:"RecordValue,omitempty" name:"RecordValue"` // Record weight. Value range: 1–100 Weight *int64 `json:"Weight,omitempty" name:"Weight"` // MX priority, which is required when the record type is MX. Valid values: 5, 10, 15, 20, 30, 40, 50 MX *int64 `json:"MX,omitempty" name:"MX"` // Record cache time. The smaller the value, the faster the record will take effect. Value range: 1–86400s. Default value: 600 TTL *int64 `json:"TTL,omitempty" name:"TTL"` }
func NewModifyPrivateZoneRecordRequest ¶
func NewModifyPrivateZoneRecordRequest() (request *ModifyPrivateZoneRecordRequest)
func (*ModifyPrivateZoneRecordRequest) FromJsonString ¶
func (r *ModifyPrivateZoneRecordRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyPrivateZoneRecordRequest) ToJsonString ¶
func (r *ModifyPrivateZoneRecordRequest) ToJsonString() string
type ModifyPrivateZoneRecordResponse ¶
type ModifyPrivateZoneRecordResponse struct { *tchttp.BaseResponse Response *struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyPrivateZoneRecordResponse ¶
func NewModifyPrivateZoneRecordResponse() (response *ModifyPrivateZoneRecordResponse)
func (*ModifyPrivateZoneRecordResponse) FromJsonString ¶
func (r *ModifyPrivateZoneRecordResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyPrivateZoneRecordResponse) ToJsonString ¶
func (r *ModifyPrivateZoneRecordResponse) ToJsonString() string
type ModifyPrivateZoneRequest ¶
type ModifyPrivateZoneRequest struct { *tchttp.BaseRequest // Private domain ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Remarks Remark *string `json:"Remark,omitempty" name:"Remark"` // Whether to enable subdomain recursive DNS. Valid values: ENABLED, DISABLED DnsForwardStatus *string `json:"DnsForwardStatus,omitempty" name:"DnsForwardStatus"` }
func NewModifyPrivateZoneRequest ¶
func NewModifyPrivateZoneRequest() (request *ModifyPrivateZoneRequest)
func (*ModifyPrivateZoneRequest) FromJsonString ¶
func (r *ModifyPrivateZoneRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyPrivateZoneRequest) ToJsonString ¶
func (r *ModifyPrivateZoneRequest) ToJsonString() string
type ModifyPrivateZoneResponse ¶
type ModifyPrivateZoneResponse struct { *tchttp.BaseResponse Response *struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyPrivateZoneResponse ¶
func NewModifyPrivateZoneResponse() (response *ModifyPrivateZoneResponse)
func (*ModifyPrivateZoneResponse) FromJsonString ¶
func (r *ModifyPrivateZoneResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyPrivateZoneResponse) ToJsonString ¶
func (r *ModifyPrivateZoneResponse) ToJsonString() string
type ModifyPrivateZoneVpcRequest ¶
type ModifyPrivateZoneVpcRequest struct { *tchttp.BaseRequest // Private domain ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // List of all VPCs associated with private domain VpcSet []*VpcInfo `json:"VpcSet,omitempty" name:"VpcSet"` // List of authorized accounts' VPCs to associate with the private domain AccountVpcSet []*AccountVpcInfo `json:"AccountVpcSet,omitempty" name:"AccountVpcSet"` }
func NewModifyPrivateZoneVpcRequest ¶
func NewModifyPrivateZoneVpcRequest() (request *ModifyPrivateZoneVpcRequest)
func (*ModifyPrivateZoneVpcRequest) FromJsonString ¶
func (r *ModifyPrivateZoneVpcRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyPrivateZoneVpcRequest) ToJsonString ¶
func (r *ModifyPrivateZoneVpcRequest) ToJsonString() string
type ModifyPrivateZoneVpcResponse ¶
type ModifyPrivateZoneVpcResponse struct { *tchttp.BaseResponse Response *struct { // Private domain ID, such as zone-xxxxxx ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // List of VPCs associated with domain VpcSet []*VpcInfo `json:"VpcSet,omitempty" name:"VpcSet"` // List of authorized accounts' VPCs associated with the private domain AccountVpcSet []*AccountVpcInfoOutput `json:"AccountVpcSet,omitempty" name:"AccountVpcSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyPrivateZoneVpcResponse ¶
func NewModifyPrivateZoneVpcResponse() (response *ModifyPrivateZoneVpcResponse)
func (*ModifyPrivateZoneVpcResponse) FromJsonString ¶
func (r *ModifyPrivateZoneVpcResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyPrivateZoneVpcResponse) ToJsonString ¶
func (r *ModifyPrivateZoneVpcResponse) ToJsonString() string
type PrivateDNSAccount ¶
type PrivateZone ¶
type PrivateZone struct { // Private domain ID: zone-xxxxxxxx ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Domain name owner UIN OwnerUin *int64 `json:"OwnerUin,omitempty" name:"OwnerUin"` // Private domain Domain *string `json:"Domain,omitempty" name:"Domain"` // Creation time CreatedOn *string `json:"CreatedOn,omitempty" name:"CreatedOn"` // Modification time UpdatedOn *string `json:"UpdatedOn,omitempty" name:"UpdatedOn"` // Number of results RecordCount *int64 `json:"RecordCount,omitempty" name:"RecordCount"` // Remarks // Note: this field may return null, indicating that no valid values can be obtained. Remark *string `json:"Remark,omitempty" name:"Remark"` // List of bound VPCs VpcSet []*VpcInfo `json:"VpcSet,omitempty" name:"VpcSet"` // Private domain status. Valid values: ENABLED (DNS enabled); SUSPEND (DNS paused); FROZEN (locked) Status *string `json:"Status,omitempty" name:"Status"` // Subdomain recursive DNS status. Valid values: ENABLED, DISABLED DnsForwardStatus *string `json:"DnsForwardStatus,omitempty" name:"DnsForwardStatus"` // Set of tag key-value pairs Tags []*TagInfo `json:"Tags,omitempty" name:"Tags"` // List of authorized accounts' VPCs associated with the private domain // Note: this field may return `null`, indicating that no valid values can be obtained. AccountVpcSet []*AccountVpcInfoOutput `json:"AccountVpcSet,omitempty" name:"AccountVpcSet"` }
type PrivateZoneRecord ¶
type PrivateZoneRecord struct { // Record ID RecordId *string `json:"RecordId,omitempty" name:"RecordId"` // Private domain ID: zone-xxxxxxxx ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Subdomain SubDomain *string `json:"SubDomain,omitempty" name:"SubDomain"` // Record type. Valid values: "A", "AAAA", "CNAME", "MX", "TXT", "PTR" RecordType *string `json:"RecordType,omitempty" name:"RecordType"` // Record value RecordValue *string `json:"RecordValue,omitempty" name:"RecordValue"` // Record cache time. The smaller the value, the faster the record will take effect. Value range: 1–86400s. Default value: 600 TTL *int64 `json:"TTL,omitempty" name:"TTL"` // MX priority, which is required when the record type is MX. Valid values: 5, 10, 15, 20, 30, 40, 50 // Note: this field may return null, indicating that no valid values can be obtained. MX *int64 `json:"MX,omitempty" name:"MX"` // Record status: ENABLED Status *string `json:"Status,omitempty" name:"Status"` // Record weight. Value range: 1–100 // Note: this field may return null, indicating that no valid values can be obtained. Weight *int64 `json:"Weight,omitempty" name:"Weight"` // Record creation time CreatedOn *string `json:"CreatedOn,omitempty" name:"CreatedOn"` // Record update time UpdatedOn *string `json:"UpdatedOn,omitempty" name:"UpdatedOn"` // Additional information // Note: this field may return null, indicating that no valid values can be obtained. Extra *string `json:"Extra,omitempty" name:"Extra"` }
type SubscribePrivateZoneServiceRequest ¶
type SubscribePrivateZoneServiceRequest struct {
*tchttp.BaseRequest
}
func NewSubscribePrivateZoneServiceRequest ¶
func NewSubscribePrivateZoneServiceRequest() (request *SubscribePrivateZoneServiceRequest)
func (*SubscribePrivateZoneServiceRequest) FromJsonString ¶
func (r *SubscribePrivateZoneServiceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SubscribePrivateZoneServiceRequest) ToJsonString ¶
func (r *SubscribePrivateZoneServiceRequest) ToJsonString() string
type SubscribePrivateZoneServiceResponse ¶
type SubscribePrivateZoneServiceResponse struct { *tchttp.BaseResponse Response *struct { // Private DNS service activation status ServiceStatus *string `json:"ServiceStatus,omitempty" name:"ServiceStatus"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewSubscribePrivateZoneServiceResponse ¶
func NewSubscribePrivateZoneServiceResponse() (response *SubscribePrivateZoneServiceResponse)
func (*SubscribePrivateZoneServiceResponse) FromJsonString ¶
func (r *SubscribePrivateZoneServiceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SubscribePrivateZoneServiceResponse) ToJsonString ¶
func (r *SubscribePrivateZoneServiceResponse) ToJsonString() string