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) DeletePrivateZoneRecord(request *DeletePrivateZoneRecordRequest) (response *DeletePrivateZoneRecordResponse, err error)
- func (c *Client) DeletePrivateZoneRecordWithContext(ctx context.Context, request *DeletePrivateZoneRecordRequest) (response *DeletePrivateZoneRecordResponse, 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) DescribePrivateZoneList(request *DescribePrivateZoneListRequest) (response *DescribePrivateZoneListResponse, err error)
- func (c *Client) DescribePrivateZoneListWithContext(ctx context.Context, request *DescribePrivateZoneListRequest) (response *DescribePrivateZoneListResponse, err error)
- func (c *Client) DescribePrivateZoneRecordList(request *DescribePrivateZoneRecordListRequest) (response *DescribePrivateZoneRecordListResponse, err error)
- func (c *Client) DescribePrivateZoneRecordListWithContext(ctx context.Context, request *DescribePrivateZoneRecordListRequest) (response *DescribePrivateZoneRecordListResponse, 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) ModifyRecordsStatus(request *ModifyRecordsStatusRequest) (response *ModifyRecordsStatusResponse, err error)
- func (c *Client) ModifyRecordsStatusWithContext(ctx context.Context, request *ModifyRecordsStatusRequest) (response *ModifyRecordsStatusResponse, 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 CreatePrivateDNSAccountRequestParams
- type CreatePrivateDNSAccountResponse
- type CreatePrivateDNSAccountResponseParams
- type CreatePrivateZoneRecordRequest
- type CreatePrivateZoneRecordRequestParams
- type CreatePrivateZoneRecordResponse
- type CreatePrivateZoneRecordResponseParams
- type CreatePrivateZoneRequest
- type CreatePrivateZoneRequestParams
- type CreatePrivateZoneResponse
- type CreatePrivateZoneResponseParams
- type DatePoint
- type DeletePrivateZoneRecordRequest
- type DeletePrivateZoneRecordRequestParams
- type DeletePrivateZoneRecordResponse
- type DeletePrivateZoneRecordResponseParams
- type DescribeAccountVpcListRequest
- type DescribeAccountVpcListRequestParams
- type DescribeAccountVpcListResponse
- type DescribeAccountVpcListResponseParams
- type DescribeAuditLogRequest
- type DescribeAuditLogRequestParams
- type DescribeAuditLogResponse
- type DescribeAuditLogResponseParams
- type DescribeDashboardRequest
- type DescribeDashboardRequestParams
- type DescribeDashboardResponse
- type DescribeDashboardResponseParams
- type DescribePrivateDNSAccountListRequest
- type DescribePrivateDNSAccountListRequestParams
- type DescribePrivateDNSAccountListResponse
- type DescribePrivateDNSAccountListResponseParams
- type DescribePrivateZoneListRequest
- type DescribePrivateZoneListRequestParams
- type DescribePrivateZoneListResponse
- type DescribePrivateZoneListResponseParams
- type DescribePrivateZoneRecordListRequest
- type DescribePrivateZoneRecordListRequestParams
- type DescribePrivateZoneRecordListResponse
- type DescribePrivateZoneRecordListResponseParams
- type DescribePrivateZoneServiceRequest
- type DescribePrivateZoneServiceRequestParams
- type DescribePrivateZoneServiceResponse
- type DescribePrivateZoneServiceResponseParams
- type DescribeQuotaUsageRequest
- type DescribeQuotaUsageRequestParams
- type DescribeQuotaUsageResponse
- type DescribeQuotaUsageResponseParams
- type DescribeRequestDataRequest
- type DescribeRequestDataRequestParams
- type DescribeRequestDataResponse
- type DescribeRequestDataResponseParams
- type Filter
- type FlowUsage
- type MetricData
- type ModifyPrivateZoneRecordRequest
- type ModifyPrivateZoneRecordRequestParams
- type ModifyPrivateZoneRecordResponse
- type ModifyPrivateZoneRecordResponseParams
- type ModifyPrivateZoneRequest
- type ModifyPrivateZoneRequestParams
- type ModifyPrivateZoneResponse
- type ModifyPrivateZoneResponseParams
- type ModifyPrivateZoneVpcRequest
- type ModifyPrivateZoneVpcRequestParams
- type ModifyPrivateZoneVpcResponse
- type ModifyPrivateZoneVpcResponseParams
- type ModifyRecordsStatusRequest
- type ModifyRecordsStatusRequestParams
- type ModifyRecordsStatusResponse
- type ModifyRecordsStatusResponseParams
- type PrivateDNSAccount
- type PrivateZone
- type PrivateZoneRecord
- type SubscribePrivateZoneServiceRequest
- type SubscribePrivateZoneServiceRequestParams
- type SubscribePrivateZoneServiceResponse
- type SubscribePrivateZoneServiceResponseParams
- 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" // Data exception. FAILEDOPERATION_DATAERROR = "FailedOperation.DataError" // The private domain is currently associated with a VPC. Please disassociate the VPC first before clearing its records. FAILEDOPERATION_DELETELASTBINDVPCRECORDFAILED = "FailedOperation.DeleteLastBindVpcRecordFailed" // FAILEDOPERATION_DELETERECORDFAILED = "FailedOperation.DeleteRecordFailed" // Failed to modify the record. FAILEDOPERATION_MODIFYRECORDFAILED = "FailedOperation.ModifyRecordFailed" // Failed to modify the private domain. FAILEDOPERATION_MODIFYZONEFAILED = "FailedOperation.ModifyZoneFailed" // FAILEDOPERATION_UPDATERECORDFAILED = "FailedOperation.UpdateRecordFailed" // 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" // INVALIDPARAMETER_MXNOTSUPPORTED = "InvalidParameter.MXNotSupported" // 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 TTL value must be in the range of 1–86400. INVALIDPARAMETERVALUE_ILLEGALTTLVALUE = "InvalidParameterValue.IllegalTTLValue" // This is a reserved domain name and cannot be created. 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" // Insufficient balance. RESOURCEINSUFFICIENT_BALANCE = "ResourceInsufficient.Balance" // 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 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" // UNSUPPORTEDOPERATION_FREQUENCYLIMIT = "UnsupportedOperation.FrequencyLimit" // Subdomain recursive DNS is not supported. UNSUPPORTEDOPERATION_NOTSUPPORTDNSFORWARD = "UnsupportedOperation.NotSupportDnsForward" )
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,omitnil,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,omitnil,omitempty" name:"Region"`
// VPC account: 123456789
// Note: this field may return `null`, indicating that no valid values can be obtained.
Uin *string `json:"Uin,omitnil,omitempty" name:"Uin"`
// VPC name: testname
// Note: this field may return `null`, indicating that no valid values can be obtained.
VpcName *string `json:"VpcName,omitnil,omitempty" name:"VpcName"`
}
type AccountVpcInfoOut ¶
type AccountVpcInfoOut struct {
// VpcId: vpc-xadsafsdasd
VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`
// Region: ap-guangzhou, ap-shanghai
Region *string `json:"Region,omitnil,omitempty" name:"Region"`
// VPC ID: 123456789
Uin *string `json:"Uin,omitnil,omitempty" name:"Uin"`
// VPC name: testname
VpcName *string `json:"VpcName,omitnil,omitempty" name:"VpcName"`
}
type AccountVpcInfoOutput ¶
type AuditLog ¶
type AuditLog struct {
// Log type
Resource *string `json:"Resource,omitnil,omitempty" name:"Resource"`
// Log table name
Metric *string `json:"Metric,omitnil,omitempty" name:"Metric"`
// Total number of logs
TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
// List of logs
DataSet []*AuditLogInfo `json:"DataSet,omitnil,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" RESOURCEUNAVAILABLE_TLDPACKAGEEXPIRED = "ResourceUnavailable.TldPackageExpired" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_ROLEUNAUTHORIZED = "UnauthorizedOperation.RoleUnAuthorized" UNAUTHORIZEDOPERATION_UNAUTHORIZEDACCOUNT = "UnauthorizedOperation.UnauthorizedAccount" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_ACCOUNTNOTBOUND = "UnsupportedOperation.AccountNotBound" UNSUPPORTEDOPERATION_NOTSUPPORTDNSFORWARD = "UnsupportedOperation.NotSupportDnsForward"
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" FAILEDOPERATION_DATAERROR = "FailedOperation.DataError" 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_MXNOTSUPPORTED = "InvalidParameter.MXNotSupported" 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" INVALIDPARAMETERVALUE_ILLEGALTTLVALUE = "InvalidParameterValue.IllegalTTLValue" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_TLDOUTOFLIMIT = "LimitExceeded.TldOutOfLimit" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_SERVICENOTSUBSCRIBED = "ResourceNotFound.ServiceNotSubscribed" RESOURCEUNAVAILABLE = "ResourceUnavailable" 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" FAILEDOPERATION_DATAERROR = "FailedOperation.DataError" 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_MXNOTSUPPORTED = "InvalidParameter.MXNotSupported" 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" INVALIDPARAMETERVALUE_ILLEGALTTLVALUE = "InvalidParameterValue.IllegalTTLValue" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_TLDOUTOFLIMIT = "LimitExceeded.TldOutOfLimit" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_SERVICENOTSUBSCRIBED = "ResourceNotFound.ServiceNotSubscribed" RESOURCEUNAVAILABLE = "ResourceUnavailable" 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" RESOURCEUNAVAILABLE_TLDPACKAGEEXPIRED = "ResourceUnavailable.TldPackageExpired" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_ROLEUNAUTHORIZED = "UnauthorizedOperation.RoleUnAuthorized" UNAUTHORIZEDOPERATION_UNAUTHORIZEDACCOUNT = "UnauthorizedOperation.UnauthorizedAccount" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_ACCOUNTNOTBOUND = "UnsupportedOperation.AccountNotBound" UNSUPPORTEDOPERATION_NOTSUPPORTDNSFORWARD = "UnsupportedOperation.NotSupportDnsForward"
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" FAILEDOPERATION_DELETERECORDFAILED = "FailedOperation.DeleteRecordFailed" 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" RESOURCENOTFOUND_SERVICENOTSUBSCRIBED = "ResourceNotFound.ServiceNotSubscribed" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDACCOUNT = "UnauthorizedOperation.UnauthorizedAccount" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_FREQUENCYLIMIT = "UnsupportedOperation.FrequencyLimit"
func (*Client) DeletePrivateZoneRecordWithContext ¶
func (c *Client) DeletePrivateZoneRecordWithContext(ctx context.Context, 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" FAILEDOPERATION_DELETERECORDFAILED = "FailedOperation.DeleteRecordFailed" 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" RESOURCENOTFOUND_SERVICENOTSUBSCRIBED = "ResourceNotFound.ServiceNotSubscribed" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDACCOUNT = "UnauthorizedOperation.UnauthorizedAccount" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_FREQUENCYLIMIT = "UnsupportedOperation.FrequencyLimit"
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) 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) DescribePrivateZoneListWithContext ¶
func (c *Client) DescribePrivateZoneListWithContext(ctx context.Context, 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) DescribePrivateZoneRecordListWithContext ¶
func (c *Client) DescribePrivateZoneRecordListWithContext(ctx context.Context, 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) 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_TLDPACKAGEEXPIRED = "ResourceUnavailable.TldPackageExpired" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDACCOUNT = "UnauthorizedOperation.UnauthorizedAccount" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_NOTSUPPORTDNSFORWARD = "UnsupportedOperation.NotSupportDnsForward"
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_DATAERROR = "FailedOperation.DataError" 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_RECORDNOTEXIST = "InvalidParameter.RecordNotExist" INVALIDPARAMETER_RECORDROLLLIMITCOUNTEXCEED = "InvalidParameter.RecordRolllimitCountExceed" INVALIDPARAMETER_RECORDTXTCOUNTEXCEED = "InvalidParameter.RecordTXTCountExceed" INVALIDPARAMETER_RECORDUNSUPPORTWEIGHT = "InvalidParameter.RecordUnsupportWeight" INVALIDPARAMETER_VPCBINDEDMAINDOMAIN = "InvalidParameter.VpcBindedMainDomain" INVALIDPARAMETER_ZONENOTEXISTS = "InvalidParameter.ZoneNotExists" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALTTLVALUE = "InvalidParameterValue.IllegalTTLValue" 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_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_DATAERROR = "FailedOperation.DataError" 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_RECORDNOTEXIST = "InvalidParameter.RecordNotExist" INVALIDPARAMETER_RECORDROLLLIMITCOUNTEXCEED = "InvalidParameter.RecordRolllimitCountExceed" INVALIDPARAMETER_RECORDTXTCOUNTEXCEED = "InvalidParameter.RecordTXTCountExceed" INVALIDPARAMETER_RECORDUNSUPPORTWEIGHT = "InvalidParameter.RecordUnsupportWeight" INVALIDPARAMETER_VPCBINDEDMAINDOMAIN = "InvalidParameter.VpcBindedMainDomain" INVALIDPARAMETER_ZONENOTEXISTS = "InvalidParameter.ZoneNotExists" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ILLEGALTTLVALUE = "InvalidParameterValue.IllegalTTLValue" 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_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" FAILEDOPERATION_DATAERROR = "FailedOperation.DataError" 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_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" FAILEDOPERATION_DATAERROR = "FailedOperation.DataError" 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_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_TLDPACKAGEEXPIRED = "ResourceUnavailable.TldPackageExpired" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNAUTHORIZEDACCOUNT = "UnauthorizedOperation.UnauthorizedAccount" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_NOTSUPPORTDNSFORWARD = "UnsupportedOperation.NotSupportDnsForward"
func (*Client) ModifyRecordsStatus ¶
func (c *Client) ModifyRecordsStatus(request *ModifyRecordsStatusRequest) (response *ModifyRecordsStatusResponse, err error)
ModifyRecordsStatus This API is used to modify the DNS record status.
error code that may be returned:
FAILEDOPERATION_MODIFYRECORDFAILED = "FailedOperation.ModifyRecordFailed" FAILEDOPERATION_UPDATERECORDFAILED = "FailedOperation.UpdateRecordFailed" INTERNALERROR = "InternalError" INTERNALERROR_UNDEFIENDERROR = "InternalError.UndefiendError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_RECORDNOTEXIST = "InvalidParameter.RecordNotExist" INVALIDPARAMETER_ZONENOTEXISTS = "InvalidParameter.ZoneNotExists" LIMITEXCEEDED_TLDOUTOFLIMIT = "LimitExceeded.TldOutOfLimit" LIMITEXCEEDED_TLDOUTOFRANGE = "LimitExceeded.TldOutOfRange" RESOURCEUNAVAILABLE_TLDPACKAGEEXPIRED = "ResourceUnavailable.TldPackageExpired"
func (*Client) ModifyRecordsStatusWithContext ¶
func (c *Client) ModifyRecordsStatusWithContext(ctx context.Context, request *ModifyRecordsStatusRequest) (response *ModifyRecordsStatusResponse, err error)
ModifyRecordsStatus This API is used to modify the DNS record status.
error code that may be returned:
FAILEDOPERATION_MODIFYRECORDFAILED = "FailedOperation.ModifyRecordFailed" FAILEDOPERATION_UPDATERECORDFAILED = "FailedOperation.UpdateRecordFailed" INTERNALERROR = "InternalError" INTERNALERROR_UNDEFIENDERROR = "InternalError.UndefiendError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_RECORDNOTEXIST = "InvalidParameter.RecordNotExist" INVALIDPARAMETER_ZONENOTEXISTS = "InvalidParameter.ZoneNotExists" LIMITEXCEEDED_TLDOUTOFLIMIT = "LimitExceeded.TldOutOfLimit" LIMITEXCEEDED_TLDOUTOFRANGE = "LimitExceeded.TldOutOfRange" RESOURCEUNAVAILABLE_TLDPACKAGEEXPIRED = "ResourceUnavailable.TldPackageExpired"
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" RESOURCEINSUFFICIENT_BALANCE = "ResourceInsufficient.Balance" 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" RESOURCEINSUFFICIENT_BALANCE = "ResourceInsufficient.Balance" 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,omitnil,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 CreatePrivateDNSAccountRequestParams ¶
type CreatePrivateDNSAccountRequestParams struct {
// Private DNS account
Account *PrivateDNSAccount `json:"Account,omitnil,omitempty" name:"Account"`
}
Predefined struct for user
type CreatePrivateDNSAccountResponse ¶
type CreatePrivateDNSAccountResponse struct {
*tchttp.BaseResponse
Response *CreatePrivateDNSAccountResponseParams `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 CreatePrivateDNSAccountResponseParams ¶
type CreatePrivateDNSAccountResponseParams struct {
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreatePrivateZoneRecordRequest ¶
type CreatePrivateZoneRecordRequest struct {
*tchttp.BaseRequest
// Private domain ID
ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
// Record type. Valid values: "A", "AAAA", "CNAME", "MX", "TXT", "PTR"
RecordType *string `json:"RecordType,omitnil,omitempty" name:"RecordType"`
// Subdomain, such as "www", "m", and "@"
SubDomain *string `json:"SubDomain,omitnil,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,omitnil,omitempty" name:"RecordValue"`
// Record weight. Value range: 1–100
Weight *int64 `json:"Weight,omitnil,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,omitnil,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,omitnil,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 CreatePrivateZoneRecordRequestParams ¶
type CreatePrivateZoneRecordRequestParams struct {
// Private domain ID
ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
// Record type. Valid values: "A", "AAAA", "CNAME", "MX", "TXT", "PTR"
RecordType *string `json:"RecordType,omitnil,omitempty" name:"RecordType"`
// Subdomain, such as "www", "m", and "@"
SubDomain *string `json:"SubDomain,omitnil,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,omitnil,omitempty" name:"RecordValue"`
// Record weight. Value range: 1–100
Weight *int64 `json:"Weight,omitnil,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,omitnil,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,omitnil,omitempty" name:"TTL"`
}
Predefined struct for user
type CreatePrivateZoneRecordResponse ¶
type CreatePrivateZoneRecordResponse struct {
*tchttp.BaseResponse
Response *CreatePrivateZoneRecordResponseParams `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 CreatePrivateZoneRecordResponseParams ¶
type CreatePrivateZoneRecordResponseParams struct {
// Record ID
RecordId *string `json:"RecordId,omitnil,omitempty" name:"RecordId"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreatePrivateZoneRequest ¶
type CreatePrivateZoneRequest struct {
*tchttp.BaseRequest
// Domain name, which must be in the format of standard TLD
Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`
// Tags the private domain when it is created
TagSet []*TagInfo `json:"TagSet,omitnil,omitempty" name:"TagSet"`
// Associates the private domain to a VPC when it is created
VpcSet []*VpcInfo `json:"VpcSet,omitnil,omitempty" name:"VpcSet"`
// Remarks
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// Whether to enable subdomain recursive DNS. Valid values: `ENABLED` (default) and `DISABLED`.
DnsForwardStatus *string `json:"DnsForwardStatus,omitnil,omitempty" name:"DnsForwardStatus"`
// Associates the private domain to a VPC when it is created
Vpcs []*VpcInfo `json:"Vpcs,omitnil,omitempty" name:"Vpcs"`
// List of authorized accounts' VPCs to associate with the private domain
AccountVpcSet []*AccountVpcInfo `json:"AccountVpcSet,omitnil,omitempty" name:"AccountVpcSet"`
// Whether to enable CNAME flattening. Valid values: `ENABLED` (default) and `DISABLED`.
CnameSpeedupStatus *string `json:"CnameSpeedupStatus,omitnil,omitempty" name:"CnameSpeedupStatus"`
}
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 CreatePrivateZoneRequestParams ¶
type CreatePrivateZoneRequestParams struct {
// Domain name, which must be in the format of standard TLD
Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`
// Tags the private domain when it is created
TagSet []*TagInfo `json:"TagSet,omitnil,omitempty" name:"TagSet"`
// Associates the private domain to a VPC when it is created
VpcSet []*VpcInfo `json:"VpcSet,omitnil,omitempty" name:"VpcSet"`
// Remarks
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// Whether to enable subdomain recursive DNS. Valid values: `ENABLED` (default) and `DISABLED`.
DnsForwardStatus *string `json:"DnsForwardStatus,omitnil,omitempty" name:"DnsForwardStatus"`
// Associates the private domain to a VPC when it is created
Vpcs []*VpcInfo `json:"Vpcs,omitnil,omitempty" name:"Vpcs"`
// List of authorized accounts' VPCs to associate with the private domain
AccountVpcSet []*AccountVpcInfo `json:"AccountVpcSet,omitnil,omitempty" name:"AccountVpcSet"`
// Whether to enable CNAME flattening. Valid values: `ENABLED` (default) and `DISABLED`.
CnameSpeedupStatus *string `json:"CnameSpeedupStatus,omitnil,omitempty" name:"CnameSpeedupStatus"`
}
Predefined struct for user
type CreatePrivateZoneResponse ¶
type CreatePrivateZoneResponse struct {
*tchttp.BaseResponse
Response *CreatePrivateZoneResponseParams `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 CreatePrivateZoneResponseParams ¶
type CreatePrivateZoneResponseParams struct {
// Private domain ID, such as zone-xxxxxx
ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
// Private domain
Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DeletePrivateZoneRecordRequest ¶
type DeletePrivateZoneRecordRequest struct {
*tchttp.BaseRequest
// Private domain ID
ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
// Record ID
RecordId *string `json:"RecordId,omitnil,omitempty" name:"RecordId"`
// Array of record IDs. `RecordId` takes precedence.
RecordIdSet []*string `json:"RecordIdSet,omitnil,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 DeletePrivateZoneRecordRequestParams ¶
type DeletePrivateZoneRecordRequestParams struct {
// Private domain ID
ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
// Record ID
RecordId *string `json:"RecordId,omitnil,omitempty" name:"RecordId"`
// Array of record IDs. `RecordId` takes precedence.
RecordIdSet []*string `json:"RecordIdSet,omitnil,omitempty" name:"RecordIdSet"`
}
Predefined struct for user
type DeletePrivateZoneRecordResponse ¶
type DeletePrivateZoneRecordResponse struct {
*tchttp.BaseResponse
Response *DeletePrivateZoneRecordResponseParams `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 DeletePrivateZoneRecordResponseParams ¶
type DeletePrivateZoneRecordResponseParams struct {
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeAccountVpcListRequest ¶
type DescribeAccountVpcListRequest struct {
*tchttp.BaseRequest
// UIN of account
AccountUin *string `json:"AccountUin,omitnil,omitempty" name:"AccountUin"`
// Pagination offset, starting from 0
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Number of entries per page. Maximum value: `100`. Default value: `20`
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Filter parameters
Filters []*Filter `json:"Filters,omitnil,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 DescribeAccountVpcListRequestParams ¶
type DescribeAccountVpcListRequestParams struct {
// UIN of account
AccountUin *string `json:"AccountUin,omitnil,omitempty" name:"AccountUin"`
// Pagination offset, starting from 0
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Number of entries per page. Maximum value: `100`. Default value: `20`
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Filter parameters
Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}
Predefined struct for user
type DescribeAccountVpcListResponse ¶
type DescribeAccountVpcListResponse struct {
*tchttp.BaseResponse
Response *DescribeAccountVpcListResponseParams `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 DescribeAccountVpcListResponseParams ¶
type DescribeAccountVpcListResponseParams struct {
// Number of VPCs
TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
// VPC list
VpcSet []*AccountVpcInfoOut `json:"VpcSet,omitnil,omitempty" name:"VpcSet"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeAuditLogRequest ¶
type DescribeAuditLogRequest struct {
*tchttp.BaseRequest
// Request volume statistics start time
TimeRangeBegin *string `json:"TimeRangeBegin,omitnil,omitempty" name:"TimeRangeBegin"`
// Filter parameter. Valid values: ZoneId (private domain ID), Domain (private domain), OperatorUin (operator account ID)
Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
// Request volume statistics end time
TimeRangeEnd *string `json:"TimeRangeEnd,omitnil,omitempty" name:"TimeRangeEnd"`
// Pagination offset, starting from 0
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Number of entries per page. Maximum value: 100. Default value: 20
Limit *int64 `json:"Limit,omitnil,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 DescribeAuditLogRequestParams ¶
type DescribeAuditLogRequestParams struct {
// Request volume statistics start time
TimeRangeBegin *string `json:"TimeRangeBegin,omitnil,omitempty" name:"TimeRangeBegin"`
// Filter parameter. Valid values: ZoneId (private domain ID), Domain (private domain), OperatorUin (operator account ID)
Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
// Request volume statistics end time
TimeRangeEnd *string `json:"TimeRangeEnd,omitnil,omitempty" name:"TimeRangeEnd"`
// Pagination offset, starting from 0
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Number of entries per page. Maximum value: 100. Default value: 20
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}
Predefined struct for user
type DescribeAuditLogResponse ¶
type DescribeAuditLogResponse struct {
*tchttp.BaseResponse
Response *DescribeAuditLogResponseParams `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 DescribeAuditLogResponseParams ¶
type DescribeAuditLogResponseParams struct {
// List of operation logs
Data []*AuditLog `json:"Data,omitnil,omitempty" name:"Data"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
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 DescribeDashboardRequestParams ¶
type DescribeDashboardRequestParams struct {
}
Predefined struct for user
type DescribeDashboardResponse ¶
type DescribeDashboardResponse struct {
*tchttp.BaseResponse
Response *DescribeDashboardResponseParams `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 DescribeDashboardResponseParams ¶
type DescribeDashboardResponseParams struct {
// Total number of private domain DNS records
ZoneTotal *int64 `json:"ZoneTotal,omitnil,omitempty" name:"ZoneTotal"`
// Number of VPCs associated with private domain
ZoneVpcCount *int64 `json:"ZoneVpcCount,omitnil,omitempty" name:"ZoneVpcCount"`
// Total number of historical requests
RequestTotalCount *int64 `json:"RequestTotalCount,omitnil,omitempty" name:"RequestTotalCount"`
// Traffic package usage
FlowUsage []*FlowUsage `json:"FlowUsage,omitnil,omitempty" name:"FlowUsage"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribePrivateDNSAccountListRequest ¶
type DescribePrivateDNSAccountListRequest struct {
*tchttp.BaseRequest
// Pagination offset, starting from `0`
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Number of entries per page. Maximum value: `100`. Default value: `20`
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Filter parameters
Filters []*Filter `json:"Filters,omitnil,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 DescribePrivateDNSAccountListRequestParams ¶
type DescribePrivateDNSAccountListRequestParams struct {
// Pagination offset, starting from `0`
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Number of entries per page. Maximum value: `100`. Default value: `20`
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Filter parameters
Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}
Predefined struct for user
type DescribePrivateDNSAccountListResponse ¶
type DescribePrivateDNSAccountListResponse struct {
*tchttp.BaseResponse
Response *DescribePrivateDNSAccountListResponseParams `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 DescribePrivateDNSAccountListResponseParams ¶
type DescribePrivateDNSAccountListResponseParams struct {
// Number of Private DNS accounts
TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
// List of Private DNS accounts
AccountSet []*PrivateDNSAccount `json:"AccountSet,omitnil,omitempty" name:"AccountSet"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribePrivateZoneListRequest ¶
type DescribePrivateZoneListRequest struct {
*tchttp.BaseRequest
// Pagination offset, starting from 0
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Number of entries per page. Maximum value: 100. Default value: 20
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Filter parameter
Filters []*Filter `json:"Filters,omitnil,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 DescribePrivateZoneListRequestParams ¶
type DescribePrivateZoneListRequestParams struct {
// Pagination offset, starting from 0
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Number of entries per page. Maximum value: 100. Default value: 20
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Filter parameter
Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}
Predefined struct for user
type DescribePrivateZoneListResponse ¶
type DescribePrivateZoneListResponse struct {
*tchttp.BaseResponse
Response *DescribePrivateZoneListResponseParams `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 DescribePrivateZoneListResponseParams ¶
type DescribePrivateZoneListResponseParams struct {
// Number of private domains
TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
// List of private domains
PrivateZoneSet []*PrivateZone `json:"PrivateZoneSet,omitnil,omitempty" name:"PrivateZoneSet"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribePrivateZoneRecordListRequest ¶
type DescribePrivateZoneRecordListRequest struct {
*tchttp.BaseRequest
// Private domain ID: zone-xxxxxx
ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
// Filter parameter
Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
// Pagination offset, starting from 0
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Number of entries per page. Maximum value: 100. Default value: 20
Limit *int64 `json:"Limit,omitnil,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 DescribePrivateZoneRecordListRequestParams ¶
type DescribePrivateZoneRecordListRequestParams struct {
// Private domain ID: zone-xxxxxx
ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
// Filter parameter
Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
// Pagination offset, starting from 0
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Number of entries per page. Maximum value: 100. Default value: 20
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}
Predefined struct for user
type DescribePrivateZoneRecordListResponse ¶
type DescribePrivateZoneRecordListResponse struct {
*tchttp.BaseResponse
Response *DescribePrivateZoneRecordListResponseParams `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 DescribePrivateZoneRecordListResponseParams ¶
type DescribePrivateZoneRecordListResponseParams struct {
// Number of DNS records
TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
// List of DNS records
RecordSet []*PrivateZoneRecord `json:"RecordSet,omitnil,omitempty" name:"RecordSet"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
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 DescribePrivateZoneServiceRequestParams ¶
type DescribePrivateZoneServiceRequestParams struct {
}
Predefined struct for user
type DescribePrivateZoneServiceResponse ¶
type DescribePrivateZoneServiceResponse struct {
*tchttp.BaseResponse
Response *DescribePrivateZoneServiceResponseParams `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 DescribePrivateZoneServiceResponseParams ¶
type DescribePrivateZoneServiceResponseParams struct {
// Private DNS service activation status. Valid values: ENABLED, DISABLED
ServiceStatus *string `json:"ServiceStatus,omitnil,omitempty" name:"ServiceStatus"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
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 DescribeQuotaUsageRequestParams ¶
type DescribeQuotaUsageRequestParams struct {
}
Predefined struct for user
type DescribeQuotaUsageResponse ¶
type DescribeQuotaUsageResponse struct {
*tchttp.BaseResponse
Response *DescribeQuotaUsageResponseParams `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 DescribeQuotaUsageResponseParams ¶
type DescribeQuotaUsageResponseParams struct {
// TLD quota usage
TldQuota *TldQuota `json:"TldQuota,omitnil,omitempty" name:"TldQuota"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
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,omitnil,omitempty" name:"TimeRangeBegin"`
// Filter parameter:
Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
// Request volume statistics end time in the format of 2020-11-22 23:59:59
TimeRangeEnd *string `json:"TimeRangeEnd,omitnil,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 DescribeRequestDataRequestParams ¶
type DescribeRequestDataRequestParams struct {
// Request volume statistics start time in the format of 2020-11-22 00:00:00
TimeRangeBegin *string `json:"TimeRangeBegin,omitnil,omitempty" name:"TimeRangeBegin"`
// Filter parameter:
Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
// Request volume statistics end time in the format of 2020-11-22 23:59:59
TimeRangeEnd *string `json:"TimeRangeEnd,omitnil,omitempty" name:"TimeRangeEnd"`
}
Predefined struct for user
type DescribeRequestDataResponse ¶
type DescribeRequestDataResponse struct {
*tchttp.BaseResponse
Response *DescribeRequestDataResponseParams `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 DescribeRequestDataResponseParams ¶
type DescribeRequestDataResponseParams struct {
// Request volume statistics table
Data []*MetricData `json:"Data,omitnil,omitempty" name:"Data"`
// Request volume unit time. Valid values: Day, Hour
Interval *string `json:"Interval,omitnil,omitempty" name:"Interval"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type FlowUsage ¶
type FlowUsage struct {
// Traffic package type, Valid values: ZONE (private domain); TRAFFIC (DNS traffic package)
FlowType *string `json:"FlowType,omitnil,omitempty" name:"FlowType"`
// Traffic package quota
TotalQuantity *int64 `json:"TotalQuantity,omitnil,omitempty" name:"TotalQuantity"`
// Available quota of traffic package
AvailableQuantity *int64 `json:"AvailableQuantity,omitnil,omitempty" name:"AvailableQuantity"`
}
type MetricData ¶
type MetricData struct {
// Resource description
Resource *string `json:"Resource,omitnil,omitempty" name:"Resource"`
// Table name
Metric *string `json:"Metric,omitnil,omitempty" name:"Metric"`
// Table data
DataSet []*DatePoint `json:"DataSet,omitnil,omitempty" name:"DataSet"`
// The total number of requests within the query scope.
// Note: This field may return null, indicating that no valid value can be obtained.
MetricCount *int64 `json:"MetricCount,omitnil,omitempty" name:"MetricCount"`
}
type ModifyPrivateZoneRecordRequest ¶
type ModifyPrivateZoneRecordRequest struct {
*tchttp.BaseRequest
// Private domain ID
ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
// Record ID
RecordId *string `json:"RecordId,omitnil,omitempty" name:"RecordId"`
// Record type. Valid values: "A", "AAAA", "CNAME", "MX", "TXT", "PTR"
RecordType *string `json:"RecordType,omitnil,omitempty" name:"RecordType"`
// Subdomain, such as "www", "m", and "@"
SubDomain *string `json:"SubDomain,omitnil,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,omitnil,omitempty" name:"RecordValue"`
// Record weight. Value range: 1–100
Weight *int64 `json:"Weight,omitnil,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,omitnil,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,omitnil,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 ModifyPrivateZoneRecordRequestParams ¶
type ModifyPrivateZoneRecordRequestParams struct {
// Private domain ID
ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
// Record ID
RecordId *string `json:"RecordId,omitnil,omitempty" name:"RecordId"`
// Record type. Valid values: "A", "AAAA", "CNAME", "MX", "TXT", "PTR"
RecordType *string `json:"RecordType,omitnil,omitempty" name:"RecordType"`
// Subdomain, such as "www", "m", and "@"
SubDomain *string `json:"SubDomain,omitnil,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,omitnil,omitempty" name:"RecordValue"`
// Record weight. Value range: 1–100
Weight *int64 `json:"Weight,omitnil,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,omitnil,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,omitnil,omitempty" name:"TTL"`
}
Predefined struct for user
type ModifyPrivateZoneRecordResponse ¶
type ModifyPrivateZoneRecordResponse struct {
*tchttp.BaseResponse
Response *ModifyPrivateZoneRecordResponseParams `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 ModifyPrivateZoneRecordResponseParams ¶
type ModifyPrivateZoneRecordResponseParams struct {
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifyPrivateZoneRequest ¶
type ModifyPrivateZoneRequest struct {
*tchttp.BaseRequest
// Private domain ID
ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
// Remarks
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// Whether to enable subdomain recursive DNS. Valid values: ENABLED, DISABLED
DnsForwardStatus *string `json:"DnsForwardStatus,omitnil,omitempty" name:"DnsForwardStatus"`
// Whether to enable CNAME flattening. Valid values: `ENABLED` and `DISABLED`.
CnameSpeedupStatus *string `json:"CnameSpeedupStatus,omitnil,omitempty" name:"CnameSpeedupStatus"`
}
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 ModifyPrivateZoneRequestParams ¶
type ModifyPrivateZoneRequestParams struct {
// Private domain ID
ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
// Remarks
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// Whether to enable subdomain recursive DNS. Valid values: ENABLED, DISABLED
DnsForwardStatus *string `json:"DnsForwardStatus,omitnil,omitempty" name:"DnsForwardStatus"`
// Whether to enable CNAME flattening. Valid values: `ENABLED` and `DISABLED`.
CnameSpeedupStatus *string `json:"CnameSpeedupStatus,omitnil,omitempty" name:"CnameSpeedupStatus"`
}
Predefined struct for user
type ModifyPrivateZoneResponse ¶
type ModifyPrivateZoneResponse struct {
*tchttp.BaseResponse
Response *ModifyPrivateZoneResponseParams `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 ModifyPrivateZoneResponseParams ¶
type ModifyPrivateZoneResponseParams struct {
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifyPrivateZoneVpcRequest ¶
type ModifyPrivateZoneVpcRequest struct {
*tchttp.BaseRequest
// Private domain ID
ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
// List of all VPCs associated with private domain
VpcSet []*VpcInfo `json:"VpcSet,omitnil,omitempty" name:"VpcSet"`
// List of authorized accounts' VPCs to associate with the private domain
AccountVpcSet []*AccountVpcInfo `json:"AccountVpcSet,omitnil,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 ModifyPrivateZoneVpcRequestParams ¶
type ModifyPrivateZoneVpcRequestParams struct {
// Private domain ID
ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
// List of all VPCs associated with private domain
VpcSet []*VpcInfo `json:"VpcSet,omitnil,omitempty" name:"VpcSet"`
// List of authorized accounts' VPCs to associate with the private domain
AccountVpcSet []*AccountVpcInfo `json:"AccountVpcSet,omitnil,omitempty" name:"AccountVpcSet"`
}
Predefined struct for user
type ModifyPrivateZoneVpcResponse ¶
type ModifyPrivateZoneVpcResponse struct {
*tchttp.BaseResponse
Response *ModifyPrivateZoneVpcResponseParams `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 ModifyPrivateZoneVpcResponseParams ¶
type ModifyPrivateZoneVpcResponseParams struct {
// Private domain ID, such as zone-xxxxxx
ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
// List of VPCs associated with domain
VpcSet []*VpcInfo `json:"VpcSet,omitnil,omitempty" name:"VpcSet"`
// List of authorized accounts' VPCs associated with the private domain
AccountVpcSet []*AccountVpcInfoOutput `json:"AccountVpcSet,omitnil,omitempty" name:"AccountVpcSet"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifyRecordsStatusRequest ¶
type ModifyRecordsStatusRequest struct {
*tchttp.BaseRequest
// The private domain ID
ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
// The DNS record IDs.
RecordIds []*int64 `json:"RecordIds,omitnil,omitempty" name:"RecordIds"`
// `enabled`: Enable; `disabled`: Disable.
Status *string `json:"Status,omitnil,omitempty" name:"Status"`
}
func NewModifyRecordsStatusRequest ¶
func NewModifyRecordsStatusRequest() (request *ModifyRecordsStatusRequest)
func (*ModifyRecordsStatusRequest) FromJsonString ¶
func (r *ModifyRecordsStatusRequest) 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 (*ModifyRecordsStatusRequest) ToJsonString ¶
func (r *ModifyRecordsStatusRequest) ToJsonString() string
type ModifyRecordsStatusRequestParams ¶
type ModifyRecordsStatusRequestParams struct {
// The private domain ID
ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
// The DNS record IDs.
RecordIds []*int64 `json:"RecordIds,omitnil,omitempty" name:"RecordIds"`
// `enabled`: Enable; `disabled`: Disable.
Status *string `json:"Status,omitnil,omitempty" name:"Status"`
}
Predefined struct for user
type ModifyRecordsStatusResponse ¶
type ModifyRecordsStatusResponse struct {
*tchttp.BaseResponse
Response *ModifyRecordsStatusResponseParams `json:"Response"`
}
func NewModifyRecordsStatusResponse ¶
func NewModifyRecordsStatusResponse() (response *ModifyRecordsStatusResponse)
func (*ModifyRecordsStatusResponse) FromJsonString ¶
func (r *ModifyRecordsStatusResponse) 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 (*ModifyRecordsStatusResponse) ToJsonString ¶
func (r *ModifyRecordsStatusResponse) ToJsonString() string
type ModifyRecordsStatusResponseParams ¶
type ModifyRecordsStatusResponseParams struct {
// The private domain ID
ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
// The DNS record IDs.
RecordIds []*int64 `json:"RecordIds,omitnil,omitempty" name:"RecordIds"`
// `enabled`: Enabled; `disabled`: Disabled.
Status *string `json:"Status,omitnil,omitempty" name:"Status"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type PrivateDNSAccount ¶
type PrivateZone ¶
type PrivateZone struct {
// Private domain ID: zone-xxxxxxxx
ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
// Domain name owner UIN
OwnerUin *int64 `json:"OwnerUin,omitnil,omitempty" name:"OwnerUin"`
// Private domain
Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`
// Creation time
CreatedOn *string `json:"CreatedOn,omitnil,omitempty" name:"CreatedOn"`
// Modification time
UpdatedOn *string `json:"UpdatedOn,omitnil,omitempty" name:"UpdatedOn"`
// Number of results
RecordCount *int64 `json:"RecordCount,omitnil,omitempty" name:"RecordCount"`
// Remarks
// Note: this field may return null, indicating that no valid values can be obtained.
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// List of bound VPCs
VpcSet []*VpcInfo `json:"VpcSet,omitnil,omitempty" name:"VpcSet"`
// Private domain status. Valid values: ENABLED (DNS enabled); SUSPEND (DNS paused); FROZEN (locked)
Status *string `json:"Status,omitnil,omitempty" name:"Status"`
// Subdomain recursive DNS status. Valid values: ENABLED, DISABLED
DnsForwardStatus *string `json:"DnsForwardStatus,omitnil,omitempty" name:"DnsForwardStatus"`
// Set of tag key-value pairs
Tags []*TagInfo `json:"Tags,omitnil,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,omitnil,omitempty" name:"AccountVpcSet"`
}
type PrivateZoneRecord ¶
type PrivateZoneRecord struct {
// Record ID
RecordId *string `json:"RecordId,omitnil,omitempty" name:"RecordId"`
// Private domain ID: zone-xxxxxxxx
ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
// Subdomain
SubDomain *string `json:"SubDomain,omitnil,omitempty" name:"SubDomain"`
// Record type. Valid values: "A", "AAAA", "CNAME", "MX", "TXT", "PTR"
RecordType *string `json:"RecordType,omitnil,omitempty" name:"RecordType"`
// Record value
RecordValue *string `json:"RecordValue,omitnil,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,omitnil,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,omitnil,omitempty" name:"MX"`
// Record status: ENABLED
Status *string `json:"Status,omitnil,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,omitnil,omitempty" name:"Weight"`
// Record creation time
CreatedOn *string `json:"CreatedOn,omitnil,omitempty" name:"CreatedOn"`
// Record update time
UpdatedOn *string `json:"UpdatedOn,omitnil,omitempty" name:"UpdatedOn"`
// Additional information
// Note: this field may return null, indicating that no valid values can be obtained.
Extra *string `json:"Extra,omitnil,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 SubscribePrivateZoneServiceRequestParams ¶
type SubscribePrivateZoneServiceRequestParams struct {
}
Predefined struct for user
type SubscribePrivateZoneServiceResponse ¶
type SubscribePrivateZoneServiceResponse struct {
*tchttp.BaseResponse
Response *SubscribePrivateZoneServiceResponseParams `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
type SubscribePrivateZoneServiceResponseParams ¶
type SubscribePrivateZoneServiceResponseParams struct {
// Private DNS service activation status
ServiceStatus *string `json:"ServiceStatus,omitnil,omitempty" name:"ServiceStatus"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type TldQuota ¶
type TldQuota struct {
// Total quota
Total *int64 `json:"Total,omitnil,omitempty" name:"Total"`
// Used quota
Used *int64 `json:"Used,omitnil,omitempty" name:"Used"`
// Available quota
Stock *int64 `json:"Stock,omitnil,omitempty" name:"Stock"`
// User’s quota
Quota *int64 `json:"Quota,omitnil,omitempty" name:"Quota"`
}