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) CreatePrivateDNSAccountWithContext(ctx context.Context, 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) CreatePrivateZoneRecordWithContext(ctx context.Context, request *CreatePrivateZoneRecordRequest) (response *CreatePrivateZoneRecordResponse, err error)
- func (c *Client) CreatePrivateZoneWithContext(ctx context.Context, request *CreatePrivateZoneRequest) (response *CreatePrivateZoneResponse, err error)
- func (c *Client) DescribeAccountVpcList(request *DescribeAccountVpcListRequest) (response *DescribeAccountVpcListResponse, err error)
- func (c *Client) DescribeAccountVpcListWithContext(ctx context.Context, request *DescribeAccountVpcListRequest) (response *DescribeAccountVpcListResponse, err error)
- func (c *Client) DescribeAuditLog(request *DescribeAuditLogRequest) (response *DescribeAuditLogResponse, err error)
- func (c *Client) DescribeAuditLogWithContext(ctx context.Context, request *DescribeAuditLogRequest) (response *DescribeAuditLogResponse, err error)
- func (c *Client) DescribeDashboard(request *DescribeDashboardRequest) (response *DescribeDashboardResponse, err error)
- func (c *Client) DescribeDashboardWithContext(ctx context.Context, request *DescribeDashboardRequest) (response *DescribeDashboardResponse, err error)
- func (c *Client) DescribePrivateDNSAccountList(request *DescribePrivateDNSAccountListRequest) (response *DescribePrivateDNSAccountListResponse, err error)
- func (c *Client) DescribePrivateDNSAccountListWithContext(ctx context.Context, request *DescribePrivateDNSAccountListRequest) (response *DescribePrivateDNSAccountListResponse, err error)
- func (c *Client) DescribePrivateZoneService(request *DescribePrivateZoneServiceRequest) (response *DescribePrivateZoneServiceResponse, err error)
- func (c *Client) DescribePrivateZoneServiceWithContext(ctx context.Context, request *DescribePrivateZoneServiceRequest) (response *DescribePrivateZoneServiceResponse, err error)
- func (c *Client) DescribeQuotaUsage(request *DescribeQuotaUsageRequest) (response *DescribeQuotaUsageResponse, err error)
- func (c *Client) DescribeQuotaUsageWithContext(ctx context.Context, request *DescribeQuotaUsageRequest) (response *DescribeQuotaUsageResponse, err error)
- func (c *Client) DescribeRequestData(request *DescribeRequestDataRequest) (response *DescribeRequestDataResponse, err error)
- func (c *Client) DescribeRequestDataWithContext(ctx context.Context, 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) ModifyPrivateZoneRecordWithContext(ctx context.Context, request *ModifyPrivateZoneRecordRequest) (response *ModifyPrivateZoneRecordResponse, err error)
- func (c *Client) ModifyPrivateZoneVpc(request *ModifyPrivateZoneVpcRequest) (response *ModifyPrivateZoneVpcResponse, err error)
- func (c *Client) ModifyPrivateZoneVpcWithContext(ctx context.Context, request *ModifyPrivateZoneVpcRequest) (response *ModifyPrivateZoneVpcResponse, err error)
- func (c *Client) ModifyPrivateZoneWithContext(ctx context.Context, request *ModifyPrivateZoneRequest) (response *ModifyPrivateZoneResponse, err error)
- func (c *Client) SubscribePrivateZoneService(request *SubscribePrivateZoneServiceRequest) (response *SubscribePrivateZoneServiceResponse, err error)
- func (c *Client) SubscribePrivateZoneServiceWithContext(ctx context.Context, request *SubscribePrivateZoneServiceRequest) (response *SubscribePrivateZoneServiceResponse, err error)
- type CreatePrivateDNSAccountRequest
- type CreatePrivateDNSAccountResponse
- type CreatePrivateZoneRecordRequest
- type CreatePrivateZoneRecordResponse
- type CreatePrivateZoneRequest
- type CreatePrivateZoneResponse
- type DatePoint
- type DescribeAccountVpcListRequest
- type DescribeAccountVpcListResponse
- type DescribeAuditLogRequest
- type DescribeAuditLogResponse
- type DescribeDashboardRequest
- type DescribeDashboardResponse
- type DescribePrivateDNSAccountListRequest
- type DescribePrivateDNSAccountListResponse
- type DescribePrivateZoneServiceRequest
- type DescribePrivateZoneServiceResponse
- type DescribeQuotaUsageRequest
- type DescribeQuotaUsageResponse
- 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 SubscribePrivateZoneServiceRequest
- type SubscribePrivateZoneServiceResponse
- type TagInfo
- type TldQuota
- 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" // 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" // Cannot create a dedicated internal TLD. INVALIDPARAMETERVALUE_RESERVEDDOMAIN = "InvalidParameterValue.ReservedDomain" // The quota limit is exceeded. LIMITEXCEEDED = "LimitExceeded" // Exceeded the custom TLD quota. LIMITEXCEEDED_TLDOUTOFLIMIT = "LimitExceeded.TldOutOfLimit" // The number of private domains using the custom TLD exceeds the total quota. LIMITEXCEEDED_TLDOUTOFRANGE = "LimitExceeded.TldOutOfRange" // 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" // RESOURCEUNAVAILABLE_TLDOPERATELIMIT = "ResourceUnavailable.TldOperateLimit" // The TLD value-added package expired. RESOURCEUNAVAILABLE_TLDPACKAGEEXPIRED = "ResourceUnavailable.TldPackageExpired" // 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" )
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) CreatePrivateDNSAccountWithContext ¶
func (c *Client) CreatePrivateDNSAccountWithContext(ctx context.Context, 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" INVALIDPARAMETERVALUE_RESERVEDDOMAIN = "InvalidParameterValue.ReservedDomain" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_TLDOUTOFLIMIT = "LimitExceeded.TldOutOfLimit" LIMITEXCEEDED_TLDOUTOFRANGE = "LimitExceeded.TldOutOfRange" 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_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_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" LIMITEXCEEDED_TLDOUTOFLIMIT = "LimitExceeded.TldOutOfLimit" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_TLDOPERATELIMIT = "ResourceUnavailable.TldOperateLimit" RESOURCEUNAVAILABLE_TLDPACKAGEEXPIRED = "ResourceUnavailable.TldPackageExpired" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDACCOUNT = "UnauthorizedOperation.UnauthorizedAccount" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreatePrivateZoneRecordWithContext ¶
func (c *Client) CreatePrivateZoneRecordWithContext(ctx context.Context, 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_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_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" LIMITEXCEEDED_TLDOUTOFLIMIT = "LimitExceeded.TldOutOfLimit" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_TLDOPERATELIMIT = "ResourceUnavailable.TldOperateLimit" RESOURCEUNAVAILABLE_TLDPACKAGEEXPIRED = "ResourceUnavailable.TldPackageExpired" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDACCOUNT = "UnauthorizedOperation.UnauthorizedAccount" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreatePrivateZoneWithContext ¶
func (c *Client) CreatePrivateZoneWithContext(ctx context.Context, 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" INVALIDPARAMETERVALUE_RESERVEDDOMAIN = "InvalidParameterValue.ReservedDomain" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_TLDOUTOFLIMIT = "LimitExceeded.TldOutOfLimit" LIMITEXCEEDED_TLDOUTOFRANGE = "LimitExceeded.TldOutOfRange" 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) 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) DescribeAccountVpcListWithContext ¶
func (c *Client) DescribeAccountVpcListWithContext(ctx context.Context, 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) DescribeAuditLogWithContext ¶
func (c *Client) DescribeAuditLogWithContext(ctx context.Context, 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) DescribeDashboardWithContext ¶
func (c *Client) DescribeDashboardWithContext(ctx context.Context, 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) DescribePrivateDNSAccountListWithContext ¶
func (c *Client) DescribePrivateDNSAccountListWithContext(ctx context.Context, 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) 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) DescribePrivateZoneServiceWithContext ¶
func (c *Client) DescribePrivateZoneServiceWithContext(ctx context.Context, 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) DescribeQuotaUsage ¶
func (c *Client) DescribeQuotaUsage(request *DescribeQuotaUsageRequest) (response *DescribeQuotaUsageResponse, err error)
DescribeQuotaUsage This API is used to query quota usage.
error code that may be returned:
INTERNALERROR = "InternalError" RESOURCENOTFOUND_SERVICENOTSUBSCRIBED = "ResourceNotFound.ServiceNotSubscribed" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_ROLEUNAUTHORIZED = "UnauthorizedOperation.RoleUnAuthorized" UNAUTHORIZEDOPERATION_UNAUTHORIZEDACCOUNT = "UnauthorizedOperation.UnauthorizedAccount" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeQuotaUsageWithContext ¶
func (c *Client) DescribeQuotaUsageWithContext(ctx context.Context, request *DescribeQuotaUsageRequest) (response *DescribeQuotaUsageResponse, err error)
DescribeQuotaUsage This API is used to query quota usage.
error code that may be returned:
INTERNALERROR = "InternalError" RESOURCENOTFOUND_SERVICENOTSUBSCRIBED = "ResourceNotFound.ServiceNotSubscribed" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_ROLEUNAUTHORIZED = "UnauthorizedOperation.RoleUnAuthorized" 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) DescribeRequestDataWithContext ¶
func (c *Client) DescribeRequestDataWithContext(ctx context.Context, 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" LIMITEXCEEDED_TLDOUTOFLIMIT = "LimitExceeded.TldOutOfLimit" LIMITEXCEEDED_TLDOUTOFRANGE = "LimitExceeded.TldOutOfRange" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_SERVICENOTSUBSCRIBED = "ResourceNotFound.ServiceNotSubscribed" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_TLDOPERATELIMIT = "ResourceUnavailable.TldOperateLimit" RESOURCEUNAVAILABLE_TLDPACKAGEEXPIRED = "ResourceUnavailable.TldPackageExpired" 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" LIMITEXCEEDED_TLDOUTOFLIMIT = "LimitExceeded.TldOutOfLimit" LIMITEXCEEDED_TLDOUTOFRANGE = "LimitExceeded.TldOutOfRange" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_TLDOPERATELIMIT = "ResourceUnavailable.TldOperateLimit" RESOURCEUNAVAILABLE_TLDPACKAGEEXPIRED = "ResourceUnavailable.TldPackageExpired" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDACCOUNT = "UnauthorizedOperation.UnauthorizedAccount" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyPrivateZoneRecordWithContext ¶
func (c *Client) ModifyPrivateZoneRecordWithContext(ctx context.Context, 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" LIMITEXCEEDED_TLDOUTOFLIMIT = "LimitExceeded.TldOutOfLimit" LIMITEXCEEDED_TLDOUTOFRANGE = "LimitExceeded.TldOutOfRange" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_TLDOPERATELIMIT = "ResourceUnavailable.TldOperateLimit" RESOURCEUNAVAILABLE_TLDPACKAGEEXPIRED = "ResourceUnavailable.TldPackageExpired" 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" LIMITEXCEEDED_TLDOUTOFLIMIT = "LimitExceeded.TldOutOfLimit" LIMITEXCEEDED_TLDOUTOFRANGE = "LimitExceeded.TldOutOfRange" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_TLDOPERATELIMIT = "ResourceUnavailable.TldOperateLimit" RESOURCEUNAVAILABLE_TLDPACKAGEEXPIRED = "ResourceUnavailable.TldPackageExpired" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_ROLEUNAUTHORIZED = "UnauthorizedOperation.RoleUnAuthorized" UNAUTHORIZEDOPERATION_UNAUTHORIZEDACCOUNT = "UnauthorizedOperation.UnauthorizedAccount" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyPrivateZoneVpcWithContext ¶
func (c *Client) ModifyPrivateZoneVpcWithContext(ctx context.Context, 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" LIMITEXCEEDED_TLDOUTOFLIMIT = "LimitExceeded.TldOutOfLimit" LIMITEXCEEDED_TLDOUTOFRANGE = "LimitExceeded.TldOutOfRange" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_TLDOPERATELIMIT = "ResourceUnavailable.TldOperateLimit" RESOURCEUNAVAILABLE_TLDPACKAGEEXPIRED = "ResourceUnavailable.TldPackageExpired" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_ROLEUNAUTHORIZED = "UnauthorizedOperation.RoleUnAuthorized" UNAUTHORIZEDOPERATION_UNAUTHORIZEDACCOUNT = "UnauthorizedOperation.UnauthorizedAccount" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyPrivateZoneWithContext ¶
func (c *Client) ModifyPrivateZoneWithContext(ctx context.Context, 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" LIMITEXCEEDED_TLDOUTOFLIMIT = "LimitExceeded.TldOutOfLimit" LIMITEXCEEDED_TLDOUTOFRANGE = "LimitExceeded.TldOutOfRange" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_SERVICENOTSUBSCRIBED = "ResourceNotFound.ServiceNotSubscribed" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_TLDOPERATELIMIT = "ResourceUnavailable.TldOperateLimit" RESOURCEUNAVAILABLE_TLDPACKAGEEXPIRED = "ResourceUnavailable.TldPackageExpired" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" 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"
func (*Client) SubscribePrivateZoneServiceWithContext ¶
func (c *Client) SubscribePrivateZoneServiceWithContext(ctx context.Context, 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 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 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 DescribeQuotaUsageRequest ¶
type DescribeQuotaUsageRequest struct {
*tchttp.BaseRequest
}
func NewDescribeQuotaUsageRequest ¶
func NewDescribeQuotaUsageRequest() (request *DescribeQuotaUsageRequest)
func (*DescribeQuotaUsageRequest) FromJsonString ¶
func (r *DescribeQuotaUsageRequest) 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 (*DescribeQuotaUsageRequest) ToJsonString ¶
func (r *DescribeQuotaUsageRequest) ToJsonString() string
type DescribeQuotaUsageResponse ¶
type DescribeQuotaUsageResponse struct { *tchttp.BaseResponse Response *struct { // TLD quota usage TldQuota *TldQuota `json:"TldQuota,omitempty" name:"TldQuota"` // 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 NewDescribeQuotaUsageResponse ¶
func NewDescribeQuotaUsageResponse() (response *DescribeQuotaUsageResponse)
func (*DescribeQuotaUsageResponse) FromJsonString ¶
func (r *DescribeQuotaUsageResponse) 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 (*DescribeQuotaUsageResponse) ToJsonString ¶
func (r *DescribeQuotaUsageResponse) 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 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