v20190719

package
v3.0.424+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// Authentication failed.
	AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"

	// Operation failed.
	FAILEDOPERATION = "FailedOperation"

	// Insufficient balance.
	FAILEDOPERATION_BLOCKBALANCE = "FailedOperation.BlockBalance"

	// Data operation failed.
	FAILEDOPERATION_DATAOPERATIONFAILED = "FailedOperation.DataOperationFailed"

	// The image is in use.
	FAILEDOPERATION_IMAGEINUSE = "FailedOperation.ImageInUse"

	// An instance already exists under the module.
	FAILEDOPERATION_INSTANCEINMODULE = "FailedOperation.InstanceInModule"

	// Not all instances are shut down.
	FAILEDOPERATION_INSTANCENOTALLSTOPPED = "FailedOperation.InstanceNotAllStopped"

	// The instance does not belong to the current module.
	FAILEDOPERATION_INSTANCEOWNERCHECKFAILED = "FailedOperation.InstanceOwnerCheckFailed"

	// Internal error.
	FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"

	// This operation cannot be performed in the current status.
	FAILEDOPERATION_INVALIDSTATUS = "FailedOperation.InvalidStatus"

	// The current operation cannot be performed as another operation is being performed.
	FAILEDOPERATION_OPERATIONCONFLICT = "FailedOperation.OperationConflict"

	// The current operation is not allowed.
	FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow"

	// The private IP has been bound to an EIP.
	FAILEDOPERATION_PRIVATEIPADDRESSBINDED = "FailedOperation.PrivateIpAddressBinded"

	// The private IP is unavailable.
	FAILEDOPERATION_PRIVATEIPADDRESSUNAVAILABLE = "FailedOperation.PrivateIpAddressUnavailable"

	// Internal error.
	INTERNALERROR = "InternalError"

	// The parameter is incorrect.
	INVALIDPARAMETER = "InvalidParameter"

	// The parameters cannot be specified at the same time.
	INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist"

	// The parameter format is incorrect.
	INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"

	// The data format is incorrect.
	INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"

	// The two specified parameters conflict. An EIP can only be bound to an instance or the specified private IP of the specified ENI.
	INVALIDPARAMETER_INVALIDPARAMETERCONFLICT = "InvalidParameter.InvalidParameterConflict"

	// The CLB instance ID is incorrect.
	INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound"

	// The listener ID is incorrect.
	INVALIDPARAMETER_LISTENERIDNOTFOUND = "InvalidParameter.ListenerIdNotFound"

	// No eligible forwarding rules were found.
	INVALIDPARAMETER_LOCATIONNOTFOUND = "InvalidParameter.LocationNotFound"

	// Only `KeepImageLogin`, `Password`, or `KeyIds` can be used at a time.
	INVALIDPARAMETER_PARAMETERCONFLICT = "InvalidParameter.ParameterConflict"

	// Listener port check failed due to a port conflict.
	INVALIDPARAMETER_PORTCHECKFAILED = "InvalidParameter.PortCheckFailed"

	// Listener protocol check failed, because this operation is not supported by the protocol.
	INVALIDPARAMETER_PROTOCOLCHECKFAILED = "InvalidParameter.ProtocolCheckFailed"

	// The region is invalid.
	INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound"

	// The parameter value is incorrect.
	INVALIDPARAMETERVALUE = "InvalidParameterValue"

	// The number applied for exceeds the limit.
	INVALIDPARAMETERVALUE_ADDRESSQUOTALIMITEXCEEDED = "InvalidParameterValue.AddressQuotaLimitExceeded"

	// The bandwidth exceeds the limit.
	INVALIDPARAMETERVALUE_BANDWIDTHOUTOFRANGE = "InvalidParameterValue.BandwidthOutOfRange"

	// The destination IP range is not within the CIDR range of the customer VPC.
	INVALIDPARAMETERVALUE_CIDRNOTINPEERVPC = "InvalidParameterValue.CidrNotInPeerVpc"

	// The data is duplicate.
	INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate"

	// The value of the `Filter` parameter exceeds the limit.
	INVALIDPARAMETERVALUE_FILTERLIMITEXCEEDED = "InvalidParameterValue.FilterLimitExceeded"

	// An image has already been imported.
	INVALIDPARAMETERVALUE_IMAGEDUPLICATE = "InvalidParameterValue.ImageDuplicate"

	// The image name is duplicate.
	INVALIDPARAMETERVALUE_IMAGENAMEDUPLICATE = "InvalidParameterValue.ImageNameDuplicate"

	// The image size is greater than the system disk size.
	INVALIDPARAMETERVALUE_IMAGESIZELARGETHANSYSDISKSIZE = "InvalidParameterValue.ImageSizeLargeThanSysDiskSize"

	// The instance configuration does not match.
	INVALIDPARAMETERVALUE_INSTANCECONFIGNOTMATCH = "InvalidParameterValue.InstanceConfigNotMatch"

	// The instance does not support the current operation.
	INVALIDPARAMETERVALUE_INSTANCEIDNOTSUPPORTED = "InvalidParameterValue.InstanceIdNotSupported"

	// The instance name length exceeds the limit.
	INVALIDPARAMETERVALUE_INSTANCENAMETOOLONG = "InvalidParameterValue.InstanceNameTooLong"

	// The instance model and `pid` do not match.
	INVALIDPARAMETERVALUE_INSTANCETYPENOTMATCHPID = "InvalidParameterValue.InstanceTypeNotMatchPid"

	// The EIP is invalid.
	INVALIDPARAMETERVALUE_INVAILDADDRESSID = "InvalidParameterValue.InvaildAddressId"

	// Your input is incorrect, or you have no permission for the operation.
	INVALIDPARAMETERVALUE_INVAILDDESCRIBEINSTANCE = "InvalidParameterValue.InvaildDescribeInstance"

	// The ENI ID is invalid.
	INVALIDPARAMETERVALUE_INVAILDENIID = "InvalidParameterValue.InvaildEniID"

	// `HostName` is invalid.
	INVALIDPARAMETERVALUE_INVAILDHOSTNAME = "InvalidParameterValue.InvaildHostName"

	// The parameter is incorrect.
	INVALIDPARAMETERVALUE_INVAILDMODIFYPARAM = "InvalidParameterValue.InvaildModifyParam"

	// The number of modules is invalid.
	INVALIDPARAMETERVALUE_INVAILDMODULENUM = "InvalidParameterValue.InvaildModuleNum"

	// The pagination parameter is invalid.
	INVALIDPARAMETERVALUE_INVAILDPAGEPARAM = "InvalidParameterValue.InvaildPageParam"

	// The password is invalid.
	INVALIDPARAMETERVALUE_INVAILDPASSWORD = "InvalidParameterValue.InvaildPassword"

	// When you bind an ENI synchronously, you can apply for only one EIP at a time.
	INVALIDPARAMETERVALUE_INVALIDADDRESSCOUNT = "InvalidParameterValue.InvalidAddressCount"

	// The bandwidth size is invalid.
	INVALIDPARAMETERVALUE_INVALIDBANDWIDTH = "InvalidParameterValue.InvalidBandwidth"

	// The inbound bandwidth size exceeds the limit.
	INVALIDPARAMETERVALUE_INVALIDBANDWIDTHIN = "InvalidParameterValue.InvalidBandwidthIn"

	// The inbound and outbound bandwidth must be the same.
	INVALIDPARAMETERVALUE_INVALIDBANDWIDTHINANDOUT = "InvalidParameterValue.InvalidBandwidthInAndOut"

	// The selected billing mode is not supported.
	INVALIDPARAMETERVALUE_INVALIDBILLINGTYPE = "InvalidParameterValue.InvalidBillingType"

	// The number of data disks is invalid.
	INVALIDPARAMETERVALUE_INVALIDDATADISKNUM = "InvalidParameterValue.InvalidDataDiskNum"

	// The data disk size is invalid.
	INVALIDPARAMETERVALUE_INVALIDDATADISKSIZE = "InvalidParameterValue.InvalidDataDiskSize"

	// The data disk type is invalid.
	INVALIDPARAMETERVALUE_INVALIDDATADISKTYPE = "InvalidParameterValue.InvalidDataDiskType"

	// Windows images do not support IP direct access.
	INVALIDPARAMETERVALUE_INVALIDEIPDIRECTSERVICE = "InvalidParameterValue.InvalidEIPDirectService"

	// The region parameter is invalid.
	INVALIDPARAMETERVALUE_INVALIDECMREGION = "InvalidParameterValue.InvalidEcmRegion"

	// The filter is invalid.
	INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter"

	// The ISP is invalid.
	INVALIDPARAMETERVALUE_INVALIDISPINNODE = "InvalidParameterValue.InvalidISPInNode"

	// Models with a memory of 4 GB or above do not support 32-bit OS images.
	INVALIDPARAMETERVALUE_INVALIDIMAGEARCHITECTURE = "InvalidParameterValue.InvalidImageArchitecture"

	// The image ID is invalid.
	INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageID"

	// The billing mode of the instance is invalid.
	INVALIDPARAMETERVALUE_INVALIDINSTANCECHARGETYPE = "InvalidParameterValue.InvalidInstanceChargeType"

	// The instance ID is invalid.
	INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID"

	// The configuration of a High-IO model cannot be adjusted.
	INVALIDPARAMETERVALUE_INVALIDINSTANCETYPE = "InvalidParameterValue.InvalidInstanceType"

	// The model ID is invalid.
	INVALIDPARAMETERVALUE_INVALIDINSTANCETYPECONFIGID = "InvalidParameterValue.InvalidInstanceTypeConfigID"

	// The billing mode is invalid.
	INVALIDPARAMETERVALUE_INVALIDINTERNETCHARGETYPE = "InvalidParameterValue.InvalidInternetChargeType"

	// The key ID is invalid.
	INVALIDPARAMETERVALUE_INVALIDKEYPAIRID = "InvalidParameterValue.InvalidKeyPairId"

	// The key name is exceptional.
	INVALIDPARAMETERVALUE_INVALIDKEYPAIRNAME = "InvalidParameterValue.InvalidKeyPairName"

	// The number of CLB instances is invalid.
	INVALIDPARAMETERVALUE_INVALIDLOADBALANCERNUM = "InvalidParameterValue.InvalidLoadBalancerNum"

	// The CLB instance type is invalid.
	INVALIDPARAMETERVALUE_INVALIDLOADBALANCERTYPE = "InvalidParameterValue.InvalidLoadBalancerType"

	// The module ID is invalid.
	INVALIDPARAMETERVALUE_INVALIDMODULEID = "InvalidParameterValue.InvalidModuleID"

	// The `ModuleId` and `InstanceType` parameters cannot be both empty.
	INVALIDPARAMETERVALUE_INVALIDMODULEIDANDINSTANCETYPECONFIGID = "InvalidParameterValue.InvalidModuleIDAndInstanceTypeConfigID"

	// The `ModuleId` and `InstanceType` parameters cannot be both empty.
	INVALIDPARAMETERVALUE_INVALIDMODULEIDANDINSTANCETYPEID = "InvalidParameterValue.InvalidModuleIDAndInstanceTypeID"

	// The module names conflict.
	INVALIDPARAMETERVALUE_INVALIDMODULENAME = "InvalidParameterValue.InvalidModuleName"

	// The sort field is invalid.
	INVALIDPARAMETERVALUE_INVALIDORDERBYFIELD = "InvalidParameterValue.InvalidOrderByField"

	// The common parameter is invalid.
	INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"

	// The ECM region is invalid.
	INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"

	// The security group ID is invalid.
	INVALIDPARAMETERVALUE_INVALIDSECURITYGROUPID = "InvalidParameterValue.InvalidSecurityGroupID"

	// InvalidParameterValue.InvalidSnapshot
	INVALIDPARAMETERVALUE_INVALIDSNAPSHOT = "InvalidParameterValue.InvalidSnapshot"

	// InvalidParameterValue.InvalidSnapshotId
	INVALIDPARAMETERVALUE_INVALIDSNAPSHOTID = "InvalidParameterValue.InvalidSnapshotId"

	// The system disk size is invalid.
	INVALIDPARAMETERVALUE_INVALIDSYSTEMDISKSIZE = "InvalidParameterValue.InvalidSystemDiskSize"

	// The system disk type is invalid.
	INVALIDPARAMETERVALUE_INVALIDSYSTEMDISKTYPE = "InvalidParameterValue.InvalidSystemDiskType"

	// The time is invalid.
	INVALIDPARAMETERVALUE_INVALIDTIME = "InvalidParameterValue.InvalidTime"

	// The zone is invalid.
	INVALIDPARAMETERVALUE_INVALIDZONE = "InvalidParameterValue.InvalidZone"

	// The city or quantity is invalid.
	INVALIDPARAMETERVALUE_INVALIDZONEINSTANCECOUNT = "InvalidParameterValue.InvalidZoneInstanceCount"

	// This model is not supported in the AZ.
	INVALIDPARAMETERVALUE_INVALIDZONEINSTANCETYPE = "InvalidParameterValue.InvalidZoneInstanceType"

	// The parameter length is incorrect.
	INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"

	// The parameter value exceeds the limit.
	INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"

	// The input parameter format is invalid.
	INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"

	// The default configuration of an ECM module associated with instances cannot be modified.
	INVALIDPARAMETERVALUE_MODULENOTALLOWCHANGE = "InvalidParameterValue.ModuleNotAllowChange"

	// The node does not support IPv6.
	INVALIDPARAMETERVALUE_NODENOTSUPPORTIPV6 = "InvalidParameterValue.NodeNotSupportIPv6"

	// The object is not in the current subnet.
	INVALIDPARAMETERVALUE_OBJECTNOTCURRENTSUBNET = "InvalidParameterValue.ObjectNotCurrentSubnet"

	// The specified object is not the current VPC.
	INVALIDPARAMETERVALUE_OBJECTVPCNOTCURRENTVPC = "InvalidParameterValue.ObjectVpcNotCurrentVpc"

	// The parameter value exceeds the limit.
	INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge"

	// The parameter value is not in the specified range.
	INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range"

	// The parameter value is an object retained by the system.
	INVALIDPARAMETERVALUE_RESERVED = "InvalidParameterValue.Reserved"

	// The specified CIDR block conflicts with another subnet in the same VPC.
	INVALIDPARAMETERVALUE_SUBNETCONFLICT = "InvalidParameterValue.SubnetConflict"

	// The subnet IP range is invalid.
	INVALIDPARAMETERVALUE_SUBNETRANGE = "InvalidParameterValue.SubnetRange"

	// The number of tags exceeds the limit.
	INVALIDPARAMETERVALUE_TAGNUMOUTOFRANGE = "InvalidParameterValue.TagNumOutOfRange"

	// The task was not found.
	INVALIDPARAMETERVALUE_TASKNOTFOUND = "InvalidParameterValue.TaskNotFound"

	// The scheduled termination time is before the current time.
	INVALIDPARAMETERVALUE_TERMINATETIMESMALLER = "InvalidParameterValue.TerminateTimeSmaller"

	// The parameter value is too long.
	INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong"

	// The model does not support the selected billing mode.
	INVALIDPARAMETERVALUE_UNMATCHEDBILLINGTYPE = "InvalidParameterValue.UnmatchedBillingType"

	// The region is not supported.
	INVALIDPARAMETERVALUE_UNSUPPORTEDREGION = "InvalidParameterValue.UnsupportedRegion"

	// IPv6 is not supported.
	INVALIDPARAMETERVALUE_USERNOTSUPPORTIPV6 = "InvalidParameterValue.UserNotSupportIPv6"

	// The destination IP range conflicts with the CIDR block of the current VPC.
	INVALIDPARAMETERVALUE_VPCCIDRCONFLICT = "InvalidParameterValue.VpcCidrConflict"

	// The quota limit is exceeded.
	LIMITEXCEEDED = "LimitExceeded"

	// The number applied for exceeds the limit.
	LIMITEXCEEDED_ADDRESSQUOTALIMITEXCEEDED = "LimitExceeded.AddressQuotaLimitExceeded"

	// The maximum number of applications has been reached. The maximum number of applications that can be made by a Tencent Cloud account per day in each region is equal to twice the quota.
	LIMITEXCEEDED_ADDRESSQUOTALIMITEXCEEDEDDAILYALLOCATE = "LimitExceeded.AddressQuotaLimitExceededDailyAllocate"

	// The number of purchasable ENIs is insufficient.
	LIMITEXCEEDED_ENIQUOTALIMITEXCEEDED = "LimitExceeded.EniQuotaLimitExceeded"

	// The number of security groups bound to the instance exceeds the limit.
	LIMITEXCEEDED_INSTANCESECURITYGROUPLIMITEXCEEDED = "LimitExceeded.InstanceSecurityGroupLimitExceeded"

	// The number of CLB instances applied for exceeds the limit.
	LIMITEXCEEDED_LBLIMITEXCEEDED = "LimitExceeded.LBLimitExceeded"

	// The number of default module security groups exceeds the limit.
	LIMITEXCEEDED_MODULESECURITYGROUPLIMITEXCEEDED = "LimitExceeded.ModuleSecurityGroupLimitExceeded"

	// The number of ENIs or public IPs exceeds the limit specified by the CPU.
	LIMITEXCEEDED_NICORIPLIMITEXCEEDED = "LimitExceeded.NicOrIPLimitExceeded"

	// The number of private IPs exceeds the limit.
	LIMITEXCEEDED_PRIVATEIPQUOTALIMITEXCEEDED = "LimitExceeded.PrivateIPQuotaLimitExceeded"

	// The number of instances bound to the security group exceeds the limit.
	LIMITEXCEEDED_SECURITYGROUPINSTANCELIMITEXCEEDED = "LimitExceeded.SecurityGroupInstanceLimitExceeded"

	// The number of modules that can be associated with the security group exceeds the limit.
	LIMITEXCEEDED_SECURITYGROUPMODULELIMITEXCEEDED = "LimitExceeded.SecurityGroupModuleLimitExceeded"

	// The number of security group rules exceeds the upper limit.
	LIMITEXCEEDED_SECURITYGROUPPOLICYSET = "LimitExceeded.SecurityGroupPolicySet"

	// The number of CPU cores applied for exceeds the limit.
	LIMITEXCEEDED_VCPULIMITEXCEEDED = "LimitExceeded.VcpuLimitExceeded"

	// The parameter is missing.
	MISSINGPARAMETER = "MissingParameter"

	// The entity parameter to be associated is missing.
	MISSINGPARAMETER_MISSINGASSOCIATEENTITY = "MissingParameter.MissingAssociateEntity"

	// The request parameters required to get the basic configuration are incomplete.
	MISSINGPARAMETER_MISSINGBASECONFIGPARAMETER = "MissingParameter.MissingBaseConfigParameter"

	// The image operation parameters are incomplete.
	MISSINGPARAMETER_MISSINGIMAGEPARAMETER = "MissingParameter.MissingImageParameter"

	// The model operation parameters are incomplete.
	MISSINGPARAMETER_MISSINGINSTANCETYPECONFIGPARAMETER = "MissingParameter.MissingInstanceTypeConfigParameter"

	// The instance operation parameters are incomplete.
	MISSINGPARAMETER_MISSINGINSTANCESPARAMETER = "MissingParameter.MissingInstancesParameter"

	// The module operation parameters are incomplete.
	MISSINGPARAMETER_MISSINGMODULEPARAMETER = "MissingParameter.MissingModuleParameter"

	// The request parameters required for ENI operation configuration are missing.
	MISSINGPARAMETER_MISSINGNETWORKINTERFACEPARAMETER = "MissingParameter.MissingNetworkInterfaceParameter"

	// The node operation parameters are incomplete.
	MISSINGPARAMETER_MISSINGNODEPARAMETER = "MissingParameter.MissingNodeParameter"

	// The request parameters required to get the configuration of the overview page are incomplete.
	MISSINGPARAMETER_MISSINGOVERVIEWPARAMETER = "MissingParameter.MissingOverViewParameter"

	// The private IP address is missing.
	MISSINGPARAMETER_MISSINGPRIVATEIPADDRESS = "MissingParameter.MissingPrivateIpAddress"

	// The current operation is not allowed.
	OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress"

	// The resource is in use.
	RESOURCEINUSE = "ResourceInUse"

	// Insufficient resource.
	RESOURCEINSUFFICIENT = "ResourceInsufficient"

	// Insufficient IP resource.
	RESOURCEINSUFFICIENT_IPQUOTANOTENOUGH = "ResourceInsufficient.IPQuotaNotEnough"

	// The instance resource is insufficient.
	RESOURCEINSUFFICIENT_INSTANCEQUOTANOTENOUGH = "ResourceInsufficient.InstanceQuotaNotEnough"

	// The number of private images exceeds the limit.
	RESOURCEINSUFFICIENT_INVAILDPRIVATEIMAGENUM = "ResourceInsufficient.InvaildPrivateImageNum"

	// The resource does not exist.
	RESOURCENOTFOUND = "ResourceNotFound"

	// The instance is invalid.
	RESOURCENOTFOUND_INSTANCENOTEXIST = "ResourceNotFound.InstanceNotExist"

	// The instance is not running.
	RESOURCEUNAVAILABLE_INSTANCENOTRUNNING = "ResourceUnavailable.InstanceNotRunning"

	// CLB instances have been sold out.
	RESOURCESSOLDOUT_LOADBALANCERSOLDOUT = "ResourcesSoldOut.LoadBalancerSoldOut"

	// You don't have the permission to perform this operation.
	UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

	// UnauthorizedOperation.MFAExpired
	UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired"

	// Unsupported operation.
	UNSUPPORTEDOPERATION = "UnsupportedOperation"

	// The IP was not found.
	UNSUPPORTEDOPERATION_ADDRESSIDNOTFOUND = "UnsupportedOperation.AddressIdNotFound"

	// The specified instance has been bound to an EIP. You must unbind it from the current EIP first before you can bind it to another EIP.
	UNSUPPORTEDOPERATION_ALREADYBINDEIP = "UnsupportedOperation.AlreadyBindEip"

	// The ENI is already associated with an instance.
	UNSUPPORTEDOPERATION_ATTACHMENTALREADYEXISTS = "UnsupportedOperation.AttachmentAlreadyExists"

	// The instance is not associated.
	UNSUPPORTEDOPERATION_ATTACHMENTNOTFOUND = "UnsupportedOperation.AttachmentNotFound"

	// The default route table cannot be deleted.
	UNSUPPORTEDOPERATION_DELDEFAULTROUTE = "UnsupportedOperation.DelDefaultRoute"

	// The route table associated with a subnet cannot be deleted.
	UNSUPPORTEDOPERATION_DELROUTEWITHSUBNET = "UnsupportedOperation.DelRouteWithSubnet"

	// The security group policy is duplicate.
	UNSUPPORTEDOPERATION_DUPLICATEPOLICY = "UnsupportedOperation.DuplicatePolicy"

	// The ECMP is not supported.
	UNSUPPORTEDOPERATION_ECMP = "UnsupportedOperation.Ecmp"

	// ECMP was formed with the CCN route.
	UNSUPPORTEDOPERATION_ECMPWITHCCNROUTE = "UnsupportedOperation.EcmpWithCcnRoute"

	// ECMP was formed with the custom route.
	UNSUPPORTEDOPERATION_ECMPWITHUSERROUTE = "UnsupportedOperation.EcmpWithUserRoute"

	// The instance ID is invalid, as the specified instance ID does not exist.
	UNSUPPORTEDOPERATION_INSTANCEIDNOTFOUND = "UnsupportedOperation.InstanceIdNotFound"

	// The instance is not supported.
	UNSUPPORTEDOPERATION_INSTANCEIDNOTSUPPORTED = "UnsupportedOperation.InstanceIdNotSupported"

	// The current model does not support the selected image.
	UNSUPPORTEDOPERATION_INSTANCETYPENOTSUPPORTIMAGE = "UnsupportedOperation.InstanceTypeNotSupportImage"

	// This operation cannot be performed in the current status.
	UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState"

	// The specified `NetworkInterfaceId` does not exist, or the specified `PrivateIpAddress` is not on the `NetworkInterfaceId`.
	UNSUPPORTEDOPERATION_INVALIDNETWORKINTERFACEIDNOTFOUND = "UnsupportedOperation.InvalidNetworkInterfaceIdNotFound"

	// The specified private IP of the specified ENI has already been bound to an EIP. A private IP cannot be bound to more than one EIP.
	UNSUPPORTEDOPERATION_INVALIDPRIVATEIPADDRESSALREADYBINDEIP = "UnsupportedOperation.InvalidPrivateIpAddressAlreadyBindEip"

	// The resource status is invalid.
	UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState"

	// Please check whether the provided IP address is complete.
	UNSUPPORTEDOPERATION_MALFORMED = "UnsupportedOperation.Malformed"

	// A task with a mutually exclusive resource is being executed.
	UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning"

	// The instance specification supports binding only three EIPs.
	UNSUPPORTEDOPERATION_QUOTALIMITEXCEEDED = "UnsupportedOperation.QuotaLimitExceeded"

	// UnsupportedOperation.SnapHasShared
	UNSUPPORTEDOPERATION_SNAPHASSHARED = "UnsupportedOperation.SnapHasShared"

	// UnsupportedOperation.SnapshotHasBindedImage
	UNSUPPORTEDOPERATION_SNAPSHOTHASBINDEDIMAGE = "UnsupportedOperation.SnapshotHasBindedImage"

	// This operation cannot be performed in the current status.
	UNSUPPORTEDOPERATION_STATUSNOTPERMIT = "UnsupportedOperation.StatusNotPermit"

	// Operations on the system route are prohibited.
	UNSUPPORTEDOPERATION_SYSTEMROUTE = "UnsupportedOperation.SystemRoute"

	// The specified version number of the security group rule is inconsistent with the latest version.
	UNSUPPORTEDOPERATION_VERSIONMISMATCH = "UnsupportedOperation.VersionMismatch"

	// The resources are not in the same VPC.
	UNSUPPORTEDOPERATION_VPCMISMATCH = "UnsupportedOperation.VpcMismatch"
)
View Source
const APIVersion = "2019-07-19"

Variables

This section is empty.

Functions

This section is empty.

Types

type Address

type Address struct {

	// Unique EIP ID.
	AddressId *string `json:"AddressId,omitempty" name:"AddressId"`

	// EIP name.
	AddressName *string `json:"AddressName,omitempty" name:"AddressName"`

	// EIP status, including 'CREATING' (creating), 'BINDING' (binding), 'BIND' (bound), 'UNBINDING' (unbinding), 'UNBIND' (unbound), 'OFFLINING' (releasing), and 'BIND_ENI' (binding dangling ENI)
	AddressStatus *string `json:"AddressStatus,omitempty" name:"AddressStatus"`

	// Public IP address
	AddressIp *string `json:"AddressIp,omitempty" name:"AddressIp"`

	// ID of the bound resource instance.
	// Note: this field may return null, indicating that no valid values can be obtained.
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Creation time in ISO 8601 format (YYYY-MM-DDTHH:mm:ss.sssZ)
	CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"`

	// ID of the bound ENI
	// Note: this field may return null, indicating that no valid values can be obtained.
	NetworkInterfaceId *string `json:"NetworkInterfaceId,omitempty" name:"NetworkInterfaceId"`

	// Private IP of the bound resource
	// Note: this field may return null, indicating that no valid values can be obtained.
	PrivateAddressIp *string `json:"PrivateAddressIp,omitempty" name:"PrivateAddressIp"`

	// Isolation status of the resource. true: isolated; false: not isolated.
	IsArrears *bool `json:"IsArrears,omitempty" name:"IsArrears"`

	// Blockage status of the EIP resource. true: blocked; false: not blocked
	IsBlocked *bool `json:"IsBlocked,omitempty" name:"IsBlocked"`

	// Whether the EIP supports direct access mode. true: yes; false: no.
	IsEipDirectConnection *bool `json:"IsEipDirectConnection,omitempty" name:"IsEipDirectConnection"`

	// Resource type of the EIP, including `CalcIP` (device IP), `WanIP` (general public IP), `EIP` (elastic IP), and `AnycastEip` (accelerated EIP).
	AddressType *string `json:"AddressType,omitempty" name:"AddressType"`

	// Whether the EIP is automatically released after being unbound. true: yes; false: no
	CascadeRelease *bool `json:"CascadeRelease,omitempty" name:"CascadeRelease"`

	// ISP. CTCC: China Telecom; CUCC: China Unicom; CMCC: China Mobile
	// Note: this field may return null, indicating that no valid values can be obtained.
	InternetServiceProvider *string `json:"InternetServiceProvider,omitempty" name:"InternetServiceProvider"`

	// Bandwidth cap
	// Note: this field may return null, indicating that no valid values can be obtained.
	Bandwidth *uint64 `json:"Bandwidth,omitempty" name:"Bandwidth"`

	// Billing mode
	// Note: this field may return null, indicating that no valid values can be obtained.
	PayMode *string `json:"PayMode,omitempty" name:"PayMode"`
}

type AddressInfo

type AddressInfo struct {

	// Public IP information of the instance.
	// Note: this field may return null, indicating that no valid values can be obtained.
	PublicIPAddressInfo *PublicIPAddressInfo `json:"PublicIPAddressInfo,omitempty" name:"PublicIPAddressInfo"`

	// Private IP information of the instance.
	// Note: this field may return null, indicating that no valid values can be obtained.
	PrivateIPAddressInfo *PrivateIPAddressInfo `json:"PrivateIPAddressInfo,omitempty" name:"PrivateIPAddressInfo"`

	// Public IPv6 information of the instance.
	// Note: this field may return null, indicating that no valid values can be obtained.
	PublicIPv6AddressInfo *PublicIPAddressInfo `json:"PublicIPv6AddressInfo,omitempty" name:"PublicIPv6AddressInfo"`
}

type AddressTemplateSpecification

type AddressTemplateSpecification struct {

	// IP address ID, such as `eipm-2uw6ujo6`.
	AddressId *string `json:"AddressId,omitempty" name:"AddressId"`

	// IP address group ID, such as `eipmg-2uw6ujo6`.
	AddressGroupId *string `json:"AddressGroupId,omitempty" name:"AddressGroupId"`
}

type AllocateAddressesRequest

type AllocateAddressesRequest struct {
	*tchttp.BaseRequest

	// ECM region
	EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"`

	// Number of EIPs. Default value: 1.
	AddressCount *uint64 `json:"AddressCount,omitempty" name:"AddressCount"`

	// CMCC: China Mobile
	// CTCC: China Telecom
	// CUCC: China Unicom
	InternetServiceProvider *string `json:"InternetServiceProvider,omitempty" name:"InternetServiceProvider"`

	// 1–5000 Mbps. Default value: 1 Mbps.
	InternetMaxBandwidthOut *uint64 `json:"InternetMaxBandwidthOut,omitempty" name:"InternetMaxBandwidthOut"`

	// List of tags to be bound.
	Tags []*Tag `json:"Tags,omitempty" name:"Tags"`

	// ID of the instance to be bound.
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// ID of the ENI to be bound, such as `eni-11112222`. `NetworkInterfaceId` and `InstanceId` cannot be specified at the same time. The ENI ID can be obtained from the `networkInterfaceId` field in the returned value of the `DescribeNetworkInterfaces` API.
	NetworkInterfaceId *string `json:"NetworkInterfaceId,omitempty" name:"NetworkInterfaceId"`

	// Private IP to be bound. If you specify `NetworkInterfaceId`, you must also specify `PrivateIpAddress`, which means to bind the EIP to the specified private IP of the specified ENI. You must also make sure that the specified `PrivateIpAddress` is a private IP of the specified `NetworkInterfaceId`. The private IP of the specified ENI can be obtained from the `privateIpAddress` field in the returned value of the `DescribeNetworkInterfaces` API.
	PrivateIpAddress *string `json:"PrivateIpAddress,omitempty" name:"PrivateIpAddress"`
}

func NewAllocateAddressesRequest

func NewAllocateAddressesRequest() (request *AllocateAddressesRequest)

func (*AllocateAddressesRequest) FromJsonString

func (r *AllocateAddressesRequest) 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 (*AllocateAddressesRequest) ToJsonString

func (r *AllocateAddressesRequest) ToJsonString() string

type AllocateAddressesResponse

type AllocateAddressesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// List of unique IDs of the EIPs applied for.
		// Note: this field may return null, indicating that no valid values can be obtained.
		AddressSet []*string `json:"AddressSet,omitempty" name:"AddressSet"`

		// Async task ID (TaskId). You can use the `DescribeTaskResult` API to query the task status.
		TaskId *string `json:"TaskId,omitempty" name:"TaskId"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewAllocateAddressesResponse

func NewAllocateAddressesResponse() (response *AllocateAddressesResponse)

func (*AllocateAddressesResponse) FromJsonString

func (r *AllocateAddressesResponse) 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 (*AllocateAddressesResponse) ToJsonString

func (r *AllocateAddressesResponse) ToJsonString() string

type Area

type Area struct {

	// Region ID
	AreaId *string `json:"AreaId,omitempty" name:"AreaId"`

	// Region name
	AreaName *string `json:"AreaName,omitempty" name:"AreaName"`
}

type AssignIpv6AddressesRequest

type AssignIpv6AddressesRequest struct {
	*tchttp.BaseRequest

	// ECM region
	EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"`

	// ENI instance ID, such as `eni-1snva0vd`. Currently, only the primary ENI will be assigned the ID.
	NetworkInterfaceId *string `json:"NetworkInterfaceId,omitempty" name:"NetworkInterfaceId"`

	// List of specified IPv6 addresses. You can specify up to 10 IPv6 addresses at a time. The quota is calculated together with that of `Ipv6AddressCount`, a required input parameter alternative to this one.
	Ipv6Addresses []*Ipv6Address `json:"Ipv6Addresses,omitempty" name:"Ipv6Addresses"`

	// Number of automatically assigned IPv6 addresses. The total number of private IP addresses cannot exceed the quota. The quota is calculated together with that of `Ipv6Addresses`, a required input parameter alternative to this one.
	Ipv6AddressCount *int64 `json:"Ipv6AddressCount,omitempty" name:"Ipv6AddressCount"`
}

func NewAssignIpv6AddressesRequest

func NewAssignIpv6AddressesRequest() (request *AssignIpv6AddressesRequest)

func (*AssignIpv6AddressesRequest) FromJsonString

func (r *AssignIpv6AddressesRequest) 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 (*AssignIpv6AddressesRequest) ToJsonString

func (r *AssignIpv6AddressesRequest) ToJsonString() string

type AssignIpv6AddressesResponse

type AssignIpv6AddressesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// List of IPv6 addresses assigned to ENIs.
		Ipv6AddressSet []*Ipv6Address `json:"Ipv6AddressSet,omitempty" name:"Ipv6AddressSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewAssignIpv6AddressesResponse

func NewAssignIpv6AddressesResponse() (response *AssignIpv6AddressesResponse)

func (*AssignIpv6AddressesResponse) FromJsonString

func (r *AssignIpv6AddressesResponse) 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 (*AssignIpv6AddressesResponse) ToJsonString

func (r *AssignIpv6AddressesResponse) ToJsonString() string

type AssignPrivateIpAddressesRequest

type AssignPrivateIpAddressesRequest struct {
	*tchttp.BaseRequest

	// ENI instance ID, such as `eni-m6dyj72l`.
	NetworkInterfaceId *string `json:"NetworkInterfaceId,omitempty" name:"NetworkInterfaceId"`

	// ECM region, such as `ap-xian-ecm`.
	EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"`

	// Information of the specified private IPs. You can specify up to 10 IPs at a time. You must provide either this parameter or `SecondaryPrivateIpAddressCount`, or both.
	PrivateIpAddresses []*PrivateIpAddressSpecification `json:"PrivateIpAddresses,omitempty" name:"PrivateIpAddresses"`

	// Number of private IP addresses applied for. You must provide either this parameter or `PrivateIpAddresses`, or both. The total number of private IP addresses cannot exceed the quota.
	SecondaryPrivateIpAddressCount *uint64 `json:"SecondaryPrivateIpAddressCount,omitempty" name:"SecondaryPrivateIpAddressCount"`
}

func NewAssignPrivateIpAddressesRequest

func NewAssignPrivateIpAddressesRequest() (request *AssignPrivateIpAddressesRequest)

func (*AssignPrivateIpAddressesRequest) FromJsonString

func (r *AssignPrivateIpAddressesRequest) 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 (*AssignPrivateIpAddressesRequest) ToJsonString

func (r *AssignPrivateIpAddressesRequest) ToJsonString() string

type AssignPrivateIpAddressesResponse

type AssignPrivateIpAddressesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Private IP details.
		// Note: this field may return null, indicating that no valid values can be obtained.
		PrivateIpAddressSet []*PrivateIpAddressSpecification `json:"PrivateIpAddressSet,omitempty" name:"PrivateIpAddressSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewAssignPrivateIpAddressesResponse

func NewAssignPrivateIpAddressesResponse() (response *AssignPrivateIpAddressesResponse)

func (*AssignPrivateIpAddressesResponse) FromJsonString

func (r *AssignPrivateIpAddressesResponse) 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 (*AssignPrivateIpAddressesResponse) ToJsonString

func (r *AssignPrivateIpAddressesResponse) ToJsonString() string

type AssistantCidr

type AssistantCidr struct {

	// VPC instance ID, such as `vpc-6v2ht8q5`
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// Secondary CIDR, such as `172.16.0.0/16`
	CidrBlock *string `json:"CidrBlock,omitempty" name:"CidrBlock"`

	// Secondary CIDR block type. 0: general secondary CIDR block; 1: container secondary CIDR block. Default value: 0.
	AssistantType *uint64 `json:"AssistantType,omitempty" name:"AssistantType"`

	// Subnets divided by the secondary CIDR block.
	// Note: this field may return null, indicating that no valid values can be obtained.
	// Note: this field may return null, indicating that no valid values can be obtained.
	SubnetSet []*Subnet `json:"SubnetSet,omitempty" name:"SubnetSet"`
}

type AssociateAddressRequest

type AssociateAddressRequest struct {
	*tchttp.BaseRequest

	// ECM region
	EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"`

	// Unique EIP ID, such as `eip-11112222`.
	AddressId *string `json:"AddressId,omitempty" name:"AddressId"`

	// ID of the instance to be bound.
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// ID of the ENI to be bound, such as `eni-11112222`. `NetworkInterfaceId` and `InstanceId` cannot be specified at the same time. The ENI ID can be obtained from the `networkInterfaceId` field in the returned value of the `DescribeNetworkInterfaces` API.
	NetworkInterfaceId *string `json:"NetworkInterfaceId,omitempty" name:"NetworkInterfaceId"`

	// Private IP to be bound. If you specify `NetworkInterfaceId`, you must also specify `PrivateIpAddress`, which means to bind the EIP to the specified private IP of the specified ENI. You must also make sure that the specified `PrivateIpAddress` is a private IP of the specified `NetworkInterfaceId`. The private IP of the specified ENI can be obtained from the `privateIpAddress` field in the returned value of the `DescribeNetworkInterfaces` API.
	PrivateIpAddress *string `json:"PrivateIpAddress,omitempty" name:"PrivateIpAddress"`
}

func NewAssociateAddressRequest

func NewAssociateAddressRequest() (request *AssociateAddressRequest)

func (*AssociateAddressRequest) FromJsonString

func (r *AssociateAddressRequest) 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 (*AssociateAddressRequest) ToJsonString

func (r *AssociateAddressRequest) ToJsonString() string

type AssociateAddressResponse

type AssociateAddressResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Async task ID (TaskId). You can use the `DescribeTaskResult` API to query the task status.
		TaskId *string `json:"TaskId,omitempty" name:"TaskId"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewAssociateAddressResponse

func NewAssociateAddressResponse() (response *AssociateAddressResponse)

func (*AssociateAddressResponse) FromJsonString

func (r *AssociateAddressResponse) 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 (*AssociateAddressResponse) ToJsonString

func (r *AssociateAddressResponse) ToJsonString() string

type AssociateSecurityGroupsRequest

type AssociateSecurityGroupsRequest struct {
	*tchttp.BaseRequest

	// ID of the security group to be bound, such as `esg-efil73jd`. You can bind only one security group.
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds"`

	// ID of the bound instance, such as `ein-lesecurk`. You can specify multiple instances and request up to 100 instances at a time.
	InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"`
}

func NewAssociateSecurityGroupsRequest

func NewAssociateSecurityGroupsRequest() (request *AssociateSecurityGroupsRequest)

func (*AssociateSecurityGroupsRequest) FromJsonString

func (r *AssociateSecurityGroupsRequest) 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 (*AssociateSecurityGroupsRequest) ToJsonString

func (r *AssociateSecurityGroupsRequest) ToJsonString() string

type AssociateSecurityGroupsResponse

type AssociateSecurityGroupsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewAssociateSecurityGroupsResponse

func NewAssociateSecurityGroupsResponse() (response *AssociateSecurityGroupsResponse)

func (*AssociateSecurityGroupsResponse) FromJsonString

func (r *AssociateSecurityGroupsResponse) 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 (*AssociateSecurityGroupsResponse) ToJsonString

func (r *AssociateSecurityGroupsResponse) ToJsonString() string

type AttachNetworkInterfaceRequest

type AttachNetworkInterfaceRequest struct {
	*tchttp.BaseRequest

	// ENI instance ID, such as `eni-m6dyj72l`.
	NetworkInterfaceId *string `json:"NetworkInterfaceId,omitempty" name:"NetworkInterfaceId"`

	// Instance ID, such as `ein-r8hr2upy`.
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// ECM region, such as `ap-xian-ecm`.
	EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"`
}

func NewAttachNetworkInterfaceRequest

func NewAttachNetworkInterfaceRequest() (request *AttachNetworkInterfaceRequest)

func (*AttachNetworkInterfaceRequest) FromJsonString

func (r *AttachNetworkInterfaceRequest) 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 (*AttachNetworkInterfaceRequest) ToJsonString

func (r *AttachNetworkInterfaceRequest) ToJsonString() string

type AttachNetworkInterfaceResponse

type AttachNetworkInterfaceResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewAttachNetworkInterfaceResponse

func NewAttachNetworkInterfaceResponse() (response *AttachNetworkInterfaceResponse)

func (*AttachNetworkInterfaceResponse) FromJsonString

func (r *AttachNetworkInterfaceResponse) 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 (*AttachNetworkInterfaceResponse) ToJsonString

func (r *AttachNetworkInterfaceResponse) ToJsonString() string

type Backend

type Backend struct {

	// Unique real server ID
	// Note: this field may return null, indicating that no valid values can be obtained.
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Listening port of the real server
	// Note: this field may return null, indicating that no valid values can be obtained.
	Port *int64 `json:"Port,omitempty" name:"Port"`

	// Forwarding weight of the real server. Value range: [0, 100]. Default value: 10.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Weight *int64 `json:"Weight,omitempty" name:"Weight"`

	// Private IP of the real server
	// Note: this field may return null, indicating that no valid values can be obtained.
	PrivateIpAddresses []*string `json:"PrivateIpAddresses,omitempty" name:"PrivateIpAddresses"`

	// Real server binding time
	// Note: this field may return null, indicating that no valid values can be obtained.
	RegisteredTime *string `json:"RegisteredTime,omitempty" name:"RegisteredTime"`

	// Unique ENI ID
	// Note: this field may return null, indicating that no valid values can be obtained.
	EniId *string `json:"EniId,omitempty" name:"EniId"`

	// Public IP of the real server
	// Note: this field may return null, indicating that no valid values can be obtained.
	PublicIpAddresses []*string `json:"PublicIpAddresses,omitempty" name:"PublicIpAddresses"`

	// Real server instance name
	// Note: this field may return null, indicating that no valid values can be obtained.
	InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"`
}

type BatchDeregisterTargetsRequest

type BatchDeregisterTargetsRequest struct {
	*tchttp.BaseRequest

	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"`

	// Unbound targets
	Targets []*BatchTarget `json:"Targets,omitempty" name:"Targets"`
}

func NewBatchDeregisterTargetsRequest

func NewBatchDeregisterTargetsRequest() (request *BatchDeregisterTargetsRequest)

func (*BatchDeregisterTargetsRequest) FromJsonString

func (r *BatchDeregisterTargetsRequest) 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 (*BatchDeregisterTargetsRequest) ToJsonString

func (r *BatchDeregisterTargetsRequest) ToJsonString() string

type BatchDeregisterTargetsResponse

type BatchDeregisterTargetsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// IDs of the listeners failed to be unbound
		// Note: this field may return null, indicating that no valid values can be obtained.
		FailListenerIdSet []*string `json:"FailListenerIdSet,omitempty" name:"FailListenerIdSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewBatchDeregisterTargetsResponse

func NewBatchDeregisterTargetsResponse() (response *BatchDeregisterTargetsResponse)

func (*BatchDeregisterTargetsResponse) FromJsonString

func (r *BatchDeregisterTargetsResponse) 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 (*BatchDeregisterTargetsResponse) ToJsonString

func (r *BatchDeregisterTargetsResponse) ToJsonString() string

type BatchModifyTargetWeightRequest

type BatchModifyTargetWeightRequest struct {
	*tchttp.BaseRequest

	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"`

	// List of weights to be modified in batches
	ModifyList []*TargetsWeightRule `json:"ModifyList,omitempty" name:"ModifyList"`
}

func NewBatchModifyTargetWeightRequest

func NewBatchModifyTargetWeightRequest() (request *BatchModifyTargetWeightRequest)

func (*BatchModifyTargetWeightRequest) FromJsonString

func (r *BatchModifyTargetWeightRequest) 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 (*BatchModifyTargetWeightRequest) ToJsonString

func (r *BatchModifyTargetWeightRequest) ToJsonString() string

type BatchModifyTargetWeightResponse

type BatchModifyTargetWeightResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewBatchModifyTargetWeightResponse

func NewBatchModifyTargetWeightResponse() (response *BatchModifyTargetWeightResponse)

func (*BatchModifyTargetWeightResponse) FromJsonString

func (r *BatchModifyTargetWeightResponse) 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 (*BatchModifyTargetWeightResponse) ToJsonString

func (r *BatchModifyTargetWeightResponse) ToJsonString() string

type BatchRegisterTargetsRequest

type BatchRegisterTargetsRequest struct {
	*tchttp.BaseRequest

	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"`

	// Bound targets
	Targets []*BatchTarget `json:"Targets,omitempty" name:"Targets"`
}

func NewBatchRegisterTargetsRequest

func NewBatchRegisterTargetsRequest() (request *BatchRegisterTargetsRequest)

func (*BatchRegisterTargetsRequest) FromJsonString

func (r *BatchRegisterTargetsRequest) 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 (*BatchRegisterTargetsRequest) ToJsonString

func (r *BatchRegisterTargetsRequest) ToJsonString() string

type BatchRegisterTargetsResponse

type BatchRegisterTargetsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// IDs of the listeners failed to be bound. If this parameter is empty, all listeners have been bound successfully.
		// Note: this field may return null, indicating that no valid values can be obtained.
		FailListenerIdSet []*string `json:"FailListenerIdSet,omitempty" name:"FailListenerIdSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewBatchRegisterTargetsResponse

func NewBatchRegisterTargetsResponse() (response *BatchRegisterTargetsResponse)

func (*BatchRegisterTargetsResponse) FromJsonString

func (r *BatchRegisterTargetsResponse) 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 (*BatchRegisterTargetsResponse) ToJsonString

func (r *BatchRegisterTargetsResponse) ToJsonString() string

type BatchTarget

type BatchTarget struct {

	// Listener ID
	// Note: this field may return null, indicating that no valid values can be obtained.
	ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"`

	// Bound port
	// Note: this field may return null, indicating that no valid values can be obtained.
	Port *int64 `json:"Port,omitempty" name:"Port"`

	// CVM instance ID
	// Note: this field may return null, indicating that no valid values can be obtained.
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// ENI IP
	// Note: this field may return null, indicating that no valid values can be obtained.
	EniIp *string `json:"EniIp,omitempty" name:"EniIp"`

	// Weight of the CVM instance. Value range: [0, 100]. If it is not specified for binding the instance, 10 will be used by default.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Weight *int64 `json:"Weight,omitempty" name:"Weight"`
}

type City

type City struct {

	// City ID
	CityId *string `json:"CityId,omitempty" name:"CityId"`

	// City name
	CityName *string `json:"CityName,omitempty" name:"CityName"`
}

type Client

type Client struct {
	common.Client
}

func NewClient

func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)

func NewClientWithSecretId

func NewClientWithSecretId(secretId, secretKey, region string) (client *Client, err error)

Deprecated

func (*Client) AllocateAddresses

func (c *Client) AllocateAddresses(request *AllocateAddressesRequest) (response *AllocateAddressesResponse, err error)

AllocateAddresses This API is used to apply for one or multiple EIPs.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
FAILEDOPERATION_INVALIDSTATUS = "FailedOperation.InvalidStatus"
FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow"
FAILEDOPERATION_PRIVATEIPADDRESSBINDED = "FailedOperation.PrivateIpAddressBinded"
FAILEDOPERATION_PRIVATEIPADDRESSUNAVAILABLE = "FailedOperation.PrivateIpAddressUnavailable"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETER_INVALIDPARAMETERCONFLICT = "InvalidParameter.InvalidParameterConflict"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_ADDRESSQUOTALIMITEXCEEDED = "InvalidParameterValue.AddressQuotaLimitExceeded"
INVALIDPARAMETERVALUE_INVALIDADDRESSCOUNT = "InvalidParameterValue.InvalidAddressCount"
INVALIDPARAMETERVALUE_INVALIDBANDWIDTH = "InvalidParameterValue.InvalidBandwidth"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge"
LIMITEXCEEDED = "LimitExceeded"
LIMITEXCEEDED_ADDRESSQUOTALIMITEXCEEDED = "LimitExceeded.AddressQuotaLimitExceeded"
LIMITEXCEEDED_ADDRESSQUOTALIMITEXCEEDEDDAILYALLOCATE = "LimitExceeded.AddressQuotaLimitExceededDailyAllocate"
MISSINGPARAMETER_MISSINGPRIVATEIPADDRESS = "MissingParameter.MissingPrivateIpAddress"
RESOURCEINSUFFICIENT_IPQUOTANOTENOUGH = "ResourceInsufficient.IPQuotaNotEnough"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_INSTANCENOTEXIST = "ResourceNotFound.InstanceNotExist"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
UNSUPPORTEDOPERATION_INVALIDPRIVATEIPADDRESSALREADYBINDEIP = "UnsupportedOperation.InvalidPrivateIpAddressAlreadyBindEip"

func (*Client) AllocateAddressesWithContext

func (c *Client) AllocateAddressesWithContext(ctx context.Context, request *AllocateAddressesRequest) (response *AllocateAddressesResponse, err error)

AllocateAddresses This API is used to apply for one or multiple EIPs.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
FAILEDOPERATION_INVALIDSTATUS = "FailedOperation.InvalidStatus"
FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow"
FAILEDOPERATION_PRIVATEIPADDRESSBINDED = "FailedOperation.PrivateIpAddressBinded"
FAILEDOPERATION_PRIVATEIPADDRESSUNAVAILABLE = "FailedOperation.PrivateIpAddressUnavailable"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETER_INVALIDPARAMETERCONFLICT = "InvalidParameter.InvalidParameterConflict"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_ADDRESSQUOTALIMITEXCEEDED = "InvalidParameterValue.AddressQuotaLimitExceeded"
INVALIDPARAMETERVALUE_INVALIDADDRESSCOUNT = "InvalidParameterValue.InvalidAddressCount"
INVALIDPARAMETERVALUE_INVALIDBANDWIDTH = "InvalidParameterValue.InvalidBandwidth"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge"
LIMITEXCEEDED = "LimitExceeded"
LIMITEXCEEDED_ADDRESSQUOTALIMITEXCEEDED = "LimitExceeded.AddressQuotaLimitExceeded"
LIMITEXCEEDED_ADDRESSQUOTALIMITEXCEEDEDDAILYALLOCATE = "LimitExceeded.AddressQuotaLimitExceededDailyAllocate"
MISSINGPARAMETER_MISSINGPRIVATEIPADDRESS = "MissingParameter.MissingPrivateIpAddress"
RESOURCEINSUFFICIENT_IPQUOTANOTENOUGH = "ResourceInsufficient.IPQuotaNotEnough"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_INSTANCENOTEXIST = "ResourceNotFound.InstanceNotExist"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
UNSUPPORTEDOPERATION_INVALIDPRIVATEIPADDRESSALREADYBINDEIP = "UnsupportedOperation.InvalidPrivateIpAddressAlreadyBindEip"

func (*Client) AssignIpv6Addresses

func (c *Client) AssignIpv6Addresses(request *AssignIpv6AddressesRequest) (response *AssignIpv6AddressesResponse, err error)

AssignIpv6Addresses This API is used to apply for an IPv6 address for an ENI.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDECMREGION = "InvalidParameterValue.InvalidEcmRegion"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
INVALIDPARAMETERVALUE_NODENOTSUPPORTIPV6 = "InvalidParameterValue.NodeNotSupportIPv6"
INVALIDPARAMETERVALUE_SUBNETCONFLICT = "InvalidParameterValue.SubnetConflict"
INVALIDPARAMETERVALUE_UNSUPPORTEDREGION = "InvalidParameterValue.UnsupportedRegion"
INVALIDPARAMETERVALUE_USERNOTSUPPORTIPV6 = "InvalidParameterValue.UserNotSupportIPv6"
LIMITEXCEEDED_ADDRESSQUOTALIMITEXCEEDED = "LimitExceeded.AddressQuotaLimitExceeded"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) AssignIpv6AddressesWithContext

func (c *Client) AssignIpv6AddressesWithContext(ctx context.Context, request *AssignIpv6AddressesRequest) (response *AssignIpv6AddressesResponse, err error)

AssignIpv6Addresses This API is used to apply for an IPv6 address for an ENI.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDECMREGION = "InvalidParameterValue.InvalidEcmRegion"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
INVALIDPARAMETERVALUE_NODENOTSUPPORTIPV6 = "InvalidParameterValue.NodeNotSupportIPv6"
INVALIDPARAMETERVALUE_SUBNETCONFLICT = "InvalidParameterValue.SubnetConflict"
INVALIDPARAMETERVALUE_UNSUPPORTEDREGION = "InvalidParameterValue.UnsupportedRegion"
INVALIDPARAMETERVALUE_USERNOTSUPPORTIPV6 = "InvalidParameterValue.UserNotSupportIPv6"
LIMITEXCEEDED_ADDRESSQUOTALIMITEXCEEDED = "LimitExceeded.AddressQuotaLimitExceeded"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) AssignPrivateIpAddresses

func (c *Client) AssignPrivateIpAddresses(request *AssignPrivateIpAddressesRequest) (response *AssignPrivateIpAddressesResponse, err error)

AssignPrivateIpAddresses This API is used to apply for a private IP for an ENI.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range"
LIMITEXCEEDED_PRIVATEIPQUOTALIMITEXCEEDED = "LimitExceeded.PrivateIPQuotaLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState"

func (*Client) AssignPrivateIpAddressesWithContext

func (c *Client) AssignPrivateIpAddressesWithContext(ctx context.Context, request *AssignPrivateIpAddressesRequest) (response *AssignPrivateIpAddressesResponse, err error)

AssignPrivateIpAddresses This API is used to apply for a private IP for an ENI.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range"
LIMITEXCEEDED_PRIVATEIPQUOTALIMITEXCEEDED = "LimitExceeded.PrivateIPQuotaLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState"

func (*Client) AssociateAddress

func (c *Client) AssociateAddress(request *AssociateAddressRequest) (response *AssociateAddressResponse, err error)

AssociateAddress This API is used to bind an EIP to an instance or the specified private IP of an ENI.

Binding an EIP to an instance (ECM) is essentially to bind it to the primary private IP of the primary ENI of the instance.

When you bind an EIP to the private IP of the specified ENI, if the private IP is already bound to an EIP or public IP, a failure will be reported, and you must unbind it first before you can bind it to a new EIP.

Only EIPs in `UNBIND` status can be bound to a private IP.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow"
FAILEDOPERATION_PRIVATEIPADDRESSUNAVAILABLE = "FailedOperation.PrivateIpAddressUnavailable"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETER_INVALIDPARAMETERCONFLICT = "InvalidParameter.InvalidParameterConflict"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVAILDENIID = "InvalidParameterValue.InvaildEniID"
INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
LIMITEXCEEDED_ADDRESSQUOTALIMITEXCEEDED = "LimitExceeded.AddressQuotaLimitExceeded"
MISSINGPARAMETER = "MissingParameter"
MISSINGPARAMETER_MISSINGASSOCIATEENTITY = "MissingParameter.MissingAssociateEntity"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_ADDRESSIDNOTFOUND = "UnsupportedOperation.AddressIdNotFound"
UNSUPPORTEDOPERATION_ALREADYBINDEIP = "UnsupportedOperation.AlreadyBindEip"
UNSUPPORTEDOPERATION_INSTANCEIDNOTFOUND = "UnsupportedOperation.InstanceIdNotFound"
UNSUPPORTEDOPERATION_INSTANCEIDNOTSUPPORTED = "UnsupportedOperation.InstanceIdNotSupported"
UNSUPPORTEDOPERATION_INVALIDNETWORKINTERFACEIDNOTFOUND = "UnsupportedOperation.InvalidNetworkInterfaceIdNotFound"
UNSUPPORTEDOPERATION_INVALIDPRIVATEIPADDRESSALREADYBINDEIP = "UnsupportedOperation.InvalidPrivateIpAddressAlreadyBindEip"
UNSUPPORTEDOPERATION_MALFORMED = "UnsupportedOperation.Malformed"
UNSUPPORTEDOPERATION_STATUSNOTPERMIT = "UnsupportedOperation.StatusNotPermit"

func (*Client) AssociateAddressWithContext

func (c *Client) AssociateAddressWithContext(ctx context.Context, request *AssociateAddressRequest) (response *AssociateAddressResponse, err error)

AssociateAddress This API is used to bind an EIP to an instance or the specified private IP of an ENI.

Binding an EIP to an instance (ECM) is essentially to bind it to the primary private IP of the primary ENI of the instance.

When you bind an EIP to the private IP of the specified ENI, if the private IP is already bound to an EIP or public IP, a failure will be reported, and you must unbind it first before you can bind it to a new EIP.

Only EIPs in `UNBIND` status can be bound to a private IP.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow"
FAILEDOPERATION_PRIVATEIPADDRESSUNAVAILABLE = "FailedOperation.PrivateIpAddressUnavailable"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETER_INVALIDPARAMETERCONFLICT = "InvalidParameter.InvalidParameterConflict"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVAILDENIID = "InvalidParameterValue.InvaildEniID"
INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
LIMITEXCEEDED_ADDRESSQUOTALIMITEXCEEDED = "LimitExceeded.AddressQuotaLimitExceeded"
MISSINGPARAMETER = "MissingParameter"
MISSINGPARAMETER_MISSINGASSOCIATEENTITY = "MissingParameter.MissingAssociateEntity"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_ADDRESSIDNOTFOUND = "UnsupportedOperation.AddressIdNotFound"
UNSUPPORTEDOPERATION_ALREADYBINDEIP = "UnsupportedOperation.AlreadyBindEip"
UNSUPPORTEDOPERATION_INSTANCEIDNOTFOUND = "UnsupportedOperation.InstanceIdNotFound"
UNSUPPORTEDOPERATION_INSTANCEIDNOTSUPPORTED = "UnsupportedOperation.InstanceIdNotSupported"
UNSUPPORTEDOPERATION_INVALIDNETWORKINTERFACEIDNOTFOUND = "UnsupportedOperation.InvalidNetworkInterfaceIdNotFound"
UNSUPPORTEDOPERATION_INVALIDPRIVATEIPADDRESSALREADYBINDEIP = "UnsupportedOperation.InvalidPrivateIpAddressAlreadyBindEip"
UNSUPPORTEDOPERATION_MALFORMED = "UnsupportedOperation.Malformed"
UNSUPPORTEDOPERATION_STATUSNOTPERMIT = "UnsupportedOperation.StatusNotPermit"

func (*Client) AssociateSecurityGroups

func (c *Client) AssociateSecurityGroups(request *AssociateSecurityGroupsRequest) (response *AssociateSecurityGroupsResponse, err error)

AssociateSecurityGroups This API is used to bind a security group.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
LIMITEXCEEDED_SECURITYGROUPINSTANCELIMITEXCEEDED = "LimitExceeded.SecurityGroupInstanceLimitExceeded"
MISSINGPARAMETER = "MissingParameter"

func (*Client) AssociateSecurityGroupsWithContext

func (c *Client) AssociateSecurityGroupsWithContext(ctx context.Context, request *AssociateSecurityGroupsRequest) (response *AssociateSecurityGroupsResponse, err error)

AssociateSecurityGroups This API is used to bind a security group.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
LIMITEXCEEDED_SECURITYGROUPINSTANCELIMITEXCEEDED = "LimitExceeded.SecurityGroupInstanceLimitExceeded"
MISSINGPARAMETER = "MissingParameter"

func (*Client) AttachNetworkInterface

func (c *Client) AttachNetworkInterface(request *AttachNetworkInterfaceRequest) (response *AttachNetworkInterfaceResponse, err error)

AttachNetworkInterface This API is used to bind an ENI to a CVM instance.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVAILDENIID = "InvalidParameterValue.InvaildEniID"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
LIMITEXCEEDED = "LimitExceeded"
LIMITEXCEEDED_ADDRESSQUOTALIMITEXCEEDED = "LimitExceeded.AddressQuotaLimitExceeded"
LIMITEXCEEDED_ADDRESSQUOTALIMITEXCEEDEDDAILYALLOCATE = "LimitExceeded.AddressQuotaLimitExceededDailyAllocate"
LIMITEXCEEDED_ENIQUOTALIMITEXCEEDED = "LimitExceeded.EniQuotaLimitExceeded"
LIMITEXCEEDED_PRIVATEIPQUOTALIMITEXCEEDED = "LimitExceeded.PrivateIPQuotaLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
UNSUPPORTEDOPERATION_ATTACHMENTALREADYEXISTS = "UnsupportedOperation.AttachmentAlreadyExists"
UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState"
UNSUPPORTEDOPERATION_VPCMISMATCH = "UnsupportedOperation.VpcMismatch"

func (*Client) AttachNetworkInterfaceWithContext

func (c *Client) AttachNetworkInterfaceWithContext(ctx context.Context, request *AttachNetworkInterfaceRequest) (response *AttachNetworkInterfaceResponse, err error)

AttachNetworkInterface This API is used to bind an ENI to a CVM instance.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVAILDENIID = "InvalidParameterValue.InvaildEniID"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
LIMITEXCEEDED = "LimitExceeded"
LIMITEXCEEDED_ADDRESSQUOTALIMITEXCEEDED = "LimitExceeded.AddressQuotaLimitExceeded"
LIMITEXCEEDED_ADDRESSQUOTALIMITEXCEEDEDDAILYALLOCATE = "LimitExceeded.AddressQuotaLimitExceededDailyAllocate"
LIMITEXCEEDED_ENIQUOTALIMITEXCEEDED = "LimitExceeded.EniQuotaLimitExceeded"
LIMITEXCEEDED_PRIVATEIPQUOTALIMITEXCEEDED = "LimitExceeded.PrivateIPQuotaLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
UNSUPPORTEDOPERATION_ATTACHMENTALREADYEXISTS = "UnsupportedOperation.AttachmentAlreadyExists"
UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState"
UNSUPPORTEDOPERATION_VPCMISMATCH = "UnsupportedOperation.VpcMismatch"

func (*Client) BatchDeregisterTargets

func (c *Client) BatchDeregisterTargets(request *BatchDeregisterTargetsRequest) (response *BatchDeregisterTargetsResponse, err error)

BatchDeregisterTargets This API is used to batch unbind real servers.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound"
INVALIDPARAMETER_LISTENERIDNOTFOUND = "InvalidParameter.ListenerIdNotFound"
INVALIDPARAMETER_LOCATIONNOTFOUND = "InvalidParameter.LocationNotFound"
INVALIDPARAMETER_PORTCHECKFAILED = "InvalidParameter.PortCheckFailed"
INVALIDPARAMETER_PROTOCOLCHECKFAILED = "InvalidParameter.ProtocolCheckFailed"
INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound"
INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) BatchDeregisterTargetsWithContext

func (c *Client) BatchDeregisterTargetsWithContext(ctx context.Context, request *BatchDeregisterTargetsRequest) (response *BatchDeregisterTargetsResponse, err error)

BatchDeregisterTargets This API is used to batch unbind real servers.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound"
INVALIDPARAMETER_LISTENERIDNOTFOUND = "InvalidParameter.ListenerIdNotFound"
INVALIDPARAMETER_LOCATIONNOTFOUND = "InvalidParameter.LocationNotFound"
INVALIDPARAMETER_PORTCHECKFAILED = "InvalidParameter.PortCheckFailed"
INVALIDPARAMETER_PROTOCOLCHECKFAILED = "InvalidParameter.ProtocolCheckFailed"
INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound"
INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) BatchModifyTargetWeight

func (c *Client) BatchModifyTargetWeight(request *BatchModifyTargetWeightRequest) (response *BatchModifyTargetWeightResponse, err error)

BatchModifyTargetWeight This API is used to batch modify the forwarding weights of the real servers bound to a listener.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) BatchModifyTargetWeightWithContext

func (c *Client) BatchModifyTargetWeightWithContext(ctx context.Context, request *BatchModifyTargetWeightRequest) (response *BatchModifyTargetWeightResponse, err error)

BatchModifyTargetWeight This API is used to batch modify the forwarding weights of the real servers bound to a listener.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) BatchRegisterTargets

func (c *Client) BatchRegisterTargets(request *BatchRegisterTargetsRequest) (response *BatchRegisterTargetsResponse, err error)

BatchRegisterTargets This API is used to batch bind backend targets.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound"
INVALIDPARAMETER_LISTENERIDNOTFOUND = "InvalidParameter.ListenerIdNotFound"
INVALIDPARAMETER_LOCATIONNOTFOUND = "InvalidParameter.LocationNotFound"
INVALIDPARAMETER_PORTCHECKFAILED = "InvalidParameter.PortCheckFailed"
INVALIDPARAMETER_PROTOCOLCHECKFAILED = "InvalidParameter.ProtocolCheckFailed"
INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) BatchRegisterTargetsWithContext

func (c *Client) BatchRegisterTargetsWithContext(ctx context.Context, request *BatchRegisterTargetsRequest) (response *BatchRegisterTargetsResponse, err error)

BatchRegisterTargets This API is used to batch bind backend targets.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound"
INVALIDPARAMETER_LISTENERIDNOTFOUND = "InvalidParameter.ListenerIdNotFound"
INVALIDPARAMETER_LOCATIONNOTFOUND = "InvalidParameter.LocationNotFound"
INVALIDPARAMETER_PORTCHECKFAILED = "InvalidParameter.PortCheckFailed"
INVALIDPARAMETER_PROTOCOLCHECKFAILED = "InvalidParameter.ProtocolCheckFailed"
INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) CreateHaVip

func (c *Client) CreateHaVip(request *CreateHaVipRequest) (response *CreateHaVipResponse, err error)

CreateHaVip This API is used to create an HAVIP.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
INVALIDPARAMETERVALUE_OBJECTNOTCURRENTSUBNET = "InvalidParameterValue.ObjectNotCurrentSubnet"
INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong"
LIMITEXCEEDED = "LimitExceeded"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) CreateHaVipWithContext

func (c *Client) CreateHaVipWithContext(ctx context.Context, request *CreateHaVipRequest) (response *CreateHaVipResponse, err error)

CreateHaVip This API is used to create an HAVIP.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
INVALIDPARAMETERVALUE_OBJECTNOTCURRENTSUBNET = "InvalidParameterValue.ObjectNotCurrentSubnet"
INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong"
LIMITEXCEEDED = "LimitExceeded"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) CreateImage

func (c *Client) CreateImage(request *CreateImageRequest) (response *CreateImageResponse, err error)

CreateImage This API is used to create an image with the system disk of an instance. The image can be used to create instances.

error code that may be returned:

FAILEDOPERATION_INSTANCENOTALLSTOPPED = "FailedOperation.InstanceNotAllStopped"
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_IMAGENAMEDUPLICATE = "InvalidParameterValue.ImageNameDuplicate"
INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID"
MISSINGPARAMETER = "MissingParameter"
MISSINGPARAMETER_MISSINGIMAGEPARAMETER = "MissingParameter.MissingImageParameter"
RESOURCEINSUFFICIENT_INVAILDPRIVATEIMAGENUM = "ResourceInsufficient.InvaildPrivateImageNum"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_INSTANCEIDNOTFOUND = "UnsupportedOperation.InstanceIdNotFound"
UNSUPPORTEDOPERATION_INSTANCEIDNOTSUPPORTED = "UnsupportedOperation.InstanceIdNotSupported"
UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState"

func (*Client) CreateImageWithContext

func (c *Client) CreateImageWithContext(ctx context.Context, request *CreateImageRequest) (response *CreateImageResponse, err error)

CreateImage This API is used to create an image with the system disk of an instance. The image can be used to create instances.

error code that may be returned:

FAILEDOPERATION_INSTANCENOTALLSTOPPED = "FailedOperation.InstanceNotAllStopped"
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_IMAGENAMEDUPLICATE = "InvalidParameterValue.ImageNameDuplicate"
INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID"
MISSINGPARAMETER = "MissingParameter"
MISSINGPARAMETER_MISSINGIMAGEPARAMETER = "MissingParameter.MissingImageParameter"
RESOURCEINSUFFICIENT_INVAILDPRIVATEIMAGENUM = "ResourceInsufficient.InvaildPrivateImageNum"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_INSTANCEIDNOTFOUND = "UnsupportedOperation.InstanceIdNotFound"
UNSUPPORTEDOPERATION_INSTANCEIDNOTSUPPORTED = "UnsupportedOperation.InstanceIdNotSupported"
UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState"

func (*Client) CreateKeyPair

func (c *Client) CreateKeyPair(request *CreateKeyPairRequest) (response *CreateKeyPairResponse, err error)

CreateKeyPair This API is used to create an `OpenSSH RSA` key pair, which can be used to log in to a Linux instance.

error code that may be returned:

INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDKEYPAIRNAME = "InvalidParameterValue.InvalidKeyPairName"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
MISSINGPARAMETER = "MissingParameter"

func (*Client) CreateKeyPairWithContext

func (c *Client) CreateKeyPairWithContext(ctx context.Context, request *CreateKeyPairRequest) (response *CreateKeyPairResponse, err error)

CreateKeyPair This API is used to create an `OpenSSH RSA` key pair, which can be used to log in to a Linux instance.

error code that may be returned:

INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDKEYPAIRNAME = "InvalidParameterValue.InvalidKeyPairName"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
MISSINGPARAMETER = "MissingParameter"

func (*Client) CreateListener

func (c *Client) CreateListener(request *CreateListenerRequest) (response *CreateListenerResponse, err error)

CreateListener This API is used to create a CLB listener.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
LIMITEXCEEDED = "LimitExceeded"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) CreateListenerWithContext

func (c *Client) CreateListenerWithContext(ctx context.Context, request *CreateListenerRequest) (response *CreateListenerResponse, err error)

CreateListener This API is used to create a CLB listener.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
LIMITEXCEEDED = "LimitExceeded"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) CreateLoadBalancer

func (c *Client) CreateLoadBalancer(request *CreateLoadBalancerRequest) (response *CreateLoadBalancerResponse, err error)

CreateLoadBalancer This API is used to purchase a CLB instance.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDECMREGION = "InvalidParameterValue.InvalidEcmRegion"
INVALIDPARAMETERVALUE_INVALIDISPINNODE = "InvalidParameterValue.InvalidISPInNode"
INVALIDPARAMETERVALUE_INVALIDLOADBALANCERNUM = "InvalidParameterValue.InvalidLoadBalancerNum"
INVALIDPARAMETERVALUE_INVALIDLOADBALANCERTYPE = "InvalidParameterValue.InvalidLoadBalancerType"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range"
INVALIDPARAMETERVALUE_TAGNUMOUTOFRANGE = "InvalidParameterValue.TagNumOutOfRange"
LIMITEXCEEDED = "LimitExceeded"
LIMITEXCEEDED_LBLIMITEXCEEDED = "LimitExceeded.LBLimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCESSOLDOUT_LOADBALANCERSOLDOUT = "ResourcesSoldOut.LoadBalancerSoldOut"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) CreateLoadBalancerWithContext

func (c *Client) CreateLoadBalancerWithContext(ctx context.Context, request *CreateLoadBalancerRequest) (response *CreateLoadBalancerResponse, err error)

CreateLoadBalancer This API is used to purchase a CLB instance.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDECMREGION = "InvalidParameterValue.InvalidEcmRegion"
INVALIDPARAMETERVALUE_INVALIDISPINNODE = "InvalidParameterValue.InvalidISPInNode"
INVALIDPARAMETERVALUE_INVALIDLOADBALANCERNUM = "InvalidParameterValue.InvalidLoadBalancerNum"
INVALIDPARAMETERVALUE_INVALIDLOADBALANCERTYPE = "InvalidParameterValue.InvalidLoadBalancerType"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range"
INVALIDPARAMETERVALUE_TAGNUMOUTOFRANGE = "InvalidParameterValue.TagNumOutOfRange"
LIMITEXCEEDED = "LimitExceeded"
LIMITEXCEEDED_LBLIMITEXCEEDED = "LimitExceeded.LBLimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCESSOLDOUT_LOADBALANCERSOLDOUT = "ResourcesSoldOut.LoadBalancerSoldOut"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) CreateModule

func (c *Client) CreateModule(request *CreateModuleRequest) (response *CreateModuleResponse, err error)

CreateModule This API is used to create a module.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVAILDMODULENUM = "InvalidParameterValue.InvaildModuleNum"
INVALIDPARAMETERVALUE_INVALIDBANDWIDTH = "InvalidParameterValue.InvalidBandwidth"
INVALIDPARAMETERVALUE_INVALIDBANDWIDTHIN = "InvalidParameterValue.InvalidBandwidthIn"
INVALIDPARAMETERVALUE_INVALIDBANDWIDTHINANDOUT = "InvalidParameterValue.InvalidBandwidthInAndOut"
INVALIDPARAMETERVALUE_INVALIDDATADISKSIZE = "InvalidParameterValue.InvalidDataDiskSize"
INVALIDPARAMETERVALUE_INVALIDEIPDIRECTSERVICE = "InvalidParameterValue.InvalidEIPDirectService"
INVALIDPARAMETERVALUE_INVALIDIMAGEARCHITECTURE = "InvalidParameterValue.InvalidImageArchitecture"
INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageID"
INVALIDPARAMETERVALUE_INVALIDINSTANCETYPECONFIGID = "InvalidParameterValue.InvalidInstanceTypeConfigID"
INVALIDPARAMETERVALUE_INVALIDMODULENAME = "InvalidParameterValue.InvalidModuleName"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_INVALIDSYSTEMDISKSIZE = "InvalidParameterValue.InvalidSystemDiskSize"
INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge"
INVALIDPARAMETERVALUE_USERNOTSUPPORTIPV6 = "InvalidParameterValue.UserNotSupportIPv6"
LIMITEXCEEDED_MODULESECURITYGROUPLIMITEXCEEDED = "LimitExceeded.ModuleSecurityGroupLimitExceeded"
LIMITEXCEEDED_SECURITYGROUPMODULELIMITEXCEEDED = "LimitExceeded.SecurityGroupModuleLimitExceeded"
MISSINGPARAMETER_MISSINGMODULEPARAMETER = "MissingParameter.MissingModuleParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
UNSUPPORTEDOPERATION_INSTANCETYPENOTSUPPORTIMAGE = "UnsupportedOperation.InstanceTypeNotSupportImage"

func (*Client) CreateModuleWithContext

func (c *Client) CreateModuleWithContext(ctx context.Context, request *CreateModuleRequest) (response *CreateModuleResponse, err error)

CreateModule This API is used to create a module.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVAILDMODULENUM = "InvalidParameterValue.InvaildModuleNum"
INVALIDPARAMETERVALUE_INVALIDBANDWIDTH = "InvalidParameterValue.InvalidBandwidth"
INVALIDPARAMETERVALUE_INVALIDBANDWIDTHIN = "InvalidParameterValue.InvalidBandwidthIn"
INVALIDPARAMETERVALUE_INVALIDBANDWIDTHINANDOUT = "InvalidParameterValue.InvalidBandwidthInAndOut"
INVALIDPARAMETERVALUE_INVALIDDATADISKSIZE = "InvalidParameterValue.InvalidDataDiskSize"
INVALIDPARAMETERVALUE_INVALIDEIPDIRECTSERVICE = "InvalidParameterValue.InvalidEIPDirectService"
INVALIDPARAMETERVALUE_INVALIDIMAGEARCHITECTURE = "InvalidParameterValue.InvalidImageArchitecture"
INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageID"
INVALIDPARAMETERVALUE_INVALIDINSTANCETYPECONFIGID = "InvalidParameterValue.InvalidInstanceTypeConfigID"
INVALIDPARAMETERVALUE_INVALIDMODULENAME = "InvalidParameterValue.InvalidModuleName"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_INVALIDSYSTEMDISKSIZE = "InvalidParameterValue.InvalidSystemDiskSize"
INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge"
INVALIDPARAMETERVALUE_USERNOTSUPPORTIPV6 = "InvalidParameterValue.UserNotSupportIPv6"
LIMITEXCEEDED_MODULESECURITYGROUPLIMITEXCEEDED = "LimitExceeded.ModuleSecurityGroupLimitExceeded"
LIMITEXCEEDED_SECURITYGROUPMODULELIMITEXCEEDED = "LimitExceeded.SecurityGroupModuleLimitExceeded"
MISSINGPARAMETER_MISSINGMODULEPARAMETER = "MissingParameter.MissingModuleParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
UNSUPPORTEDOPERATION_INSTANCETYPENOTSUPPORTIMAGE = "UnsupportedOperation.InstanceTypeNotSupportImage"

func (*Client) CreateNetworkInterface

func (c *Client) CreateNetworkInterface(request *CreateNetworkInterfaceRequest) (response *CreateNetworkInterfaceResponse, err error)

CreateNetworkInterface This API is used to create an ENI.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range"
INVALIDPARAMETERVALUE_RESERVED = "InvalidParameterValue.Reserved"
LIMITEXCEEDED = "LimitExceeded"
LIMITEXCEEDED_ENIQUOTALIMITEXCEEDED = "LimitExceeded.EniQuotaLimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) CreateNetworkInterfaceWithContext

func (c *Client) CreateNetworkInterfaceWithContext(ctx context.Context, request *CreateNetworkInterfaceRequest) (response *CreateNetworkInterfaceResponse, err error)

CreateNetworkInterface This API is used to create an ENI.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range"
INVALIDPARAMETERVALUE_RESERVED = "InvalidParameterValue.Reserved"
LIMITEXCEEDED = "LimitExceeded"
LIMITEXCEEDED_ENIQUOTALIMITEXCEEDED = "LimitExceeded.EniQuotaLimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) CreateRouteTable

func (c *Client) CreateRouteTable(request *CreateRouteTableRequest) (response *CreateRouteTableResponse, err error)

CreateRouteTable After a VPC is created, the system will create a default route table, with which all new subnets will be associated. By default, you can use the default route table to manage your routing policies. If you have multiple routing policies, you can call the API for route table creation to create more route tables to manage your routing policies.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) CreateRouteTableWithContext

func (c *Client) CreateRouteTableWithContext(ctx context.Context, request *CreateRouteTableRequest) (response *CreateRouteTableResponse, err error)

CreateRouteTable After a VPC is created, the system will create a default route table, with which all new subnets will be associated. By default, you can use the default route table to manage your routing policies. If you have multiple routing policies, you can call the API for route table creation to create more route tables to manage your routing policies.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) CreateRoutes

func (c *Client) CreateRoutes(request *CreateRoutesRequest) (response *CreateRoutesResponse, err error)

CreateRoutes This API is used to create a routing policy.

error code that may be returned:

INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_CIDRNOTINPEERVPC = "InvalidParameterValue.CidrNotInPeerVpc"
INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
INVALIDPARAMETERVALUE_VPCCIDRCONFLICT = "InvalidParameterValue.VpcCidrConflict"
LIMITEXCEEDED = "LimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_ECMP = "UnsupportedOperation.Ecmp"
UNSUPPORTEDOPERATION_ECMPWITHCCNROUTE = "UnsupportedOperation.EcmpWithCcnRoute"
UNSUPPORTEDOPERATION_ECMPWITHUSERROUTE = "UnsupportedOperation.EcmpWithUserRoute"
UNSUPPORTEDOPERATION_SYSTEMROUTE = "UnsupportedOperation.SystemRoute"

func (*Client) CreateRoutesWithContext

func (c *Client) CreateRoutesWithContext(ctx context.Context, request *CreateRoutesRequest) (response *CreateRoutesResponse, err error)

CreateRoutes This API is used to create a routing policy.

error code that may be returned:

INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_CIDRNOTINPEERVPC = "InvalidParameterValue.CidrNotInPeerVpc"
INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
INVALIDPARAMETERVALUE_VPCCIDRCONFLICT = "InvalidParameterValue.VpcCidrConflict"
LIMITEXCEEDED = "LimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_ECMP = "UnsupportedOperation.Ecmp"
UNSUPPORTEDOPERATION_ECMPWITHCCNROUTE = "UnsupportedOperation.EcmpWithCcnRoute"
UNSUPPORTEDOPERATION_ECMPWITHUSERROUTE = "UnsupportedOperation.EcmpWithUserRoute"
UNSUPPORTEDOPERATION_SYSTEMROUTE = "UnsupportedOperation.SystemRoute"

func (*Client) CreateSecurityGroup

func (c *Client) CreateSecurityGroup(request *CreateSecurityGroupRequest) (response *CreateSecurityGroupResponse, err error)

CreateSecurityGroup This API is used to create a security group.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge"
MISSINGPARAMETER = "MissingParameter"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) CreateSecurityGroupPolicies

func (c *Client) CreateSecurityGroupPolicies(request *CreateSecurityGroupPoliciesRequest) (response *CreateSecurityGroupPoliciesResponse, err error)

CreateSecurityGroupPolicies <p>This API is used to create a security group policy.</p>

<p>In the `SecurityGroupPolicySet` parameter:</p>

<ul>

<li>`Version`: the version number of a security group policy, which automatically increases by one each time you update the security policy, to prevent expiration of the updated routing policies. If it is left empty, any conflicts will be ignored.</li>

<li>When creating the `Egress` and `Ingress` polices,<ul>

<li><code>Protocol</code>: <code>TCP</code>, <code>UDP</code>, <code>ICMP</code>, <code>GRE</code>, or <code>ALL</code>.</li>

<li>`CidrBlock`: a CIDR block in the correct format. In a classic network, if a `CidrBlock` contains private IPs on Tencent Cloud for devices under your account other than CVMs, it does not mean this policy allows you to access these devices. The network isolation policies between tenants take priority over the private network policies in security groups.</li>

<li>`SecurityGroupId`: ID of the security group. It can be the ID of security group to be modified, or the ID of other security group in the same project. All private IPs of all CVMs under the security group will be covered. If this field is used, the policy will automatically change according to the CVM associated with the group ID while being used to match network messages. You don’t need to change it manually.</li>

<li>`Port`: a single port number such as 80, or a port range in the format of “8000-8010”. You may use this field only if the `Protocol` field takes the value `TCP` or `UDP`. Otherwise `Protocol` and `Port` are mutually exclusive.</li>

<li>`Action`: only allows `ACCEPT` or `DROP`.</li>

<li>`CidrBlock`, `SecurityGroupId`, and `AddressTemplate` are mutually exclusive. `Protocol` + `Port` and `ServiceTemplate` are mutually exclusive.</li>

<li>You can only create policies in one direction in each request. To specify the `PolicyIndex` parameter, use the same index number in policies.</li>

</ul></li></ul>

<p>Default API request rate limit: 20 requests/sec.</p>

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
LIMITEXCEEDED = "LimitExceeded"
LIMITEXCEEDED_SECURITYGROUPPOLICYSET = "LimitExceeded.SecurityGroupPolicySet"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
UNSUPPORTEDOPERATION_DUPLICATEPOLICY = "UnsupportedOperation.DuplicatePolicy"
UNSUPPORTEDOPERATION_VERSIONMISMATCH = "UnsupportedOperation.VersionMismatch"

func (*Client) CreateSecurityGroupPoliciesWithContext

func (c *Client) CreateSecurityGroupPoliciesWithContext(ctx context.Context, request *CreateSecurityGroupPoliciesRequest) (response *CreateSecurityGroupPoliciesResponse, err error)

CreateSecurityGroupPolicies <p>This API is used to create a security group policy.</p>

<p>In the `SecurityGroupPolicySet` parameter:</p>

<ul>

<li>`Version`: the version number of a security group policy, which automatically increases by one each time you update the security policy, to prevent expiration of the updated routing policies. If it is left empty, any conflicts will be ignored.</li>

<li>When creating the `Egress` and `Ingress` polices,<ul>

<li><code>Protocol</code>: <code>TCP</code>, <code>UDP</code>, <code>ICMP</code>, <code>GRE</code>, or <code>ALL</code>.</li>

<li>`CidrBlock`: a CIDR block in the correct format. In a classic network, if a `CidrBlock` contains private IPs on Tencent Cloud for devices under your account other than CVMs, it does not mean this policy allows you to access these devices. The network isolation policies between tenants take priority over the private network policies in security groups.</li>

<li>`SecurityGroupId`: ID of the security group. It can be the ID of security group to be modified, or the ID of other security group in the same project. All private IPs of all CVMs under the security group will be covered. If this field is used, the policy will automatically change according to the CVM associated with the group ID while being used to match network messages. You don’t need to change it manually.</li>

<li>`Port`: a single port number such as 80, or a port range in the format of “8000-8010”. You may use this field only if the `Protocol` field takes the value `TCP` or `UDP`. Otherwise `Protocol` and `Port` are mutually exclusive.</li>

<li>`Action`: only allows `ACCEPT` or `DROP`.</li>

<li>`CidrBlock`, `SecurityGroupId`, and `AddressTemplate` are mutually exclusive. `Protocol` + `Port` and `ServiceTemplate` are mutually exclusive.</li>

<li>You can only create policies in one direction in each request. To specify the `PolicyIndex` parameter, use the same index number in policies.</li>

</ul></li></ul>

<p>Default API request rate limit: 20 requests/sec.</p>

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
LIMITEXCEEDED = "LimitExceeded"
LIMITEXCEEDED_SECURITYGROUPPOLICYSET = "LimitExceeded.SecurityGroupPolicySet"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
UNSUPPORTEDOPERATION_DUPLICATEPOLICY = "UnsupportedOperation.DuplicatePolicy"
UNSUPPORTEDOPERATION_VERSIONMISMATCH = "UnsupportedOperation.VersionMismatch"

func (*Client) CreateSecurityGroupWithContext

func (c *Client) CreateSecurityGroupWithContext(ctx context.Context, request *CreateSecurityGroupRequest) (response *CreateSecurityGroupResponse, err error)

CreateSecurityGroup This API is used to create a security group.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge"
MISSINGPARAMETER = "MissingParameter"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) CreateSubnet

func (c *Client) CreateSubnet(request *CreateSubnetRequest) (response *CreateSubnetResponse, err error)

CreateSubnet This API is used to create a subnet. After the subnet is created successfully, it will become the default subnet for the AZ.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
INVALIDPARAMETERVALUE_INVALIDZONE = "InvalidParameterValue.InvalidZone"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
INVALIDPARAMETERVALUE_SUBNETCONFLICT = "InvalidParameterValue.SubnetConflict"
INVALIDPARAMETERVALUE_SUBNETRANGE = "InvalidParameterValue.SubnetRange"
LIMITEXCEEDED = "LimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) CreateSubnetWithContext

func (c *Client) CreateSubnetWithContext(ctx context.Context, request *CreateSubnetRequest) (response *CreateSubnetResponse, err error)

CreateSubnet This API is used to create a subnet. After the subnet is created successfully, it will become the default subnet for the AZ.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
INVALIDPARAMETERVALUE_INVALIDZONE = "InvalidParameterValue.InvalidZone"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
INVALIDPARAMETERVALUE_SUBNETCONFLICT = "InvalidParameterValue.SubnetConflict"
INVALIDPARAMETERVALUE_SUBNETRANGE = "InvalidParameterValue.SubnetRange"
LIMITEXCEEDED = "LimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) CreateVpc

func (c *Client) CreateVpc(request *CreateVpcRequest) (response *CreateVpcResponse, err error)

CreateVpc This API is used to create a VPC.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong"
LIMITEXCEEDED = "LimitExceeded"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) CreateVpcWithContext

func (c *Client) CreateVpcWithContext(ctx context.Context, request *CreateVpcRequest) (response *CreateVpcResponse, err error)

CreateVpc This API is used to create a VPC.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong"
LIMITEXCEEDED = "LimitExceeded"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DeleteHaVip

func (c *Client) DeleteHaVip(request *DeleteHaVipRequest) (response *DeleteHaVipResponse, err error)

DeleteHaVip This API is used to delete an HAVIP.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteHaVipWithContext

func (c *Client) DeleteHaVipWithContext(ctx context.Context, request *DeleteHaVipRequest) (response *DeleteHaVipResponse, err error)

DeleteHaVip This API is used to delete an HAVIP.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteImage

func (c *Client) DeleteImage(request *DeleteImageRequest) (response *DeleteImageResponse, err error)

DeleteImage This API is used to delete an image.

error code that may be returned:

FAILEDOPERATION_IMAGEINUSE = "FailedOperation.ImageInUse"
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageID"
INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DeleteImageWithContext

func (c *Client) DeleteImageWithContext(ctx context.Context, request *DeleteImageRequest) (response *DeleteImageResponse, err error)

DeleteImage This API is used to delete an image.

error code that may be returned:

FAILEDOPERATION_IMAGEINUSE = "FailedOperation.ImageInUse"
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageID"
INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DeleteListener

func (c *Client) DeleteListener(request *DeleteListenerRequest) (response *DeleteListenerResponse, err error)

DeleteListener This API is used to delete a CLB listener.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DeleteListenerWithContext

func (c *Client) DeleteListenerWithContext(ctx context.Context, request *DeleteListenerRequest) (response *DeleteListenerResponse, err error)

DeleteListener This API is used to delete a CLB listener.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DeleteLoadBalancer

func (c *Client) DeleteLoadBalancer(request *DeleteLoadBalancerRequest) (response *DeleteLoadBalancerResponse, err error)

DeleteLoadBalancer This API is used to delete a CLB instance.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
LIMITEXCEEDED = "LimitExceeded"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DeleteLoadBalancerListeners

func (c *Client) DeleteLoadBalancerListeners(request *DeleteLoadBalancerListenersRequest) (response *DeleteLoadBalancerListenersResponse, err error)

DeleteLoadBalancerListeners This API is used to delete multiple CLB listeners.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DeleteLoadBalancerListenersWithContext

func (c *Client) DeleteLoadBalancerListenersWithContext(ctx context.Context, request *DeleteLoadBalancerListenersRequest) (response *DeleteLoadBalancerListenersResponse, err error)

DeleteLoadBalancerListeners This API is used to delete multiple CLB listeners.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DeleteLoadBalancerWithContext

func (c *Client) DeleteLoadBalancerWithContext(ctx context.Context, request *DeleteLoadBalancerRequest) (response *DeleteLoadBalancerResponse, err error)

DeleteLoadBalancer This API is used to delete a CLB instance.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
LIMITEXCEEDED = "LimitExceeded"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DeleteModule

func (c *Client) DeleteModule(request *DeleteModuleRequest) (response *DeleteModuleResponse, err error)

DeleteModule This API is used to delete a business module.

error code that may be returned:

FAILEDOPERATION_INSTANCEINMODULE = "FailedOperation.InstanceInModule"
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
FAILEDOPERATION_OPERATIONCONFLICT = "FailedOperation.OperationConflict"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVALIDMODULEID = "InvalidParameterValue.InvalidModuleID"
MISSINGPARAMETER_MISSINGMODULEPARAMETER = "MissingParameter.MissingModuleParameter"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DeleteModuleWithContext

func (c *Client) DeleteModuleWithContext(ctx context.Context, request *DeleteModuleRequest) (response *DeleteModuleResponse, err error)

DeleteModule This API is used to delete a business module.

error code that may be returned:

FAILEDOPERATION_INSTANCEINMODULE = "FailedOperation.InstanceInModule"
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
FAILEDOPERATION_OPERATIONCONFLICT = "FailedOperation.OperationConflict"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVALIDMODULEID = "InvalidParameterValue.InvalidModuleID"
MISSINGPARAMETER_MISSINGMODULEPARAMETER = "MissingParameter.MissingModuleParameter"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DeleteNetworkInterface

func (c *Client) DeleteNetworkInterface(request *DeleteNetworkInterfaceRequest) (response *DeleteNetworkInterfaceResponse, err error)

DeleteNetworkInterface This API is used to delete an ENI.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
MISSINGPARAMETER_MISSINGNETWORKINTERFACEPARAMETER = "MissingParameter.MissingNetworkInterfaceParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteNetworkInterfaceWithContext

func (c *Client) DeleteNetworkInterfaceWithContext(ctx context.Context, request *DeleteNetworkInterfaceRequest) (response *DeleteNetworkInterfaceResponse, err error)

DeleteNetworkInterface This API is used to delete an ENI.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
MISSINGPARAMETER_MISSINGNETWORKINTERFACEPARAMETER = "MissingParameter.MissingNetworkInterfaceParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteRouteTable

func (c *Client) DeleteRouteTable(request *DeleteRouteTableRequest) (response *DeleteRouteTableResponse, err error)

DeleteRouteTable This API is used to delete a route table.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION_DELDEFAULTROUTE = "UnsupportedOperation.DelDefaultRoute"
UNSUPPORTEDOPERATION_DELROUTEWITHSUBNET = "UnsupportedOperation.DelRouteWithSubnet"

func (*Client) DeleteRouteTableWithContext

func (c *Client) DeleteRouteTableWithContext(ctx context.Context, request *DeleteRouteTableRequest) (response *DeleteRouteTableResponse, err error)

DeleteRouteTable This API is used to delete a route table.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION_DELDEFAULTROUTE = "UnsupportedOperation.DelDefaultRoute"
UNSUPPORTEDOPERATION_DELROUTEWITHSUBNET = "UnsupportedOperation.DelRouteWithSubnet"

func (*Client) DeleteRoutes

func (c *Client) DeleteRoutes(request *DeleteRoutesRequest) (response *DeleteRoutesResponse, err error)

DeleteRoutes This API is used to batch delete routing policies from a route table.

error code that may be returned:

INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteRoutesWithContext

func (c *Client) DeleteRoutesWithContext(ctx context.Context, request *DeleteRoutesRequest) (response *DeleteRoutesResponse, err error)

DeleteRoutes This API is used to batch delete routing policies from a route table.

error code that may be returned:

INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteSecurityGroup

func (c *Client) DeleteSecurityGroup(request *DeleteSecurityGroupRequest) (response *DeleteSecurityGroupResponse, err error)

DeleteSecurityGroup Only security groups under the current account can be deleted.

A security group cannot be deleted directly if its instance ID is used in the policy of another security group. In this case, you need to modify the policy first before deleting the security group.

Deleted security groups cannot be recovered. Therefore, call this API with caution.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteSecurityGroupPolicies

func (c *Client) DeleteSecurityGroupPolicies(request *DeleteSecurityGroupPoliciesRequest) (response *DeleteSecurityGroupPoliciesResponse, err error)

DeleteSecurityGroupPolicies `SecurityGroupPolicySet.Version` is used to specify the version of the security group to be manipulated. If the `Version` value passed in differs from the current latest version of the security group, a failure will be returned. If `Version` is not passed in, the policy of the specified `PolicyIndex` will be deleted directly.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION_VERSIONMISMATCH = "UnsupportedOperation.VersionMismatch"

func (*Client) DeleteSecurityGroupPoliciesWithContext

func (c *Client) DeleteSecurityGroupPoliciesWithContext(ctx context.Context, request *DeleteSecurityGroupPoliciesRequest) (response *DeleteSecurityGroupPoliciesResponse, err error)

DeleteSecurityGroupPolicies `SecurityGroupPolicySet.Version` is used to specify the version of the security group to be manipulated. If the `Version` value passed in differs from the current latest version of the security group, a failure will be returned. If `Version` is not passed in, the policy of the specified `PolicyIndex` will be deleted directly.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION_VERSIONMISMATCH = "UnsupportedOperation.VersionMismatch"

func (*Client) DeleteSecurityGroupWithContext

func (c *Client) DeleteSecurityGroupWithContext(ctx context.Context, request *DeleteSecurityGroupRequest) (response *DeleteSecurityGroupResponse, err error)

DeleteSecurityGroup Only security groups under the current account can be deleted.

A security group cannot be deleted directly if its instance ID is used in the policy of another security group. In this case, you need to modify the policy first before deleting the security group.

Deleted security groups cannot be recovered. Therefore, call this API with caution.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteSnapshots

func (c *Client) DeleteSnapshots(request *DeleteSnapshotsRequest) (response *DeleteSnapshotsResponse, err error)

DeleteSnapshots This API is used to delete a snapshot.

* Only snapshots in the `NORMAL` state can be deleted. To query the state of a snapshot, you can call the [DescribeSnapshots](https://intl.cloud.tencent.com/document/product/362/15647?from_cn_redirect=1) API and check the `SnapshotState` field in the response.

* Batch operations are supported. If there is any snapshot that cannot be deleted, the operation will not be performed and a specific error code will be returned.

error code that may be returned:

INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDSNAPSHOT = "InvalidParameterValue.InvalidSnapshot"
INVALIDPARAMETERVALUE_INVALIDSNAPSHOTID = "InvalidParameterValue.InvalidSnapshotId"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired"
UNSUPPORTEDOPERATION_SNAPHASSHARED = "UnsupportedOperation.SnapHasShared"
UNSUPPORTEDOPERATION_SNAPSHOTHASBINDEDIMAGE = "UnsupportedOperation.SnapshotHasBindedImage"

func (*Client) DeleteSnapshotsWithContext

func (c *Client) DeleteSnapshotsWithContext(ctx context.Context, request *DeleteSnapshotsRequest) (response *DeleteSnapshotsResponse, err error)

DeleteSnapshots This API is used to delete a snapshot.

* Only snapshots in the `NORMAL` state can be deleted. To query the state of a snapshot, you can call the [DescribeSnapshots](https://intl.cloud.tencent.com/document/product/362/15647?from_cn_redirect=1) API and check the `SnapshotState` field in the response.

* Batch operations are supported. If there is any snapshot that cannot be deleted, the operation will not be performed and a specific error code will be returned.

error code that may be returned:

INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDSNAPSHOT = "InvalidParameterValue.InvalidSnapshot"
INVALIDPARAMETERVALUE_INVALIDSNAPSHOTID = "InvalidParameterValue.InvalidSnapshotId"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired"
UNSUPPORTEDOPERATION_SNAPHASSHARED = "UnsupportedOperation.SnapHasShared"
UNSUPPORTEDOPERATION_SNAPSHOTHASBINDEDIMAGE = "UnsupportedOperation.SnapshotHasBindedImage"

func (*Client) DeleteSubnet

func (c *Client) DeleteSubnet(request *DeleteSubnetRequest) (response *DeleteSubnetResponse, err error)

DeleteSubnet This API is used to delete a subnet. If the subnet is the current default subnet in the AZ, after it is deleted, the default subnet automatically created by the system rather than the last subnet created by you will be used as the new default subnet. If the new default subnet does not meet your needs, you can call the API for setting the default subnet to configure it.

error code that may be returned:

FAILEDOPERATION_DATAOPERATIONFAILED = "FailedOperation.DataOperationFailed"
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DeleteSubnetWithContext

func (c *Client) DeleteSubnetWithContext(ctx context.Context, request *DeleteSubnetRequest) (response *DeleteSubnetResponse, err error)

DeleteSubnet This API is used to delete a subnet. If the subnet is the current default subnet in the AZ, after it is deleted, the default subnet automatically created by the system rather than the last subnet created by you will be used as the new default subnet. If the new default subnet does not meet your needs, you can call the API for setting the default subnet to configure it.

error code that may be returned:

FAILEDOPERATION_DATAOPERATIONFAILED = "FailedOperation.DataOperationFailed"
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DeleteVpc

func (c *Client) DeleteVpc(request *DeleteVpcRequest) (response *DeleteVpcResponse, err error)

DeleteVpc This API is used to delete a VPC.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DeleteVpcWithContext

func (c *Client) DeleteVpcWithContext(ctx context.Context, request *DeleteVpcRequest) (response *DeleteVpcResponse, err error)

DeleteVpc This API is used to delete a VPC.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DescribeAddressQuota

func (c *Client) DescribeAddressQuota(request *DescribeAddressQuotaRequest) (response *DescribeAddressQuotaResponse, err error)

DescribeAddressQuota This API is used to query the quota information of the EIP under your account in the current region.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DescribeAddressQuotaWithContext

func (c *Client) DescribeAddressQuotaWithContext(ctx context.Context, request *DescribeAddressQuotaRequest) (response *DescribeAddressQuotaResponse, err error)

DescribeAddressQuota This API is used to query the quota information of the EIP under your account in the current region.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DescribeAddresses

func (c *Client) DescribeAddresses(request *DescribeAddressesRequest) (response *DescribeAddressesResponse, err error)

DescribeAddresses This API is used to query the list of EIPs.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
UNSUPPORTEDOPERATION_MALFORMED = "UnsupportedOperation.Malformed"

func (*Client) DescribeAddressesWithContext

func (c *Client) DescribeAddressesWithContext(ctx context.Context, request *DescribeAddressesRequest) (response *DescribeAddressesResponse, err error)

DescribeAddresses This API is used to query the list of EIPs.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
UNSUPPORTEDOPERATION_MALFORMED = "UnsupportedOperation.Malformed"

func (*Client) DescribeBaseOverview

func (c *Client) DescribeBaseOverview(request *DescribeBaseOverviewRequest) (response *DescribeBaseOverviewResponse, err error)

DescribeBaseOverview This API is used to get the basic data displayed on the overview page.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
MISSINGPARAMETER_MISSINGOVERVIEWPARAMETER = "MissingParameter.MissingOverViewParameter"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DescribeBaseOverviewWithContext

func (c *Client) DescribeBaseOverviewWithContext(ctx context.Context, request *DescribeBaseOverviewRequest) (response *DescribeBaseOverviewResponse, err error)

DescribeBaseOverview This API is used to get the basic data displayed on the overview page.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
MISSINGPARAMETER_MISSINGOVERVIEWPARAMETER = "MissingParameter.MissingOverViewParameter"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DescribeConfig

func (c *Client) DescribeConfig(request *DescribeConfigRequest) (response *DescribeConfigResponse, err error)

DescribeConfig This API is used to get the limits of data such as bandwidth and disk.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
MISSINGPARAMETER_MISSINGBASECONFIGPARAMETER = "MissingParameter.MissingBaseConfigParameter"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DescribeConfigWithContext

func (c *Client) DescribeConfigWithContext(ctx context.Context, request *DescribeConfigRequest) (response *DescribeConfigResponse, err error)

DescribeConfig This API is used to get the limits of data such as bandwidth and disk.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
MISSINGPARAMETER_MISSINGBASECONFIGPARAMETER = "MissingParameter.MissingBaseConfigParameter"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DescribeCustomImageTask

func (c *Client) DescribeCustomImageTask(request *DescribeCustomImageTaskRequest) (response *DescribeCustomImageTaskResponse, err error)

DescribeCustomImageTask This API is used to query an image import task.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeCustomImageTaskWithContext

func (c *Client) DescribeCustomImageTaskWithContext(ctx context.Context, request *DescribeCustomImageTaskRequest) (response *DescribeCustomImageTaskResponse, err error)

DescribeCustomImageTask This API is used to query an image import task.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeDefaultSubnet

func (c *Client) DescribeDefaultSubnet(request *DescribeDefaultSubnetRequest) (response *DescribeDefaultSubnetResponse, err error)

DescribeDefaultSubnet This API is used to query the default subnet in an AZ.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
INVALIDPARAMETERVALUE_INVALIDZONE = "InvalidParameterValue.InvalidZone"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DescribeDefaultSubnetWithContext

func (c *Client) DescribeDefaultSubnetWithContext(ctx context.Context, request *DescribeDefaultSubnetRequest) (response *DescribeDefaultSubnetResponse, err error)

DescribeDefaultSubnet This API is used to query the default subnet in an AZ.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
INVALIDPARAMETERVALUE_INVALIDZONE = "InvalidParameterValue.InvalidZone"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DescribeHaVips

func (c *Client) DescribeHaVips(request *DescribeHaVipsRequest) (response *DescribeHaVipsResponse, err error)

DescribeHaVips This API is used to query the list of HAVIPs.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist"
INVALIDPARAMETERVALUE_INVAILDPAGEPARAM = "InvalidParameterValue.InvaildPageParam"
INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"

func (*Client) DescribeHaVipsWithContext

func (c *Client) DescribeHaVipsWithContext(ctx context.Context, request *DescribeHaVipsRequest) (response *DescribeHaVipsResponse, err error)

DescribeHaVips This API is used to query the list of HAVIPs.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist"
INVALIDPARAMETERVALUE_INVAILDPAGEPARAM = "InvalidParameterValue.InvaildPageParam"
INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"

func (*Client) DescribeImage

func (c *Client) DescribeImage(request *DescribeImageRequest) (response *DescribeImageResponse, err error)

DescribeImage This API is used to display the list of images.

error code that may be returned:

FAILEDOPERATION_IMAGEINUSE = "FailedOperation.ImageInUse"
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVAILDPAGEPARAM = "InvalidParameterValue.InvaildPageParam"
INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter"
INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageID"
INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge"
MISSINGPARAMETER_MISSINGIMAGEPARAMETER = "MissingParameter.MissingImageParameter"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DescribeImageWithContext

func (c *Client) DescribeImageWithContext(ctx context.Context, request *DescribeImageRequest) (response *DescribeImageResponse, err error)

DescribeImage This API is used to display the list of images.

error code that may be returned:

FAILEDOPERATION_IMAGEINUSE = "FailedOperation.ImageInUse"
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVAILDPAGEPARAM = "InvalidParameterValue.InvaildPageParam"
INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter"
INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageID"
INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge"
MISSINGPARAMETER_MISSINGIMAGEPARAMETER = "MissingParameter.MissingImageParameter"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DescribeImportImageOs

func (c *Client) DescribeImportImageOs(request *DescribeImportImageOsRequest) (response *DescribeImportImageOsResponse, err error)

DescribeImportImageOs This API is used to query the list of operating systems supported by an image imported from an external resource.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"

func (*Client) DescribeImportImageOsWithContext

func (c *Client) DescribeImportImageOsWithContext(ctx context.Context, request *DescribeImportImageOsRequest) (response *DescribeImportImageOsResponse, err error)

DescribeImportImageOs This API is used to query the list of operating systems supported by an image imported from an external resource.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"

func (*Client) DescribeInstanceTypeConfig

func (c *Client) DescribeInstanceTypeConfig(request *DescribeInstanceTypeConfigRequest) (response *DescribeInstanceTypeConfigResponse, err error)

DescribeInstanceTypeConfig This API is used to get the list of model configurations.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
MISSINGPARAMETER_MISSINGINSTANCETYPECONFIGPARAMETER = "MissingParameter.MissingInstanceTypeConfigParameter"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DescribeInstanceTypeConfigWithContext

func (c *Client) DescribeInstanceTypeConfigWithContext(ctx context.Context, request *DescribeInstanceTypeConfigRequest) (response *DescribeInstanceTypeConfigResponse, err error)

DescribeInstanceTypeConfig This API is used to get the list of model configurations.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
MISSINGPARAMETER_MISSINGINSTANCETYPECONFIGPARAMETER = "MissingParameter.MissingInstanceTypeConfigParameter"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DescribeInstanceVncUrl

func (c *Client) DescribeInstanceVncUrl(request *DescribeInstanceVncUrlRequest) (response *DescribeInstanceVncUrlResponse, err error)

DescribeInstanceVncUrl This API is used to query the VNC URL of an instance.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
MISSINGPARAMETER_MISSINGINSTANCESPARAMETER = "MissingParameter.MissingInstancesParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState"

func (*Client) DescribeInstanceVncUrlWithContext

func (c *Client) DescribeInstanceVncUrlWithContext(ctx context.Context, request *DescribeInstanceVncUrlRequest) (response *DescribeInstanceVncUrlResponse, err error)

DescribeInstanceVncUrl This API is used to query the VNC URL of an instance.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
MISSINGPARAMETER_MISSINGINSTANCESPARAMETER = "MissingParameter.MissingInstancesParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState"

func (*Client) DescribeInstances

func (c *Client) DescribeInstances(request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)

DescribeInstances This API is used to get the information of an instance.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVAILDDESCRIBEINSTANCE = "InvalidParameterValue.InvaildDescribeInstance"
INVALIDPARAMETERVALUE_INVAILDPAGEPARAM = "InvalidParameterValue.InvaildPageParam"
INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter"
INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID"
INVALIDPARAMETERVALUE_INVALIDORDERBYFIELD = "InvalidParameterValue.InvalidOrderByField"
INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge"
RESOURCENOTFOUND_INSTANCENOTEXIST = "ResourceNotFound.InstanceNotExist"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DescribeInstancesDeniedActions

func (c *Client) DescribeInstancesDeniedActions(request *DescribeInstancesDeniedActionsRequest) (response *DescribeInstancesDeniedActionsResponse, err error)

DescribeInstancesDeniedActions This API is used to get the information of prohibited operations by instance ID.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
MISSINGPARAMETER_MISSINGINSTANCESPARAMETER = "MissingParameter.MissingInstancesParameter"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DescribeInstancesDeniedActionsWithContext

func (c *Client) DescribeInstancesDeniedActionsWithContext(ctx context.Context, request *DescribeInstancesDeniedActionsRequest) (response *DescribeInstancesDeniedActionsResponse, err error)

DescribeInstancesDeniedActions This API is used to get the information of prohibited operations by instance ID.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
MISSINGPARAMETER_MISSINGINSTANCESPARAMETER = "MissingParameter.MissingInstancesParameter"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DescribeInstancesWithContext

func (c *Client) DescribeInstancesWithContext(ctx context.Context, request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)

DescribeInstances This API is used to get the information of an instance.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVAILDDESCRIBEINSTANCE = "InvalidParameterValue.InvaildDescribeInstance"
INVALIDPARAMETERVALUE_INVAILDPAGEPARAM = "InvalidParameterValue.InvaildPageParam"
INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter"
INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID"
INVALIDPARAMETERVALUE_INVALIDORDERBYFIELD = "InvalidParameterValue.InvalidOrderByField"
INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge"
RESOURCENOTFOUND_INSTANCENOTEXIST = "ResourceNotFound.InstanceNotExist"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DescribeListeners

func (c *Client) DescribeListeners(request *DescribeListenersRequest) (response *DescribeListenersResponse, err error)

DescribeListeners This API is used to query the list of CLB listeners.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DescribeListenersWithContext

func (c *Client) DescribeListenersWithContext(ctx context.Context, request *DescribeListenersRequest) (response *DescribeListenersResponse, err error)

DescribeListeners This API is used to query the list of CLB listeners.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DescribeLoadBalanceTaskStatus

func (c *Client) DescribeLoadBalanceTaskStatus(request *DescribeLoadBalanceTaskStatusRequest) (response *DescribeLoadBalanceTaskStatusResponse, err error)

DescribeLoadBalanceTaskStatus This API is used to query the task status of a CLB instance.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DescribeLoadBalanceTaskStatusWithContext

func (c *Client) DescribeLoadBalanceTaskStatusWithContext(ctx context.Context, request *DescribeLoadBalanceTaskStatusRequest) (response *DescribeLoadBalanceTaskStatusResponse, err error)

DescribeLoadBalanceTaskStatus This API is used to query the task status of a CLB instance.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DescribeLoadBalancers

func (c *Client) DescribeLoadBalancers(request *DescribeLoadBalancersRequest) (response *DescribeLoadBalancersResponse, err error)

DescribeLoadBalancers This API is used to query the list of CLB instances.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound"
INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DescribeLoadBalancersWithContext

func (c *Client) DescribeLoadBalancersWithContext(ctx context.Context, request *DescribeLoadBalancersRequest) (response *DescribeLoadBalancersResponse, err error)

DescribeLoadBalancers This API is used to query the list of CLB instances.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound"
INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DescribeModule

func (c *Client) DescribeModule(request *DescribeModuleRequest) (response *DescribeModuleResponse, err error)

DescribeModule This API is used to get the list of modules.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVAILDPAGEPARAM = "InvalidParameterValue.InvaildPageParam"
INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
MISSINGPARAMETER_MISSINGMODULEPARAMETER = "MissingParameter.MissingModuleParameter"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DescribeModuleDetail

func (c *Client) DescribeModuleDetail(request *DescribeModuleDetailRequest) (response *DescribeModuleDetailResponse, err error)

DescribeModuleDetail This API is used to display the details of a module.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVALIDMODULEID = "InvalidParameterValue.InvalidModuleID"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
MISSINGPARAMETER_MISSINGMODULEPARAMETER = "MissingParameter.MissingModuleParameter"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DescribeModuleDetailWithContext

func (c *Client) DescribeModuleDetailWithContext(ctx context.Context, request *DescribeModuleDetailRequest) (response *DescribeModuleDetailResponse, err error)

DescribeModuleDetail This API is used to display the details of a module.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVALIDMODULEID = "InvalidParameterValue.InvalidModuleID"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
MISSINGPARAMETER_MISSINGMODULEPARAMETER = "MissingParameter.MissingModuleParameter"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DescribeModuleWithContext

func (c *Client) DescribeModuleWithContext(ctx context.Context, request *DescribeModuleRequest) (response *DescribeModuleResponse, err error)

DescribeModule This API is used to get the list of modules.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVAILDPAGEPARAM = "InvalidParameterValue.InvaildPageParam"
INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
MISSINGPARAMETER_MISSINGMODULEPARAMETER = "MissingParameter.MissingModuleParameter"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DescribeMonthPeakNetwork

func (c *Client) DescribeMonthPeakNetwork(request *DescribeMonthPeakNetworkRequest) (response *DescribeMonthPeakNetworkResponse, err error)

DescribeMonthPeakNetwork This API is used to get the monthly peak and billable inbound/outbound bandwidth values of your node.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDISPINNODE = "InvalidParameterValue.InvalidISPInNode"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeMonthPeakNetworkWithContext

func (c *Client) DescribeMonthPeakNetworkWithContext(ctx context.Context, request *DescribeMonthPeakNetworkRequest) (response *DescribeMonthPeakNetworkResponse, err error)

DescribeMonthPeakNetwork This API is used to get the monthly peak and billable inbound/outbound bandwidth values of your node.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDISPINNODE = "InvalidParameterValue.InvalidISPInNode"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeNetworkInterfaces

func (c *Client) DescribeNetworkInterfaces(request *DescribeNetworkInterfacesRequest) (response *DescribeNetworkInterfacesResponse, err error)

DescribeNetworkInterfaces This API is used to query the list of ENIs.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist"
INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeNetworkInterfacesWithContext

func (c *Client) DescribeNetworkInterfacesWithContext(ctx context.Context, request *DescribeNetworkInterfacesRequest) (response *DescribeNetworkInterfacesResponse, err error)

DescribeNetworkInterfaces This API is used to query the list of ENIs.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist"
INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeNode

func (c *Client) DescribeNode(request *DescribeNodeRequest) (response *DescribeNodeResponse, err error)

DescribeNode This API is used to get the list of nodes.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
MISSINGPARAMETER_MISSINGNODEPARAMETER = "MissingParameter.MissingNodeParameter"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DescribeNodeWithContext

func (c *Client) DescribeNodeWithContext(ctx context.Context, request *DescribeNodeRequest) (response *DescribeNodeResponse, err error)

DescribeNode This API is used to get the list of nodes.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
MISSINGPARAMETER_MISSINGNODEPARAMETER = "MissingParameter.MissingNodeParameter"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DescribePackingQuotaGroup

func (c *Client) DescribePackingQuotaGroup(request *DescribePackingQuotaGroupRequest) (response *DescribePackingQuotaGroupResponse, err error)

DescribePackingQuotaGroup This API is used to get the packing quota of a model in a region (when a virtual model is used, a set of correlated packing quotas will be returned).

error code that may be returned:

FAILEDOPERATION_DATAOPERATIONFAILED = "FailedOperation.DataOperationFailed"
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter"
MISSINGPARAMETER = "MissingParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribePackingQuotaGroupWithContext

func (c *Client) DescribePackingQuotaGroupWithContext(ctx context.Context, request *DescribePackingQuotaGroupRequest) (response *DescribePackingQuotaGroupResponse, err error)

DescribePackingQuotaGroup This API is used to get the packing quota of a model in a region (when a virtual model is used, a set of correlated packing quotas will be returned).

error code that may be returned:

FAILEDOPERATION_DATAOPERATIONFAILED = "FailedOperation.DataOperationFailed"
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter"
MISSINGPARAMETER = "MissingParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribePeakBaseOverview

func (c *Client) DescribePeakBaseOverview(request *DescribePeakBaseOverviewRequest) (response *DescribePeakBaseOverviewResponse, err error)

DescribePeakBaseOverview This API is used to get the peak data of basic information such as CPU, memory, and disk.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVALIDTIME = "InvalidParameterValue.InvalidTime"
MISSINGPARAMETER_MISSINGOVERVIEWPARAMETER = "MissingParameter.MissingOverViewParameter"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DescribePeakBaseOverviewWithContext

func (c *Client) DescribePeakBaseOverviewWithContext(ctx context.Context, request *DescribePeakBaseOverviewRequest) (response *DescribePeakBaseOverviewResponse, err error)

DescribePeakBaseOverview This API is used to get the peak data of basic information such as CPU, memory, and disk.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVALIDTIME = "InvalidParameterValue.InvalidTime"
MISSINGPARAMETER_MISSINGOVERVIEWPARAMETER = "MissingParameter.MissingOverViewParameter"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DescribePeakNetworkOverview

func (c *Client) DescribePeakNetworkOverview(request *DescribePeakNetworkOverviewRequest) (response *DescribePeakNetworkOverviewResponse, err error)

DescribePeakNetworkOverview This API is used to get the peak network data.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter"
INVALIDPARAMETERVALUE_INVALIDTIME = "InvalidParameterValue.InvalidTime"
MISSINGPARAMETER_MISSINGOVERVIEWPARAMETER = "MissingParameter.MissingOverViewParameter"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DescribePeakNetworkOverviewWithContext

func (c *Client) DescribePeakNetworkOverviewWithContext(ctx context.Context, request *DescribePeakNetworkOverviewRequest) (response *DescribePeakNetworkOverviewResponse, err error)

DescribePeakNetworkOverview This API is used to get the peak network data.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter"
INVALIDPARAMETERVALUE_INVALIDTIME = "InvalidParameterValue.InvalidTime"
MISSINGPARAMETER_MISSINGOVERVIEWPARAMETER = "MissingParameter.MissingOverViewParameter"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DescribePriceRunInstance

func (c *Client) DescribePriceRunInstance(request *DescribePriceRunInstanceRequest) (response *DescribePriceRunInstanceResponse, err error)

DescribePriceRunInstance This API is used to query the price of an instance.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_INVALIDSYSTEMDISKSIZE = "InvalidParameterValue.InvalidSystemDiskSize"
INVALIDPARAMETERVALUE_INVALIDSYSTEMDISKTYPE = "InvalidParameterValue.InvalidSystemDiskType"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DescribePriceRunInstanceWithContext

func (c *Client) DescribePriceRunInstanceWithContext(ctx context.Context, request *DescribePriceRunInstanceRequest) (response *DescribePriceRunInstanceResponse, err error)

DescribePriceRunInstance This API is used to query the price of an instance.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_INVALIDSYSTEMDISKSIZE = "InvalidParameterValue.InvalidSystemDiskSize"
INVALIDPARAMETERVALUE_INVALIDSYSTEMDISKTYPE = "InvalidParameterValue.InvalidSystemDiskType"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DescribeRouteConflicts

func (c *Client) DescribeRouteConflicts(request *DescribeRouteConflictsRequest) (response *DescribeRouteConflictsResponse, err error)

DescribeRouteConflicts This API is used to query the list of conflicts between a custom routing policy and a CCN routing policy.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DescribeRouteConflictsWithContext

func (c *Client) DescribeRouteConflictsWithContext(ctx context.Context, request *DescribeRouteConflictsRequest) (response *DescribeRouteConflictsResponse, err error)

DescribeRouteConflicts This API is used to query the list of conflicts between a custom routing policy and a CCN routing policy.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DescribeRouteTables

func (c *Client) DescribeRouteTables(request *DescribeRouteTablesRequest) (response *DescribeRouteTablesResponse, err error)

DescribeRouteTables This API is used to query the list of the objects in a route table.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INTERNALERROR = "InternalError"
INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DescribeRouteTablesWithContext

func (c *Client) DescribeRouteTablesWithContext(ctx context.Context, request *DescribeRouteTablesRequest) (response *DescribeRouteTablesResponse, err error)

DescribeRouteTables This API is used to query the list of the objects in a route table.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INTERNALERROR = "InternalError"
INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DescribeSecurityGroupAssociationStatistics

func (c *Client) DescribeSecurityGroupAssociationStatistics(request *DescribeSecurityGroupAssociationStatisticsRequest) (response *DescribeSecurityGroupAssociationStatisticsResponse, err error)

DescribeSecurityGroupAssociationStatistics This API is used to query statistics on the instances associated with a security group.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeSecurityGroupAssociationStatisticsWithContext

func (c *Client) DescribeSecurityGroupAssociationStatisticsWithContext(ctx context.Context, request *DescribeSecurityGroupAssociationStatisticsRequest) (response *DescribeSecurityGroupAssociationStatisticsResponse, err error)

DescribeSecurityGroupAssociationStatistics This API is used to query statistics on the instances associated with a security group.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeSecurityGroupLimits

func (c *Client) DescribeSecurityGroupLimits(request *DescribeSecurityGroupLimitsRequest) (response *DescribeSecurityGroupLimitsResponse, err error)

DescribeSecurityGroupLimits This API is used to query the security group quota.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DescribeSecurityGroupLimitsWithContext

func (c *Client) DescribeSecurityGroupLimitsWithContext(ctx context.Context, request *DescribeSecurityGroupLimitsRequest) (response *DescribeSecurityGroupLimitsResponse, err error)

DescribeSecurityGroupLimits This API is used to query the security group quota.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DescribeSecurityGroupPolicies

func (c *Client) DescribeSecurityGroupPolicies(request *DescribeSecurityGroupPoliciesRequest) (response *DescribeSecurityGroupPoliciesResponse, err error)

DescribeSecurityGroupPolicies This API is used to query a security group rule.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeSecurityGroupPoliciesWithContext

func (c *Client) DescribeSecurityGroupPoliciesWithContext(ctx context.Context, request *DescribeSecurityGroupPoliciesRequest) (response *DescribeSecurityGroupPoliciesResponse, err error)

DescribeSecurityGroupPolicies This API is used to query a security group rule.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeSecurityGroups

func (c *Client) DescribeSecurityGroups(request *DescribeSecurityGroupsRequest) (response *DescribeSecurityGroupsResponse, err error)

DescribeSecurityGroups This API is used to view a security group.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DescribeSecurityGroupsWithContext

func (c *Client) DescribeSecurityGroupsWithContext(ctx context.Context, request *DescribeSecurityGroupsRequest) (response *DescribeSecurityGroupsResponse, err error)

DescribeSecurityGroups This API is used to view a security group.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DescribeSnapshots

func (c *Client) DescribeSnapshots(request *DescribeSnapshotsRequest) (response *DescribeSnapshotsResponse, err error)

DescribeSnapshots This API is used to query the list of snapshots.

* You can filter results by snapshot ID and the ID and type of the cloud disk for which the snapshot is created. The relationship between different filters is `AND`. For more information on filters, see `Filter`.

* If no parameter is defined, the status of a certain number of snapshots under the current account will be returned. The number is specified by `Limit` and is 20 by default.

error code that may be returned:

FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter"
MISSINGPARAMETER = "MissingParameter"

func (*Client) DescribeSnapshotsWithContext

func (c *Client) DescribeSnapshotsWithContext(ctx context.Context, request *DescribeSnapshotsRequest) (response *DescribeSnapshotsResponse, err error)

DescribeSnapshots This API is used to query the list of snapshots.

* You can filter results by snapshot ID and the ID and type of the cloud disk for which the snapshot is created. The relationship between different filters is `AND`. For more information on filters, see `Filter`.

* If no parameter is defined, the status of a certain number of snapshots under the current account will be returned. The number is specified by `Limit` and is 20 by default.

error code that may be returned:

FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter"
MISSINGPARAMETER = "MissingParameter"

func (*Client) DescribeSubnets

func (c *Client) DescribeSubnets(request *DescribeSubnetsRequest) (response *DescribeSubnetsResponse, err error)

DescribeSubnets This API is used to query the list of subnets.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_FILTERLIMITEXCEEDED = "InvalidParameterValue.FilterLimitExceeded"
INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DescribeSubnetsWithContext

func (c *Client) DescribeSubnetsWithContext(ctx context.Context, request *DescribeSubnetsRequest) (response *DescribeSubnetsResponse, err error)

DescribeSubnets This API is used to query the list of subnets.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_FILTERLIMITEXCEEDED = "InvalidParameterValue.FilterLimitExceeded"
INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DescribeTargetHealth

func (c *Client) DescribeTargetHealth(request *DescribeTargetHealthRequest) (response *DescribeTargetHealthResponse, err error)

DescribeTargetHealth This API is used to get the health check status of a CLB real server.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DescribeTargetHealthWithContext

func (c *Client) DescribeTargetHealthWithContext(ctx context.Context, request *DescribeTargetHealthRequest) (response *DescribeTargetHealthResponse, err error)

DescribeTargetHealth This API is used to get the health check status of a CLB real server.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DescribeTargets

func (c *Client) DescribeTargets(request *DescribeTargetsRequest) (response *DescribeTargetsResponse, err error)

DescribeTargets This API is used to query the list of the real servers bound to a CLB instance.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DescribeTargetsWithContext

func (c *Client) DescribeTargetsWithContext(ctx context.Context, request *DescribeTargetsRequest) (response *DescribeTargetsResponse, err error)

DescribeTargets This API is used to query the list of the real servers bound to a CLB instance.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DescribeTaskResult

func (c *Client) DescribeTaskResult(request *DescribeTaskResultRequest) (response *DescribeTaskResultResponse, err error)

DescribeTaskResult This API is used to query the execution result of an EIP async task.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
MISSINGPARAMETER = "MissingParameter"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DescribeTaskResultWithContext

func (c *Client) DescribeTaskResultWithContext(ctx context.Context, request *DescribeTaskResultRequest) (response *DescribeTaskResultResponse, err error)

DescribeTaskResult This API is used to query the execution result of an EIP async task.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
MISSINGPARAMETER = "MissingParameter"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DescribeTaskStatus

func (c *Client) DescribeTaskStatus(request *DescribeTaskStatusRequest) (response *DescribeTaskStatusResponse, err error)

DescribeTaskStatus This API is used to get the status of an async task.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_TASKNOTFOUND = "InvalidParameterValue.TaskNotFound"

func (*Client) DescribeTaskStatusWithContext

func (c *Client) DescribeTaskStatusWithContext(ctx context.Context, request *DescribeTaskStatusRequest) (response *DescribeTaskStatusResponse, err error)

DescribeTaskStatus This API is used to get the status of an async task.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_TASKNOTFOUND = "InvalidParameterValue.TaskNotFound"

func (*Client) DescribeVpcs

func (c *Client) DescribeVpcs(request *DescribeVpcsRequest) (response *DescribeVpcsResponse, err error)

DescribeVpcs This API is used to query the list of VPCs.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_FILTERLIMITEXCEEDED = "InvalidParameterValue.FilterLimitExceeded"
INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
INVALIDPARAMETERVALUE_INVALIDZONEINSTANCECOUNT = "InvalidParameterValue.InvalidZoneInstanceCount"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DescribeVpcsWithContext

func (c *Client) DescribeVpcsWithContext(ctx context.Context, request *DescribeVpcsRequest) (response *DescribeVpcsResponse, err error)

DescribeVpcs This API is used to query the list of VPCs.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_FILTERLIMITEXCEEDED = "InvalidParameterValue.FilterLimitExceeded"
INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
INVALIDPARAMETERVALUE_INVALIDZONEINSTANCECOUNT = "InvalidParameterValue.InvalidZoneInstanceCount"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) DetachNetworkInterface

func (c *Client) DetachNetworkInterface(request *DetachNetworkInterfaceRequest) (response *DetachNetworkInterfaceResponse, err error)

DetachNetworkInterface This API is used to unbind an ENI from a CVM instance.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState"

func (*Client) DetachNetworkInterfaceWithContext

func (c *Client) DetachNetworkInterfaceWithContext(ctx context.Context, request *DetachNetworkInterfaceRequest) (response *DetachNetworkInterfaceResponse, err error)

DetachNetworkInterface This API is used to unbind an ENI from a CVM instance.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState"

func (*Client) DisableRoutes

func (c *Client) DisableRoutes(request *DisableRoutesRequest) (response *DisableRoutesResponse, err error)

DisableRoutes This API is used to disable a subnet route.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INTERNALERROR = "InternalError"
INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_SYSTEMROUTE = "UnsupportedOperation.SystemRoute"

func (*Client) DisableRoutesWithContext

func (c *Client) DisableRoutesWithContext(ctx context.Context, request *DisableRoutesRequest) (response *DisableRoutesResponse, err error)

DisableRoutes This API is used to disable a subnet route.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INTERNALERROR = "InternalError"
INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_SYSTEMROUTE = "UnsupportedOperation.SystemRoute"

func (*Client) DisassociateAddress

func (c *Client) DisassociateAddress(request *DisassociateAddressRequest) (response *DisassociateAddressResponse, err error)

DisassociateAddress This API is used to unbind an EIP.

Only EIPs in `BIND` or `BIND_ENI` status can be unbound.

Blocked EIPs cannot be unbound.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVAILDADDRESSID = "InvalidParameterValue.InvaildAddressId"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
UNSUPPORTEDOPERATION_ADDRESSIDNOTFOUND = "UnsupportedOperation.AddressIdNotFound"
UNSUPPORTEDOPERATION_INSTANCEIDNOTFOUND = "UnsupportedOperation.InstanceIdNotFound"
UNSUPPORTEDOPERATION_INSTANCEIDNOTSUPPORTED = "UnsupportedOperation.InstanceIdNotSupported"
UNSUPPORTEDOPERATION_QUOTALIMITEXCEEDED = "UnsupportedOperation.QuotaLimitExceeded"
UNSUPPORTEDOPERATION_STATUSNOTPERMIT = "UnsupportedOperation.StatusNotPermit"

func (*Client) DisassociateAddressWithContext

func (c *Client) DisassociateAddressWithContext(ctx context.Context, request *DisassociateAddressRequest) (response *DisassociateAddressResponse, err error)

DisassociateAddress This API is used to unbind an EIP.

Only EIPs in `BIND` or `BIND_ENI` status can be unbound.

Blocked EIPs cannot be unbound.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVAILDADDRESSID = "InvalidParameterValue.InvaildAddressId"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
UNSUPPORTEDOPERATION_ADDRESSIDNOTFOUND = "UnsupportedOperation.AddressIdNotFound"
UNSUPPORTEDOPERATION_INSTANCEIDNOTFOUND = "UnsupportedOperation.InstanceIdNotFound"
UNSUPPORTEDOPERATION_INSTANCEIDNOTSUPPORTED = "UnsupportedOperation.InstanceIdNotSupported"
UNSUPPORTEDOPERATION_QUOTALIMITEXCEEDED = "UnsupportedOperation.QuotaLimitExceeded"
UNSUPPORTEDOPERATION_STATUSNOTPERMIT = "UnsupportedOperation.StatusNotPermit"

func (*Client) DisassociateInstancesKeyPairs

func (c *Client) DisassociateInstancesKeyPairs(request *DisassociateInstancesKeyPairsRequest) (response *DisassociateInstancesKeyPairsResponse, err error)

DisassociateInstancesKeyPairs This API is used to unbind a key pair from an instance.

error code that may be returned:

INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INSTANCEIDNOTSUPPORTED = "InvalidParameterValue.InstanceIdNotSupported"
INVALIDPARAMETERVALUE_INVALIDKEYPAIRID = "InvalidParameterValue.InvalidKeyPairId"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
MISSINGPARAMETER = "MissingParameter"

func (*Client) DisassociateInstancesKeyPairsWithContext

func (c *Client) DisassociateInstancesKeyPairsWithContext(ctx context.Context, request *DisassociateInstancesKeyPairsRequest) (response *DisassociateInstancesKeyPairsResponse, err error)

DisassociateInstancesKeyPairs This API is used to unbind a key pair from an instance.

error code that may be returned:

INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INSTANCEIDNOTSUPPORTED = "InvalidParameterValue.InstanceIdNotSupported"
INVALIDPARAMETERVALUE_INVALIDKEYPAIRID = "InvalidParameterValue.InvalidKeyPairId"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
MISSINGPARAMETER = "MissingParameter"

func (*Client) DisassociateSecurityGroups

func (c *Client) DisassociateSecurityGroups(request *DisassociateSecurityGroupsRequest) (response *DisassociateSecurityGroupsResponse, err error)

DisassociateSecurityGroups This API is used to unbind a security group.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID"
MISSINGPARAMETER = "MissingParameter"

func (*Client) DisassociateSecurityGroupsWithContext

func (c *Client) DisassociateSecurityGroupsWithContext(ctx context.Context, request *DisassociateSecurityGroupsRequest) (response *DisassociateSecurityGroupsResponse, err error)

DisassociateSecurityGroups This API is used to unbind a security group.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID"
MISSINGPARAMETER = "MissingParameter"

func (*Client) EnableRoutes

func (c *Client) EnableRoutes(request *EnableRoutesRequest) (response *EnableRoutesResponse, err error)

EnableRoutes This API is used to enable a disabled subnet route.

This API verifies whether a CCN route will conflict with an existing route after it is enabled, and if so, you cannot enable it before you disable the conflicting route first.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INTERNALERROR = "InternalError"
INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist"
INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_ECMP = "UnsupportedOperation.Ecmp"
UNSUPPORTEDOPERATION_ECMPWITHCCNROUTE = "UnsupportedOperation.EcmpWithCcnRoute"
UNSUPPORTEDOPERATION_ECMPWITHUSERROUTE = "UnsupportedOperation.EcmpWithUserRoute"
UNSUPPORTEDOPERATION_SYSTEMROUTE = "UnsupportedOperation.SystemRoute"

func (*Client) EnableRoutesWithContext

func (c *Client) EnableRoutesWithContext(ctx context.Context, request *EnableRoutesRequest) (response *EnableRoutesResponse, err error)

EnableRoutes This API is used to enable a disabled subnet route.

This API verifies whether a CCN route will conflict with an existing route after it is enabled, and if so, you cannot enable it before you disable the conflicting route first.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INTERNALERROR = "InternalError"
INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist"
INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_ECMP = "UnsupportedOperation.Ecmp"
UNSUPPORTEDOPERATION_ECMPWITHCCNROUTE = "UnsupportedOperation.EcmpWithCcnRoute"
UNSUPPORTEDOPERATION_ECMPWITHUSERROUTE = "UnsupportedOperation.EcmpWithUserRoute"
UNSUPPORTEDOPERATION_SYSTEMROUTE = "UnsupportedOperation.SystemRoute"

func (*Client) ImportImage

func (c *Client) ImportImage(request *ImportImageRequest) (response *ImportImageResponse, err error)

ImportImage This API is used to import an image from a CVM instance to an ECM instance.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_IMAGEDUPLICATE = "InvalidParameterValue.ImageDuplicate"
INVALIDPARAMETERVALUE_IMAGENAMEDUPLICATE = "InvalidParameterValue.ImageNameDuplicate"
INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageID"
INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge"
INVALIDPARAMETERVALUE_UNSUPPORTEDREGION = "InvalidParameterValue.UnsupportedRegion"
MISSINGPARAMETER_MISSINGIMAGEPARAMETER = "MissingParameter.MissingImageParameter"
RESOURCEINSUFFICIENT_INVAILDPRIVATEIMAGENUM = "ResourceInsufficient.InvaildPrivateImageNum"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) ImportImageWithContext

func (c *Client) ImportImageWithContext(ctx context.Context, request *ImportImageRequest) (response *ImportImageResponse, err error)

ImportImage This API is used to import an image from a CVM instance to an ECM instance.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_IMAGEDUPLICATE = "InvalidParameterValue.ImageDuplicate"
INVALIDPARAMETERVALUE_IMAGENAMEDUPLICATE = "InvalidParameterValue.ImageNameDuplicate"
INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageID"
INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge"
INVALIDPARAMETERVALUE_UNSUPPORTEDREGION = "InvalidParameterValue.UnsupportedRegion"
MISSINGPARAMETER_MISSINGIMAGEPARAMETER = "MissingParameter.MissingImageParameter"
RESOURCEINSUFFICIENT_INVAILDPRIVATEIMAGENUM = "ResourceInsufficient.InvaildPrivateImageNum"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) MigrateNetworkInterface

func (c *Client) MigrateNetworkInterface(request *MigrateNetworkInterfaceRequest) (response *MigrateNetworkInterfaceResponse, err error)

MigrateNetworkInterface This API is used to migrate an ENI.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION_ATTACHMENTNOTFOUND = "UnsupportedOperation.AttachmentNotFound"

func (*Client) MigrateNetworkInterfaceWithContext

func (c *Client) MigrateNetworkInterfaceWithContext(ctx context.Context, request *MigrateNetworkInterfaceRequest) (response *MigrateNetworkInterfaceResponse, err error)

MigrateNetworkInterface This API is used to migrate an ENI.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION_ATTACHMENTNOTFOUND = "UnsupportedOperation.AttachmentNotFound"

func (*Client) MigratePrivateIpAddress

func (c *Client) MigratePrivateIpAddress(request *MigratePrivateIpAddressRequest) (response *MigratePrivateIpAddressResponse, err error)

MigratePrivateIpAddress This API is used to migrate a private IP from an ENI.

It migrates a private IP from one ENI to another. Primary IPs cannot be migrated.

The source and destination ENIs must be in the same subnet.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) MigratePrivateIpAddressWithContext

func (c *Client) MigratePrivateIpAddressWithContext(ctx context.Context, request *MigratePrivateIpAddressRequest) (response *MigratePrivateIpAddressResponse, err error)

MigratePrivateIpAddress This API is used to migrate a private IP from an ENI.

It migrates a private IP from one ENI to another. Primary IPs cannot be migrated.

The source and destination ENIs must be in the same subnet.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyAddressAttribute

func (c *Client) ModifyAddressAttribute(request *ModifyAddressAttributeRequest) (response *ModifyAddressAttributeResponse, err error)

ModifyAddressAttribute This API is used to modify EIP attributes.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
UNSUPPORTEDOPERATION_ADDRESSIDNOTFOUND = "UnsupportedOperation.AddressIdNotFound"
UNSUPPORTEDOPERATION_MALFORMED = "UnsupportedOperation.Malformed"
UNSUPPORTEDOPERATION_STATUSNOTPERMIT = "UnsupportedOperation.StatusNotPermit"

func (*Client) ModifyAddressAttributeWithContext

func (c *Client) ModifyAddressAttributeWithContext(ctx context.Context, request *ModifyAddressAttributeRequest) (response *ModifyAddressAttributeResponse, err error)

ModifyAddressAttribute This API is used to modify EIP attributes.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
UNSUPPORTEDOPERATION_ADDRESSIDNOTFOUND = "UnsupportedOperation.AddressIdNotFound"
UNSUPPORTEDOPERATION_MALFORMED = "UnsupportedOperation.Malformed"
UNSUPPORTEDOPERATION_STATUSNOTPERMIT = "UnsupportedOperation.StatusNotPermit"

func (*Client) ModifyAddressesBandwidth

func (c *Client) ModifyAddressesBandwidth(request *ModifyAddressesBandwidthRequest) (response *ModifyAddressesBandwidthResponse, err error)

ModifyAddressesBandwidth This API is used to modify the EIP bandwidth.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_BANDWIDTHOUTOFRANGE = "InvalidParameterValue.BandwidthOutOfRange"
INVALIDPARAMETERVALUE_INVALIDBANDWIDTH = "InvalidParameterValue.InvalidBandwidth"
LIMITEXCEEDED = "LimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
UNSUPPORTEDOPERATION_ADDRESSIDNOTFOUND = "UnsupportedOperation.AddressIdNotFound"
UNSUPPORTEDOPERATION_STATUSNOTPERMIT = "UnsupportedOperation.StatusNotPermit"

func (*Client) ModifyAddressesBandwidthWithContext

func (c *Client) ModifyAddressesBandwidthWithContext(ctx context.Context, request *ModifyAddressesBandwidthRequest) (response *ModifyAddressesBandwidthResponse, err error)

ModifyAddressesBandwidth This API is used to modify the EIP bandwidth.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_BANDWIDTHOUTOFRANGE = "InvalidParameterValue.BandwidthOutOfRange"
INVALIDPARAMETERVALUE_INVALIDBANDWIDTH = "InvalidParameterValue.InvalidBandwidth"
LIMITEXCEEDED = "LimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
UNSUPPORTEDOPERATION_ADDRESSIDNOTFOUND = "UnsupportedOperation.AddressIdNotFound"
UNSUPPORTEDOPERATION_STATUSNOTPERMIT = "UnsupportedOperation.StatusNotPermit"

func (*Client) ModifyDefaultSubnet

func (c *Client) ModifyDefaultSubnet(request *ModifyDefaultSubnetRequest) (response *ModifyDefaultSubnetResponse, err error)

ModifyDefaultSubnet This API is used to modify the default subnet used when you create an instance in an AZ (if you don't specify the VPC parameter when creating the instance, `sunbetId` will be used).

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) ModifyDefaultSubnetWithContext

func (c *Client) ModifyDefaultSubnetWithContext(ctx context.Context, request *ModifyDefaultSubnetRequest) (response *ModifyDefaultSubnetResponse, err error)

ModifyDefaultSubnet This API is used to modify the default subnet used when you create an instance in an AZ (if you don't specify the VPC parameter when creating the instance, `sunbetId` will be used).

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) ModifyHaVipAttribute

func (c *Client) ModifyHaVipAttribute(request *ModifyHaVipAttributeRequest) (response *ModifyHaVipAttributeResponse, err error)

ModifyHaVipAttribute This API is used to modify the attributes of an HAVIP.

error code that may be returned:

INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifyHaVipAttributeWithContext

func (c *Client) ModifyHaVipAttributeWithContext(ctx context.Context, request *ModifyHaVipAttributeRequest) (response *ModifyHaVipAttributeResponse, err error)

ModifyHaVipAttribute This API is used to modify the attributes of an HAVIP.

error code that may be returned:

INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifyImageAttribute

func (c *Client) ModifyImageAttribute(request *ModifyImageAttributeRequest) (response *ModifyImageAttributeResponse, err error)

ModifyImageAttribute This API is used to modify the attributes of an image.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_IMAGENAMEDUPLICATE = "InvalidParameterValue.ImageNameDuplicate"
MISSINGPARAMETER = "MissingParameter"
MISSINGPARAMETER_MISSINGIMAGEPARAMETER = "MissingParameter.MissingImageParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifyImageAttributeWithContext

func (c *Client) ModifyImageAttributeWithContext(ctx context.Context, request *ModifyImageAttributeRequest) (response *ModifyImageAttributeResponse, err error)

ModifyImageAttribute This API is used to modify the attributes of an image.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_IMAGENAMEDUPLICATE = "InvalidParameterValue.ImageNameDuplicate"
MISSINGPARAMETER = "MissingParameter"
MISSINGPARAMETER_MISSINGIMAGEPARAMETER = "MissingParameter.MissingImageParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifyInstancesAttribute

func (c *Client) ModifyInstancesAttribute(request *ModifyInstancesAttributeRequest) (response *ModifyInstancesAttributeResponse, err error)

ModifyInstancesAttribute This API is used to modify the attributes of an instance.

error code that may be returned:

FAILEDOPERATION_INSTANCEOWNERCHECKFAILED = "FailedOperation.InstanceOwnerCheckFailed"
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge"
LIMITEXCEEDED_SECURITYGROUPINSTANCELIMITEXCEEDED = "LimitExceeded.SecurityGroupInstanceLimitExceeded"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) ModifyInstancesAttributeWithContext

func (c *Client) ModifyInstancesAttributeWithContext(ctx context.Context, request *ModifyInstancesAttributeRequest) (response *ModifyInstancesAttributeResponse, err error)

ModifyInstancesAttribute This API is used to modify the attributes of an instance.

error code that may be returned:

FAILEDOPERATION_INSTANCEOWNERCHECKFAILED = "FailedOperation.InstanceOwnerCheckFailed"
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge"
LIMITEXCEEDED_SECURITYGROUPINSTANCELIMITEXCEEDED = "LimitExceeded.SecurityGroupInstanceLimitExceeded"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) ModifyIpv6AddressesAttribute

func (c *Client) ModifyIpv6AddressesAttribute(request *ModifyIpv6AddressesAttributeRequest) (response *ModifyIpv6AddressesAttributeResponse, err error)

ModifyIpv6AddressesAttribute This API is used to modify the IPv6 address attributes of an ENI.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION_ATTACHMENTNOTFOUND = "UnsupportedOperation.AttachmentNotFound"

func (*Client) ModifyIpv6AddressesAttributeWithContext

func (c *Client) ModifyIpv6AddressesAttributeWithContext(ctx context.Context, request *ModifyIpv6AddressesAttributeRequest) (response *ModifyIpv6AddressesAttributeResponse, err error)

ModifyIpv6AddressesAttribute This API is used to modify the IPv6 address attributes of an ENI.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION_ATTACHMENTNOTFOUND = "UnsupportedOperation.AttachmentNotFound"

func (*Client) ModifyListener

func (c *Client) ModifyListener(request *ModifyListenerRequest) (response *ModifyListenerResponse, err error)

ModifyListener This API is used to modify the attributes of a CLB listener.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) ModifyListenerWithContext

func (c *Client) ModifyListenerWithContext(ctx context.Context, request *ModifyListenerRequest) (response *ModifyListenerResponse, err error)

ModifyListener This API is used to modify the attributes of a CLB listener.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) ModifyLoadBalancerAttributes

func (c *Client) ModifyLoadBalancerAttributes(request *ModifyLoadBalancerAttributesRequest) (response *ModifyLoadBalancerAttributesResponse, err error)

ModifyLoadBalancerAttributes This API is used to modify the attributes of a CLB instance.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound"
INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound"
INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) ModifyLoadBalancerAttributesWithContext

func (c *Client) ModifyLoadBalancerAttributesWithContext(ctx context.Context, request *ModifyLoadBalancerAttributesRequest) (response *ModifyLoadBalancerAttributesResponse, err error)

ModifyLoadBalancerAttributes This API is used to modify the attributes of a CLB instance.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETER_LBIDNOTFOUND = "InvalidParameter.LBIdNotFound"
INVALIDPARAMETER_REGIONNOTFOUND = "InvalidParameter.RegionNotFound"
INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) ModifyModuleConfig

func (c *Client) ModifyModuleConfig(request *ModifyModuleConfigRequest) (response *ModifyModuleConfigResponse, err error)

ModifyModuleConfig This API is used to modify the configuration of a module. You cannot modify the configuration of the module if it is associated with an instance.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVAILDMODIFYPARAM = "InvalidParameterValue.InvaildModifyParam"
INVALIDPARAMETERVALUE_INVALIDDATADISKSIZE = "InvalidParameterValue.InvalidDataDiskSize"
INVALIDPARAMETERVALUE_INVALIDIMAGEARCHITECTURE = "InvalidParameterValue.InvalidImageArchitecture"
INVALIDPARAMETERVALUE_INVALIDINSTANCETYPE = "InvalidParameterValue.InvalidInstanceType"
INVALIDPARAMETERVALUE_INVALIDINSTANCETYPECONFIGID = "InvalidParameterValue.InvalidInstanceTypeConfigID"
INVALIDPARAMETERVALUE_INVALIDMODULEID = "InvalidParameterValue.InvalidModuleID"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_MODULENOTALLOWCHANGE = "InvalidParameterValue.ModuleNotAllowChange"
MISSINGPARAMETER_MISSINGMODULEPARAMETER = "MissingParameter.MissingModuleParameter"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) ModifyModuleConfigWithContext

func (c *Client) ModifyModuleConfigWithContext(ctx context.Context, request *ModifyModuleConfigRequest) (response *ModifyModuleConfigResponse, err error)

ModifyModuleConfig This API is used to modify the configuration of a module. You cannot modify the configuration of the module if it is associated with an instance.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVAILDMODIFYPARAM = "InvalidParameterValue.InvaildModifyParam"
INVALIDPARAMETERVALUE_INVALIDDATADISKSIZE = "InvalidParameterValue.InvalidDataDiskSize"
INVALIDPARAMETERVALUE_INVALIDIMAGEARCHITECTURE = "InvalidParameterValue.InvalidImageArchitecture"
INVALIDPARAMETERVALUE_INVALIDINSTANCETYPE = "InvalidParameterValue.InvalidInstanceType"
INVALIDPARAMETERVALUE_INVALIDINSTANCETYPECONFIGID = "InvalidParameterValue.InvalidInstanceTypeConfigID"
INVALIDPARAMETERVALUE_INVALIDMODULEID = "InvalidParameterValue.InvalidModuleID"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_MODULENOTALLOWCHANGE = "InvalidParameterValue.ModuleNotAllowChange"
MISSINGPARAMETER_MISSINGMODULEPARAMETER = "MissingParameter.MissingModuleParameter"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) ModifyModuleDisableWanIp

func (c *Client) ModifyModuleDisableWanIp(request *ModifyModuleDisableWanIpRequest) (response *ModifyModuleDisableWanIpResponse, err error)

ModifyModuleDisableWanIp This API is used to specify whether to prohibit public IP assignment for a module.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVALIDMODULEID = "InvalidParameterValue.InvalidModuleID"
MISSINGPARAMETER_MISSINGMODULEPARAMETER = "MissingParameter.MissingModuleParameter"

func (*Client) ModifyModuleDisableWanIpWithContext

func (c *Client) ModifyModuleDisableWanIpWithContext(ctx context.Context, request *ModifyModuleDisableWanIpRequest) (response *ModifyModuleDisableWanIpResponse, err error)

ModifyModuleDisableWanIp This API is used to specify whether to prohibit public IP assignment for a module.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVALIDMODULEID = "InvalidParameterValue.InvalidModuleID"
MISSINGPARAMETER_MISSINGMODULEPARAMETER = "MissingParameter.MissingModuleParameter"

func (*Client) ModifyModuleImage

func (c *Client) ModifyModuleImage(request *ModifyModuleImageRequest) (response *ModifyModuleImageResponse, err error)

ModifyModuleImage This API is used to modify the default image of a module.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVAILDMODIFYPARAM = "InvalidParameterValue.InvaildModifyParam"
INVALIDPARAMETERVALUE_INVALIDIMAGEARCHITECTURE = "InvalidParameterValue.InvalidImageArchitecture"
INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageID"
INVALIDPARAMETERVALUE_INVALIDMODULEID = "InvalidParameterValue.InvalidModuleID"
MISSINGPARAMETER_MISSINGMODULEPARAMETER = "MissingParameter.MissingModuleParameter"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
UNSUPPORTEDOPERATION_INSTANCETYPENOTSUPPORTIMAGE = "UnsupportedOperation.InstanceTypeNotSupportImage"

func (*Client) ModifyModuleImageWithContext

func (c *Client) ModifyModuleImageWithContext(ctx context.Context, request *ModifyModuleImageRequest) (response *ModifyModuleImageResponse, err error)

ModifyModuleImage This API is used to modify the default image of a module.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVAILDMODIFYPARAM = "InvalidParameterValue.InvaildModifyParam"
INVALIDPARAMETERVALUE_INVALIDIMAGEARCHITECTURE = "InvalidParameterValue.InvalidImageArchitecture"
INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageID"
INVALIDPARAMETERVALUE_INVALIDMODULEID = "InvalidParameterValue.InvalidModuleID"
MISSINGPARAMETER_MISSINGMODULEPARAMETER = "MissingParameter.MissingModuleParameter"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
UNSUPPORTEDOPERATION_INSTANCETYPENOTSUPPORTIMAGE = "UnsupportedOperation.InstanceTypeNotSupportImage"

func (*Client) ModifyModuleIpDirect

func (c *Client) ModifyModuleIpDirect(request *ModifyModuleIpDirectRequest) (response *ModifyModuleIpDirectResponse, err error)

ModifyModuleIpDirect This API is used to modify the IP direct access of a module.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVALIDEIPDIRECTSERVICE = "InvalidParameterValue.InvalidEIPDirectService"
INVALIDPARAMETERVALUE_INVALIDMODULEID = "InvalidParameterValue.InvalidModuleID"
MISSINGPARAMETER_MISSINGMODULEPARAMETER = "MissingParameter.MissingModuleParameter"

func (*Client) ModifyModuleIpDirectWithContext

func (c *Client) ModifyModuleIpDirectWithContext(ctx context.Context, request *ModifyModuleIpDirectRequest) (response *ModifyModuleIpDirectResponse, err error)

ModifyModuleIpDirect This API is used to modify the IP direct access of a module.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVALIDEIPDIRECTSERVICE = "InvalidParameterValue.InvalidEIPDirectService"
INVALIDPARAMETERVALUE_INVALIDMODULEID = "InvalidParameterValue.InvalidModuleID"
MISSINGPARAMETER_MISSINGMODULEPARAMETER = "MissingParameter.MissingModuleParameter"

func (*Client) ModifyModuleName

func (c *Client) ModifyModuleName(request *ModifyModuleNameRequest) (response *ModifyModuleNameResponse, err error)

ModifyModuleName This API is used to rename a module.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVALIDMODULEID = "InvalidParameterValue.InvalidModuleID"
INVALIDPARAMETERVALUE_INVALIDMODULENAME = "InvalidParameterValue.InvalidModuleName"
INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge"
MISSINGPARAMETER_MISSINGMODULEPARAMETER = "MissingParameter.MissingModuleParameter"

func (*Client) ModifyModuleNameWithContext

func (c *Client) ModifyModuleNameWithContext(ctx context.Context, request *ModifyModuleNameRequest) (response *ModifyModuleNameResponse, err error)

ModifyModuleName This API is used to rename a module.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVALIDMODULEID = "InvalidParameterValue.InvalidModuleID"
INVALIDPARAMETERVALUE_INVALIDMODULENAME = "InvalidParameterValue.InvalidModuleName"
INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge"
MISSINGPARAMETER_MISSINGMODULEPARAMETER = "MissingParameter.MissingModuleParameter"

func (*Client) ModifyModuleNetwork

func (c *Client) ModifyModuleNetwork(request *ModifyModuleNetworkRequest) (response *ModifyModuleNetworkResponse, err error)

ModifyModuleNetwork This API is used to modify the default bandwidth cap of a module.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVAILDMODIFYPARAM = "InvalidParameterValue.InvaildModifyParam"
INVALIDPARAMETERVALUE_INVALIDBANDWIDTH = "InvalidParameterValue.InvalidBandwidth"
INVALIDPARAMETERVALUE_INVALIDBANDWIDTHIN = "InvalidParameterValue.InvalidBandwidthIn"
INVALIDPARAMETERVALUE_INVALIDBANDWIDTHINANDOUT = "InvalidParameterValue.InvalidBandwidthInAndOut"
INVALIDPARAMETERVALUE_INVALIDMODULEID = "InvalidParameterValue.InvalidModuleID"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
MISSINGPARAMETER_MISSINGMODULEPARAMETER = "MissingParameter.MissingModuleParameter"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) ModifyModuleNetworkWithContext

func (c *Client) ModifyModuleNetworkWithContext(ctx context.Context, request *ModifyModuleNetworkRequest) (response *ModifyModuleNetworkResponse, err error)

ModifyModuleNetwork This API is used to modify the default bandwidth cap of a module.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVAILDMODIFYPARAM = "InvalidParameterValue.InvaildModifyParam"
INVALIDPARAMETERVALUE_INVALIDBANDWIDTH = "InvalidParameterValue.InvalidBandwidth"
INVALIDPARAMETERVALUE_INVALIDBANDWIDTHIN = "InvalidParameterValue.InvalidBandwidthIn"
INVALIDPARAMETERVALUE_INVALIDBANDWIDTHINANDOUT = "InvalidParameterValue.InvalidBandwidthInAndOut"
INVALIDPARAMETERVALUE_INVALIDMODULEID = "InvalidParameterValue.InvalidModuleID"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
MISSINGPARAMETER_MISSINGMODULEPARAMETER = "MissingParameter.MissingModuleParameter"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) ModifyModuleSecurityGroups

func (c *Client) ModifyModuleSecurityGroups(request *ModifyModuleSecurityGroupsRequest) (response *ModifyModuleSecurityGroupsResponse, err error)

ModifyModuleSecurityGroups This API is used to modify the default security group of a module.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate"
INVALIDPARAMETERVALUE_INVALIDMODULEID = "InvalidParameterValue.InvalidModuleID"
LIMITEXCEEDED_MODULESECURITYGROUPLIMITEXCEEDED = "LimitExceeded.ModuleSecurityGroupLimitExceeded"
LIMITEXCEEDED_SECURITYGROUPMODULELIMITEXCEEDED = "LimitExceeded.SecurityGroupModuleLimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifyModuleSecurityGroupsWithContext

func (c *Client) ModifyModuleSecurityGroupsWithContext(ctx context.Context, request *ModifyModuleSecurityGroupsRequest) (response *ModifyModuleSecurityGroupsResponse, err error)

ModifyModuleSecurityGroups This API is used to modify the default security group of a module.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate"
INVALIDPARAMETERVALUE_INVALIDMODULEID = "InvalidParameterValue.InvalidModuleID"
LIMITEXCEEDED_MODULESECURITYGROUPLIMITEXCEEDED = "LimitExceeded.ModuleSecurityGroupLimitExceeded"
LIMITEXCEEDED_SECURITYGROUPMODULELIMITEXCEEDED = "LimitExceeded.SecurityGroupModuleLimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifyPrivateIpAddressesAttribute

func (c *Client) ModifyPrivateIpAddressesAttribute(request *ModifyPrivateIpAddressesAttributeRequest) (response *ModifyPrivateIpAddressesAttributeResponse, err error)

ModifyPrivateIpAddressesAttribute This API is used to modify the private IP attributes of an ENI.

error code that may be returned:

INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState"

func (*Client) ModifyPrivateIpAddressesAttributeWithContext

func (c *Client) ModifyPrivateIpAddressesAttributeWithContext(ctx context.Context, request *ModifyPrivateIpAddressesAttributeRequest) (response *ModifyPrivateIpAddressesAttributeResponse, err error)

ModifyPrivateIpAddressesAttribute This API is used to modify the private IP attributes of an ENI.

error code that may be returned:

INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState"

func (*Client) ModifyRouteTableAttribute

func (c *Client) ModifyRouteTableAttribute(request *ModifyRouteTableAttributeRequest) (response *ModifyRouteTableAttributeResponse, err error)

ModifyRouteTableAttribute This API is used to modify the attributes of a route table.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifyRouteTableAttributeWithContext

func (c *Client) ModifyRouteTableAttributeWithContext(ctx context.Context, request *ModifyRouteTableAttributeRequest) (response *ModifyRouteTableAttributeResponse, err error)

ModifyRouteTableAttribute This API is used to modify the attributes of a route table.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifySecurityGroupAttribute

func (c *Client) ModifySecurityGroupAttribute(request *ModifySecurityGroupAttributeRequest) (response *ModifySecurityGroupAttributeResponse, err error)

ModifySecurityGroupAttribute This API is used to modify the attributes of a security group.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifySecurityGroupAttributeWithContext

func (c *Client) ModifySecurityGroupAttributeWithContext(ctx context.Context, request *ModifySecurityGroupAttributeRequest) (response *ModifySecurityGroupAttributeResponse, err error)

ModifySecurityGroupAttribute This API is used to modify the attributes of a security group.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifySecurityGroupPolicies

func (c *Client) ModifySecurityGroupPolicies(request *ModifySecurityGroupPoliciesRequest) (response *ModifySecurityGroupPoliciesResponse, err error)

ModifySecurityGroupPolicies This API is used to modify the outbound and inbound rules of a security group.

error code that may be returned:

INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifySecurityGroupPoliciesWithContext

func (c *Client) ModifySecurityGroupPoliciesWithContext(ctx context.Context, request *ModifySecurityGroupPoliciesRequest) (response *ModifySecurityGroupPoliciesResponse, err error)

ModifySecurityGroupPolicies This API is used to modify the outbound and inbound rules of a security group.

error code that may be returned:

INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifySubnetAttribute

func (c *Client) ModifySubnetAttribute(request *ModifySubnetAttributeRequest) (response *ModifySubnetAttributeResponse, err error)

ModifySubnetAttribute This API is used to modify the attributes of a subnet.

error code that may be returned:

FAILEDOPERATION_DATAOPERATIONFAILED = "FailedOperation.DataOperationFailed"
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) ModifySubnetAttributeWithContext

func (c *Client) ModifySubnetAttributeWithContext(ctx context.Context, request *ModifySubnetAttributeRequest) (response *ModifySubnetAttributeResponse, err error)

ModifySubnetAttribute This API is used to modify the attributes of a subnet.

error code that may be returned:

FAILEDOPERATION_DATAOPERATIONFAILED = "FailedOperation.DataOperationFailed"
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) ModifyTargetPort

func (c *Client) ModifyTargetPort(request *ModifyTargetPortRequest) (response *ModifyTargetPortResponse, err error)

ModifyTargetPort This API is used to modify the port of a real server bound to a listener.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) ModifyTargetPortWithContext

func (c *Client) ModifyTargetPortWithContext(ctx context.Context, request *ModifyTargetPortRequest) (response *ModifyTargetPortResponse, err error)

ModifyTargetPort This API is used to modify the port of a real server bound to a listener.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) ModifyTargetWeight

func (c *Client) ModifyTargetWeight(request *ModifyTargetWeightRequest) (response *ModifyTargetWeightResponse, err error)

ModifyTargetWeight This API is used to modify the forwarding weight of a real server bound to a listener.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) ModifyTargetWeightWithContext

func (c *Client) ModifyTargetWeightWithContext(ctx context.Context, request *ModifyTargetWeightRequest) (response *ModifyTargetWeightResponse, err error)

ModifyTargetWeight This API is used to modify the forwarding weight of a real server bound to a listener.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) ModifyVpcAttribute

func (c *Client) ModifyVpcAttribute(request *ModifyVpcAttributeRequest) (response *ModifyVpcAttributeResponse, err error)

ModifyVpcAttribute This API is used to modify the attributes of a VPC.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) ModifyVpcAttributeWithContext

func (c *Client) ModifyVpcAttributeWithContext(ctx context.Context, request *ModifyVpcAttributeRequest) (response *ModifyVpcAttributeResponse, err error)

ModifyVpcAttribute This API is used to modify the attributes of a VPC.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) RebootInstances

func (c *Client) RebootInstances(request *RebootInstancesRequest) (response *RebootInstancesResponse, err error)

RebootInstances This API is used to restart an instance. Only instances in `RUNNING` status can be restarted. The instance status will become `REBOOTING` when the API is called successfully and will become `RUNNING` when the instance is restarted successfully. Forced restart is supported. Just like powering off a physical PC and restarting it, a forced restart may cause data loss or file system corruption. Make sure that you use this API only when the server cannot be restarted normally.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVALIDDATADISKTYPE = "InvalidParameterValue.InvalidDataDiskType"
INVALIDPARAMETERVALUE_INVALIDISPINNODE = "InvalidParameterValue.InvalidISPInNode"
INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID"
INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge"
RESOURCENOTFOUND_INSTANCENOTEXIST = "ResourceNotFound.InstanceNotExist"
RESOURCEUNAVAILABLE_INSTANCENOTRUNNING = "ResourceUnavailable.InstanceNotRunning"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) RebootInstancesWithContext

func (c *Client) RebootInstancesWithContext(ctx context.Context, request *RebootInstancesRequest) (response *RebootInstancesResponse, err error)

RebootInstances This API is used to restart an instance. Only instances in `RUNNING` status can be restarted. The instance status will become `REBOOTING` when the API is called successfully and will become `RUNNING` when the instance is restarted successfully. Forced restart is supported. Just like powering off a physical PC and restarting it, a forced restart may cause data loss or file system corruption. Make sure that you use this API only when the server cannot be restarted normally.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVALIDDATADISKTYPE = "InvalidParameterValue.InvalidDataDiskType"
INVALIDPARAMETERVALUE_INVALIDISPINNODE = "InvalidParameterValue.InvalidISPInNode"
INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID"
INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge"
RESOURCENOTFOUND_INSTANCENOTEXIST = "ResourceNotFound.InstanceNotExist"
RESOURCEUNAVAILABLE_INSTANCENOTRUNNING = "ResourceUnavailable.InstanceNotRunning"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) ReleaseAddresses

func (c *Client) ReleaseAddresses(request *ReleaseAddressesRequest) (response *ReleaseAddressesResponse, err error)

ReleaseAddresses This API is used to release one or multiple EIPs.

This operation is irreversible. Once you release an EIP, the IP address associated with it will no longer belong to you.

Only EIPs in `UNBIND` status can be released.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
UNSUPPORTEDOPERATION_ADDRESSIDNOTFOUND = "UnsupportedOperation.AddressIdNotFound"
UNSUPPORTEDOPERATION_MALFORMED = "UnsupportedOperation.Malformed"
UNSUPPORTEDOPERATION_STATUSNOTPERMIT = "UnsupportedOperation.StatusNotPermit"

func (*Client) ReleaseAddressesWithContext

func (c *Client) ReleaseAddressesWithContext(ctx context.Context, request *ReleaseAddressesRequest) (response *ReleaseAddressesResponse, err error)

ReleaseAddresses This API is used to release one or multiple EIPs.

This operation is irreversible. Once you release an EIP, the IP address associated with it will no longer belong to you.

Only EIPs in `UNBIND` status can be released.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
UNSUPPORTEDOPERATION_ADDRESSIDNOTFOUND = "UnsupportedOperation.AddressIdNotFound"
UNSUPPORTEDOPERATION_MALFORMED = "UnsupportedOperation.Malformed"
UNSUPPORTEDOPERATION_STATUSNOTPERMIT = "UnsupportedOperation.StatusNotPermit"

func (*Client) ReleaseIpv6Addresses

func (c *Client) ReleaseIpv6Addresses(request *ReleaseIpv6AddressesRequest) (response *ReleaseIpv6AddressesResponse, err error)

ReleaseIpv6Addresses This API is used to release the IPv6 addresses of an ENI.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
MISSINGPARAMETER_MISSINGMODULEPARAMETER = "MissingParameter.MissingModuleParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ReleaseIpv6AddressesWithContext

func (c *Client) ReleaseIpv6AddressesWithContext(ctx context.Context, request *ReleaseIpv6AddressesRequest) (response *ReleaseIpv6AddressesResponse, err error)

ReleaseIpv6Addresses This API is used to release the IPv6 addresses of an ENI.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
MISSINGPARAMETER_MISSINGMODULEPARAMETER = "MissingParameter.MissingModuleParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) RemovePrivateIpAddresses

func (c *Client) RemovePrivateIpAddresses(request *RemovePrivateIpAddressesRequest) (response *RemovePrivateIpAddressesResponse, err error)

RemovePrivateIpAddresses This API is used to return the private IPs of an ENI.

To return the secondary private IPs of an ENI, the API will automatically unbind them from the ENI. The primary private IP of the ENI cannot be returned.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_ATTACHMENTNOTFOUND = "UnsupportedOperation.AttachmentNotFound"
UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning"

func (*Client) RemovePrivateIpAddressesWithContext

func (c *Client) RemovePrivateIpAddressesWithContext(ctx context.Context, request *RemovePrivateIpAddressesRequest) (response *RemovePrivateIpAddressesResponse, err error)

RemovePrivateIpAddresses This API is used to return the private IPs of an ENI.

To return the secondary private IPs of an ENI, the API will automatically unbind them from the ENI. The primary private IP of the ENI cannot be returned.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_ATTACHMENTNOTFOUND = "UnsupportedOperation.AttachmentNotFound"
UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning"

func (*Client) ReplaceRouteTableAssociation

func (c *Client) ReplaceRouteTableAssociation(request *ReplaceRouteTableAssociationRequest) (response *ReplaceRouteTableAssociationResponse, err error)

ReplaceRouteTableAssociation This API is used to modify the route table associated with a subnet. A subnet can be associated with only one route table.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
INVALIDPARAMETERVALUE_OBJECTVPCNOTCURRENTVPC = "InvalidParameterValue.ObjectVpcNotCurrentVpc"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION_VPCMISMATCH = "UnsupportedOperation.VpcMismatch"

func (*Client) ReplaceRouteTableAssociationWithContext

func (c *Client) ReplaceRouteTableAssociationWithContext(ctx context.Context, request *ReplaceRouteTableAssociationRequest) (response *ReplaceRouteTableAssociationResponse, err error)

ReplaceRouteTableAssociation This API is used to modify the route table associated with a subnet. A subnet can be associated with only one route table.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
INVALIDPARAMETERVALUE_OBJECTVPCNOTCURRENTVPC = "InvalidParameterValue.ObjectVpcNotCurrentVpc"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION_VPCMISMATCH = "UnsupportedOperation.VpcMismatch"

func (*Client) ReplaceRoutes

func (c *Client) ReplaceRoutes(request *ReplaceRoutesRequest) (response *ReplaceRoutesResponse, err error)

ReplaceRoutes This API is used to replace a routing policy.

error code that may be returned:

INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_CIDRNOTINPEERVPC = "InvalidParameterValue.CidrNotInPeerVpc"
INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
INVALIDPARAMETERVALUE_VPCCIDRCONFLICT = "InvalidParameterValue.VpcCidrConflict"
LIMITEXCEEDED = "LimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_ECMP = "UnsupportedOperation.Ecmp"
UNSUPPORTEDOPERATION_SYSTEMROUTE = "UnsupportedOperation.SystemRoute"

func (*Client) ReplaceRoutesWithContext

func (c *Client) ReplaceRoutesWithContext(ctx context.Context, request *ReplaceRoutesRequest) (response *ReplaceRoutesResponse, err error)

ReplaceRoutes This API is used to replace a routing policy.

error code that may be returned:

INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_CIDRNOTINPEERVPC = "InvalidParameterValue.CidrNotInPeerVpc"
INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate"
INVALIDPARAMETERVALUE_INVALIDREGION = "InvalidParameterValue.InvalidRegion"
INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed"
INVALIDPARAMETERVALUE_VPCCIDRCONFLICT = "InvalidParameterValue.VpcCidrConflict"
LIMITEXCEEDED = "LimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_ECMP = "UnsupportedOperation.Ecmp"
UNSUPPORTEDOPERATION_SYSTEMROUTE = "UnsupportedOperation.SystemRoute"

func (*Client) ReplaceSecurityGroupPolicy

func (c *Client) ReplaceSecurityGroupPolicy(request *ReplaceSecurityGroupPolicyRequest) (response *ReplaceSecurityGroupPolicyResponse, err error)

ReplaceSecurityGroupPolicy This API is used to replace a single routing rule of a security group. You can replace only one rule in a single direction in one request and must specify the index (PolicyIndex).

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION_VERSIONMISMATCH = "UnsupportedOperation.VersionMismatch"

func (*Client) ReplaceSecurityGroupPolicyWithContext

func (c *Client) ReplaceSecurityGroupPolicyWithContext(ctx context.Context, request *ReplaceSecurityGroupPolicyRequest) (response *ReplaceSecurityGroupPolicyResponse, err error)

ReplaceSecurityGroupPolicy This API is used to replace a single routing rule of a security group. You can replace only one rule in a single direction in one request and must specify the index (PolicyIndex).

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION_VERSIONMISMATCH = "UnsupportedOperation.VersionMismatch"

func (*Client) ResetInstances

func (c *Client) ResetInstances(request *ResetInstancesRequest) (response *ResetInstancesResponse, err error)

ResetInstances This API is used to reinstall an instance. If you specify the `ImageId` parameter, the specified image will be used; otherwise, the image used by the current instance will be used. If you don't specify the password, a password will be sent later in Message Center.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETER_PARAMETERCONFLICT = "InvalidParameter.ParameterConflict"
INVALIDPARAMETERVALUE_INVAILDPASSWORD = "InvalidParameterValue.InvaildPassword"
INVALIDPARAMETERVALUE_INVALIDIMAGEARCHITECTURE = "InvalidParameterValue.InvalidImageArchitecture"
INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageID"
INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID"
INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge"
OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress"
RESOURCENOTFOUND_INSTANCENOTEXIST = "ResourceNotFound.InstanceNotExist"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) ResetInstancesMaxBandwidth

func (c *Client) ResetInstancesMaxBandwidth(request *ResetInstancesMaxBandwidthRequest) (response *ResetInstancesMaxBandwidthResponse, err error)

ResetInstancesMaxBandwidth This API is used to reset the bandwidth cap of an instance.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVALIDBANDWIDTH = "InvalidParameterValue.InvalidBandwidth"
INVALIDPARAMETERVALUE_INVALIDBANDWIDTHIN = "InvalidParameterValue.InvalidBandwidthIn"
INVALIDPARAMETERVALUE_INVALIDBANDWIDTHINANDOUT = "InvalidParameterValue.InvalidBandwidthInAndOut"
INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID"
INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge"
RESOURCENOTFOUND_INSTANCENOTEXIST = "ResourceNotFound.InstanceNotExist"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) ResetInstancesMaxBandwidthWithContext

func (c *Client) ResetInstancesMaxBandwidthWithContext(ctx context.Context, request *ResetInstancesMaxBandwidthRequest) (response *ResetInstancesMaxBandwidthResponse, err error)

ResetInstancesMaxBandwidth This API is used to reset the bandwidth cap of an instance.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVALIDBANDWIDTH = "InvalidParameterValue.InvalidBandwidth"
INVALIDPARAMETERVALUE_INVALIDBANDWIDTHIN = "InvalidParameterValue.InvalidBandwidthIn"
INVALIDPARAMETERVALUE_INVALIDBANDWIDTHINANDOUT = "InvalidParameterValue.InvalidBandwidthInAndOut"
INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID"
INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge"
RESOURCENOTFOUND_INSTANCENOTEXIST = "ResourceNotFound.InstanceNotExist"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) ResetInstancesPassword

func (c *Client) ResetInstancesPassword(request *ResetInstancesPasswordRequest) (response *ResetInstancesPasswordResponse, err error)

ResetInstancesPassword This API is used to reset the password for a running status. You need to explicitly specify the `ForceStop` parameter; otherwise, you can reset the password only for instances that have been shut down.

error code that may be returned:

FAILEDOPERATION_INSTANCENOTALLSTOPPED = "FailedOperation.InstanceNotAllStopped"
FAILEDOPERATION_INSTANCEOWNERCHECKFAILED = "FailedOperation.InstanceOwnerCheckFailed"
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVAILDMODIFYPARAM = "InvalidParameterValue.InvaildModifyParam"
INVALIDPARAMETERVALUE_INVAILDPASSWORD = "InvalidParameterValue.InvaildPassword"
INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID"
INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) ResetInstancesPasswordWithContext

func (c *Client) ResetInstancesPasswordWithContext(ctx context.Context, request *ResetInstancesPasswordRequest) (response *ResetInstancesPasswordResponse, err error)

ResetInstancesPassword This API is used to reset the password for a running status. You need to explicitly specify the `ForceStop` parameter; otherwise, you can reset the password only for instances that have been shut down.

error code that may be returned:

FAILEDOPERATION_INSTANCENOTALLSTOPPED = "FailedOperation.InstanceNotAllStopped"
FAILEDOPERATION_INSTANCEOWNERCHECKFAILED = "FailedOperation.InstanceOwnerCheckFailed"
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVAILDMODIFYPARAM = "InvalidParameterValue.InvaildModifyParam"
INVALIDPARAMETERVALUE_INVAILDPASSWORD = "InvalidParameterValue.InvaildPassword"
INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID"
INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) ResetInstancesWithContext

func (c *Client) ResetInstancesWithContext(ctx context.Context, request *ResetInstancesRequest) (response *ResetInstancesResponse, err error)

ResetInstances This API is used to reinstall an instance. If you specify the `ImageId` parameter, the specified image will be used; otherwise, the image used by the current instance will be used. If you don't specify the password, a password will be sent later in Message Center.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETER_PARAMETERCONFLICT = "InvalidParameter.ParameterConflict"
INVALIDPARAMETERVALUE_INVAILDPASSWORD = "InvalidParameterValue.InvaildPassword"
INVALIDPARAMETERVALUE_INVALIDIMAGEARCHITECTURE = "InvalidParameterValue.InvalidImageArchitecture"
INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageID"
INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID"
INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge"
OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress"
RESOURCENOTFOUND_INSTANCENOTEXIST = "ResourceNotFound.InstanceNotExist"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) ResetRoutes

func (c *Client) ResetRoutes(request *ResetRoutesRequest) (response *ResetRoutesResponse, err error)

ResetRoutes This API is used to reset a route table name and all routing policies.

error code that may be returned:

INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_CIDRNOTINPEERVPC = "InvalidParameterValue.CidrNotInPeerVpc"
INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate"
INVALIDPARAMETERVALUE_VPCCIDRCONFLICT = "InvalidParameterValue.VpcCidrConflict"
LIMITEXCEEDED = "LimitExceeded"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_SYSTEMROUTE = "UnsupportedOperation.SystemRoute"

func (*Client) ResetRoutesWithContext

func (c *Client) ResetRoutesWithContext(ctx context.Context, request *ResetRoutesRequest) (response *ResetRoutesResponse, err error)

ResetRoutes This API is used to reset a route table name and all routing policies.

error code that may be returned:

INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_CIDRNOTINPEERVPC = "InvalidParameterValue.CidrNotInPeerVpc"
INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate"
INVALIDPARAMETERVALUE_VPCCIDRCONFLICT = "InvalidParameterValue.VpcCidrConflict"
LIMITEXCEEDED = "LimitExceeded"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_SYSTEMROUTE = "UnsupportedOperation.SystemRoute"

func (*Client) RunInstances

func (c *Client) RunInstances(request *RunInstancesRequest) (response *RunInstancesResponse, err error)

RunInstances This API is used to create an ECM instance.

error code that may be returned:

FAILEDOPERATION_BLOCKBALANCE = "FailedOperation.BlockBalance"
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
FAILEDOPERATION_OPERATIONCONFLICT = "FailedOperation.OperationConflict"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETER_PARAMETERCONFLICT = "InvalidParameter.ParameterConflict"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_ADDRESSQUOTALIMITEXCEEDED = "InvalidParameterValue.AddressQuotaLimitExceeded"
INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate"
INVALIDPARAMETERVALUE_FILTERLIMITEXCEEDED = "InvalidParameterValue.FilterLimitExceeded"
INVALIDPARAMETERVALUE_IMAGESIZELARGETHANSYSDISKSIZE = "InvalidParameterValue.ImageSizeLargeThanSysDiskSize"
INVALIDPARAMETERVALUE_INSTANCECONFIGNOTMATCH = "InvalidParameterValue.InstanceConfigNotMatch"
INVALIDPARAMETERVALUE_INSTANCENAMETOOLONG = "InvalidParameterValue.InstanceNameTooLong"
INVALIDPARAMETERVALUE_INSTANCETYPENOTMATCHPID = "InvalidParameterValue.InstanceTypeNotMatchPid"
INVALIDPARAMETERVALUE_INVAILDHOSTNAME = "InvalidParameterValue.InvaildHostName"
INVALIDPARAMETERVALUE_INVAILDMODIFYPARAM = "InvalidParameterValue.InvaildModifyParam"
INVALIDPARAMETERVALUE_INVAILDPASSWORD = "InvalidParameterValue.InvaildPassword"
INVALIDPARAMETERVALUE_INVALIDBANDWIDTH = "InvalidParameterValue.InvalidBandwidth"
INVALIDPARAMETERVALUE_INVALIDBANDWIDTHIN = "InvalidParameterValue.InvalidBandwidthIn"
INVALIDPARAMETERVALUE_INVALIDBANDWIDTHINANDOUT = "InvalidParameterValue.InvalidBandwidthInAndOut"
INVALIDPARAMETERVALUE_INVALIDBILLINGTYPE = "InvalidParameterValue.InvalidBillingType"
INVALIDPARAMETERVALUE_INVALIDDATADISKNUM = "InvalidParameterValue.InvalidDataDiskNum"
INVALIDPARAMETERVALUE_INVALIDDATADISKSIZE = "InvalidParameterValue.InvalidDataDiskSize"
INVALIDPARAMETERVALUE_INVALIDDATADISKTYPE = "InvalidParameterValue.InvalidDataDiskType"
INVALIDPARAMETERVALUE_INVALIDEIPDIRECTSERVICE = "InvalidParameterValue.InvalidEIPDirectService"
INVALIDPARAMETERVALUE_INVALIDISPINNODE = "InvalidParameterValue.InvalidISPInNode"
INVALIDPARAMETERVALUE_INVALIDIMAGEARCHITECTURE = "InvalidParameterValue.InvalidImageArchitecture"
INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageID"
INVALIDPARAMETERVALUE_INVALIDINSTANCECHARGETYPE = "InvalidParameterValue.InvalidInstanceChargeType"
INVALIDPARAMETERVALUE_INVALIDINSTANCETYPECONFIGID = "InvalidParameterValue.InvalidInstanceTypeConfigID"
INVALIDPARAMETERVALUE_INVALIDINTERNETCHARGETYPE = "InvalidParameterValue.InvalidInternetChargeType"
INVALIDPARAMETERVALUE_INVALIDMODULEID = "InvalidParameterValue.InvalidModuleID"
INVALIDPARAMETERVALUE_INVALIDMODULEIDANDINSTANCETYPECONFIGID = "InvalidParameterValue.InvalidModuleIDAndInstanceTypeConfigID"
INVALIDPARAMETERVALUE_INVALIDMODULEIDANDINSTANCETYPEID = "InvalidParameterValue.InvalidModuleIDAndInstanceTypeID"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_INVALIDSECURITYGROUPID = "InvalidParameterValue.InvalidSecurityGroupID"
INVALIDPARAMETERVALUE_INVALIDSYSTEMDISKSIZE = "InvalidParameterValue.InvalidSystemDiskSize"
INVALIDPARAMETERVALUE_INVALIDSYSTEMDISKTYPE = "InvalidParameterValue.InvalidSystemDiskType"
INVALIDPARAMETERVALUE_INVALIDZONE = "InvalidParameterValue.InvalidZone"
INVALIDPARAMETERVALUE_INVALIDZONEINSTANCECOUNT = "InvalidParameterValue.InvalidZoneInstanceCount"
INVALIDPARAMETERVALUE_INVALIDZONEINSTANCETYPE = "InvalidParameterValue.InvalidZoneInstanceType"
INVALIDPARAMETERVALUE_NODENOTSUPPORTIPV6 = "InvalidParameterValue.NodeNotSupportIPv6"
INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge"
INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong"
INVALIDPARAMETERVALUE_UNMATCHEDBILLINGTYPE = "InvalidParameterValue.UnmatchedBillingType"
INVALIDPARAMETERVALUE_USERNOTSUPPORTIPV6 = "InvalidParameterValue.UserNotSupportIPv6"
LIMITEXCEEDED_ADDRESSQUOTALIMITEXCEEDED = "LimitExceeded.AddressQuotaLimitExceeded"
LIMITEXCEEDED_ENIQUOTALIMITEXCEEDED = "LimitExceeded.EniQuotaLimitExceeded"
LIMITEXCEEDED_INSTANCESECURITYGROUPLIMITEXCEEDED = "LimitExceeded.InstanceSecurityGroupLimitExceeded"
LIMITEXCEEDED_NICORIPLIMITEXCEEDED = "LimitExceeded.NicOrIPLimitExceeded"
LIMITEXCEEDED_SECURITYGROUPINSTANCELIMITEXCEEDED = "LimitExceeded.SecurityGroupInstanceLimitExceeded"
LIMITEXCEEDED_VCPULIMITEXCEEDED = "LimitExceeded.VcpuLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT_IPQUOTANOTENOUGH = "ResourceInsufficient.IPQuotaNotEnough"
RESOURCEINSUFFICIENT_INSTANCEQUOTANOTENOUGH = "ResourceInsufficient.InstanceQuotaNotEnough"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
UNSUPPORTEDOPERATION_INSTANCETYPENOTSUPPORTIMAGE = "UnsupportedOperation.InstanceTypeNotSupportImage"

func (*Client) RunInstancesWithContext

func (c *Client) RunInstancesWithContext(ctx context.Context, request *RunInstancesRequest) (response *RunInstancesResponse, err error)

RunInstances This API is used to create an ECM instance.

error code that may be returned:

FAILEDOPERATION_BLOCKBALANCE = "FailedOperation.BlockBalance"
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
FAILEDOPERATION_OPERATIONCONFLICT = "FailedOperation.OperationConflict"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETER_PARAMETERCONFLICT = "InvalidParameter.ParameterConflict"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_ADDRESSQUOTALIMITEXCEEDED = "InvalidParameterValue.AddressQuotaLimitExceeded"
INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate"
INVALIDPARAMETERVALUE_FILTERLIMITEXCEEDED = "InvalidParameterValue.FilterLimitExceeded"
INVALIDPARAMETERVALUE_IMAGESIZELARGETHANSYSDISKSIZE = "InvalidParameterValue.ImageSizeLargeThanSysDiskSize"
INVALIDPARAMETERVALUE_INSTANCECONFIGNOTMATCH = "InvalidParameterValue.InstanceConfigNotMatch"
INVALIDPARAMETERVALUE_INSTANCENAMETOOLONG = "InvalidParameterValue.InstanceNameTooLong"
INVALIDPARAMETERVALUE_INSTANCETYPENOTMATCHPID = "InvalidParameterValue.InstanceTypeNotMatchPid"
INVALIDPARAMETERVALUE_INVAILDHOSTNAME = "InvalidParameterValue.InvaildHostName"
INVALIDPARAMETERVALUE_INVAILDMODIFYPARAM = "InvalidParameterValue.InvaildModifyParam"
INVALIDPARAMETERVALUE_INVAILDPASSWORD = "InvalidParameterValue.InvaildPassword"
INVALIDPARAMETERVALUE_INVALIDBANDWIDTH = "InvalidParameterValue.InvalidBandwidth"
INVALIDPARAMETERVALUE_INVALIDBANDWIDTHIN = "InvalidParameterValue.InvalidBandwidthIn"
INVALIDPARAMETERVALUE_INVALIDBANDWIDTHINANDOUT = "InvalidParameterValue.InvalidBandwidthInAndOut"
INVALIDPARAMETERVALUE_INVALIDBILLINGTYPE = "InvalidParameterValue.InvalidBillingType"
INVALIDPARAMETERVALUE_INVALIDDATADISKNUM = "InvalidParameterValue.InvalidDataDiskNum"
INVALIDPARAMETERVALUE_INVALIDDATADISKSIZE = "InvalidParameterValue.InvalidDataDiskSize"
INVALIDPARAMETERVALUE_INVALIDDATADISKTYPE = "InvalidParameterValue.InvalidDataDiskType"
INVALIDPARAMETERVALUE_INVALIDEIPDIRECTSERVICE = "InvalidParameterValue.InvalidEIPDirectService"
INVALIDPARAMETERVALUE_INVALIDISPINNODE = "InvalidParameterValue.InvalidISPInNode"
INVALIDPARAMETERVALUE_INVALIDIMAGEARCHITECTURE = "InvalidParameterValue.InvalidImageArchitecture"
INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageID"
INVALIDPARAMETERVALUE_INVALIDINSTANCECHARGETYPE = "InvalidParameterValue.InvalidInstanceChargeType"
INVALIDPARAMETERVALUE_INVALIDINSTANCETYPECONFIGID = "InvalidParameterValue.InvalidInstanceTypeConfigID"
INVALIDPARAMETERVALUE_INVALIDINTERNETCHARGETYPE = "InvalidParameterValue.InvalidInternetChargeType"
INVALIDPARAMETERVALUE_INVALIDMODULEID = "InvalidParameterValue.InvalidModuleID"
INVALIDPARAMETERVALUE_INVALIDMODULEIDANDINSTANCETYPECONFIGID = "InvalidParameterValue.InvalidModuleIDAndInstanceTypeConfigID"
INVALIDPARAMETERVALUE_INVALIDMODULEIDANDINSTANCETYPEID = "InvalidParameterValue.InvalidModuleIDAndInstanceTypeID"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_INVALIDSECURITYGROUPID = "InvalidParameterValue.InvalidSecurityGroupID"
INVALIDPARAMETERVALUE_INVALIDSYSTEMDISKSIZE = "InvalidParameterValue.InvalidSystemDiskSize"
INVALIDPARAMETERVALUE_INVALIDSYSTEMDISKTYPE = "InvalidParameterValue.InvalidSystemDiskType"
INVALIDPARAMETERVALUE_INVALIDZONE = "InvalidParameterValue.InvalidZone"
INVALIDPARAMETERVALUE_INVALIDZONEINSTANCECOUNT = "InvalidParameterValue.InvalidZoneInstanceCount"
INVALIDPARAMETERVALUE_INVALIDZONEINSTANCETYPE = "InvalidParameterValue.InvalidZoneInstanceType"
INVALIDPARAMETERVALUE_NODENOTSUPPORTIPV6 = "InvalidParameterValue.NodeNotSupportIPv6"
INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge"
INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong"
INVALIDPARAMETERVALUE_UNMATCHEDBILLINGTYPE = "InvalidParameterValue.UnmatchedBillingType"
INVALIDPARAMETERVALUE_USERNOTSUPPORTIPV6 = "InvalidParameterValue.UserNotSupportIPv6"
LIMITEXCEEDED_ADDRESSQUOTALIMITEXCEEDED = "LimitExceeded.AddressQuotaLimitExceeded"
LIMITEXCEEDED_ENIQUOTALIMITEXCEEDED = "LimitExceeded.EniQuotaLimitExceeded"
LIMITEXCEEDED_INSTANCESECURITYGROUPLIMITEXCEEDED = "LimitExceeded.InstanceSecurityGroupLimitExceeded"
LIMITEXCEEDED_NICORIPLIMITEXCEEDED = "LimitExceeded.NicOrIPLimitExceeded"
LIMITEXCEEDED_SECURITYGROUPINSTANCELIMITEXCEEDED = "LimitExceeded.SecurityGroupInstanceLimitExceeded"
LIMITEXCEEDED_VCPULIMITEXCEEDED = "LimitExceeded.VcpuLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT_IPQUOTANOTENOUGH = "ResourceInsufficient.IPQuotaNotEnough"
RESOURCEINSUFFICIENT_INSTANCEQUOTANOTENOUGH = "ResourceInsufficient.InstanceQuotaNotEnough"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"
UNSUPPORTEDOPERATION_INSTANCETYPENOTSUPPORTIMAGE = "UnsupportedOperation.InstanceTypeNotSupportImage"

func (*Client) SetLoadBalancerSecurityGroups

func (c *Client) SetLoadBalancerSecurityGroups(request *SetLoadBalancerSecurityGroupsRequest) (response *SetLoadBalancerSecurityGroupsResponse, err error)

SetLoadBalancerSecurityGroups This API is used to configure security groups for a CLB instance.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
MISSINGPARAMETER = "MissingParameter"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) SetLoadBalancerSecurityGroupsWithContext

func (c *Client) SetLoadBalancerSecurityGroupsWithContext(ctx context.Context, request *SetLoadBalancerSecurityGroupsRequest) (response *SetLoadBalancerSecurityGroupsResponse, err error)

SetLoadBalancerSecurityGroups This API is used to configure security groups for a CLB instance.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
MISSINGPARAMETER = "MissingParameter"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) SetSecurityGroupForLoadbalancers

func (c *Client) SetSecurityGroupForLoadbalancers(request *SetSecurityGroupForLoadbalancersRequest) (response *SetSecurityGroupForLoadbalancersResponse, err error)

SetSecurityGroupForLoadbalancers This API is used to bind or unbind a security group to or from multiple CLB instances.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
MISSINGPARAMETER = "MissingParameter"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) SetSecurityGroupForLoadbalancersWithContext

func (c *Client) SetSecurityGroupForLoadbalancersWithContext(ctx context.Context, request *SetSecurityGroupForLoadbalancersRequest) (response *SetSecurityGroupForLoadbalancersResponse, err error)

SetSecurityGroupForLoadbalancers This API is used to bind or unbind a security group to or from multiple CLB instances.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_FORMATERROR = "InvalidParameter.FormatError"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDPUBLICPARAM = "InvalidParameterValue.InvalidPublicParam"
INVALIDPARAMETERVALUE_LENGTH = "InvalidParameterValue.Length"
MISSINGPARAMETER = "MissingParameter"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) StartInstances

func (c *Client) StartInstances(request *StartInstancesRequest) (response *StartInstancesResponse, err error)

StartInstances This API is used to start an instance. Only instances in `STOPPED` status can be started. The instance status will become `STARTING` when this API is called successfully and will become `RUNNING` when the instance is started successfully.

error code that may be returned:

FAILEDOPERATION_INSTANCENOTALLSTOPPED = "FailedOperation.InstanceNotAllStopped"
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow"
INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID"
INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge"
OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) StartInstancesWithContext

func (c *Client) StartInstancesWithContext(ctx context.Context, request *StartInstancesRequest) (response *StartInstancesResponse, err error)

StartInstances This API is used to start an instance. Only instances in `STOPPED` status can be started. The instance status will become `STARTING` when this API is called successfully and will become `RUNNING` when the instance is started successfully.

error code that may be returned:

FAILEDOPERATION_INSTANCENOTALLSTOPPED = "FailedOperation.InstanceNotAllStopped"
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow"
INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID"
INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge"
OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) StopInstances

func (c *Client) StopInstances(request *StopInstancesRequest) (response *StopInstancesResponse, err error)

StopInstances Only instances in `RUNNING` status can be shut down.

The instance status will become `STOPPING` when the API is called successfully and will become `STOPPED` when the instance is shut down successfully.

Forced shutdown is supported. Just like powering off a physical PC, a forced shutdown may cause data loss or file system corruption. Make sure that you use this API only when the server cannot be shut down normally.

error code that may be returned:

FAILEDOPERATION_INSTANCEOWNERCHECKFAILED = "FailedOperation.InstanceOwnerCheckFailed"
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVAILDMODIFYPARAM = "InvalidParameterValue.InvaildModifyParam"
INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID"
INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge"
RESOURCEUNAVAILABLE_INSTANCENOTRUNNING = "ResourceUnavailable.InstanceNotRunning"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) StopInstancesWithContext

func (c *Client) StopInstancesWithContext(ctx context.Context, request *StopInstancesRequest) (response *StopInstancesResponse, err error)

StopInstances Only instances in `RUNNING` status can be shut down.

The instance status will become `STOPPING` when the API is called successfully and will become `STOPPED` when the instance is shut down successfully.

Forced shutdown is supported. Just like powering off a physical PC, a forced shutdown may cause data loss or file system corruption. Make sure that you use this API only when the server cannot be shut down normally.

error code that may be returned:

FAILEDOPERATION_INSTANCEOWNERCHECKFAILED = "FailedOperation.InstanceOwnerCheckFailed"
FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVAILDMODIFYPARAM = "InvalidParameterValue.InvaildModifyParam"
INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID"
INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge"
RESOURCEUNAVAILABLE_INSTANCENOTRUNNING = "ResourceUnavailable.InstanceNotRunning"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) TerminateInstances

func (c *Client) TerminateInstances(request *TerminateInstancesRequest) (response *TerminateInstancesResponse, err error)

TerminateInstances This API is used to terminate an instance.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID"
INVALIDPARAMETERVALUE_INVALIDTIME = "InvalidParameterValue.InvalidTime"
INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge"
INVALIDPARAMETERVALUE_TERMINATETIMESMALLER = "InvalidParameterValue.TerminateTimeSmaller"
RESOURCENOTFOUND_INSTANCENOTEXIST = "ResourceNotFound.InstanceNotExist"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

func (*Client) TerminateInstancesWithContext

func (c *Client) TerminateInstancesWithContext(ctx context.Context, request *TerminateInstancesRequest) (response *TerminateInstancesResponse, err error)

TerminateInstances This API is used to terminate an instance.

error code that may be returned:

FAILEDOPERATION_INTERNALOPERATIONFAILURE = "FailedOperation.InternalOperationFailure"
FAILEDOPERATION_OPERATIONNOTALLOW = "FailedOperation.OperationNotAllow"
INVALIDPARAMETER_INVALIDDATAFORMAT = "InvalidParameter.InvalidDataFormat"
INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceID"
INVALIDPARAMETERVALUE_INVALIDTIME = "InvalidParameterValue.InvalidTime"
INVALIDPARAMETERVALUE_PARAMETERVALUETOOLARGE = "InvalidParameterValue.ParameterValueTooLarge"
INVALIDPARAMETERVALUE_TERMINATETIMESMALLER = "InvalidParameterValue.TerminateTimeSmaller"
RESOURCENOTFOUND_INSTANCENOTEXIST = "ResourceNotFound.InstanceNotExist"
UNAUTHORIZEDOPERATION_FORBIDDENOPERATION = "UnauthorizedOperation.ForbiddenOperation"

type Country

type Country struct {

	// Country/Region ID
	CountryId *string `json:"CountryId,omitempty" name:"CountryId"`

	// Country/Region name
	CountryName *string `json:"CountryName,omitempty" name:"CountryName"`
}

type CreateHaVipRequest

type CreateHaVipRequest struct {
	*tchttp.BaseRequest

	// VPC ID of the HAVIP.
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// Subnet ID of the HAVIP.
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`

	// HAVIP name.
	HaVipName *string `json:"HaVipName,omitempty" name:"HaVipName"`

	// The specified virtual IP address, which must be within the IP range of the VPC and not in use. It will be automatically assigned if not specified.
	Vip *string `json:"Vip,omitempty" name:"Vip"`
}

func NewCreateHaVipRequest

func NewCreateHaVipRequest() (request *CreateHaVipRequest)

func (*CreateHaVipRequest) FromJsonString

func (r *CreateHaVipRequest) 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 (*CreateHaVipRequest) ToJsonString

func (r *CreateHaVipRequest) ToJsonString() string

type CreateHaVipResponse

type CreateHaVipResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// HAVIP object.
		HaVip *HaVip `json:"HaVip,omitempty" name:"HaVip"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateHaVipResponse

func NewCreateHaVipResponse() (response *CreateHaVipResponse)

func (*CreateHaVipResponse) FromJsonString

func (r *CreateHaVipResponse) 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 (*CreateHaVipResponse) ToJsonString

func (r *CreateHaVipResponse) ToJsonString() string

type CreateImageRequest

type CreateImageRequest struct {
	*tchttp.BaseRequest

	// Image name.
	ImageName *string `json:"ImageName,omitempty" name:"ImageName"`

	// ID of the instance for which to make an image.
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Image description.
	ImageDescription *string `json:"ImageDescription,omitempty" name:"ImageDescription"`

	// Whether to perform a forced shutdown to make an image. Valid values:
	// TRUE: yes
	// FALSE: no
	// Default value: FALSE.
	ForcePoweroff *string `json:"ForcePoweroff,omitempty" name:"ForcePoweroff"`
}

func NewCreateImageRequest

func NewCreateImageRequest() (request *CreateImageRequest)

func (*CreateImageRequest) FromJsonString

func (r *CreateImageRequest) 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 (*CreateImageRequest) ToJsonString

func (r *CreateImageRequest) ToJsonString() string

type CreateImageResponse

type CreateImageResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Task ID
		TaskId *string `json:"TaskId,omitempty" name:"TaskId"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateImageResponse

func NewCreateImageResponse() (response *CreateImageResponse)

func (*CreateImageResponse) FromJsonString

func (r *CreateImageResponse) 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 (*CreateImageResponse) ToJsonString

func (r *CreateImageResponse) ToJsonString() string

type CreateKeyPairRequest

type CreateKeyPairRequest struct {
	*tchttp.BaseRequest

	// Key pair name, which can contain up to 25 digits, letters, and underscores.
	KeyName *string `json:"KeyName,omitempty" name:"KeyName"`
}

func NewCreateKeyPairRequest

func NewCreateKeyPairRequest() (request *CreateKeyPairRequest)

func (*CreateKeyPairRequest) FromJsonString

func (r *CreateKeyPairRequest) 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 (*CreateKeyPairRequest) ToJsonString

func (r *CreateKeyPairRequest) ToJsonString() string

type CreateKeyPairResponse

type CreateKeyPairResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Key pair information.
		KeyPair *KeyPair `json:"KeyPair,omitempty" name:"KeyPair"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateKeyPairResponse

func NewCreateKeyPairResponse() (response *CreateKeyPairResponse)

func (*CreateKeyPairResponse) FromJsonString

func (r *CreateKeyPairResponse) 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 (*CreateKeyPairResponse) ToJsonString

func (r *CreateKeyPairResponse) ToJsonString() string

type CreateListenerRequest

type CreateListenerRequest struct {
	*tchttp.BaseRequest

	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"`

	// Specifies for which ports to create listeners. Each port corresponds to a new listener
	Ports []*int64 `json:"Ports,omitempty" name:"Ports"`

	// Listener protocol. Valid values: TCP, UDP
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`

	// List of names of the listeners to be created. The array of names and array of ports are in one-to-one correspondence. If you do not want to name them now, you do not need to provide this parameter.
	ListenerNames []*string `json:"ListenerNames,omitempty" name:"ListenerNames"`

	// Health check parameters
	HealthCheck *HealthCheck `json:"HealthCheck,omitempty" name:"HealthCheck"`

	// Session persistence time in seconds. Value range: 30–3600. The default value is 0, indicating that session persistence is not enabled. This parameter is applicable only to TCP/UDP listeners.
	SessionExpireTime *int64 `json:"SessionExpireTime,omitempty" name:"SessionExpireTime"`

	// Forwarding method of the listener. Valid values: WRR, LEAST_CONN.
	// They represent weighted round robin and least connections, respectively. Default value: WRR.
	Scheduler *string `json:"Scheduler,omitempty" name:"Scheduler"`

	// Session persistence type. Valid values: NORMAL: the default session persistence type; QUIC_CID: session persistence by QUIC connection ID. The `QUIC_CID` value can only be configured in UDP listeners. If this field is not specified, the default session persistence type will be used.
	SessionType *string `json:"SessionType,omitempty" name:"SessionType"`

	// End ports of port ranges, which must be the same as `Ports` in length.
	EndPorts []*int64 `json:"EndPorts,omitempty" name:"EndPorts"`
}

func NewCreateListenerRequest

func NewCreateListenerRequest() (request *CreateListenerRequest)

func (*CreateListenerRequest) FromJsonString

func (r *CreateListenerRequest) 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 (*CreateListenerRequest) ToJsonString

func (r *CreateListenerRequest) ToJsonString() string

type CreateListenerResponse

type CreateListenerResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Array of unique IDs of the created listeners
		// Note: this field may return null, indicating that no valid values can be obtained.
		ListenerIds []*string `json:"ListenerIds,omitempty" name:"ListenerIds"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateListenerResponse

func NewCreateListenerResponse() (response *CreateListenerResponse)

func (*CreateListenerResponse) FromJsonString

func (r *CreateListenerResponse) 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 (*CreateListenerResponse) ToJsonString

func (r *CreateListenerResponse) ToJsonString() string

type CreateLoadBalancerRequest

type CreateLoadBalancerRequest struct {
	*tchttp.BaseRequest

	// ECM region, such as `ap-xian-ecm`.
	EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"`

	// Network type of the CLB instance. Currently, you can pass in only `OPEN`, which indicates public network.
	LoadBalancerType *string `json:"LoadBalancerType,omitempty" name:"LoadBalancerType"`

	// CMCC: China Mobile; CTCC: China Telecom; CUCC: China Unicom.
	VipIsp *string `json:"VipIsp,omitempty" name:"VipIsp"`

	// CLB instance name, which will take effect only when one instance is created. It can contain 1–50 letters, digits, hyphens, and underscores.
	// Note: if the name of the new CLB instance already exists, a default name will be generated automatically.
	LoadBalancerName *string `json:"LoadBalancerName,omitempty" name:"LoadBalancerName"`

	// Network ID of the target device on the CLB backend, such as `vpc-12345678`.
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// Number of CLB instances to be created. Default value: 1.
	Number *int64 `json:"Number,omitempty" name:"Number"`

	// CLB information such as bandwidth limit.
	InternetAccessible *LoadBalancerInternetAccessible `json:"InternetAccessible,omitempty" name:"InternetAccessible"`

	// Tags.
	Tags []*TagInfo `json:"Tags,omitempty" name:"Tags"`

	// Security groups.
	SecurityGroups []*string `json:"SecurityGroups,omitempty" name:"SecurityGroups"`
}

func NewCreateLoadBalancerRequest

func NewCreateLoadBalancerRequest() (request *CreateLoadBalancerRequest)

func (*CreateLoadBalancerRequest) FromJsonString

func (r *CreateLoadBalancerRequest) 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 (*CreateLoadBalancerRequest) ToJsonString

func (r *CreateLoadBalancerRequest) ToJsonString() string

type CreateLoadBalancerResponse

type CreateLoadBalancerResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Array of CLB instance IDs
		// Note: this field may return null, indicating that no valid values can be obtained.
		LoadBalancerIds []*string `json:"LoadBalancerIds,omitempty" name:"LoadBalancerIds"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateLoadBalancerResponse

func NewCreateLoadBalancerResponse() (response *CreateLoadBalancerResponse)

func (*CreateLoadBalancerResponse) FromJsonString

func (r *CreateLoadBalancerResponse) 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 (*CreateLoadBalancerResponse) ToJsonString

func (r *CreateLoadBalancerResponse) ToJsonString() string

type CreateModuleRequest

type CreateModuleRequest struct {
	*tchttp.BaseRequest

	// Module name, such as video live streaming module name. It cannot start with a space or exceed 60 characters.
	ModuleName *string `json:"ModuleName,omitempty" name:"ModuleName"`

	// Default bandwidth in Mbps. It cannot exceed the bandwidth range. For more information, see `DescribeConfig`.
	DefaultBandWidth *int64 `json:"DefaultBandWidth,omitempty" name:"DefaultBandWidth"`

	// Default image ID, such as `img-qsdf3ff2`.
	DefaultImageId *string `json:"DefaultImageId,omitempty" name:"DefaultImageId"`

	// Model ID.
	InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"`

	// Default system disk size in GB. It is 50 GB by default and cannot exceed the system disk size range. For more information, see `DescribeConfig`.
	DefaultSystemDiskSize *int64 `json:"DefaultSystemDiskSize,omitempty" name:"DefaultSystemDiskSize"`

	// Default data disk size in GB. It cannot exceed the system disk size range. For more information, see `DescribeConfig`.
	DefaultDataDiskSize *int64 `json:"DefaultDataDiskSize,omitempty" name:"DefaultDataDiskSize"`

	// Whether to disable IP direct access. Valid values:
	// true: yes
	// false: no
	CloseIpDirect *bool `json:"CloseIpDirect,omitempty" name:"CloseIpDirect"`

	// List of tags.
	TagSpecification []*TagSpecification `json:"TagSpecification,omitempty" name:"TagSpecification"`

	// List of default module security groups
	SecurityGroups []*string `json:"SecurityGroups,omitempty" name:"SecurityGroups"`

	// Default inbound bandwidth in Mbps. It cannot exceed the bandwidth range. For more information, see `DescribeConfig`.
	DefaultBandWidthIn *int64 `json:"DefaultBandWidthIn,omitempty" name:"DefaultBandWidthIn"`

	// Whether to prohibit public IP assignment
	DisableWanIp *bool `json:"DisableWanIp,omitempty" name:"DisableWanIp"`

	// System disk information.
	SystemDisk *SystemDisk `json:"SystemDisk,omitempty" name:"SystemDisk"`

	// Data disk information.
	DataDisks []*DataDisk `json:"DataDisks,omitempty" name:"DataDisks"`
}

func NewCreateModuleRequest

func NewCreateModuleRequest() (request *CreateModuleRequest)

func (*CreateModuleRequest) FromJsonString

func (r *CreateModuleRequest) 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 (*CreateModuleRequest) ToJsonString

func (r *CreateModuleRequest) ToJsonString() string

type CreateModuleResponse

type CreateModuleResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Module ID. It is the ID assigned to a module after it is created successfully.
		ModuleId *string `json:"ModuleId,omitempty" name:"ModuleId"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateModuleResponse

func NewCreateModuleResponse() (response *CreateModuleResponse)

func (*CreateModuleResponse) FromJsonString

func (r *CreateModuleResponse) 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 (*CreateModuleResponse) ToJsonString

func (r *CreateModuleResponse) ToJsonString() string

type CreateNetworkInterfaceRequest

type CreateNetworkInterfaceRequest struct {
	*tchttp.BaseRequest

	// VPC instance ID, which can be obtained from the `VpcId` field in the returned value of the `DescribeVpcs` API.
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// ENI name, which can contain up to 60 bytes.
	NetworkInterfaceName *string `json:"NetworkInterfaceName,omitempty" name:"NetworkInterfaceName"`

	// Subnet instance ID of the ENI, such as 'subnet-0ap8nwca'.
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`

	// ECM region, such as `ap-xian-ecm`.
	EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"`

	// ENI description. You can enter any information within 60 characters.
	NetworkInterfaceDescription *string `json:"NetworkInterfaceDescription,omitempty" name:"NetworkInterfaceDescription"`

	// Number of private IP addresses applied for. The total number of private IP addresses cannot exceed the quota.
	SecondaryPrivateIpAddressCount *uint64 `json:"SecondaryPrivateIpAddressCount,omitempty" name:"SecondaryPrivateIpAddressCount"`

	// The security group to be bound with, such as ['sg-1dd51d'].
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds"`

	// Information of the specified private IPs. You can specify up to 10 IPs at a time.
	PrivateIpAddresses []*PrivateIpAddressSpecification `json:"PrivateIpAddresses,omitempty" name:"PrivateIpAddresses"`

	// List of bound tags, such as [{"Key": "city", "Value": "shanghai"}].
	Tags []*Tag `json:"Tags,omitempty" name:"Tags"`
}

func NewCreateNetworkInterfaceRequest

func NewCreateNetworkInterfaceRequest() (request *CreateNetworkInterfaceRequest)

func (*CreateNetworkInterfaceRequest) FromJsonString

func (r *CreateNetworkInterfaceRequest) 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 (*CreateNetworkInterfaceRequest) ToJsonString

func (r *CreateNetworkInterfaceRequest) ToJsonString() string

type CreateNetworkInterfaceResponse

type CreateNetworkInterfaceResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// ENI instance.
		NetworkInterface *NetworkInterface `json:"NetworkInterface,omitempty" name:"NetworkInterface"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateNetworkInterfaceResponse

func NewCreateNetworkInterfaceResponse() (response *CreateNetworkInterfaceResponse)

func (*CreateNetworkInterfaceResponse) FromJsonString

func (r *CreateNetworkInterfaceResponse) 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 (*CreateNetworkInterfaceResponse) ToJsonString

func (r *CreateNetworkInterfaceResponse) ToJsonString() string

type CreateRouteTableRequest

type CreateRouteTableRequest struct {
	*tchttp.BaseRequest

	// ID of the VPC instance to be manipulated, which can be obtained from the `VpcId` field in the returned value of the `DescribeVpcs` API.
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// Route table name, which can contain up to 60 bytes.
	RouteTableName *string `json:"RouteTableName,omitempty" name:"RouteTableName"`

	// ECM region
	EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"`
}

func NewCreateRouteTableRequest

func NewCreateRouteTableRequest() (request *CreateRouteTableRequest)

func (*CreateRouteTableRequest) FromJsonString

func (r *CreateRouteTableRequest) 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 (*CreateRouteTableRequest) ToJsonString

func (r *CreateRouteTableRequest) ToJsonString() string

type CreateRouteTableResponse

type CreateRouteTableResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Route table object
		RouteTable *RouteTable `json:"RouteTable,omitempty" name:"RouteTable"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateRouteTableResponse

func NewCreateRouteTableResponse() (response *CreateRouteTableResponse)

func (*CreateRouteTableResponse) FromJsonString

func (r *CreateRouteTableResponse) 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 (*CreateRouteTableResponse) ToJsonString

func (r *CreateRouteTableResponse) ToJsonString() string

type CreateRoutesRequest

type CreateRoutesRequest struct {
	*tchttp.BaseRequest

	// Route table instance ID.
	RouteTableId *string `json:"RouteTableId,omitempty" name:"RouteTableId"`

	// Routing policy object to be created.
	Routes []*Route `json:"Routes,omitempty" name:"Routes"`
}

func NewCreateRoutesRequest

func NewCreateRoutesRequest() (request *CreateRoutesRequest)

func (*CreateRoutesRequest) FromJsonString

func (r *CreateRoutesRequest) 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 (*CreateRoutesRequest) ToJsonString

func (r *CreateRoutesRequest) ToJsonString() string

type CreateRoutesResponse

type CreateRoutesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Number of added instances.
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// Route table object.
		// Note: this field may return null, indicating that no valid values can be obtained.
		RouteTableSet []*RouteTable `json:"RouteTableSet,omitempty" name:"RouteTableSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateRoutesResponse

func NewCreateRoutesResponse() (response *CreateRoutesResponse)

func (*CreateRoutesResponse) FromJsonString

func (r *CreateRoutesResponse) 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 (*CreateRoutesResponse) ToJsonString

func (r *CreateRoutesResponse) ToJsonString() string

type CreateSecurityGroupPoliciesRequest

type CreateSecurityGroupPoliciesRequest struct {
	*tchttp.BaseRequest

	// Security group instance ID, such as `esg-33ocnj9n`, which can be obtained through the `DescribeSecurityGroups` API.
	SecurityGroupId *string `json:"SecurityGroupId,omitempty" name:"SecurityGroupId"`

	// Security group policy set.
	SecurityGroupPolicySet *SecurityGroupPolicySet `json:"SecurityGroupPolicySet,omitempty" name:"SecurityGroupPolicySet"`
}

func NewCreateSecurityGroupPoliciesRequest

func NewCreateSecurityGroupPoliciesRequest() (request *CreateSecurityGroupPoliciesRequest)

func (*CreateSecurityGroupPoliciesRequest) FromJsonString

func (r *CreateSecurityGroupPoliciesRequest) 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 (*CreateSecurityGroupPoliciesRequest) ToJsonString

func (r *CreateSecurityGroupPoliciesRequest) ToJsonString() string

type CreateSecurityGroupPoliciesResponse

type CreateSecurityGroupPoliciesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateSecurityGroupPoliciesResponse

func NewCreateSecurityGroupPoliciesResponse() (response *CreateSecurityGroupPoliciesResponse)

func (*CreateSecurityGroupPoliciesResponse) FromJsonString

func (r *CreateSecurityGroupPoliciesResponse) 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 (*CreateSecurityGroupPoliciesResponse) ToJsonString

func (r *CreateSecurityGroupPoliciesResponse) ToJsonString() string

type CreateSecurityGroupRequest

type CreateSecurityGroupRequest struct {
	*tchttp.BaseRequest

	// Security group name, which can be customized with up to 60 characters.
	GroupName *string `json:"GroupName,omitempty" name:"GroupName"`

	// Security group remarks, which can contain up to 100 characters.
	GroupDescription *string `json:"GroupDescription,omitempty" name:"GroupDescription"`

	// List of bound tags, such as [{"Key": "city", "Value": "shanghai"}].
	Tags []*Tag `json:"Tags,omitempty" name:"Tags"`
}

func NewCreateSecurityGroupRequest

func NewCreateSecurityGroupRequest() (request *CreateSecurityGroupRequest)

func (*CreateSecurityGroupRequest) FromJsonString

func (r *CreateSecurityGroupRequest) 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 (*CreateSecurityGroupRequest) ToJsonString

func (r *CreateSecurityGroupRequest) ToJsonString() string

type CreateSecurityGroupResponse

type CreateSecurityGroupResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Security group object.
		SecurityGroup *SecurityGroup `json:"SecurityGroup,omitempty" name:"SecurityGroup"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateSecurityGroupResponse

func NewCreateSecurityGroupResponse() (response *CreateSecurityGroupResponse)

func (*CreateSecurityGroupResponse) FromJsonString

func (r *CreateSecurityGroupResponse) 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 (*CreateSecurityGroupResponse) ToJsonString

func (r *CreateSecurityGroupResponse) ToJsonString() string

type CreateSubnetRequest

type CreateSubnetRequest struct {
	*tchttp.BaseRequest

	// ID of the VPC instance to be manipulated, which can be obtained from the `VpcId` field in the returned value of the `DescribeVpcs` API.
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// Subnet name, which can contain up to 60 bytes.
	SubnetName *string `json:"SubnetName,omitempty" name:"SubnetName"`

	// Subnet IP address range. It must be within the VPC IP address range. Subnet IP address ranges cannot overlap with each other within the same VPC.
	CidrBlock *string `json:"CidrBlock,omitempty" name:"CidrBlock"`

	// AZ ID of the subnet. You can select different AZs for different subnets for cross-AZ disaster recovery.
	Zone *string `json:"Zone,omitempty" name:"Zone"`

	// ECM region
	EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"`

	// List of bound tags, such as [{"Key": "city", "Value": "shanghai"}].
	Tags []*Tag `json:"Tags,omitempty" name:"Tags"`
}

func NewCreateSubnetRequest

func NewCreateSubnetRequest() (request *CreateSubnetRequest)

func (*CreateSubnetRequest) FromJsonString

func (r *CreateSubnetRequest) 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 (*CreateSubnetRequest) ToJsonString

func (r *CreateSubnetRequest) ToJsonString() string

type CreateSubnetResponse

type CreateSubnetResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Subnet object.
		Subnet *Subnet `json:"Subnet,omitempty" name:"Subnet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateSubnetResponse

func NewCreateSubnetResponse() (response *CreateSubnetResponse)

func (*CreateSubnetResponse) FromJsonString

func (r *CreateSubnetResponse) 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 (*CreateSubnetResponse) ToJsonString

func (r *CreateSubnetResponse) ToJsonString() string

type CreateVpcRequest

type CreateVpcRequest struct {
	*tchttp.BaseRequest

	// VPC name, which can contain up to 60 bytes.
	VpcName *string `json:"VpcName,omitempty" name:"VpcName"`

	// VPC CIDR block, which must fall within the following private network IP ranges: 10.*.0.0/16, 172.[16-31].0.0/16, and 192.168.0.0/16.
	CidrBlock *string `json:"CidrBlock,omitempty" name:"CidrBlock"`

	// ECM region
	EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"`

	// Whether multicast is enabled. true: enabled; false: disabled. This parameter is not supported currently
	EnableMulticast *string `json:"EnableMulticast,omitempty" name:"EnableMulticast"`

	// DNS address (not supported currently). Up to 4 addresses can be supported.
	DnsServers []*string `json:"DnsServers,omitempty" name:"DnsServers"`

	// Domain name. This parameter is not supported currently
	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`

	// List of bound tags, such as [{"Key": "city", "Value": "shanghai"}].
	Tags []*Tag `json:"Tags,omitempty" name:"Tags"`

	// Description
	Description *string `json:"Description,omitempty" name:"Description"`
}

func NewCreateVpcRequest

func NewCreateVpcRequest() (request *CreateVpcRequest)

func (*CreateVpcRequest) FromJsonString

func (r *CreateVpcRequest) 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 (*CreateVpcRequest) ToJsonString

func (r *CreateVpcRequest) ToJsonString() string

type CreateVpcResponse

type CreateVpcResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// VPC object.
		Vpc *VpcInfo `json:"Vpc,omitempty" name:"Vpc"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateVpcResponse

func NewCreateVpcResponse() (response *CreateVpcResponse)

func (*CreateVpcResponse) FromJsonString

func (r *CreateVpcResponse) 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 (*CreateVpcResponse) ToJsonString

func (r *CreateVpcResponse) ToJsonString() string

type DataDisk

type DataDisk struct {

	// Data disk size in GB.
	DiskSize *int64 `json:"DiskSize,omitempty" name:"DiskSize"`

	// Data disk type. Valid values:
	// - LOCAL_BASIC: local disk
	// - CLOUD_PREMIUM: Premium Cloud Storage
	//
	// Default value: LOCAL_BASIC.
	DiskType *string `json:"DiskType,omitempty" name:"DiskType"`
}

type DeleteHaVipRequest

type DeleteHaVipRequest struct {
	*tchttp.BaseRequest

	// Unique HAVIP ID, such as `havip-9o233uri`.
	HaVipId *string `json:"HaVipId,omitempty" name:"HaVipId"`
}

func NewDeleteHaVipRequest

func NewDeleteHaVipRequest() (request *DeleteHaVipRequest)

func (*DeleteHaVipRequest) FromJsonString

func (r *DeleteHaVipRequest) 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 (*DeleteHaVipRequest) ToJsonString

func (r *DeleteHaVipRequest) ToJsonString() string

type DeleteHaVipResponse

type DeleteHaVipResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteHaVipResponse

func NewDeleteHaVipResponse() (response *DeleteHaVipResponse)

func (*DeleteHaVipResponse) FromJsonString

func (r *DeleteHaVipResponse) 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 (*DeleteHaVipResponse) ToJsonString

func (r *DeleteHaVipResponse) ToJsonString() string

type DeleteImageRequest

type DeleteImageRequest struct {
	*tchttp.BaseRequest

	// List of image IDs.
	ImageIDSet []*string `json:"ImageIDSet,omitempty" name:"ImageIDSet"`
}

func NewDeleteImageRequest

func NewDeleteImageRequest() (request *DeleteImageRequest)

func (*DeleteImageRequest) FromJsonString

func (r *DeleteImageRequest) 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 (*DeleteImageRequest) ToJsonString

func (r *DeleteImageRequest) ToJsonString() string

type DeleteImageResponse

type DeleteImageResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteImageResponse

func NewDeleteImageResponse() (response *DeleteImageResponse)

func (*DeleteImageResponse) FromJsonString

func (r *DeleteImageResponse) 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 (*DeleteImageResponse) ToJsonString

func (r *DeleteImageResponse) ToJsonString() string

type DeleteListenerRequest

type DeleteListenerRequest struct {
	*tchttp.BaseRequest

	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"`

	// ID of the listener to be deleted
	ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"`
}

func NewDeleteListenerRequest

func NewDeleteListenerRequest() (request *DeleteListenerRequest)

func (*DeleteListenerRequest) FromJsonString

func (r *DeleteListenerRequest) 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 (*DeleteListenerRequest) ToJsonString

func (r *DeleteListenerRequest) ToJsonString() string

type DeleteListenerResponse

type DeleteListenerResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteListenerResponse

func NewDeleteListenerResponse() (response *DeleteListenerResponse)

func (*DeleteListenerResponse) FromJsonString

func (r *DeleteListenerResponse) 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 (*DeleteListenerResponse) ToJsonString

func (r *DeleteListenerResponse) ToJsonString() string

type DeleteLoadBalancerListenersRequest

type DeleteLoadBalancerListenersRequest struct {
	*tchttp.BaseRequest

	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"`

	// Array of IDs of the listeners to be deleted. If this parameter is left empty, all listeners of the CLB instance will be deleted
	ListenerIds []*string `json:"ListenerIds,omitempty" name:"ListenerIds"`
}

func NewDeleteLoadBalancerListenersRequest

func NewDeleteLoadBalancerListenersRequest() (request *DeleteLoadBalancerListenersRequest)

func (*DeleteLoadBalancerListenersRequest) FromJsonString

func (r *DeleteLoadBalancerListenersRequest) 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 (*DeleteLoadBalancerListenersRequest) ToJsonString

func (r *DeleteLoadBalancerListenersRequest) ToJsonString() string

type DeleteLoadBalancerListenersResponse

type DeleteLoadBalancerListenersResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteLoadBalancerListenersResponse

func NewDeleteLoadBalancerListenersResponse() (response *DeleteLoadBalancerListenersResponse)

func (*DeleteLoadBalancerListenersResponse) FromJsonString

func (r *DeleteLoadBalancerListenersResponse) 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 (*DeleteLoadBalancerListenersResponse) ToJsonString

func (r *DeleteLoadBalancerListenersResponse) ToJsonString() string

type DeleteLoadBalancerRequest

type DeleteLoadBalancerRequest struct {
	*tchttp.BaseRequest

	// Array of IDs of the CLB instances to be deleted. Array length limit: 20
	LoadBalancerIds []*string `json:"LoadBalancerIds,omitempty" name:"LoadBalancerIds"`
}

func NewDeleteLoadBalancerRequest

func NewDeleteLoadBalancerRequest() (request *DeleteLoadBalancerRequest)

func (*DeleteLoadBalancerRequest) FromJsonString

func (r *DeleteLoadBalancerRequest) 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 (*DeleteLoadBalancerRequest) ToJsonString

func (r *DeleteLoadBalancerRequest) ToJsonString() string

type DeleteLoadBalancerResponse

type DeleteLoadBalancerResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteLoadBalancerResponse

func NewDeleteLoadBalancerResponse() (response *DeleteLoadBalancerResponse)

func (*DeleteLoadBalancerResponse) FromJsonString

func (r *DeleteLoadBalancerResponse) 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 (*DeleteLoadBalancerResponse) ToJsonString

func (r *DeleteLoadBalancerResponse) ToJsonString() string

type DeleteModuleRequest

type DeleteModuleRequest struct {
	*tchttp.BaseRequest

	// Module ID, such as `em-qn46snq8`.
	ModuleId *string `json:"ModuleId,omitempty" name:"ModuleId"`
}

func NewDeleteModuleRequest

func NewDeleteModuleRequest() (request *DeleteModuleRequest)

func (*DeleteModuleRequest) FromJsonString

func (r *DeleteModuleRequest) 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 (*DeleteModuleRequest) ToJsonString

func (r *DeleteModuleRequest) ToJsonString() string

type DeleteModuleResponse

type DeleteModuleResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteModuleResponse

func NewDeleteModuleResponse() (response *DeleteModuleResponse)

func (*DeleteModuleResponse) FromJsonString

func (r *DeleteModuleResponse) 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 (*DeleteModuleResponse) ToJsonString

func (r *DeleteModuleResponse) ToJsonString() string

type DeleteNetworkInterfaceRequest

type DeleteNetworkInterfaceRequest struct {
	*tchttp.BaseRequest

	// ENI instance ID, such as `eni-m6dyj72l`.
	NetworkInterfaceId *string `json:"NetworkInterfaceId,omitempty" name:"NetworkInterfaceId"`

	// ECM region, such as `ap-xian-ecm`.
	EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"`
}

func NewDeleteNetworkInterfaceRequest

func NewDeleteNetworkInterfaceRequest() (request *DeleteNetworkInterfaceRequest)

func (*DeleteNetworkInterfaceRequest) FromJsonString

func (r *DeleteNetworkInterfaceRequest) 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 (*DeleteNetworkInterfaceRequest) ToJsonString

func (r *DeleteNetworkInterfaceRequest) ToJsonString() string

type DeleteNetworkInterfaceResponse

type DeleteNetworkInterfaceResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteNetworkInterfaceResponse

func NewDeleteNetworkInterfaceResponse() (response *DeleteNetworkInterfaceResponse)

func (*DeleteNetworkInterfaceResponse) FromJsonString

func (r *DeleteNetworkInterfaceResponse) 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 (*DeleteNetworkInterfaceResponse) ToJsonString

func (r *DeleteNetworkInterfaceResponse) ToJsonString() string

type DeleteRouteTableRequest

type DeleteRouteTableRequest struct {
	*tchttp.BaseRequest

	// Route table instance ID, such as `rtb-azd4dt1c`
	RouteTableId *string `json:"RouteTableId,omitempty" name:"RouteTableId"`
}

func NewDeleteRouteTableRequest

func NewDeleteRouteTableRequest() (request *DeleteRouteTableRequest)

func (*DeleteRouteTableRequest) FromJsonString

func (r *DeleteRouteTableRequest) 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 (*DeleteRouteTableRequest) ToJsonString

func (r *DeleteRouteTableRequest) ToJsonString() string

type DeleteRouteTableResponse

type DeleteRouteTableResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteRouteTableResponse

func NewDeleteRouteTableResponse() (response *DeleteRouteTableResponse)

func (*DeleteRouteTableResponse) FromJsonString

func (r *DeleteRouteTableResponse) 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 (*DeleteRouteTableResponse) ToJsonString

func (r *DeleteRouteTableResponse) ToJsonString() string

type DeleteRoutesRequest

type DeleteRoutesRequest struct {
	*tchttp.BaseRequest

	// Unique route table ID.
	RouteTableId *string `json:"RouteTableId,omitempty" name:"RouteTableId"`

	// Routing policy object.
	Routes []*Route `json:"Routes,omitempty" name:"Routes"`
}

func NewDeleteRoutesRequest

func NewDeleteRoutesRequest() (request *DeleteRoutesRequest)

func (*DeleteRoutesRequest) FromJsonString

func (r *DeleteRoutesRequest) 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 (*DeleteRoutesRequest) ToJsonString

func (r *DeleteRoutesRequest) ToJsonString() string

type DeleteRoutesResponse

type DeleteRoutesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteRoutesResponse

func NewDeleteRoutesResponse() (response *DeleteRoutesResponse)

func (*DeleteRoutesResponse) FromJsonString

func (r *DeleteRoutesResponse) 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 (*DeleteRoutesResponse) ToJsonString

func (r *DeleteRoutesResponse) ToJsonString() string

type DeleteSecurityGroupPoliciesRequest

type DeleteSecurityGroupPoliciesRequest struct {
	*tchttp.BaseRequest

	// Security group instance ID, such as `esg-33ocnj9n`, which can be obtained through the `DescribeSecurityGroups` API.
	SecurityGroupId *string `json:"SecurityGroupId,omitempty" name:"SecurityGroupId"`

	// Security group policy set. You can only delete one or more policies in one direction in one request. Both PolicyIndex-matching deletion and security group policy-matching deletion methods are supported. You can use only one matching method in one request.
	SecurityGroupPolicySet *SecurityGroupPolicySet `json:"SecurityGroupPolicySet,omitempty" name:"SecurityGroupPolicySet"`
}

func NewDeleteSecurityGroupPoliciesRequest

func NewDeleteSecurityGroupPoliciesRequest() (request *DeleteSecurityGroupPoliciesRequest)

func (*DeleteSecurityGroupPoliciesRequest) FromJsonString

func (r *DeleteSecurityGroupPoliciesRequest) 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 (*DeleteSecurityGroupPoliciesRequest) ToJsonString

func (r *DeleteSecurityGroupPoliciesRequest) ToJsonString() string

type DeleteSecurityGroupPoliciesResponse

type DeleteSecurityGroupPoliciesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteSecurityGroupPoliciesResponse

func NewDeleteSecurityGroupPoliciesResponse() (response *DeleteSecurityGroupPoliciesResponse)

func (*DeleteSecurityGroupPoliciesResponse) FromJsonString

func (r *DeleteSecurityGroupPoliciesResponse) 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 (*DeleteSecurityGroupPoliciesResponse) ToJsonString

func (r *DeleteSecurityGroupPoliciesResponse) ToJsonString() string

type DeleteSecurityGroupRequest

type DeleteSecurityGroupRequest struct {
	*tchttp.BaseRequest

	// Security group instance ID, such as `esg-33ocnj9n`, which can be obtained through the `DescribeSecurityGroups` API.
	SecurityGroupId *string `json:"SecurityGroupId,omitempty" name:"SecurityGroupId"`
}

func NewDeleteSecurityGroupRequest

func NewDeleteSecurityGroupRequest() (request *DeleteSecurityGroupRequest)

func (*DeleteSecurityGroupRequest) FromJsonString

func (r *DeleteSecurityGroupRequest) 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 (*DeleteSecurityGroupRequest) ToJsonString

func (r *DeleteSecurityGroupRequest) ToJsonString() string

type DeleteSecurityGroupResponse

type DeleteSecurityGroupResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteSecurityGroupResponse

func NewDeleteSecurityGroupResponse() (response *DeleteSecurityGroupResponse)

func (*DeleteSecurityGroupResponse) FromJsonString

func (r *DeleteSecurityGroupResponse) 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 (*DeleteSecurityGroupResponse) ToJsonString

func (r *DeleteSecurityGroupResponse) ToJsonString() string

type DeleteSnapshotsRequest

type DeleteSnapshotsRequest struct {
	*tchttp.BaseRequest

	// List of IDs of the snapshots to be deleted, which can be queried through [DescribeSnapshots](https://intl.cloud.tencent.com/document/product/362/15647?from_cn_redirect=1).
	SnapshotIds []*string `json:"SnapshotIds,omitempty" name:"SnapshotIds"`

	// Whether to force delete the images associated with the snapshot.
	DeleteBindImages *bool `json:"DeleteBindImages,omitempty" name:"DeleteBindImages"`
}

func NewDeleteSnapshotsRequest

func NewDeleteSnapshotsRequest() (request *DeleteSnapshotsRequest)

func (*DeleteSnapshotsRequest) FromJsonString

func (r *DeleteSnapshotsRequest) 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 (*DeleteSnapshotsRequest) ToJsonString

func (r *DeleteSnapshotsRequest) ToJsonString() string

type DeleteSnapshotsResponse

type DeleteSnapshotsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteSnapshotsResponse

func NewDeleteSnapshotsResponse() (response *DeleteSnapshotsResponse)

func (*DeleteSnapshotsResponse) FromJsonString

func (r *DeleteSnapshotsResponse) 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 (*DeleteSnapshotsResponse) ToJsonString

func (r *DeleteSnapshotsResponse) ToJsonString() string

type DeleteSubnetRequest

type DeleteSubnetRequest struct {
	*tchttp.BaseRequest

	// Subnet instance ID, which can be obtained from the `SubnetId` field in the returned value of the `DescribeSubnets` API.
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`

	// ECM region
	EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"`
}

func NewDeleteSubnetRequest

func NewDeleteSubnetRequest() (request *DeleteSubnetRequest)

func (*DeleteSubnetRequest) FromJsonString

func (r *DeleteSubnetRequest) 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 (*DeleteSubnetRequest) ToJsonString

func (r *DeleteSubnetRequest) ToJsonString() string

type DeleteSubnetResponse

type DeleteSubnetResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteSubnetResponse

func NewDeleteSubnetResponse() (response *DeleteSubnetResponse)

func (*DeleteSubnetResponse) FromJsonString

func (r *DeleteSubnetResponse) 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 (*DeleteSubnetResponse) ToJsonString

func (r *DeleteSubnetResponse) ToJsonString() string

type DeleteVpcRequest

type DeleteVpcRequest struct {
	*tchttp.BaseRequest

	// VPC instance ID, which can be obtained from the `VpcId` field in the returned value of the `DescribeVpcs` API.
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// ECM region
	EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"`
}

func NewDeleteVpcRequest

func NewDeleteVpcRequest() (request *DeleteVpcRequest)

func (*DeleteVpcRequest) FromJsonString

func (r *DeleteVpcRequest) 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 (*DeleteVpcRequest) ToJsonString

func (r *DeleteVpcRequest) ToJsonString() string

type DeleteVpcResponse

type DeleteVpcResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteVpcResponse

func NewDeleteVpcResponse() (response *DeleteVpcResponse)

func (*DeleteVpcResponse) FromJsonString

func (r *DeleteVpcResponse) 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 (*DeleteVpcResponse) ToJsonString

func (r *DeleteVpcResponse) ToJsonString() string

type DescribeAddressQuotaRequest

type DescribeAddressQuotaRequest struct {
	*tchttp.BaseRequest

	// ECM region
	EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"`
}

func NewDescribeAddressQuotaRequest

func NewDescribeAddressQuotaRequest() (request *DescribeAddressQuotaRequest)

func (*DescribeAddressQuotaRequest) FromJsonString

func (r *DescribeAddressQuotaRequest) 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 (*DescribeAddressQuotaRequest) ToJsonString

func (r *DescribeAddressQuotaRequest) ToJsonString() string

type DescribeAddressQuotaResponse

type DescribeAddressQuotaResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Quota information of EIPs in the account.
		QuotaSet []*EipQuota `json:"QuotaSet,omitempty" name:"QuotaSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeAddressQuotaResponse

func NewDescribeAddressQuotaResponse() (response *DescribeAddressQuotaResponse)

func (*DescribeAddressQuotaResponse) FromJsonString

func (r *DescribeAddressQuotaResponse) 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 (*DescribeAddressQuotaResponse) ToJsonString

func (r *DescribeAddressQuotaResponse) ToJsonString() string

type DescribeAddressesRequest

type DescribeAddressesRequest struct {
	*tchttp.BaseRequest

	// ECM region
	EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"`

	// List of unique IDs of EIPs, such as `eip-11112222`. `AddressIds` and `Filters` cannot be specified at the same time.
	AddressIds []*string `json:"AddressIds,omitempty" name:"AddressIds"`

	// Each request can contain up to 10 `Filters` and 5 `Filter.Values`. `AddressIds` and `Filters` cannot be specified at the same time. The detailed filters are as follows:
	// address-id - String - Required: no - (Filter) Filter by unique EIP ID, such as `eip-11112222`.
	// address-name - String - Required: no - (Filter) Filter by EIP name. Fuzzy filtering is not supported.
	// address-ip - String - Required: no - (Filter) Filter by EIP IP address.
	// address-status - String - Required: no - (Filter) Filter by EIP status. Value range: see the list of EIP status.
	// instance-id - String - Required: no - (Filter) Filter by the ID of the instance bound to the EIP, such as `ins-11112222`.
	// private-ip-address - String - Required: no - (Filter) Filter by the private IP bound to the EIP.
	// network-interface-id - String - Required: no - (Filter) Filter by ID of the ENI bound to the EIP, such as `eni-11112222`.
	// is-arrears - String - Required: no - (Filter) Filter by whether the EIP is overdue (TRUE: the EIP is overdue | FALSE: the billing status of the EIP is normal)
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of results to be returned. Default value: 20. Maximum value: 100.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}

func NewDescribeAddressesRequest

func NewDescribeAddressesRequest() (request *DescribeAddressesRequest)

func (*DescribeAddressesRequest) FromJsonString

func (r *DescribeAddressesRequest) 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 (*DescribeAddressesRequest) ToJsonString

func (r *DescribeAddressesRequest) ToJsonString() string

type DescribeAddressesResponse

type DescribeAddressesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Number of eligible EIPs.
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// List of EIP details.
		AddressSet []*Address `json:"AddressSet,omitempty" name:"AddressSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeAddressesResponse

func NewDescribeAddressesResponse() (response *DescribeAddressesResponse)

func (*DescribeAddressesResponse) FromJsonString

func (r *DescribeAddressesResponse) 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 (*DescribeAddressesResponse) ToJsonString

func (r *DescribeAddressesResponse) ToJsonString() string

type DescribeBaseOverviewRequest

type DescribeBaseOverviewRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeBaseOverviewRequest

func NewDescribeBaseOverviewRequest() (request *DescribeBaseOverviewRequest)

func (*DescribeBaseOverviewRequest) FromJsonString

func (r *DescribeBaseOverviewRequest) 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 (*DescribeBaseOverviewRequest) ToJsonString

func (r *DescribeBaseOverviewRequest) ToJsonString() string

type DescribeBaseOverviewResponse

type DescribeBaseOverviewResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Number of modules
		ModuleNum *int64 `json:"ModuleNum,omitempty" name:"ModuleNum"`

		// Number of nodes
		NodeNum *int64 `json:"NodeNum,omitempty" name:"NodeNum"`

		// Number of CPU cores
		VcpuNum *int64 `json:"VcpuNum,omitempty" name:"VcpuNum"`

		// Memory size in GB
		MemoryNum *int64 `json:"MemoryNum,omitempty" name:"MemoryNum"`

		// Disk size in GB
		StorageNum *int64 `json:"StorageNum,omitempty" name:"StorageNum"`

		// Yesterday's network peak in Mbps
		NetworkNum *int64 `json:"NetworkNum,omitempty" name:"NetworkNum"`

		// Number of instances
		InstanceNum *int64 `json:"InstanceNum,omitempty" name:"InstanceNum"`

		// Number of running instances
		RunningNum *int64 `json:"RunningNum,omitempty" name:"RunningNum"`

		// Number of isolated instances
		IsolationNum *int64 `json:"IsolationNum,omitempty" name:"IsolationNum"`

		// Number of expired instances
		ExpiredNum *int64 `json:"ExpiredNum,omitempty" name:"ExpiredNum"`

		// Number of instances about to expire
		WillExpireNum *int64 `json:"WillExpireNum,omitempty" name:"WillExpireNum"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeBaseOverviewResponse

func NewDescribeBaseOverviewResponse() (response *DescribeBaseOverviewResponse)

func (*DescribeBaseOverviewResponse) FromJsonString

func (r *DescribeBaseOverviewResponse) 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 (*DescribeBaseOverviewResponse) ToJsonString

func (r *DescribeBaseOverviewResponse) ToJsonString() string

type DescribeConfigRequest

type DescribeConfigRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeConfigRequest

func NewDescribeConfigRequest() (request *DescribeConfigRequest)

func (*DescribeConfigRequest) FromJsonString

func (r *DescribeConfigRequest) 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 (*DescribeConfigRequest) ToJsonString

func (r *DescribeConfigRequest) ToJsonString() string

type DescribeConfigResponse

type DescribeConfigResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Range of the network bandwidth disk size.
		NetworkStorageRange *NetworkStorageRange `json:"NetworkStorageRange,omitempty" name:"NetworkStorageRange"`

		// Image OS allowlist.
		// Note: this field may return null, indicating that no valid values can be obtained.
		ImageWhiteSet []*string `json:"ImageWhiteSet,omitempty" name:"ImageWhiteSet"`

		// Network quota information.
		// Note: this field may return null, indicating that no valid values can be obtained.
		InstanceNetworkLimitConfigs []*InstanceNetworkLimitConfig `json:"InstanceNetworkLimitConfigs,omitempty" name:"InstanceNetworkLimitConfigs"`

		// Image quota information.
		// Note: this field may return null, indicating that no valid values can be obtained.
		ImageLimits *ImageLimitConfig `json:"ImageLimits,omitempty" name:"ImageLimits"`

		// Default IP direct access, used in scenarios with direct access parameters such as module creation and virtual machine purchase.
		DefaultIPDirect *bool `json:"DefaultIPDirect,omitempty" name:"DefaultIPDirect"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeConfigResponse

func NewDescribeConfigResponse() (response *DescribeConfigResponse)

func (*DescribeConfigResponse) FromJsonString

func (r *DescribeConfigResponse) 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 (*DescribeConfigResponse) ToJsonString

func (r *DescribeConfigResponse) ToJsonString() string

type DescribeCustomImageTaskRequest

type DescribeCustomImageTaskRequest struct {
	*tchttp.BaseRequest

	// Supports querying by key and value.
	// task-id: async task ID
	// image-id: image ID
	// image-name: image name
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
}

func NewDescribeCustomImageTaskRequest

func NewDescribeCustomImageTaskRequest() (request *DescribeCustomImageTaskRequest)

func (*DescribeCustomImageTaskRequest) FromJsonString

func (r *DescribeCustomImageTaskRequest) 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 (*DescribeCustomImageTaskRequest) ToJsonString

func (r *DescribeCustomImageTaskRequest) ToJsonString() string

type DescribeCustomImageTaskResponse

type DescribeCustomImageTaskResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Import task details
		// Note: this field may return null, indicating that no valid values can be obtained.
		ImageTaskSet []*ImageTask `json:"ImageTaskSet,omitempty" name:"ImageTaskSet"`

		// Total number
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeCustomImageTaskResponse

func NewDescribeCustomImageTaskResponse() (response *DescribeCustomImageTaskResponse)

func (*DescribeCustomImageTaskResponse) FromJsonString

func (r *DescribeCustomImageTaskResponse) 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 (*DescribeCustomImageTaskResponse) ToJsonString

func (r *DescribeCustomImageTaskResponse) ToJsonString() string

type DescribeDefaultSubnetRequest

type DescribeDefaultSubnetRequest struct {
	*tchttp.BaseRequest

	// ECM region
	EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"`

	// ECM AZ
	Zone *string `json:"Zone,omitempty" name:"Zone"`
}

func NewDescribeDefaultSubnetRequest

func NewDescribeDefaultSubnetRequest() (request *DescribeDefaultSubnetRequest)

func (*DescribeDefaultSubnetRequest) FromJsonString

func (r *DescribeDefaultSubnetRequest) 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 (*DescribeDefaultSubnetRequest) ToJsonString

func (r *DescribeDefaultSubnetRequest) ToJsonString() string

type DescribeDefaultSubnetResponse

type DescribeDefaultSubnetResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Default subnet information. If there is no subnet, this parameter will be empty.
		Subnet *Subnet `json:"Subnet,omitempty" name:"Subnet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeDefaultSubnetResponse

func NewDescribeDefaultSubnetResponse() (response *DescribeDefaultSubnetResponse)

func (*DescribeDefaultSubnetResponse) FromJsonString

func (r *DescribeDefaultSubnetResponse) 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 (*DescribeDefaultSubnetResponse) ToJsonString

func (r *DescribeDefaultSubnetResponse) ToJsonString() string

type DescribeHaVipsRequest

type DescribeHaVipsRequest struct {
	*tchttp.BaseRequest

	// Array of unique HAVIP IDs, such as `havip-9o233uri`.
	HaVipIds []*string `json:"HaVipIds,omitempty" name:"HaVipIds"`

	// Filter. `HaVipIds` and `Filters` cannot be specified at the same time.
	// havip-id - String - Unique HAVIP ID, such as `havip-9o233uri`.
	// havip-name - String - HAVIP name.
	// vpc-id - String - VPC ID of the HAVIP.
	// subnet-id - String - Subnet ID of the HAVIP.
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Number of returned results. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// ECM region. If this parameter is left empty, it will indicate all regions.
	EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"`
}

func NewDescribeHaVipsRequest

func NewDescribeHaVipsRequest() (request *DescribeHaVipsRequest)

func (*DescribeHaVipsRequest) FromJsonString

func (r *DescribeHaVipsRequest) 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 (*DescribeHaVipsRequest) ToJsonString

func (r *DescribeHaVipsRequest) ToJsonString() string

type DescribeHaVipsResponse

type DescribeHaVipsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Number of eligible objects.
		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// Array of HAVIP objects.
		// Note: this field may return null, indicating that no valid values can be obtained.
		HaVipSet []*HaVip `json:"HaVipSet,omitempty" name:"HaVipSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeHaVipsResponse

func NewDescribeHaVipsResponse() (response *DescribeHaVipsResponse)

func (*DescribeHaVipsResponse) FromJsonString

func (r *DescribeHaVipsResponse) 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 (*DescribeHaVipsResponse) ToJsonString

func (r *DescribeHaVipsResponse) ToJsonString() string

type DescribeImageRequest

type DescribeImageRequest struct {
	*tchttp.BaseRequest

	// Filter. Each request can contain up to 10 `Filters`. The detailed filters are as follows:
	// image-id - String - Required: no - (Filter) Filter by image ID.
	// image-type - String - Required: no - (Filter) Filter by image type. Valid values:
	// PRIVATE_IMAGE: private image created by the current account
	// PUBLIC_IMAGE: public image created by Tencent Cloud
	// instance-type -String - Required: no - (Filter) Filter supported images by model.
	// image-name - String - Required: no - (Filter) Fuzzy match by image name. You can provide only one value.
	// image-os - String - Required: no - (Filter) Fuzzy match by image system name. You can provide only one value.
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`

	// Offset. Default value: 0. For more information on `Offset`, see the relevant section of the API overview.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Number of returned results. Default value: 20. Maximum value: 100. For more information on `Limit`, see the relevant section of the API overview.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
}

func NewDescribeImageRequest

func NewDescribeImageRequest() (request *DescribeImageRequest)

func (*DescribeImageRequest) FromJsonString

func (r *DescribeImageRequest) 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 (*DescribeImageRequest) ToJsonString

func (r *DescribeImageRequest) ToJsonString() string

type DescribeImageResponse

type DescribeImageResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Total number of images
		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// Image array
		// Note: this field may return null, indicating that no valid values can be obtained.
		ImageSet []*Image `json:"ImageSet,omitempty" name:"ImageSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeImageResponse

func NewDescribeImageResponse() (response *DescribeImageResponse)

func (*DescribeImageResponse) FromJsonString

func (r *DescribeImageResponse) 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 (*DescribeImageResponse) ToJsonString

func (r *DescribeImageResponse) ToJsonString() string

type DescribeImportImageOsRequest

type DescribeImportImageOsRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeImportImageOsRequest

func NewDescribeImportImageOsRequest() (request *DescribeImportImageOsRequest)

func (*DescribeImportImageOsRequest) FromJsonString

func (r *DescribeImportImageOsRequest) 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 (*DescribeImportImageOsRequest) ToJsonString

func (r *DescribeImportImageOsRequest) ToJsonString() string

type DescribeImportImageOsResponse

type DescribeImportImageOsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Supported OS types of imported images.
		ImportImageOsListSupported *ImageOsList `json:"ImportImageOsListSupported,omitempty" name:"ImportImageOsListSupported"`

		// Supported OS versions of imported images.
		ImportImageOsVersionSet []*OsVersion `json:"ImportImageOsVersionSet,omitempty" name:"ImportImageOsVersionSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeImportImageOsResponse

func NewDescribeImportImageOsResponse() (response *DescribeImportImageOsResponse)

func (*DescribeImportImageOsResponse) FromJsonString

func (r *DescribeImportImageOsResponse) 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 (*DescribeImportImageOsResponse) ToJsonString

func (r *DescribeImportImageOsResponse) ToJsonString() string

type DescribeInstanceTypeConfigRequest

type DescribeInstanceTypeConfigRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeInstanceTypeConfigRequest

func NewDescribeInstanceTypeConfigRequest() (request *DescribeInstanceTypeConfigRequest)

func (*DescribeInstanceTypeConfigRequest) FromJsonString

func (r *DescribeInstanceTypeConfigRequest) 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 (*DescribeInstanceTypeConfigRequest) ToJsonString

func (r *DescribeInstanceTypeConfigRequest) ToJsonString() string

type DescribeInstanceTypeConfigResponse

type DescribeInstanceTypeConfigResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Total number
		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// Model configuration information
		// Note: this field may return null, indicating that no valid values can be obtained.
		InstanceTypeConfigSet []*InstanceTypeConfig `json:"InstanceTypeConfigSet,omitempty" name:"InstanceTypeConfigSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeInstanceTypeConfigResponse

func NewDescribeInstanceTypeConfigResponse() (response *DescribeInstanceTypeConfigResponse)

func (*DescribeInstanceTypeConfigResponse) FromJsonString

func (r *DescribeInstanceTypeConfigResponse) 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 (*DescribeInstanceTypeConfigResponse) ToJsonString

func (r *DescribeInstanceTypeConfigResponse) ToJsonString() string

type DescribeInstanceVncUrlRequest

type DescribeInstanceVncUrlRequest struct {
	*tchttp.BaseRequest

	// Instance ID, which can be obtained from the `InstanceId` field in the returned value of the `DescribeInstances` API.
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
}

func NewDescribeInstanceVncUrlRequest

func NewDescribeInstanceVncUrlRequest() (request *DescribeInstanceVncUrlRequest)

func (*DescribeInstanceVncUrlRequest) FromJsonString

func (r *DescribeInstanceVncUrlRequest) 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 (*DescribeInstanceVncUrlRequest) ToJsonString

func (r *DescribeInstanceVncUrlRequest) ToJsonString() string

type DescribeInstanceVncUrlResponse

type DescribeInstanceVncUrlResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Instance VNC URL.
		InstanceVncUrl *string `json:"InstanceVncUrl,omitempty" name:"InstanceVncUrl"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeInstanceVncUrlResponse

func NewDescribeInstanceVncUrlResponse() (response *DescribeInstanceVncUrlResponse)

func (*DescribeInstanceVncUrlResponse) FromJsonString

func (r *DescribeInstanceVncUrlResponse) 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 (*DescribeInstanceVncUrlResponse) ToJsonString

func (r *DescribeInstanceVncUrlResponse) ToJsonString() string

type DescribeInstancesDeniedActionsRequest

type DescribeInstancesDeniedActionsRequest struct {
	*tchttp.BaseRequest

	// None
	InstanceIdSet []*string `json:"InstanceIdSet,omitempty" name:"InstanceIdSet"`
}

func NewDescribeInstancesDeniedActionsRequest

func NewDescribeInstancesDeniedActionsRequest() (request *DescribeInstancesDeniedActionsRequest)

func (*DescribeInstancesDeniedActionsRequest) FromJsonString

func (r *DescribeInstancesDeniedActionsRequest) 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 (*DescribeInstancesDeniedActionsRequest) ToJsonString

type DescribeInstancesDeniedActionsResponse

type DescribeInstancesDeniedActionsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Prohibited operations for the instance
		InstanceOperatorSet []*InstanceOperator `json:"InstanceOperatorSet,omitempty" name:"InstanceOperatorSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeInstancesDeniedActionsResponse

func NewDescribeInstancesDeniedActionsResponse() (response *DescribeInstancesDeniedActionsResponse)

func (*DescribeInstancesDeniedActionsResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstancesDeniedActionsResponse) ToJsonString

type DescribeInstancesRequest

type DescribeInstancesRequest struct {
	*tchttp.BaseRequest

	// Filter.
	// zone      String      Required: no     (Filter) Filter by AZ abbreviation.
	// zone-name      String      Required: no     (Filter) Filter by AZ name. Fuzzy match is supported.
	// module-id      String      Required: no     (Filter) Filter by module ID.
	// instance-id      String      Required: no      (Filter) Filter by instance ID.
	// instance-name      String      Required: no      (Filter) Filter by instance name. Fuzzy match is supported.
	// ip-address      String      Required: no      (Filter) Filter by the instance's private/public IP.
	// instance-uuid   string Required: no (Filter) Filter instances by `uuid`.
	// instance-state  string  Required: no (Filter) Update instances by instance status.
	// internet-service-provider      String      Required: no      (Filter) Filter by the ISP of the instance's public IP.
	// tag-key      String      Required: no      (Filter) Filter by tag key.
	// tag:tag-key      String      Required: no      (Filter) Filter by tag key-value pair. Replace `tag-key` with the specific tag key.
	// instance-family      String      Required: no      (Filter) Filter by model family.
	// module-name      String      Required: no      (Filter) Filter by module name. Fuzzy match is supported.
	// image-id      String      Required: no      (Filter) Filter by instance image ID.
	// vpc-id String      Required: no      (Filter) Filter by instance VPC ID.
	// subnet-id String      Required: no      (Filter) Filter by instance subnet ID.
	//
	// If the `Filters` parameter is not specified, the information of all relevant instances will be queried.
	// Each request can contain up to 5 `Filter.Values`.
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Number of returned results. Default value: 20 (if the number of query results is greater than or equal to 20). Maximum value: 100.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Specified sort by field. Currently, valid values are as follows:
	// timestamp: sort by instance creation time.
	// Note: you can sort only by creation time currently. More sort criteria may be supported in the future.
	// If this parameter is not specified, instances will be sorted by creation time by default.
	OrderByField *string `json:"OrderByField,omitempty" name:"OrderByField"`

	// Sorting order. 0: descending; 1: ascending. If this parameter is not specified, it will be descending by default.
	OrderDirection *int64 `json:"OrderDirection,omitempty" name:"OrderDirection"`
}

func NewDescribeInstancesRequest

func NewDescribeInstancesRequest() (request *DescribeInstancesRequest)

func (*DescribeInstancesRequest) FromJsonString

func (r *DescribeInstancesRequest) 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 (*DescribeInstancesRequest) ToJsonString

func (r *DescribeInstancesRequest) ToJsonString() string

type DescribeInstancesResponse

type DescribeInstancesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Length of the list of the returned instance information.
		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// List of the returned instance information.
		// Note: this field may return null, indicating that no valid values can be obtained.
		InstanceSet []*Instance `json:"InstanceSet,omitempty" name:"InstanceSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeInstancesResponse

func NewDescribeInstancesResponse() (response *DescribeInstancesResponse)

func (*DescribeInstancesResponse) FromJsonString

func (r *DescribeInstancesResponse) 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 (*DescribeInstancesResponse) ToJsonString

func (r *DescribeInstancesResponse) ToJsonString() string

type DescribeListenersRequest

type DescribeListenersRequest struct {
	*tchttp.BaseRequest

	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"`

	// Array of IDs of the CLB listeners to be queried
	ListenerIds []*string `json:"ListenerIds,omitempty" name:"ListenerIds"`

	// Protocol type of the listener to be queried. Valid values: TCP, UDP.
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`

	// Port of the listener to be queried
	Port *int64 `json:"Port,omitempty" name:"Port"`
}

func NewDescribeListenersRequest

func NewDescribeListenersRequest() (request *DescribeListenersRequest)

func (*DescribeListenersRequest) FromJsonString

func (r *DescribeListenersRequest) 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 (*DescribeListenersRequest) ToJsonString

func (r *DescribeListenersRequest) ToJsonString() string

type DescribeListenersResponse

type DescribeListenersResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// List of listeners
		// Note: this field may return null, indicating that no valid values can be obtained.
		Listeners []*Listener `json:"Listeners,omitempty" name:"Listeners"`

		// Total number of listeners
		// Note: this field may return null, indicating that no valid values can be obtained.
		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeListenersResponse

func NewDescribeListenersResponse() (response *DescribeListenersResponse)

func (*DescribeListenersResponse) FromJsonString

func (r *DescribeListenersResponse) 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 (*DescribeListenersResponse) ToJsonString

func (r *DescribeListenersResponse) ToJsonString() string

type DescribeLoadBalanceTaskStatusRequest

type DescribeLoadBalanceTaskStatusRequest struct {
	*tchttp.BaseRequest

	// Request ID, i.e., the `RequestId` parameter returned by the API
	TaskId *string `json:"TaskId,omitempty" name:"TaskId"`
}

func NewDescribeLoadBalanceTaskStatusRequest

func NewDescribeLoadBalanceTaskStatusRequest() (request *DescribeLoadBalanceTaskStatusRequest)

func (*DescribeLoadBalanceTaskStatusRequest) FromJsonString

func (r *DescribeLoadBalanceTaskStatusRequest) 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 (*DescribeLoadBalanceTaskStatusRequest) ToJsonString

func (r *DescribeLoadBalanceTaskStatusRequest) ToJsonString() string

type DescribeLoadBalanceTaskStatusResponse

type DescribeLoadBalanceTaskStatusResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Current task status. 0: succeeded; 1: failed; 2: in progress.
		// Note: this field may return null, indicating that no valid values can be obtained.
		Status *int64 `json:"Status,omitempty" name:"Status"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeLoadBalanceTaskStatusResponse

func NewDescribeLoadBalanceTaskStatusResponse() (response *DescribeLoadBalanceTaskStatusResponse)

func (*DescribeLoadBalanceTaskStatusResponse) FromJsonString

func (r *DescribeLoadBalanceTaskStatusResponse) 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 (*DescribeLoadBalanceTaskStatusResponse) ToJsonString

type DescribeLoadBalancersRequest

type DescribeLoadBalancersRequest struct {
	*tchttp.BaseRequest

	// Region. If this parameter is not specified, the information of all regions will be queried by default.
	EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"`

	// CLB instance ID.
	LoadBalancerIds []*string `json:"LoadBalancerIds,omitempty" name:"LoadBalancerIds"`

	// CLB instance name.
	LoadBalancerName *string `json:"LoadBalancerName,omitempty" name:"LoadBalancerName"`

	// VIP address of the CLB instance. There can be multiple addresses.
	LoadBalancerVips []*string `json:"LoadBalancerVips,omitempty" name:"LoadBalancerVips"`

	// Private IP of the real server bound to the CLB.
	BackendPrivateIps []*string `json:"BackendPrivateIps,omitempty" name:"BackendPrivateIps"`

	// Data offset. Default value: 0.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Number of returned CLB instances. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Whether the CLB instance is bound to a real server. 0: no; 1: yes; -1: query all.
	// If this parameter is not specified, all will be queried by default.
	WithBackend *int64 `json:"WithBackend,omitempty" name:"WithBackend"`

	// Unique VPC ID of the CLB instance, such as `vpc-bhqkbhdx`.
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// Each request can contain up to 10 `Filters` and 100 `Filter.Values`. The detailed filters are as follows:
	// tag-key - String - Required: no - (Filter) Filter by tag key.
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`

	// Security group.
	SecurityGroup *string `json:"SecurityGroup,omitempty" name:"SecurityGroup"`
}

func NewDescribeLoadBalancersRequest

func NewDescribeLoadBalancersRequest() (request *DescribeLoadBalancersRequest)

func (*DescribeLoadBalancersRequest) FromJsonString

func (r *DescribeLoadBalancersRequest) 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 (*DescribeLoadBalancersRequest) ToJsonString

func (r *DescribeLoadBalancersRequest) ToJsonString() string

type DescribeLoadBalancersResponse

type DescribeLoadBalancersResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Total number of eligible CLB instances. This value is independent of the `Limit` in the input parameter.
		// Note: this field may return null, indicating that no valid values can be obtained.
		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// Array of returned CLB instances.
		// Note: this field may return null, indicating that no valid values can be obtained.
		LoadBalancerSet []*LoadBalancer `json:"LoadBalancerSet,omitempty" name:"LoadBalancerSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeLoadBalancersResponse

func NewDescribeLoadBalancersResponse() (response *DescribeLoadBalancersResponse)

func (*DescribeLoadBalancersResponse) FromJsonString

func (r *DescribeLoadBalancersResponse) 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 (*DescribeLoadBalancersResponse) ToJsonString

func (r *DescribeLoadBalancersResponse) ToJsonString() string

type DescribeModuleDetailRequest

type DescribeModuleDetailRequest struct {
	*tchttp.BaseRequest

	// Module ID, such as `em-qn46snq8`.
	ModuleId *string `json:"ModuleId,omitempty" name:"ModuleId"`
}

func NewDescribeModuleDetailRequest

func NewDescribeModuleDetailRequest() (request *DescribeModuleDetailRequest)

func (*DescribeModuleDetailRequest) FromJsonString

func (r *DescribeModuleDetailRequest) 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 (*DescribeModuleDetailRequest) ToJsonString

func (r *DescribeModuleDetailRequest) ToJsonString() string

type DescribeModuleDetailResponse

type DescribeModuleDetailResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Module details. For more information, see `ModuleInfo` in the data structure.
		// Note: this field may return null, indicating that no valid values can be obtained.
		Module *Module `json:"Module,omitempty" name:"Module"`

		// Module statistics. For more information, see `ModuleCounterInfo` in the data structure.
		// Note: this field may return null, indicating that no valid values can be obtained.
		ModuleCounter *ModuleCounter `json:"ModuleCounter,omitempty" name:"ModuleCounter"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeModuleDetailResponse

func NewDescribeModuleDetailResponse() (response *DescribeModuleDetailResponse)

func (*DescribeModuleDetailResponse) FromJsonString

func (r *DescribeModuleDetailResponse) 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 (*DescribeModuleDetailResponse) ToJsonString

func (r *DescribeModuleDetailResponse) ToJsonString() string

type DescribeModuleRequest

type DescribeModuleRequest struct {
	*tchttp.BaseRequest

	// Filter.
	// module-name - string - Required: no - (Filter) Filter by module name.
	// module-id - string - Required: no - (Filter) Filter by module ID.
	// image-id      String      Required: no      (Filter) Filter by image ID.
	// instance-family      String      Required: no      (Filter) Filter by model family.
	// security-group-id - string Required: no - (Filter) Filter by ID of the security group bound to the module.
	// Each request can contain up to 10 `Filters` and 5 `Filter.Values`.
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`

	// Offset. Default value: 0. For more information on `Offset`, see the relevant section of the API overview.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Number of returned results. Default value: 20. Maximum value: 100. For more information on `Limit`, see the relevant section of the API overview.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Specified sort by field. Currently, valid values are as follows:
	// instance-num: sort by the number of instances.
	// node-num: sort by the number of nodes.
	// timestamp: sort by instance creation time.
	// If this parameter is not specified, instances will be sorted by creation time by default.
	OrderByField *string `json:"OrderByField,omitempty" name:"OrderByField"`

	// Sorting order. 0: descending; 1: ascending. If this parameter is not specified, it will be descending by default.
	OrderDirection *int64 `json:"OrderDirection,omitempty" name:"OrderDirection"`
}

func NewDescribeModuleRequest

func NewDescribeModuleRequest() (request *DescribeModuleRequest)

func (*DescribeModuleRequest) FromJsonString

func (r *DescribeModuleRequest) 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 (*DescribeModuleRequest) ToJsonString

func (r *DescribeModuleRequest) ToJsonString() string

type DescribeModuleResponse

type DescribeModuleResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Number of eligible modules.
		// Note: this field may return null, indicating that no valid values can be obtained.
		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// List of module details.
		// Note: this field may return null, indicating that no valid values can be obtained.
		ModuleItemSet []*ModuleItem `json:"ModuleItemSet,omitempty" name:"ModuleItemSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeModuleResponse

func NewDescribeModuleResponse() (response *DescribeModuleResponse)

func (*DescribeModuleResponse) FromJsonString

func (r *DescribeModuleResponse) 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 (*DescribeModuleResponse) ToJsonString

func (r *DescribeModuleResponse) ToJsonString() string

type DescribeMonthPeakNetworkRequest

type DescribeMonthPeakNetworkRequest struct {
	*tchttp.BaseRequest

	// Month (xxxx-xx), such as `2021-03`. Default value: the last month
	Month *string `json:"Month,omitempty" name:"Month"`

	// Filter
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
}

func NewDescribeMonthPeakNetworkRequest

func NewDescribeMonthPeakNetworkRequest() (request *DescribeMonthPeakNetworkRequest)

func (*DescribeMonthPeakNetworkRequest) FromJsonString

func (r *DescribeMonthPeakNetworkRequest) 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 (*DescribeMonthPeakNetworkRequest) ToJsonString

func (r *DescribeMonthPeakNetworkRequest) ToJsonString() string

type DescribeMonthPeakNetworkResponse

type DescribeMonthPeakNetworkResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// None
		// Note: this field may return null, indicating that no valid values can be obtained.
		MonthNetWorkData []*MonthNetwork `json:"MonthNetWorkData,omitempty" name:"MonthNetWorkData"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeMonthPeakNetworkResponse

func NewDescribeMonthPeakNetworkResponse() (response *DescribeMonthPeakNetworkResponse)

func (*DescribeMonthPeakNetworkResponse) FromJsonString

func (r *DescribeMonthPeakNetworkResponse) 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 (*DescribeMonthPeakNetworkResponse) ToJsonString

func (r *DescribeMonthPeakNetworkResponse) ToJsonString() string

type DescribeNetworkInterfacesRequest

type DescribeNetworkInterfacesRequest struct {
	*tchttp.BaseRequest

	// Queries the ID of the ENI instance, such as `eni-pxir56ns`. Each request supports a maximum of 100 instances. `NetworkInterfaceIds` and `Filters` cannot be specified at the same time.
	NetworkInterfaceIds []*string `json:"NetworkInterfaceIds,omitempty" name:"NetworkInterfaceIds"`

	// Filter. `NetworkInterfaceIds` and `Filters` cannot be specified at the same time.
	// vpc-id - String - (Filter) VPC instance ID, such as `vpc-f49l6u0z`.
	// subnet-id - String - (Filter) Subnet instance ID, such as `subnet-f49l6u0z`.
	// network-interface-id - String - (Filter) ENI instance ID, such as `eni-5k56k7k7`.
	// attachment.instance-id - String - (Filter) ID of the bound CVM instance, such as `ein-3nqpdn3i`.
	// groups.security-group-id - String - (Filter) ID of the bound security group instance, such as `sg-f9ekbxeq`.
	// network-interface-name - String - (Filter) ENI instance name.
	// network-interface-description - String - (Filter) ENI instance description.
	// address-ip - String - (Filter) Private IPv4 address.
	// tag-key - String - Required: no - (Filter) Filter by tag key. For directions, see Sample 2.
	// tag:tag-key - String - Required: no - (Filter) Filter by tag key-value pair. Replace `tag-key` with the specific tag key. For directions, see Sample 3.
	// is-primary - Boolean - Required: no - (Filter) Filter by whether it is a primary ENI. true: filter only by primary ENI; false: filter only by secondary ENI. If this parameter is not specified, filtering by both primary and secondary ENIs will be used.
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`

	// Offset. Default value: 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of results to be returned. Default value: 20. Maximum value: 100.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// ECM region, such as `ap-xian-ecm`.
	EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"`
}

func NewDescribeNetworkInterfacesRequest

func NewDescribeNetworkInterfacesRequest() (request *DescribeNetworkInterfacesRequest)

func (*DescribeNetworkInterfacesRequest) FromJsonString

func (r *DescribeNetworkInterfacesRequest) 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 (*DescribeNetworkInterfacesRequest) ToJsonString

func (r *DescribeNetworkInterfacesRequest) ToJsonString() string

type DescribeNetworkInterfacesResponse

type DescribeNetworkInterfacesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Number of eligible instances.
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// List of instance details.
		// Note: this field may return null, indicating that no valid values can be obtained.
		NetworkInterfaceSet []*NetworkInterface `json:"NetworkInterfaceSet,omitempty" name:"NetworkInterfaceSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeNetworkInterfacesResponse

func NewDescribeNetworkInterfacesResponse() (response *DescribeNetworkInterfacesResponse)

func (*DescribeNetworkInterfacesResponse) FromJsonString

func (r *DescribeNetworkInterfacesResponse) 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 (*DescribeNetworkInterfacesResponse) ToJsonString

func (r *DescribeNetworkInterfacesResponse) ToJsonString() string

type DescribeNodeRequest

type DescribeNodeRequest struct {
	*tchttp.BaseRequest

	// Filter. InstanceFamily: instance family.
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
}

func NewDescribeNodeRequest

func NewDescribeNodeRequest() (request *DescribeNodeRequest)

func (*DescribeNodeRequest) FromJsonString

func (r *DescribeNodeRequest) 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 (*DescribeNodeRequest) ToJsonString

func (r *DescribeNodeRequest) ToJsonString() string

type DescribeNodeResponse

type DescribeNodeResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// List of node details
		// Note: this field may return null, indicating that no valid values can be obtained.
		NodeSet []*Node `json:"NodeSet,omitempty" name:"NodeSet"`

		// Total number of nodes.
		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeNodeResponse

func NewDescribeNodeResponse() (response *DescribeNodeResponse)

func (*DescribeNodeResponse) FromJsonString

func (r *DescribeNodeResponse) 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 (*DescribeNodeResponse) ToJsonString

func (r *DescribeNodeResponse) ToJsonString() string

type DescribePackingQuotaGroupRequest

type DescribePackingQuotaGroupRequest struct {
	*tchttp.BaseRequest

	// Filter. Zone: AZ; InstanceType: instance type; DataDiskSize: data disk size.
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
}

func NewDescribePackingQuotaGroupRequest

func NewDescribePackingQuotaGroupRequest() (request *DescribePackingQuotaGroupRequest)

func (*DescribePackingQuotaGroupRequest) FromJsonString

func (r *DescribePackingQuotaGroupRequest) 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 (*DescribePackingQuotaGroupRequest) ToJsonString

func (r *DescribePackingQuotaGroupRequest) ToJsonString() string

type DescribePackingQuotaGroupResponse

type DescribePackingQuotaGroupResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Set of packing quotas.
		PackingQuotaSet []*PackingQuotaGroup `json:"PackingQuotaSet,omitempty" name:"PackingQuotaSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribePackingQuotaGroupResponse

func NewDescribePackingQuotaGroupResponse() (response *DescribePackingQuotaGroupResponse)

func (*DescribePackingQuotaGroupResponse) FromJsonString

func (r *DescribePackingQuotaGroupResponse) 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 (*DescribePackingQuotaGroupResponse) ToJsonString

func (r *DescribePackingQuotaGroupResponse) ToJsonString() string

type DescribePeakBaseOverviewRequest

type DescribePeakBaseOverviewRequest struct {
	*tchttp.BaseRequest

	// Start time (xxxx-xx-xx), such as `2019-08-14`. It is 7 days ago by default and should not be more than 90 days ago.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End time (xxxx-xx-xx), such as `2019-08-14`. It is yesterday by default and should not be more than 90 days ago. When the time period between the start time and end time is within 30 days, data at the 1-hour granularity will be returned; otherwise, data at the 3-hour granularity will be returned.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
}

func NewDescribePeakBaseOverviewRequest

func NewDescribePeakBaseOverviewRequest() (request *DescribePeakBaseOverviewRequest)

func (*DescribePeakBaseOverviewRequest) FromJsonString

func (r *DescribePeakBaseOverviewRequest) 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 (*DescribePeakBaseOverviewRequest) ToJsonString

func (r *DescribePeakBaseOverviewRequest) ToJsonString() string

type DescribePeakBaseOverviewResponse

type DescribePeakBaseOverviewResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// List of basic peaks.
		// Note: this field may return null, indicating that no valid values can be obtained.
		PeakFamilyInfoSet []*PeakFamilyInfo `json:"PeakFamilyInfoSet,omitempty" name:"PeakFamilyInfoSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribePeakBaseOverviewResponse

func NewDescribePeakBaseOverviewResponse() (response *DescribePeakBaseOverviewResponse)

func (*DescribePeakBaseOverviewResponse) FromJsonString

func (r *DescribePeakBaseOverviewResponse) 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 (*DescribePeakBaseOverviewResponse) ToJsonString

func (r *DescribePeakBaseOverviewResponse) ToJsonString() string

type DescribePeakNetworkOverviewRequest

type DescribePeakNetworkOverviewRequest struct {
	*tchttp.BaseRequest

	// Start time (xxxx-xx-xx), such as `2019-08-14`. It is 7 days ago by default and should not be more than 30 days ago.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End time (xxxx-xx-xx), such as `2019-08-14`. It is yesterday by default and should not be more than 30 days ago. When the time period between the start time and end time is within 1 day, data at the 1-minute granularity will be returned; when the time period is within 7 days, data at the 5-minute granularity will be returned; otherwise, data at the 1-hour granularity will be returned.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Filter.
	//
	// region    String      Required: no     (Filter) Filter by region. Fuzzy match is not supported. Note: you need to enter the ECM region to be queried before data can be returned.
	// area       String      Required: no     (Filter) Filter by region. Fuzzy match is not supported. Regions include `china-central`, `china-east`, etc. You can call `DescribeNode` to get the information of all regions. You can also use `ALL_REGION` to indicate all regions.
	// isp         String      Required: no     (Filter) Filter region traffic by ISP. ISPs include CTCC, CUCC, and CMCC. This parameter must be used together with `area`, and you can specify only one ISP at a time.
	//
	// You can specify either `region` or `area`.
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`

	// Statistical period in seconds. Valid values: 60, 300.
	Period *int64 `json:"Period,omitempty" name:"Period"`
}

func NewDescribePeakNetworkOverviewRequest

func NewDescribePeakNetworkOverviewRequest() (request *DescribePeakNetworkOverviewRequest)

func (*DescribePeakNetworkOverviewRequest) FromJsonString

func (r *DescribePeakNetworkOverviewRequest) 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 (*DescribePeakNetworkOverviewRequest) ToJsonString

func (r *DescribePeakNetworkOverviewRequest) ToJsonString() string

type DescribePeakNetworkOverviewResponse

type DescribePeakNetworkOverviewResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Array of network peaks.
		// Note: this field may return null, indicating that no valid values can be obtained.
		PeakNetworkRegionSet []*PeakNetworkRegionInfo `json:"PeakNetworkRegionSet,omitempty" name:"PeakNetworkRegionSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribePeakNetworkOverviewResponse

func NewDescribePeakNetworkOverviewResponse() (response *DescribePeakNetworkOverviewResponse)

func (*DescribePeakNetworkOverviewResponse) FromJsonString

func (r *DescribePeakNetworkOverviewResponse) 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 (*DescribePeakNetworkOverviewResponse) ToJsonString

func (r *DescribePeakNetworkOverviewResponse) ToJsonString() string

type DescribePriceRunInstanceRequest

type DescribePriceRunInstanceRequest struct {
	*tchttp.BaseRequest

	// Instance model information
	InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"`

	// System disk information
	SystemDisk *SystemDisk `json:"SystemDisk,omitempty" name:"SystemDisk"`

	// Number of instances
	InstanceCount *uint64 `json:"InstanceCount,omitempty" name:"InstanceCount"`

	// Data disk information
	DataDisk []*DataDisk `json:"DataDisk,omitempty" name:"DataDisk"`
}

func NewDescribePriceRunInstanceRequest

func NewDescribePriceRunInstanceRequest() (request *DescribePriceRunInstanceRequest)

func (*DescribePriceRunInstanceRequest) FromJsonString

func (r *DescribePriceRunInstanceRequest) 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 (*DescribePriceRunInstanceRequest) ToJsonString

func (r *DescribePriceRunInstanceRequest) ToJsonString() string

type DescribePriceRunInstanceResponse

type DescribePriceRunInstanceResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Instance price information
		InstancePrice *InstancesPrice `json:"InstancePrice,omitempty" name:"InstancePrice"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribePriceRunInstanceResponse

func NewDescribePriceRunInstanceResponse() (response *DescribePriceRunInstanceResponse)

func (*DescribePriceRunInstanceResponse) FromJsonString

func (r *DescribePriceRunInstanceResponse) 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 (*DescribePriceRunInstanceResponse) ToJsonString

func (r *DescribePriceRunInstanceResponse) ToJsonString() string

type DescribeRouteConflictsRequest

type DescribeRouteConflictsRequest struct {
	*tchttp.BaseRequest

	// Route table instance ID, such as `rtb-azd4dt1c`.
	RouteTableId *string `json:"RouteTableId,omitempty" name:"RouteTableId"`

	// List of conflicting destination ports to be checked.
	DestinationCidrBlocks []*string `json:"DestinationCidrBlocks,omitempty" name:"DestinationCidrBlocks"`
}

func NewDescribeRouteConflictsRequest

func NewDescribeRouteConflictsRequest() (request *DescribeRouteConflictsRequest)

func (*DescribeRouteConflictsRequest) FromJsonString

func (r *DescribeRouteConflictsRequest) 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 (*DescribeRouteConflictsRequest) ToJsonString

func (r *DescribeRouteConflictsRequest) ToJsonString() string

type DescribeRouteConflictsResponse

type DescribeRouteConflictsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// List of routing policy conflicts.
		// Note: this field may return null, indicating that no valid values can be obtained.
		RouteConflictSet []*RouteConflict `json:"RouteConflictSet,omitempty" name:"RouteConflictSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeRouteConflictsResponse

func NewDescribeRouteConflictsResponse() (response *DescribeRouteConflictsResponse)

func (*DescribeRouteConflictsResponse) FromJsonString

func (r *DescribeRouteConflictsResponse) 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 (*DescribeRouteConflictsResponse) ToJsonString

func (r *DescribeRouteConflictsResponse) ToJsonString() string

type DescribeRouteTablesRequest

type DescribeRouteTablesRequest struct {
	*tchttp.BaseRequest

	// Route table instance ID, such as `rtb-azd4dt1c`.
	RouteTableIds []*string `json:"RouteTableIds,omitempty" name:"RouteTableIds"`

	// Filter. `RouteTableIds` and `Filters` cannot be specified at the same time.
	// route-table-id - String - (Filter) Route table instance ID.
	// route-table-name - String - (Filter) Route table name.
	// vpc-id - String - (Filter) VPC instance ID, such as `vpc-f49l6u0z`.
	// association.main - String - (Filter) Whether it is the main route table.
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`

	// Offset
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Limit
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// ECM region. If this parameter is left empty or not specified, it will indicate all regions.
	EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"`
}

func NewDescribeRouteTablesRequest

func NewDescribeRouteTablesRequest() (request *DescribeRouteTablesRequest)

func (*DescribeRouteTablesRequest) FromJsonString

func (r *DescribeRouteTablesRequest) 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 (*DescribeRouteTablesRequest) ToJsonString

func (r *DescribeRouteTablesRequest) ToJsonString() string

type DescribeRouteTablesResponse

type DescribeRouteTablesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Number of eligible instances
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// List of route tables
		// Note: this field may return null, indicating that no valid values can be obtained.
		RouteTableSet []*RouteTable `json:"RouteTableSet,omitempty" name:"RouteTableSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeRouteTablesResponse

func NewDescribeRouteTablesResponse() (response *DescribeRouteTablesResponse)

func (*DescribeRouteTablesResponse) FromJsonString

func (r *DescribeRouteTablesResponse) 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 (*DescribeRouteTablesResponse) ToJsonString

func (r *DescribeRouteTablesResponse) ToJsonString() string

type DescribeSecurityGroupAssociationStatisticsRequest

type DescribeSecurityGroupAssociationStatisticsRequest struct {
	*tchttp.BaseRequest

	// Security instance ID, such as `esg-33ocnj9n`, which can be obtained through [DescribeSecurityGroups](https://intl.cloud.tencent.com/document/product/1108/47697?from_cn_redirect=1).
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds"`
}

func NewDescribeSecurityGroupAssociationStatisticsRequest

func NewDescribeSecurityGroupAssociationStatisticsRequest() (request *DescribeSecurityGroupAssociationStatisticsRequest)

func (*DescribeSecurityGroupAssociationStatisticsRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeSecurityGroupAssociationStatisticsRequest) ToJsonString

type DescribeSecurityGroupAssociationStatisticsResponse

type DescribeSecurityGroupAssociationStatisticsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Statistics on the instances associated with the security group.
		SecurityGroupAssociationStatisticsSet []*SecurityGroupAssociationStatistics `json:"SecurityGroupAssociationStatisticsSet,omitempty" name:"SecurityGroupAssociationStatisticsSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeSecurityGroupAssociationStatisticsResponse

func NewDescribeSecurityGroupAssociationStatisticsResponse() (response *DescribeSecurityGroupAssociationStatisticsResponse)

func (*DescribeSecurityGroupAssociationStatisticsResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeSecurityGroupAssociationStatisticsResponse) ToJsonString

type DescribeSecurityGroupLimitsRequest

type DescribeSecurityGroupLimitsRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeSecurityGroupLimitsRequest

func NewDescribeSecurityGroupLimitsRequest() (request *DescribeSecurityGroupLimitsRequest)

func (*DescribeSecurityGroupLimitsRequest) FromJsonString

func (r *DescribeSecurityGroupLimitsRequest) 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 (*DescribeSecurityGroupLimitsRequest) ToJsonString

func (r *DescribeSecurityGroupLimitsRequest) ToJsonString() string

type DescribeSecurityGroupLimitsResponse

type DescribeSecurityGroupLimitsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Security group quota limit.
		SecurityGroupLimitSet *SecurityGroupLimitSet `json:"SecurityGroupLimitSet,omitempty" name:"SecurityGroupLimitSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeSecurityGroupLimitsResponse

func NewDescribeSecurityGroupLimitsResponse() (response *DescribeSecurityGroupLimitsResponse)

func (*DescribeSecurityGroupLimitsResponse) FromJsonString

func (r *DescribeSecurityGroupLimitsResponse) 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 (*DescribeSecurityGroupLimitsResponse) ToJsonString

func (r *DescribeSecurityGroupLimitsResponse) ToJsonString() string

type DescribeSecurityGroupPoliciesRequest

type DescribeSecurityGroupPoliciesRequest struct {
	*tchttp.BaseRequest

	// Security group instance ID, such as `esg-33ocnj9n`, which can be obtained through [DescribeSecurityGroups](https://intl.cloud.tencent.com/document/product/1108/47697?from_cn_redirect=1).
	SecurityGroupId *string `json:"SecurityGroupId,omitempty" name:"SecurityGroupId"`
}

func NewDescribeSecurityGroupPoliciesRequest

func NewDescribeSecurityGroupPoliciesRequest() (request *DescribeSecurityGroupPoliciesRequest)

func (*DescribeSecurityGroupPoliciesRequest) FromJsonString

func (r *DescribeSecurityGroupPoliciesRequest) 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 (*DescribeSecurityGroupPoliciesRequest) ToJsonString

func (r *DescribeSecurityGroupPoliciesRequest) ToJsonString() string

type DescribeSecurityGroupPoliciesResponse

type DescribeSecurityGroupPoliciesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Security group policy set.
		SecurityGroupPolicySet *SecurityGroupPolicySet `json:"SecurityGroupPolicySet,omitempty" name:"SecurityGroupPolicySet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeSecurityGroupPoliciesResponse

func NewDescribeSecurityGroupPoliciesResponse() (response *DescribeSecurityGroupPoliciesResponse)

func (*DescribeSecurityGroupPoliciesResponse) FromJsonString

func (r *DescribeSecurityGroupPoliciesResponse) 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 (*DescribeSecurityGroupPoliciesResponse) ToJsonString

type DescribeSecurityGroupsRequest

type DescribeSecurityGroupsRequest struct {
	*tchttp.BaseRequest

	// Security group instance ID, such as `esg-33ocnj9n`, which can be obtained through [DescribeSecurityGroups](https://intl.cloud.tencent.com/document/product/1108/47697?from_cn_redirect=1). Each request supports a maximum of 100 instances. `SecurityGroupIds` and `Filters` cannot be specified at the same time.
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds"`

	// Filter. `SecurityGroupIds` and `Filters` cannot be specified at the same time.
	// security-group-id - String - (Filter) Security group ID.
	// security-group-name - String - (Filter) Security group name.
	// tag-key - String - Required: no - (Filter) Filter by tag key.
	// tag:tag-key - String - Required: no - (Filter) Filter by tag key-value pair. Replace `tag-key` with the specific tag key.
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Number of results to be returned. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
}

func NewDescribeSecurityGroupsRequest

func NewDescribeSecurityGroupsRequest() (request *DescribeSecurityGroupsRequest)

func (*DescribeSecurityGroupsRequest) FromJsonString

func (r *DescribeSecurityGroupsRequest) 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 (*DescribeSecurityGroupsRequest) ToJsonString

func (r *DescribeSecurityGroupsRequest) ToJsonString() string

type DescribeSecurityGroupsResponse

type DescribeSecurityGroupsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Number of eligible instances.
		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// Security group object.
		SecurityGroupSet []*SecurityGroup `json:"SecurityGroupSet,omitempty" name:"SecurityGroupSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeSecurityGroupsResponse

func NewDescribeSecurityGroupsResponse() (response *DescribeSecurityGroupsResponse)

func (*DescribeSecurityGroupsResponse) FromJsonString

func (r *DescribeSecurityGroupsResponse) 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 (*DescribeSecurityGroupsResponse) ToJsonString

func (r *DescribeSecurityGroupsResponse) ToJsonString() string

type DescribeSnapshotsRequest

type DescribeSnapshotsRequest struct {
	*tchttp.BaseRequest

	// List of IDs of the snapshots to be queried. `SnapshotIds` and `Filters` cannot be specified at the same time.
	SnapshotIds []*string `json:"SnapshotIds,omitempty" name:"SnapshotIds"`

	// Filter. `SnapshotIds` and `Filters` cannot be specified at the same time.<br><li>snapshot-id - Array of String - Required: no - (Filter) Filter by snapshot ID, such as `snap-11112222`.<br><li>snapshot-name - Array of String - Required: no - (Filter) Filter by snapshot name.<br><li>snapshot-state - Array of String - Required: no - (Filter) Filter by snapshot status. NORMAL: normal; CREATING: creating; ROLLBACKING: rolling back.<br><li>disk-usage - Array of String - Required: no - (Filter) Filter by the type of the cloud disk from which a snapshot is created. SYSTEM_DISK: system disk; DATA_DISK: data disk.<br><li>project-id  - Array of String - Required: no - (Filter) Filter by the project ID of the cloud disk.<br><li>disk-id  - Array of String - Required: no - (Filter) Filter by the ID of the cloud disk from which a snapshot is created.<br><li>zone - Array of String - Required: no - (Filter) Filter by [AZ](https://intl.cloud.tencent.com/document/product/213/15753?from_cn_redirect=1#ZoneInfo).<br><li>encrypt - Array of String - Required: no - (Filter) Filter by whether a snapshot is created from an encrypted cloud disk. TRUE: yes; FALSE: no.
	// <li>snapshot-type- Array of String - Required: no - (Filter) Filter by the snapshot type specified in `snapshot-type`.
	// (SHARED_SNAPSHOT: shared snapshot | PRIVATE_SNAPSHOT: private snapshot.)
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`

	// Number of returned results. Default value: 20. Maximum value: 100. For more information on `Limit`, see the relevant section of the API [Overview](https://intl.cloud.tencent.com/document/product/362/15633?from_cn_redirect=1).
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Field by which snapshots are sorted. Valid values:<br><li>CREATE_TIME: sort by snapshot creation time<br>Snapshots are sorted by creation time by default.
	OrderField *string `json:"OrderField,omitempty" name:"OrderField"`

	// Offset. Default value: 0. For more information on `Offset`, see the relevant section of the API [Overview](https://intl.cloud.tencent.com/document/product/362/15633?from_cn_redirect=1).
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Sorting order of cloud disks. Valid values:<br><li>ASC: ascending<br><li>DESC: descending.
	Order *string `json:"Order,omitempty" name:"Order"`
}

func NewDescribeSnapshotsRequest

func NewDescribeSnapshotsRequest() (request *DescribeSnapshotsRequest)

func (*DescribeSnapshotsRequest) FromJsonString

func (r *DescribeSnapshotsRequest) 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 (*DescribeSnapshotsRequest) ToJsonString

func (r *DescribeSnapshotsRequest) ToJsonString() string

type DescribeSnapshotsResponse

type DescribeSnapshotsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Number of snapshots.
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// List of snapshot details.
		SnapshotSet []*Snapshot `json:"SnapshotSet,omitempty" name:"SnapshotSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeSnapshotsResponse

func NewDescribeSnapshotsResponse() (response *DescribeSnapshotsResponse)

func (*DescribeSnapshotsResponse) FromJsonString

func (r *DescribeSnapshotsResponse) 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 (*DescribeSnapshotsResponse) ToJsonString

func (r *DescribeSnapshotsResponse) ToJsonString() string

type DescribeSubnetsRequest

type DescribeSubnetsRequest struct {
	*tchttp.BaseRequest

	// Subnet instance ID, such as `subnet-pxir56ns`. Each request supports a maximum of 100 instances. `SubnetIds` and `Filters` cannot be specified at the same time.
	SubnetIds []*string `json:"SubnetIds,omitempty" name:"SubnetIds"`

	// Filter. `SubnetIds` and `Filters` cannot be specified at the same time.
	// subnet-id - String - Subnet instance name.
	// subnet-name - String - Subnet name. Only fuzzy query by a single value is supported.
	// cidr-block - String - Subnet IP address range, such as `192.168.1.0`. Only fuzzy query by a single value is supported.
	// vpc-id - String - VPC instance ID, such as `vpc-f49l6u0z`.
	// vpc-cidr-block  - String - VPC IP address range, such as `192.168.1.0`. Only fuzzy query by a single value is supported.
	// region - String - ECM region.
	// zone - String - AZ.
	// tag-key - String - Required: no - Filter by tag key.
	// tag:tag-key - String - Required: no - Filter by tag key-value pair.
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`

	// Offset
	Offset *string `json:"Offset,omitempty" name:"Offset"`

	// Number of returned results.
	Limit *string `json:"Limit,omitempty" name:"Limit"`

	// ECM region
	EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"`

	// Sorting method. time: sort in reverse chronological order; default: sort by network planning.
	Sort *string `json:"Sort,omitempty" name:"Sort"`
}

func NewDescribeSubnetsRequest

func NewDescribeSubnetsRequest() (request *DescribeSubnetsRequest)

func (*DescribeSubnetsRequest) FromJsonString

func (r *DescribeSubnetsRequest) 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 (*DescribeSubnetsRequest) ToJsonString

func (r *DescribeSubnetsRequest) ToJsonString() string

type DescribeSubnetsResponse

type DescribeSubnetsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Number of eligible instances.
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// Subnet object.
		// Note: this field may return null, indicating that no valid values can be obtained.
		SubnetSet []*Subnet `json:"SubnetSet,omitempty" name:"SubnetSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeSubnetsResponse

func NewDescribeSubnetsResponse() (response *DescribeSubnetsResponse)

func (*DescribeSubnetsResponse) FromJsonString

func (r *DescribeSubnetsResponse) 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 (*DescribeSubnetsResponse) ToJsonString

func (r *DescribeSubnetsResponse) ToJsonString() string

type DescribeTargetHealthRequest

type DescribeTargetHealthRequest struct {
	*tchttp.BaseRequest

	// List of IDs of CLB instances to be queried.
	LoadBalancerIds []*string `json:"LoadBalancerIds,omitempty" name:"LoadBalancerIds"`
}

func NewDescribeTargetHealthRequest

func NewDescribeTargetHealthRequest() (request *DescribeTargetHealthRequest)

func (*DescribeTargetHealthRequest) FromJsonString

func (r *DescribeTargetHealthRequest) 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 (*DescribeTargetHealthRequest) ToJsonString

func (r *DescribeTargetHealthRequest) ToJsonString() string

type DescribeTargetHealthResponse

type DescribeTargetHealthResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// List of CLB instances.
		// Note: this field may return null, indicating that no valid values can be obtained.
		LoadBalancers []*LoadBalancerHealth `json:"LoadBalancers,omitempty" name:"LoadBalancers"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeTargetHealthResponse

func NewDescribeTargetHealthResponse() (response *DescribeTargetHealthResponse)

func (*DescribeTargetHealthResponse) FromJsonString

func (r *DescribeTargetHealthResponse) 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 (*DescribeTargetHealthResponse) ToJsonString

func (r *DescribeTargetHealthResponse) ToJsonString() string

type DescribeTargetsRequest

type DescribeTargetsRequest struct {
	*tchttp.BaseRequest

	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"`

	// List of listener IDs.
	ListenerIds []*string `json:"ListenerIds,omitempty" name:"ListenerIds"`

	// Listener protocol type.
	Protocol *int64 `json:"Protocol,omitempty" name:"Protocol"`

	// Listener port.
	Port *int64 `json:"Port,omitempty" name:"Port"`
}

func NewDescribeTargetsRequest

func NewDescribeTargetsRequest() (request *DescribeTargetsRequest)

func (*DescribeTargetsRequest) FromJsonString

func (r *DescribeTargetsRequest) 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 (*DescribeTargetsRequest) ToJsonString

func (r *DescribeTargetsRequest) ToJsonString() string

type DescribeTargetsResponse

type DescribeTargetsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Information of real servers bound to the listener.
		// Note: this field may return null, indicating that no valid values can be obtained.
		Listeners []*ListenerBackend `json:"Listeners,omitempty" name:"Listeners"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeTargetsResponse

func NewDescribeTargetsResponse() (response *DescribeTargetsResponse)

func (*DescribeTargetsResponse) FromJsonString

func (r *DescribeTargetsResponse) 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 (*DescribeTargetsResponse) ToJsonString

func (r *DescribeTargetsResponse) ToJsonString() string

type DescribeTaskResultRequest

type DescribeTaskResultRequest struct {
	*tchttp.BaseRequest

	// ECM region
	EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"`

	// Async task ID.
	TaskId *string `json:"TaskId,omitempty" name:"TaskId"`
}

func NewDescribeTaskResultRequest

func NewDescribeTaskResultRequest() (request *DescribeTaskResultRequest)

func (*DescribeTaskResultRequest) FromJsonString

func (r *DescribeTaskResultRequest) 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 (*DescribeTaskResultRequest) ToJsonString

func (r *DescribeTaskResultRequest) ToJsonString() string

type DescribeTaskResultResponse

type DescribeTaskResultResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Async task ID.
		TaskId *string `json:"TaskId,omitempty" name:"TaskId"`

		// Execution result. Valid values: SUCCESS; FAILED; RUNNING.
		Result *string `json:"Result,omitempty" name:"Result"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeTaskResultResponse

func NewDescribeTaskResultResponse() (response *DescribeTaskResultResponse)

func (*DescribeTaskResultResponse) FromJsonString

func (r *DescribeTaskResultResponse) 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 (*DescribeTaskResultResponse) ToJsonString

func (r *DescribeTaskResultResponse) ToJsonString() string

type DescribeTaskStatusRequest

type DescribeTaskStatusRequest struct {
	*tchttp.BaseRequest

	// Task description.
	TaskSet []*TaskInput `json:"TaskSet,omitempty" name:"TaskSet"`
}

func NewDescribeTaskStatusRequest

func NewDescribeTaskStatusRequest() (request *DescribeTaskStatusRequest)

func (*DescribeTaskStatusRequest) FromJsonString

func (r *DescribeTaskStatusRequest) 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 (*DescribeTaskStatusRequest) ToJsonString

func (r *DescribeTaskStatusRequest) ToJsonString() string

type DescribeTaskStatusResponse

type DescribeTaskStatusResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Task description.
		TaskSet []*TaskOutput `json:"TaskSet,omitempty" name:"TaskSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeTaskStatusResponse

func NewDescribeTaskStatusResponse() (response *DescribeTaskStatusResponse)

func (*DescribeTaskStatusResponse) FromJsonString

func (r *DescribeTaskStatusResponse) 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 (*DescribeTaskStatusResponse) ToJsonString

func (r *DescribeTaskStatusResponse) ToJsonString() string

type DescribeVpcsRequest

type DescribeVpcsRequest struct {
	*tchttp.BaseRequest

	// VPC instance ID, such as `vpc-f49l6u0z`. Each request supports a maximum of 100 instances. `VpcIds` and `Filters` cannot be specified at the same time.
	VpcIds []*string `json:"VpcIds,omitempty" name:"VpcIds"`

	// Filter. `VpcIds` and `Filters` cannot be specified at the same time.
	// vpc-name - String - VPC instance name. Only fuzzy query by a single value is supported.
	// vpc-id - String - VPC instance ID, such as `vpc-f49l6u0z`.
	// cidr-block - String - VPC CIDR. Only fuzzy query by a single value is supported.
	// region - String - VPC region.
	// tag-key - String - Required: no - Filter by tag key.
	// tag:tag-key - String - Required: no - Filter by tag key-value pair.
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`

	// Offset
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of returned results.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Region
	EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"`

	// Sorting method. time: sort in reverse chronological order; default: sort by network planning.
	Sort *string `json:"Sort,omitempty" name:"Sort"`
}

func NewDescribeVpcsRequest

func NewDescribeVpcsRequest() (request *DescribeVpcsRequest)

func (*DescribeVpcsRequest) FromJsonString

func (r *DescribeVpcsRequest) 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 (*DescribeVpcsRequest) ToJsonString

func (r *DescribeVpcsRequest) ToJsonString() string

type DescribeVpcsResponse

type DescribeVpcsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Number of eligible objects.
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// VPC object.
		// Note: this field may return null, indicating that no valid values can be obtained.
		VpcSet []*VpcInfo `json:"VpcSet,omitempty" name:"VpcSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeVpcsResponse

func NewDescribeVpcsResponse() (response *DescribeVpcsResponse)

func (*DescribeVpcsResponse) FromJsonString

func (r *DescribeVpcsResponse) 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 (*DescribeVpcsResponse) ToJsonString

func (r *DescribeVpcsResponse) ToJsonString() string

type DetachNetworkInterfaceRequest

type DetachNetworkInterfaceRequest struct {
	*tchttp.BaseRequest

	// ENI instance ID, such as `eni-m6dyj72l`.
	NetworkInterfaceId *string `json:"NetworkInterfaceId,omitempty" name:"NetworkInterfaceId"`

	// Instance ID, such as `ein-hcs7jkg4`.
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// ECM region, such as `ap-xian-ecm`.
	EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"`
}

func NewDetachNetworkInterfaceRequest

func NewDetachNetworkInterfaceRequest() (request *DetachNetworkInterfaceRequest)

func (*DetachNetworkInterfaceRequest) FromJsonString

func (r *DetachNetworkInterfaceRequest) 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 (*DetachNetworkInterfaceRequest) ToJsonString

func (r *DetachNetworkInterfaceRequest) ToJsonString() string

type DetachNetworkInterfaceResponse

type DetachNetworkInterfaceResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDetachNetworkInterfaceResponse

func NewDetachNetworkInterfaceResponse() (response *DetachNetworkInterfaceResponse)

func (*DetachNetworkInterfaceResponse) FromJsonString

func (r *DetachNetworkInterfaceResponse) 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 (*DetachNetworkInterfaceResponse) ToJsonString

func (r *DetachNetworkInterfaceResponse) ToJsonString() string

type DisableRoutesRequest

type DisableRoutesRequest struct {
	*tchttp.BaseRequest

	// Unique route table ID.
	RouteTableId *string `json:"RouteTableId,omitempty" name:"RouteTableId"`

	// Routing policy ID.
	RouteIds []*uint64 `json:"RouteIds,omitempty" name:"RouteIds"`
}

func NewDisableRoutesRequest

func NewDisableRoutesRequest() (request *DisableRoutesRequest)

func (*DisableRoutesRequest) FromJsonString

func (r *DisableRoutesRequest) 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 (*DisableRoutesRequest) ToJsonString

func (r *DisableRoutesRequest) ToJsonString() string

type DisableRoutesResponse

type DisableRoutesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDisableRoutesResponse

func NewDisableRoutesResponse() (response *DisableRoutesResponse)

func (*DisableRoutesResponse) FromJsonString

func (r *DisableRoutesResponse) 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 (*DisableRoutesResponse) ToJsonString

func (r *DisableRoutesResponse) ToJsonString() string

type DisassociateAddressRequest

type DisassociateAddressRequest struct {
	*tchttp.BaseRequest

	// ECM region
	EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"`

	// Unique EIP ID, such as `eip-11112222`.
	AddressId *string `json:"AddressId,omitempty" name:"AddressId"`

	// Indicates whether to assign a general public IP after unbinding an EIP. Valid values:
	// TRUE: yes
	// FALSE: no.
	// Default value: FALSE.
	//
	// You can specify this parameter only under the following conditions:
	// You can specify this parameter only when you unbind an EIP from the primary private IP of the primary ENI.
	// An account can reassign a general public IP after unbinding an EIP 10 times a day. More information can be obtained through the `DescribeAddressQuota` API.
	ReallocateNormalPublicIp *bool `json:"ReallocateNormalPublicIp,omitempty" name:"ReallocateNormalPublicIp"`
}

func NewDisassociateAddressRequest

func NewDisassociateAddressRequest() (request *DisassociateAddressRequest)

func (*DisassociateAddressRequest) FromJsonString

func (r *DisassociateAddressRequest) 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 (*DisassociateAddressRequest) ToJsonString

func (r *DisassociateAddressRequest) ToJsonString() string

type DisassociateAddressResponse

type DisassociateAddressResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Async task ID (TaskId). You can use the `DescribeTaskResult` API to query the task status.
		TaskId *string `json:"TaskId,omitempty" name:"TaskId"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDisassociateAddressResponse

func NewDisassociateAddressResponse() (response *DisassociateAddressResponse)

func (*DisassociateAddressResponse) FromJsonString

func (r *DisassociateAddressResponse) 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 (*DisassociateAddressResponse) ToJsonString

func (r *DisassociateAddressResponse) ToJsonString() string

type DisassociateInstancesKeyPairsRequest

type DisassociateInstancesKeyPairsRequest struct {
	*tchttp.BaseRequest

	// You can get available instance IDs in the following ways:
	// Log in to the console to query instance IDs.
	// Get the instance IDs from the `InstanceId` field in the information returned by the `DescribeInstances` API.
	InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"`

	// List of key pair IDs. Each request can contain up to 100 key pairs. The key pair ID takes the form of `skey-11112222`.
	//
	// You can get available key IDs in the following ways:
	// Log in to the console to query key IDs.
	// Get the key pair IDs from the `KeyId` field in the information returned by the `DescribeKeyPairs` API.
	KeyIds []*string `json:"KeyIds,omitempty" name:"KeyIds"`

	// Whether to force shut down the running instance. We recommend you manually shut down the running instance before unbinding the key. Valid values:
	// TRUE: yes.
	// FALSE: no.
	//
	// Default value: FALSE.
	ForceStop *bool `json:"ForceStop,omitempty" name:"ForceStop"`
}

func NewDisassociateInstancesKeyPairsRequest

func NewDisassociateInstancesKeyPairsRequest() (request *DisassociateInstancesKeyPairsRequest)

func (*DisassociateInstancesKeyPairsRequest) FromJsonString

func (r *DisassociateInstancesKeyPairsRequest) 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 (*DisassociateInstancesKeyPairsRequest) ToJsonString

func (r *DisassociateInstancesKeyPairsRequest) ToJsonString() string

type DisassociateInstancesKeyPairsResponse

type DisassociateInstancesKeyPairsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDisassociateInstancesKeyPairsResponse

func NewDisassociateInstancesKeyPairsResponse() (response *DisassociateInstancesKeyPairsResponse)

func (*DisassociateInstancesKeyPairsResponse) FromJsonString

func (r *DisassociateInstancesKeyPairsResponse) 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 (*DisassociateInstancesKeyPairsResponse) ToJsonString

type DisassociateSecurityGroupsRequest

type DisassociateSecurityGroupsRequest struct {
	*tchttp.BaseRequest

	// ID of the security group to be unbound, such as `esg-efil73jd`. You can unbind only one security group at a time.
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds"`

	// ID of the instance to be unbound, such as `ein-lesecurk`. You can specify multiple instances.
	InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"`
}

func NewDisassociateSecurityGroupsRequest

func NewDisassociateSecurityGroupsRequest() (request *DisassociateSecurityGroupsRequest)

func (*DisassociateSecurityGroupsRequest) FromJsonString

func (r *DisassociateSecurityGroupsRequest) 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 (*DisassociateSecurityGroupsRequest) ToJsonString

func (r *DisassociateSecurityGroupsRequest) ToJsonString() string

type DisassociateSecurityGroupsResponse

type DisassociateSecurityGroupsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDisassociateSecurityGroupsResponse

func NewDisassociateSecurityGroupsResponse() (response *DisassociateSecurityGroupsResponse)

func (*DisassociateSecurityGroupsResponse) FromJsonString

func (r *DisassociateSecurityGroupsResponse) 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 (*DisassociateSecurityGroupsResponse) ToJsonString

func (r *DisassociateSecurityGroupsResponse) ToJsonString() string

type DiskInfo

type DiskInfo struct {

	// Disk type: LOCAL_BASIC.
	DiskType *string `json:"DiskType,omitempty" name:"DiskType"`

	// Disk ID
	DiskId *string `json:"DiskId,omitempty" name:"DiskId"`

	// Disk size in GB
	DiskSize *int64 `json:"DiskSize,omitempty" name:"DiskSize"`
}

type EipQuota

type EipQuota struct {

	// Quota name. Valid values:
	// TOTAL_EIP_QUOTA: quota of EIPs in the current region;
	// DAILY_EIP_APPLY: today's number of applications in the current region;
	// DAILY_PUBLIC_IP_ASSIGN: number of public IP reassignments in the current region.
	QuotaId *string `json:"QuotaId,omitempty" name:"QuotaId"`

	// Current quantity
	QuotaCurrent *uint64 `json:"QuotaCurrent,omitempty" name:"QuotaCurrent"`

	// Quota
	QuotaLimit *uint64 `json:"QuotaLimit,omitempty" name:"QuotaLimit"`
}

type EnableRoutesRequest

type EnableRoutesRequest struct {
	*tchttp.BaseRequest

	// Unique route table ID.
	RouteTableId *string `json:"RouteTableId,omitempty" name:"RouteTableId"`

	// Routing policy ID.
	RouteIds []*uint64 `json:"RouteIds,omitempty" name:"RouteIds"`
}

func NewEnableRoutesRequest

func NewEnableRoutesRequest() (request *EnableRoutesRequest)

func (*EnableRoutesRequest) FromJsonString

func (r *EnableRoutesRequest) 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 (*EnableRoutesRequest) ToJsonString

func (r *EnableRoutesRequest) ToJsonString() string

type EnableRoutesResponse

type EnableRoutesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewEnableRoutesResponse

func NewEnableRoutesResponse() (response *EnableRoutesResponse)

func (*EnableRoutesResponse) FromJsonString

func (r *EnableRoutesResponse) 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 (*EnableRoutesResponse) ToJsonString

func (r *EnableRoutesResponse) ToJsonString() string

type EnhancedService

type EnhancedService struct {

	// Whether to enable CWP.
	SecurityService *RunSecurityServiceEnabled `json:"SecurityService,omitempty" name:"SecurityService"`

	// Whether to enable CM.
	MonitorService *RunMonitorServiceEnabled `json:"MonitorService,omitempty" name:"MonitorService"`

	// Whether to enable IP direct access. If this parameter is not specified, IP direct access will be enabled by default for Linux images and is currently not supported for Windows images.
	EIPDirectService *RunEIPDirectServiceEnabled `json:"EIPDirectService,omitempty" name:"EIPDirectService"`
}

type Filter

type Filter struct {

	// One or more filter values.
	Values []*string `json:"Values,omitempty" name:"Values"`

	// Filter name.
	Name *string `json:"Name,omitempty" name:"Name"`
}

type HaVip

type HaVip struct {

	// Unique HAVIP ID.
	HaVipId *string `json:"HaVipId,omitempty" name:"HaVipId"`

	// HAVIP name.
	HaVipName *string `json:"HaVipName,omitempty" name:"HaVipName"`

	// Virtual IP address.
	Vip *string `json:"Vip,omitempty" name:"Vip"`

	// VPC ID of the HAVIP.
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// Subnet ID of the HAVIP.
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`

	// ID of the ENI associated with the HAVIP.
	NetworkInterfaceId *string `json:"NetworkInterfaceId,omitempty" name:"NetworkInterfaceId"`

	// ID of the bound instance.
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Bound EIP.
	AddressIp *string `json:"AddressIp,omitempty" name:"AddressIp"`

	// Status:
	// AVAILABLE: running.
	// UNBIND: unbound.
	State *string `json:"State,omitempty" name:"State"`

	// Creation time.
	CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"`

	// ID of businesses that use HAVIP.
	Business *string `json:"Business,omitempty" name:"Business"`
}

type HealthCheck

type HealthCheck struct {

	// Whether to enable health check. Valid values: 1: enable; 0: disable
	// Note: this field may return null, indicating that no valid values can be obtained.
	HealthSwitch *int64 `json:"HealthSwitch,omitempty" name:"HealthSwitch"`

	// Health check response timeout period in seconds. Value range: 2–60. Default value: 2. The value of this parameter should be smaller than the check interval.
	// Note: this field may return null, indicating that no valid values can be obtained.
	TimeOut *int64 `json:"TimeOut,omitempty" name:"TimeOut"`

	// Health check interval in seconds. Value range: 5–300. Default value: 5.
	// Note: this field may return null, indicating that no valid values can be obtained.
	IntervalTime *int64 `json:"IntervalTime,omitempty" name:"IntervalTime"`

	// Health threshold. Value range: 2–10. Default value: 3, indicating that if a forward is found healthy three consecutive times, it will be considered normal.
	// Note: this field may return null, indicating that no valid values can be obtained.
	HealthNum *int64 `json:"HealthNum,omitempty" name:"HealthNum"`

	// Unhealthy threshold. Value range: 2–10. Default value: 3, indicating that if a forward is found unhealthy three consecutive times, it will be considered exceptional.
	// Note: this field may return null, indicating that no valid values can be obtained.
	UnHealthyNum *int64 `json:"UnHealthyNum,omitempty" name:"UnHealthyNum"`

	// Health check port (a custom check parameter), which is the port of the real server by default. Unless you want to specify a port, we recommend you leave it empty.
	// Note: this field may return null, indicating that no valid values can be obtained.
	CheckPort *int64 `json:"CheckPort,omitempty" name:"CheckPort"`

	// Health check protocol (a custom check parameter), which is required if the value of `CheckType` is `CUSTOM`. This parameter represents the input format of the health check. Valid values: HEX, TEXT. If the value is `HEX`, the characters of `SendContext` and `RecvContext` can only be selected from `0123456789ABCDEF`, and the length must be an even number.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ContextType *string `json:"ContextType,omitempty" name:"ContextType"`

	// Health check protocol (a custom check parameter), which is required if the value of `CheckType` is `CUSTOM`. This parameter represents the content of the request sent by the health check. It can contain up to 500 visible ASCII characters.
	// Note: this field may return null, indicating that no valid values can be obtained.
	SendContext *string `json:"SendContext,omitempty" name:"SendContext"`

	// Health check protocol (a custom check parameter), which is required if the value of `CheckType` is `CUSTOM`. This parameter represents the result returned by the health check. It can contain up to 500 visible ASCII characters.
	// Note: this field may return null, indicating that no valid values can be obtained.
	RecvContext *string `json:"RecvContext,omitempty" name:"RecvContext"`

	// Health check protocol (a custom check parameter). Valid values: TCP, CUSTOM (applicable only to UDP listeners. If custom health check is used, this parameter will be required).
	// Note: this field may return null, indicating that no valid values can be obtained.
	CheckType *string `json:"CheckType,omitempty" name:"CheckType"`
}

type ISP

type ISP struct {

	// ISP ID
	ISPId *string `json:"ISPId,omitempty" name:"ISPId"`

	// ISP name
	ISPName *string `json:"ISPName,omitempty" name:"ISPName"`
}

type ISPCounter

type ISPCounter struct {

	// ISP name
	ProviderName *string `json:"ProviderName,omitempty" name:"ProviderName"`

	// Number of nodes
	ProviderNodeNum *int64 `json:"ProviderNodeNum,omitempty" name:"ProviderNodeNum"`

	// Number of instances
	ProvederInstanceNum *int64 `json:"ProvederInstanceNum,omitempty" name:"ProvederInstanceNum"`

	// Zone instance information structure array
	ZoneInstanceInfoSet []*ZoneInstanceInfo `json:"ZoneInstanceInfoSet,omitempty" name:"ZoneInstanceInfoSet"`
}

type Image

type Image struct {

	// Image ID
	ImageId *string `json:"ImageId,omitempty" name:"ImageId"`

	// Image name
	ImageName *string `json:"ImageName,omitempty" name:"ImageName"`

	// Image status
	ImageState *string `json:"ImageState,omitempty" name:"ImageState"`

	// Image type
	ImageType *string `json:"ImageType,omitempty" name:"ImageType"`

	// OS name
	ImageOsName *string `json:"ImageOsName,omitempty" name:"ImageOsName"`

	// Image description
	ImageDescription *string `json:"ImageDescription,omitempty" name:"ImageDescription"`

	// Image import time
	ImageCreateTime *string `json:"ImageCreateTime,omitempty" name:"ImageCreateTime"`

	// Number of bits of the OS
	Architecture *string `json:"Architecture,omitempty" name:"Architecture"`

	// OS type
	OsType *string `json:"OsType,omitempty" name:"OsType"`

	// OS version
	OsVersion *string `json:"OsVersion,omitempty" name:"OsVersion"`

	// OS platform
	Platform *string `json:"Platform,omitempty" name:"Platform"`

	// Image owner
	ImageOwner *int64 `json:"ImageOwner,omitempty" name:"ImageOwner"`

	// Image size in GB
	ImageSize *int64 `json:"ImageSize,omitempty" name:"ImageSize"`

	// Image source information
	SrcImage *SrcImage `json:"SrcImage,omitempty" name:"SrcImage"`

	// Image source type
	ImageSource *string `json:"ImageSource,omitempty" name:"ImageSource"`

	// ID of the task in intermediate or failed status
	TaskId *string `json:"TaskId,omitempty" name:"TaskId"`

	// Whether cloud-init is supported
	IsSupportCloudInit *bool `json:"IsSupportCloudInit,omitempty" name:"IsSupportCloudInit"`
}

type ImageLimitConfig

type ImageLimitConfig struct {

	// Supported maximum image size in GB, including custom image size for import and central cloud image size.
	MaxImageSize *int64 `json:"MaxImageSize,omitempty" name:"MaxImageSize"`
}

type ImageOsList

type ImageOsList struct {

	// Supported Windows OS
	// Note: this field may return null, indicating that no valid values can be obtained.
	Windows []*string `json:"Windows,omitempty" name:"Windows"`

	// Supported Linux OS
	// Note: this field may return null, indicating that no valid values can be obtained.
	Linux []*string `json:"Linux,omitempty" name:"Linux"`
}

type ImageTask

type ImageTask struct {

	// Image import status. Valid values: PENDING, PROCESSING, SUCCESS, FAILED
	State *string `json:"State,omitempty" name:"State"`

	// Cause of import failure (FAILED)
	// Note: this field may return null, indicating that no valid values can be obtained.
	Message *string `json:"Message,omitempty" name:"Message"`

	// Image name
	ImageName *string `json:"ImageName,omitempty" name:"ImageName"`

	// Creation time
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
}

type ImportImageRequest

type ImportImageRequest struct {
	*tchttp.BaseRequest

	// Image ID.
	ImageId *string `json:"ImageId,omitempty" name:"ImageId"`

	// Image description.
	ImageDescription *string `json:"ImageDescription,omitempty" name:"ImageDescription"`

	// Source region
	SourceRegion *string `json:"SourceRegion,omitempty" name:"SourceRegion"`
}

func NewImportImageRequest

func NewImportImageRequest() (request *ImportImageRequest)

func (*ImportImageRequest) FromJsonString

func (r *ImportImageRequest) 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 (*ImportImageRequest) ToJsonString

func (r *ImportImageRequest) ToJsonString() string

type ImportImageResponse

type ImportImageResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewImportImageResponse

func NewImportImageResponse() (response *ImportImageResponse)

func (*ImportImageResponse) FromJsonString

func (r *ImportImageResponse) 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 (*ImportImageResponse) ToJsonString

func (r *ImportImageResponse) ToJsonString() string

type Instance

type Instance struct {

	// Instance ID.
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Instance name, such as `ens-34241f3s`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"`

	// Instance status. Valid values:
	// PENDING: creating
	// LAUNCH_FAILED: failed to create
	// RUNNING: running
	// STOPPED: shut down
	// STARTING: starting
	// STOPPING: shutting down
	// REBOOTING: restarting
	// SHUTDOWN: to be terminated
	// TERMINATING: terminating.
	InstanceState *string `json:"InstanceState,omitempty" name:"InstanceState"`

	// Information of the image currently used by the instance.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Image *Image `json:"Image,omitempty" name:"Image"`

	// Basic information of the current module of the instance.
	// Note: this field may return null, indicating that no valid values can be obtained.
	SimpleModule *SimpleModule `json:"SimpleModule,omitempty" name:"SimpleModule"`

	// Location information of the instance.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Position *Position `json:"Position,omitempty" name:"Position"`

	// Network information of the instance.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Internet *Internet `json:"Internet,omitempty" name:"Internet"`

	// Configuration information of the instance.
	// Note: this field may return null, indicating that no valid values can be obtained.
	InstanceTypeConfig *InstanceTypeConfig `json:"InstanceTypeConfig,omitempty" name:"InstanceTypeConfig"`

	// Instance creation time.
	// Note: this field may return null, indicating that no valid values can be obtained.
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// Instance tag information.
	// Note: this field may return null, indicating that no valid values can be obtained.
	TagSet []*Tag `json:"TagSet,omitempty" name:"TagSet"`

	// Last operation on the instance.
	// Note: this field may return null, indicating that no valid values can be obtained.
	LatestOperation *string `json:"LatestOperation,omitempty" name:"LatestOperation"`

	// Result of the last operation on the instance.
	// Note: this field may return null, indicating that no valid values can be obtained.
	LatestOperationState *string `json:"LatestOperationState,omitempty" name:"LatestOperationState"`

	// Instance business status. Valid values:
	// NORMAL: normal
	// EXPIRED: expired
	// PROTECTIVELY_ISOLATED: isolated.
	// Note: this field may return null, indicating that no valid values can be obtained.
	RestrictState *string `json:"RestrictState,omitempty" name:"RestrictState"`

	// System disk size in GB.
	// Note: this field may return null, indicating that no valid values can be obtained.
	SystemDiskSize *int64 `json:"SystemDiskSize,omitempty" name:"SystemDiskSize"`

	// Data disk size in GB.
	// Note: this field may return null, indicating that no valid values can be obtained.
	DataDiskSize *int64 `json:"DataDiskSize,omitempty" name:"DataDiskSize"`

	// Instance UUID
	// Note: this field may return null, indicating that no valid values can be obtained.
	UUID *string `json:"UUID,omitempty" name:"UUID"`

	// Billing mode.
	//     0: postpaid.
	//     1: prepaid.
	// Note: this field may return null, indicating that no valid values can be obtained.
	PayMode *int64 `json:"PayMode,omitempty" name:"PayMode"`

	// Expiration time in the format of `yyyy-mm-dd HH:mm:ss`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"`

	// Isolation time in the format of `yyyy-mm-dd HH:mm:ss`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	IsolatedTime *string `json:"IsolatedTime,omitempty" name:"IsolatedTime"`

	// Auto-Renewal flag.
	//       0: no.
	//       1: yes.
	// Note: this field may return null, indicating that no valid values can be obtained.
	RenewFlag *int64 `json:"RenewFlag,omitempty" name:"RenewFlag"`

	// Expiration status.
	//     NORMAL: normal.
	//     WILL_EXPIRE: about to expire.
	//     EXPIRED: expired.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ExpireState *string `json:"ExpireState,omitempty" name:"ExpireState"`

	// System disk information
	// Note: this field may return null, indicating that no valid values can be obtained.
	SystemDisk *DiskInfo `json:"SystemDisk,omitempty" name:"SystemDisk"`

	// Data disk information
	// Note: this field may return null, indicating that no valid values can be obtained.
	DataDisks []*DiskInfo `json:"DataDisks,omitempty" name:"DataDisks"`

	// New instance flag
	// Note: this field may return null, indicating that no valid values can be obtained.
	NewFlag *int64 `json:"NewFlag,omitempty" name:"NewFlag"`

	// Security group of the instance, which can be obtained from the `sgId` field in the returned value of the `DescribeSecurityGroups` API.
	// Note: this field may return null, indicating that no valid values can be obtained.
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds"`

	// VPC attribute
	// Note: this field may return null, indicating that no valid values can be obtained.
	VirtualPrivateCloud *VirtualPrivateCloud `json:"VirtualPrivateCloud,omitempty" name:"VirtualPrivateCloud"`

	// ISP field of the instance.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ISP *string `json:"ISP,omitempty" name:"ISP"`

	// Physical location information. Note that this field is currently a reserved field and null.
	// Note: this field may return null, indicating that no valid values can be obtained.
	PhysicalPosition *PhysicalPosition `json:"PhysicalPosition,omitempty" name:"PhysicalPosition"`
}

type InstanceFamilyConfig

type InstanceFamilyConfig struct {

	// Model name
	InstanceFamilyName *string `json:"InstanceFamilyName,omitempty" name:"InstanceFamilyName"`

	// Model ID
	InstanceFamily *string `json:"InstanceFamily,omitempty" name:"InstanceFamily"`
}

type InstanceFamilyTypeConfig

type InstanceFamilyTypeConfig struct {

	// Instance model family type ID
	InstanceFamilyType *string `json:"InstanceFamilyType,omitempty" name:"InstanceFamilyType"`

	// Instance model family type name
	InstanceFamilyTypeName *string `json:"InstanceFamilyTypeName,omitempty" name:"InstanceFamilyTypeName"`
}

type InstanceNetworkInfo

type InstanceNetworkInfo struct {

	// Private and public IP information of the instance.
	// Note: this field may return null, indicating that no valid values can be obtained.
	AddressInfoSet []*AddressInfo `json:"AddressInfoSet,omitempty" name:"AddressInfoSet"`

	// ENI ID.
	NetworkInterfaceId *string `json:"NetworkInterfaceId,omitempty" name:"NetworkInterfaceId"`

	// ENI name.
	// Note: this field may return null, indicating that no valid values can be obtained.
	NetworkInterfaceName *string `json:"NetworkInterfaceName,omitempty" name:"NetworkInterfaceName"`

	// Primary ENI attribute. Valid values: true: primary ENI; false: secondary ENI.
	Primary *bool `json:"Primary,omitempty" name:"Primary"`
}

type InstanceNetworkLimitConfig

type InstanceNetworkLimitConfig struct {

	// Number of CPU cores
	CpuNum *int64 `json:"CpuNum,omitempty" name:"CpuNum"`

	// ENI quantity limit
	NetworkInterfaceLimit *int64 `json:"NetworkInterfaceLimit,omitempty" name:"NetworkInterfaceLimit"`

	// Private IP quantity limit per ENI
	InnerIpPerNetworkInterface *int64 `json:"InnerIpPerNetworkInterface,omitempty" name:"InnerIpPerNetworkInterface"`

	// Public IP limit per instance
	PublicIpPerInstance *int64 `json:"PublicIpPerInstance,omitempty" name:"PublicIpPerInstance"`
}

type InstanceOperator

type InstanceOperator struct {

	// Instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Prohibited operations for the instance
	// Note: this field may return null, indicating that no valid values can be obtained.
	DeniedActions []*OperatorAction `json:"DeniedActions,omitempty" name:"DeniedActions"`
}

type InstancePricesPartDetail

type InstancePricesPartDetail struct {

	// CPU price information
	CpuPrice *PriceDetail `json:"CpuPrice,omitempty" name:"CpuPrice"`

	// Memory price information
	MemPrice *PriceDetail `json:"MemPrice,omitempty" name:"MemPrice"`

	// Disk price information
	DisksPrice *PriceDetail `json:"DisksPrice,omitempty" name:"DisksPrice"`
}

type InstanceStatistic

type InstanceStatistic struct {

	// Instance type
	InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"`

	// Number of instances
	InstanceCount *int64 `json:"InstanceCount,omitempty" name:"InstanceCount"`
}

type InstanceTypeConfig

type InstanceTypeConfig struct {

	// Model family configuration information
	InstanceFamilyConfig *InstanceFamilyConfig `json:"InstanceFamilyConfig,omitempty" name:"InstanceFamilyConfig"`

	// Model
	InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"`

	// Number of CPU cores
	Vcpu *int64 `json:"Vcpu,omitempty" name:"Vcpu"`

	// Memory size
	Memory *int64 `json:"Memory,omitempty" name:"Memory"`

	// Clock rate
	Frequency *string `json:"Frequency,omitempty" name:"Frequency"`

	// CPU model
	CpuModelName *string `json:"CpuModelName,omitempty" name:"CpuModelName"`

	// Instance family type configuration information
	InstanceFamilyTypeConfig *InstanceFamilyTypeConfig `json:"InstanceFamilyTypeConfig,omitempty" name:"InstanceFamilyTypeConfig"`

	// Extra model information, which is a JSON string in the format of `{"dataDiskSize":3200,"systemDiskSize":60, "systemDiskSizeShow":"default system disk size:60 GB","dataDiskSizeShow":"local NVMe SSD: 3200 GB"}`. It indicates a special model if it exists
	// Note: this field may return null, indicating that no valid values can be obtained.
	ExtInfo *string `json:"ExtInfo,omitempty" name:"ExtInfo"`

	// Number of GPU cards
	// Note: this field may return null, indicating that no valid values can be obtained.
	Vgpu *float64 `json:"Vgpu,omitempty" name:"Vgpu"`

	// GPU model
	// Note: this field may return null, indicating that no valid values can be obtained.
	GpuModelName *string `json:"GpuModelName,omitempty" name:"GpuModelName"`
}

type InstancesPrice

type InstancesPrice struct {

	// Instance price details
	InstancePricesPartDetail *InstancePricesPartDetail `json:"InstancePricesPartDetail,omitempty" name:"InstancePricesPartDetail"`

	// Discount on the total instance price
	Discount *uint64 `json:"Discount,omitempty" name:"Discount"`

	// Discounted price
	DiscountPrice *uint64 `json:"DiscountPrice,omitempty" name:"DiscountPrice"`

	// Original cost
	OriginalPrice *uint64 `json:"OriginalPrice,omitempty" name:"OriginalPrice"`
}

type Internet

type Internet struct {

	// Private network information list of the instance, with the primary ENI followed by secondary ENIs in the order of binding.
	// Note: this field may return null, indicating that no valid values can be obtained.
	PrivateIPAddressSet []*PrivateIPAddressInfo `json:"PrivateIPAddressSet,omitempty" name:"PrivateIPAddressSet"`

	// Public network information list of the instance, with the primary ENI followed by secondary ENIs in the order of binding.
	// Note: this field may return null, indicating that no valid values can be obtained.
	PublicIPAddressSet []*PublicIPAddressInfo `json:"PublicIPAddressSet,omitempty" name:"PublicIPAddressSet"`

	// Network information of the instance.
	// Note: this field may return null, indicating that no valid values can be obtained.
	InstanceNetworkInfoSet []*InstanceNetworkInfo `json:"InstanceNetworkInfoSet,omitempty" name:"InstanceNetworkInfoSet"`
}

type Ipv6Address

type Ipv6Address struct {

	// IPv6 address, such as `3402:4e00:20:100:0:8cd9:2a67:71f3`
	Address *string `json:"Address,omitempty" name:"Address"`

	// Whether it is the primary IP.
	Primary *bool `json:"Primary,omitempty" name:"Primary"`

	// EIP instance ID, such as `eip-hxlqja90`.
	AddressId *string `json:"AddressId,omitempty" name:"AddressId"`

	// Description.
	Description *string `json:"Description,omitempty" name:"Description"`

	// Whether the public IP is blocked.
	IsWanIpBlocked *bool `json:"IsWanIpBlocked,omitempty" name:"IsWanIpBlocked"`

	// IPv6 address status:
	// PENDING: generating
	// MIGRATING: migrating
	// DELETING: deleting
	// AVAILABLE: available
	State *string `json:"State,omitempty" name:"State"`
}

type KeyPair

type KeyPair struct {

	// Key pair ID, which is the unique identifier of a key pair.
	// Note: this field may return null, indicating that no valid values can be obtained.
	KeyId *string `json:"KeyId,omitempty" name:"KeyId"`

	// Key pair name.
	// Note: this field may return null, indicating that no valid values can be obtained.
	KeyName *string `json:"KeyName,omitempty" name:"KeyName"`

	// Project ID of the key pair.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"`

	// Key pair description.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Description *string `json:"Description,omitempty" name:"Description"`

	// Public key (in plain text) of key pair.
	// Note: this field may return null, indicating that no valid values can be obtained.
	PublicKey *string `json:"PublicKey,omitempty" name:"PublicKey"`

	// Private key (in plaintext) of a key pair. Tencent Cloud do not store private keys. Therefore, keep them secure.
	// Note: this field may return null, indicating that no valid values can be obtained.
	PrivateKey *string `json:"PrivateKey,omitempty" name:"PrivateKey"`

	// List of IDs of the instances associated with the key.
	// Note: this field may return null, indicating that no valid values can be obtained.
	AssociatedInstanceIds []*string `json:"AssociatedInstanceIds,omitempty" name:"AssociatedInstanceIds"`

	// Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
	// Note: this field may return null, indicating that no valid values can be obtained.
	CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"`
}

type Listener

type Listener struct {

	// CLB listener ID
	// Note: this field may return null, indicating that no valid values can be obtained.
	ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"`

	// Listener protocol
	// Note: this field may return null, indicating that no valid values can be obtained.
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`

	// Listener port.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Port *int64 `json:"Port,omitempty" name:"Port"`

	// Health check information of the listener
	// Note: this field may return null, indicating that no valid values can be obtained.
	HealthCheck *HealthCheck `json:"HealthCheck,omitempty" name:"HealthCheck"`

	// Request scheduling method
	// Note: this field may return null, indicating that no valid values can be obtained.
	Scheduler *string `json:"Scheduler,omitempty" name:"Scheduler"`

	// Session persistence time
	// Note: this field may return null, indicating that no valid values can be obtained.
	SessionExpireTime *int64 `json:"SessionExpireTime,omitempty" name:"SessionExpireTime"`

	// Listener name
	// Note: this field may return null, indicating that no valid values can be obtained.
	ListenerName *string `json:"ListenerName,omitempty" name:"ListenerName"`

	// Listener creation time
	// Note: this field may return null, indicating that no valid values can be obtained.
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// Session type of the listener
	// Note: this field may return null, indicating that no valid values can be obtained.
	SessionType *string `json:"SessionType,omitempty" name:"SessionType"`

	// End port of the port range
	// Note: this field may return null, indicating that no valid values can be obtained.
	EndPort *int64 `json:"EndPort,omitempty" name:"EndPort"`
}

type ListenerBackend

type ListenerBackend struct {

	// Listener ID
	// Note: this field may return null, indicating that no valid values can be obtained.
	ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"`

	// Listener protocol
	// Note: this field may return null, indicating that no valid values can be obtained.
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`

	// Listener port
	// Note: this field may return null, indicating that no valid values can be obtained.
	Port *int64 `json:"Port,omitempty" name:"Port"`

	// List of real servers bound to the CLB instance
	// Note: this field may return null, indicating that no valid values can be obtained.
	Targets []*Backend `json:"Targets,omitempty" name:"Targets"`
}

type ListenerHealth

type ListenerHealth struct {

	// Listener ID
	// Note: this field may return null, indicating that no valid values can be obtained.
	ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"`

	// Listener name
	// Note: this field may return null, indicating that no valid values can be obtained.
	ListenerName *string `json:"ListenerName,omitempty" name:"ListenerName"`

	// Listener protocol
	// Note: this field may return null, indicating that no valid values can be obtained.
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`

	// Listener port
	// Note: this field may return null, indicating that no valid values can be obtained.
	Port *int64 `json:"Port,omitempty" name:"Port"`

	// List of forwarding rules of the listener
	// Note: this field may return null, indicating that no valid values can be obtained.
	Rules []*RuleHealth `json:"Rules,omitempty" name:"Rules"`
}

type LoadBalancer

type LoadBalancer struct {

	// Region.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Region *string `json:"Region,omitempty" name:"Region"`

	// Location information.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Position *Position `json:"Position,omitempty" name:"Position"`

	// CLB instance ID.
	// Note: this field may return null, indicating that no valid values can be obtained.
	LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"`

	// CLB instance name.
	// Note: this field may return null, indicating that no valid values can be obtained.
	LoadBalancerName *string `json:"LoadBalancerName,omitempty" name:"LoadBalancerName"`

	// Network type of the CLB instance. Valid values: OPEN: public network
	// Note: this field may return null, indicating that no valid values can be obtained.
	LoadBalancerType *string `json:"LoadBalancerType,omitempty" name:"LoadBalancerType"`

	// List of VIPs of the CLB instance.
	// Note: this field may return null, indicating that no valid values can be obtained.
	LoadBalancerVips []*string `json:"LoadBalancerVips,omitempty" name:"LoadBalancerVips"`

	// CLB instance status. Valid values:
	//  0: creating; 1: running.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Status *int64 `json:"Status,omitempty" name:"Status"`

	// CLB instance creation time.
	// Note: this field may return null, indicating that no valid values can be obtained.
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// Last status change time of the CLB instance.
	// Note: this field may return null, indicating that no valid values can be obtained.
	StatusTime *string `json:"StatusTime,omitempty" name:"StatusTime"`

	// VPC ID.
	// Note: this field may return null, indicating that no valid values can be obtained.
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// CLB instance tag information.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Tags []*TagInfo `json:"Tags,omitempty" name:"Tags"`

	// ISP of the CLB IP address.
	// Note: this field may return null, indicating that no valid values can be obtained.
	VipIsp *string `json:"VipIsp,omitempty" name:"VipIsp"`

	// Network attribute of the CLB instance.
	// Note: this field may return null, indicating that no valid values can be obtained.
	NetworkAttributes *LoadBalancerInternetAccessible `json:"NetworkAttributes,omitempty" name:"NetworkAttributes"`

	// Security group.
	// Note: this field may return null, indicating that no valid values can be obtained.
	SecureGroups []*string `json:"SecureGroups,omitempty" name:"SecureGroups"`

	// Whether the real server opens the traffic from ELB to the internet.
	// Note: this field may return null, indicating that no valid values can be obtained.
	LoadBalancerPassToTarget *bool `json:"LoadBalancerPassToTarget,omitempty" name:"LoadBalancerPassToTarget"`
}

type LoadBalancerHealth

type LoadBalancerHealth struct {

	// CLB instance ID
	// Note: this field may return null, indicating that no valid values can be obtained.
	LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"`

	// CLB instance name
	// Note: this field may return null, indicating that no valid values can be obtained.
	LoadBalancerName *string `json:"LoadBalancerName,omitempty" name:"LoadBalancerName"`

	// List of listeners
	// Note: this field may return null, indicating that no valid values can be obtained.
	Listeners []*ListenerHealth `json:"Listeners,omitempty" name:"Listeners"`
}

type LoadBalancerInternetAccessible

type LoadBalancerInternetAccessible struct {

	// Maximum outbound bandwidth in Mbps. Default value: 10.
	InternetMaxBandwidthOut *int64 `json:"InternetMaxBandwidthOut,omitempty" name:"InternetMaxBandwidthOut"`
}

type MigrateNetworkInterfaceRequest

type MigrateNetworkInterfaceRequest struct {
	*tchttp.BaseRequest

	// ECM region, such as `ap-xian-ecm`.
	EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"`

	// ENI instance ID, such as `eni-m6dyj72l`.
	NetworkInterfaceId *string `json:"NetworkInterfaceId,omitempty" name:"NetworkInterfaceId"`

	// ID of the ECM instance bound to the ENI, such as `ein-r8hr2upy`.
	SourceInstanceId *string `json:"SourceInstanceId,omitempty" name:"SourceInstanceId"`

	// ID of the destination ECM instance to be migrated.
	DestinationInstanceId *string `json:"DestinationInstanceId,omitempty" name:"DestinationInstanceId"`
}

func NewMigrateNetworkInterfaceRequest

func NewMigrateNetworkInterfaceRequest() (request *MigrateNetworkInterfaceRequest)

func (*MigrateNetworkInterfaceRequest) FromJsonString

func (r *MigrateNetworkInterfaceRequest) 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 (*MigrateNetworkInterfaceRequest) ToJsonString

func (r *MigrateNetworkInterfaceRequest) ToJsonString() string

type MigrateNetworkInterfaceResponse

type MigrateNetworkInterfaceResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewMigrateNetworkInterfaceResponse

func NewMigrateNetworkInterfaceResponse() (response *MigrateNetworkInterfaceResponse)

func (*MigrateNetworkInterfaceResponse) FromJsonString

func (r *MigrateNetworkInterfaceResponse) 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 (*MigrateNetworkInterfaceResponse) ToJsonString

func (r *MigrateNetworkInterfaceResponse) ToJsonString() string

type MigratePrivateIpAddressRequest

type MigratePrivateIpAddressRequest struct {
	*tchttp.BaseRequest

	// ECM region, such as `ap-xian-ecm`.
	EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"`

	// ID of the ENI instance bound to the private IP, such as `eni-11112222`.
	SourceNetworkInterfaceId *string `json:"SourceNetworkInterfaceId,omitempty" name:"SourceNetworkInterfaceId"`

	// ID of the destination ENI instance to be migrated.
	DestinationNetworkInterfaceId *string `json:"DestinationNetworkInterfaceId,omitempty" name:"DestinationNetworkInterfaceId"`

	// Private IP address to be migrated, such as `10.0.0.6`.
	PrivateIpAddress *string `json:"PrivateIpAddress,omitempty" name:"PrivateIpAddress"`
}

func NewMigratePrivateIpAddressRequest

func NewMigratePrivateIpAddressRequest() (request *MigratePrivateIpAddressRequest)

func (*MigratePrivateIpAddressRequest) FromJsonString

func (r *MigratePrivateIpAddressRequest) 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 (*MigratePrivateIpAddressRequest) ToJsonString

func (r *MigratePrivateIpAddressRequest) ToJsonString() string

type MigratePrivateIpAddressResponse

type MigratePrivateIpAddressResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewMigratePrivateIpAddressResponse

func NewMigratePrivateIpAddressResponse() (response *MigratePrivateIpAddressResponse)

func (*MigratePrivateIpAddressResponse) FromJsonString

func (r *MigratePrivateIpAddressResponse) 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 (*MigratePrivateIpAddressResponse) ToJsonString

func (r *MigratePrivateIpAddressResponse) ToJsonString() string

type ModifyAddressAttributeRequest

type ModifyAddressAttributeRequest struct {
	*tchttp.BaseRequest

	// ECM region
	EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"`

	// Unique EIP ID, such as `eip-11112222`.
	AddressId *string `json:"AddressId,omitempty" name:"AddressId"`

	// New EIP name, which can contain up to 20 characters.
	AddressName *string `json:"AddressName,omitempty" name:"AddressName"`

	// Whether "direct access" is enabled for the EIP. TRUE: yes. FALSE: no. Note that this parameter is available only to users who have activated the EIP direct access feature.
	EipDirectConnection *string `json:"EipDirectConnection,omitempty" name:"EipDirectConnection"`
}

func NewModifyAddressAttributeRequest

func NewModifyAddressAttributeRequest() (request *ModifyAddressAttributeRequest)

func (*ModifyAddressAttributeRequest) FromJsonString

func (r *ModifyAddressAttributeRequest) 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 (*ModifyAddressAttributeRequest) ToJsonString

func (r *ModifyAddressAttributeRequest) ToJsonString() string

type ModifyAddressAttributeResponse

type ModifyAddressAttributeResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyAddressAttributeResponse

func NewModifyAddressAttributeResponse() (response *ModifyAddressAttributeResponse)

func (*ModifyAddressAttributeResponse) FromJsonString

func (r *ModifyAddressAttributeResponse) 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 (*ModifyAddressAttributeResponse) ToJsonString

func (r *ModifyAddressAttributeResponse) ToJsonString() string

type ModifyAddressesBandwidthRequest

type ModifyAddressesBandwidthRequest struct {
	*tchttp.BaseRequest

	// ECM region
	EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"`

	// Unique EIP ID, such as `eip-xxxxxxx`
	AddressIds []*string `json:"AddressIds,omitempty" name:"AddressIds"`

	// Target bandwidth value
	InternetMaxBandwidthOut *uint64 `json:"InternetMaxBandwidthOut,omitempty" name:"InternetMaxBandwidthOut"`
}

func NewModifyAddressesBandwidthRequest

func NewModifyAddressesBandwidthRequest() (request *ModifyAddressesBandwidthRequest)

func (*ModifyAddressesBandwidthRequest) FromJsonString

func (r *ModifyAddressesBandwidthRequest) 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 (*ModifyAddressesBandwidthRequest) ToJsonString

func (r *ModifyAddressesBandwidthRequest) ToJsonString() string

type ModifyAddressesBandwidthResponse

type ModifyAddressesBandwidthResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Async task ID.
		TaskId *string `json:"TaskId,omitempty" name:"TaskId"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyAddressesBandwidthResponse

func NewModifyAddressesBandwidthResponse() (response *ModifyAddressesBandwidthResponse)

func (*ModifyAddressesBandwidthResponse) FromJsonString

func (r *ModifyAddressesBandwidthResponse) 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 (*ModifyAddressesBandwidthResponse) ToJsonString

func (r *ModifyAddressesBandwidthResponse) ToJsonString() string

type ModifyDefaultSubnetRequest

type ModifyDefaultSubnetRequest struct {
	*tchttp.BaseRequest

	// ECM region
	EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"`

	// ECM AZ
	Zone *string `json:"Zone,omitempty" name:"Zone"`

	// VPC ID
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// Subnet ID
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`
}

func NewModifyDefaultSubnetRequest

func NewModifyDefaultSubnetRequest() (request *ModifyDefaultSubnetRequest)

func (*ModifyDefaultSubnetRequest) FromJsonString

func (r *ModifyDefaultSubnetRequest) 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 (*ModifyDefaultSubnetRequest) ToJsonString

func (r *ModifyDefaultSubnetRequest) ToJsonString() string

type ModifyDefaultSubnetResponse

type ModifyDefaultSubnetResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyDefaultSubnetResponse

func NewModifyDefaultSubnetResponse() (response *ModifyDefaultSubnetResponse)

func (*ModifyDefaultSubnetResponse) FromJsonString

func (r *ModifyDefaultSubnetResponse) 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 (*ModifyDefaultSubnetResponse) ToJsonString

func (r *ModifyDefaultSubnetResponse) ToJsonString() string

type ModifyHaVipAttributeRequest

type ModifyHaVipAttributeRequest struct {
	*tchttp.BaseRequest

	// Unique HAVIP ID, such as `havip-9o233uri`.
	HaVipId *string `json:"HaVipId,omitempty" name:"HaVipId"`

	// HAVIP name, which can be customized with up to 60 characters.
	HaVipName *string `json:"HaVipName,omitempty" name:"HaVipName"`
}

func NewModifyHaVipAttributeRequest

func NewModifyHaVipAttributeRequest() (request *ModifyHaVipAttributeRequest)

func (*ModifyHaVipAttributeRequest) FromJsonString

func (r *ModifyHaVipAttributeRequest) 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 (*ModifyHaVipAttributeRequest) ToJsonString

func (r *ModifyHaVipAttributeRequest) ToJsonString() string

type ModifyHaVipAttributeResponse

type ModifyHaVipAttributeResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyHaVipAttributeResponse

func NewModifyHaVipAttributeResponse() (response *ModifyHaVipAttributeResponse)

func (*ModifyHaVipAttributeResponse) FromJsonString

func (r *ModifyHaVipAttributeResponse) 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 (*ModifyHaVipAttributeResponse) ToJsonString

func (r *ModifyHaVipAttributeResponse) ToJsonString() string

type ModifyImageAttributeRequest

type ModifyImageAttributeRequest struct {
	*tchttp.BaseRequest

	// Image ID, such as `img-gvbnzy6f`
	ImageId *string `json:"ImageId,omitempty" name:"ImageId"`

	// Image name, which must meet the following requirements:
	// It can contain up to 20 characters.
	// - The image name cannot be the same as existing image names.
	ImageName *string `json:"ImageName,omitempty" name:"ImageName"`

	// Image description, which must meet the following requirements:
	// - It cannot exceed 60 characters.
	ImageDescription *string `json:"ImageDescription,omitempty" name:"ImageDescription"`
}

func NewModifyImageAttributeRequest

func NewModifyImageAttributeRequest() (request *ModifyImageAttributeRequest)

func (*ModifyImageAttributeRequest) FromJsonString

func (r *ModifyImageAttributeRequest) 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 (*ModifyImageAttributeRequest) ToJsonString

func (r *ModifyImageAttributeRequest) ToJsonString() string

type ModifyImageAttributeResponse

type ModifyImageAttributeResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyImageAttributeResponse

func NewModifyImageAttributeResponse() (response *ModifyImageAttributeResponse)

func (*ModifyImageAttributeResponse) FromJsonString

func (r *ModifyImageAttributeResponse) 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 (*ModifyImageAttributeResponse) ToJsonString

func (r *ModifyImageAttributeResponse) ToJsonString() string

type ModifyInstancesAttributeRequest

type ModifyInstancesAttributeRequest struct {
	*tchttp.BaseRequest

	// List of IDs of the instances to be modified. You can request up to 100 instances at a time.
	InstanceIdSet []*string `json:"InstanceIdSet,omitempty" name:"InstanceIdSet"`

	// Instance name displayed after successful modification, which can contain up to 60 characters. If this parameter is not specified, an empty value will be displayed.
	InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"`

	// List of IDs of the security groups of the instance. The instance will be associated with the specified security groups and will be disassociated from the original security groups. The maximum quantity is 5.
	SecurityGroups []*string `json:"SecurityGroups,omitempty" name:"SecurityGroups"`
}

func NewModifyInstancesAttributeRequest

func NewModifyInstancesAttributeRequest() (request *ModifyInstancesAttributeRequest)

func (*ModifyInstancesAttributeRequest) FromJsonString

func (r *ModifyInstancesAttributeRequest) 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 (*ModifyInstancesAttributeRequest) ToJsonString

func (r *ModifyInstancesAttributeRequest) ToJsonString() string

type ModifyInstancesAttributeResponse

type ModifyInstancesAttributeResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyInstancesAttributeResponse

func NewModifyInstancesAttributeResponse() (response *ModifyInstancesAttributeResponse)

func (*ModifyInstancesAttributeResponse) FromJsonString

func (r *ModifyInstancesAttributeResponse) 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 (*ModifyInstancesAttributeResponse) ToJsonString

func (r *ModifyInstancesAttributeResponse) ToJsonString() string

type ModifyIpv6AddressesAttributeRequest

type ModifyIpv6AddressesAttributeRequest struct {
	*tchttp.BaseRequest

	// ECM region
	EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"`

	// ENI instance ID, such as `eni-m6dyj72l`.
	NetworkInterfaceId *string `json:"NetworkInterfaceId,omitempty" name:"NetworkInterfaceId"`

	// Information of the specified IPv6 addresses.
	Ipv6Addresses []*Ipv6Address `json:"Ipv6Addresses,omitempty" name:"Ipv6Addresses"`
}

func NewModifyIpv6AddressesAttributeRequest

func NewModifyIpv6AddressesAttributeRequest() (request *ModifyIpv6AddressesAttributeRequest)

func (*ModifyIpv6AddressesAttributeRequest) FromJsonString

func (r *ModifyIpv6AddressesAttributeRequest) 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 (*ModifyIpv6AddressesAttributeRequest) ToJsonString

func (r *ModifyIpv6AddressesAttributeRequest) ToJsonString() string

type ModifyIpv6AddressesAttributeResponse

type ModifyIpv6AddressesAttributeResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyIpv6AddressesAttributeResponse

func NewModifyIpv6AddressesAttributeResponse() (response *ModifyIpv6AddressesAttributeResponse)

func (*ModifyIpv6AddressesAttributeResponse) FromJsonString

func (r *ModifyIpv6AddressesAttributeResponse) 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 (*ModifyIpv6AddressesAttributeResponse) ToJsonString

func (r *ModifyIpv6AddressesAttributeResponse) ToJsonString() string

type ModifyListenerRequest

type ModifyListenerRequest struct {
	*tchttp.BaseRequest

	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"`

	// CLB listener ID
	ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"`

	// New listener name
	ListenerName *string `json:"ListenerName,omitempty" name:"ListenerName"`

	// Session persistence time in seconds. Value range: 30–3600. The default value is 0, indicating that session persistence is not enabled. This parameter is applicable only to TCP/UDP listeners.
	SessionExpireTime *int64 `json:"SessionExpireTime,omitempty" name:"SessionExpireTime"`

	// Health check parameters
	HealthCheck *HealthCheck `json:"HealthCheck,omitempty" name:"HealthCheck"`

	// Forwarding method of the listener. Valid values: WRR, LEAST_CONN.
	// They represent weighted round robin and least connections, respectively. Default value: WRR.
	Scheduler *string `json:"Scheduler,omitempty" name:"Scheduler"`
}

func NewModifyListenerRequest

func NewModifyListenerRequest() (request *ModifyListenerRequest)

func (*ModifyListenerRequest) FromJsonString

func (r *ModifyListenerRequest) 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 (*ModifyListenerRequest) ToJsonString

func (r *ModifyListenerRequest) ToJsonString() string

type ModifyListenerResponse

type ModifyListenerResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyListenerResponse

func NewModifyListenerResponse() (response *ModifyListenerResponse)

func (*ModifyListenerResponse) FromJsonString

func (r *ModifyListenerResponse) 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 (*ModifyListenerResponse) ToJsonString

func (r *ModifyListenerResponse) ToJsonString() string

type ModifyLoadBalancerAttributesRequest

type ModifyLoadBalancerAttributesRequest struct {
	*tchttp.BaseRequest

	// Unique CLB ID
	LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"`

	// CLB instance name
	LoadBalancerName *string `json:"LoadBalancerName,omitempty" name:"LoadBalancerName"`

	// Network billing and bandwidth parameters
	InternetChargeInfo *LoadBalancerInternetAccessible `json:"InternetChargeInfo,omitempty" name:"InternetChargeInfo"`

	// Whether to allow ELB traffic to the target group. `true`: allows ELB traffic to the target group and verifies security groups only on ELB; `false`: denies ELB traffic to the target group and verifies security groups on both ELB and backend instances.
	LoadBalancerPassToTarget *bool `json:"LoadBalancerPassToTarget,omitempty" name:"LoadBalancerPassToTarget"`
}

func NewModifyLoadBalancerAttributesRequest

func NewModifyLoadBalancerAttributesRequest() (request *ModifyLoadBalancerAttributesRequest)

func (*ModifyLoadBalancerAttributesRequest) FromJsonString

func (r *ModifyLoadBalancerAttributesRequest) 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 (*ModifyLoadBalancerAttributesRequest) ToJsonString

func (r *ModifyLoadBalancerAttributesRequest) ToJsonString() string

type ModifyLoadBalancerAttributesResponse

type ModifyLoadBalancerAttributesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyLoadBalancerAttributesResponse

func NewModifyLoadBalancerAttributesResponse() (response *ModifyLoadBalancerAttributesResponse)

func (*ModifyLoadBalancerAttributesResponse) FromJsonString

func (r *ModifyLoadBalancerAttributesResponse) 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 (*ModifyLoadBalancerAttributesResponse) ToJsonString

func (r *ModifyLoadBalancerAttributesResponse) ToJsonString() string

type ModifyModuleConfigRequest

type ModifyModuleConfigRequest struct {
	*tchttp.BaseRequest

	// Module ID.
	ModuleId *string `json:"ModuleId,omitempty" name:"ModuleId"`

	// Model ID.
	InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"`

	// Default data disk size in GB. It cannot exceed the system disk size range. For more information, see `DescribeConfig`.
	DefaultDataDiskSize *int64 `json:"DefaultDataDiskSize,omitempty" name:"DefaultDataDiskSize"`

	// Default system disk size in GB. It cannot exceed the system disk size range. For more information, see `DescribeConfig`.
	DefaultSystemDiskSize *int64 `json:"DefaultSystemDiskSize,omitempty" name:"DefaultSystemDiskSize"`

	// System disk
	SystemDisk *SystemDisk `json:"SystemDisk,omitempty" name:"SystemDisk"`

	// Data disk
	DataDisks []*DataDisk `json:"DataDisks,omitempty" name:"DataDisks"`
}

func NewModifyModuleConfigRequest

func NewModifyModuleConfigRequest() (request *ModifyModuleConfigRequest)

func (*ModifyModuleConfigRequest) FromJsonString

func (r *ModifyModuleConfigRequest) 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 (*ModifyModuleConfigRequest) ToJsonString

func (r *ModifyModuleConfigRequest) ToJsonString() string

type ModifyModuleConfigResponse

type ModifyModuleConfigResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyModuleConfigResponse

func NewModifyModuleConfigResponse() (response *ModifyModuleConfigResponse)

func (*ModifyModuleConfigResponse) FromJsonString

func (r *ModifyModuleConfigResponse) 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 (*ModifyModuleConfigResponse) ToJsonString

func (r *ModifyModuleConfigResponse) ToJsonString() string

type ModifyModuleDisableWanIpRequest

type ModifyModuleDisableWanIpRequest struct {
	*tchttp.BaseRequest

	// Module ID
	ModuleId *string `json:"ModuleId,omitempty" name:"ModuleId"`

	// Whether to prohibit public IP assignment. Valid values: true: no; false: yes.
	DisableWanIp *bool `json:"DisableWanIp,omitempty" name:"DisableWanIp"`
}

func NewModifyModuleDisableWanIpRequest

func NewModifyModuleDisableWanIpRequest() (request *ModifyModuleDisableWanIpRequest)

func (*ModifyModuleDisableWanIpRequest) FromJsonString

func (r *ModifyModuleDisableWanIpRequest) 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 (*ModifyModuleDisableWanIpRequest) ToJsonString

func (r *ModifyModuleDisableWanIpRequest) ToJsonString() string

type ModifyModuleDisableWanIpResponse

type ModifyModuleDisableWanIpResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyModuleDisableWanIpResponse

func NewModifyModuleDisableWanIpResponse() (response *ModifyModuleDisableWanIpResponse)

func (*ModifyModuleDisableWanIpResponse) FromJsonString

func (r *ModifyModuleDisableWanIpResponse) 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 (*ModifyModuleDisableWanIpResponse) ToJsonString

func (r *ModifyModuleDisableWanIpResponse) ToJsonString() string

type ModifyModuleImageRequest

type ModifyModuleImageRequest struct {
	*tchttp.BaseRequest

	// Default image ID
	DefaultImageId *string `json:"DefaultImageId,omitempty" name:"DefaultImageId"`

	// Module ID
	ModuleId *string `json:"ModuleId,omitempty" name:"ModuleId"`
}

func NewModifyModuleImageRequest

func NewModifyModuleImageRequest() (request *ModifyModuleImageRequest)

func (*ModifyModuleImageRequest) FromJsonString

func (r *ModifyModuleImageRequest) 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 (*ModifyModuleImageRequest) ToJsonString

func (r *ModifyModuleImageRequest) ToJsonString() string

type ModifyModuleImageResponse

type ModifyModuleImageResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyModuleImageResponse

func NewModifyModuleImageResponse() (response *ModifyModuleImageResponse)

func (*ModifyModuleImageResponse) FromJsonString

func (r *ModifyModuleImageResponse) 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 (*ModifyModuleImageResponse) ToJsonString

func (r *ModifyModuleImageResponse) ToJsonString() string

type ModifyModuleIpDirectRequest

type ModifyModuleIpDirectRequest struct {
	*tchttp.BaseRequest

	// Module ID.
	ModuleId *string `json:"ModuleId,omitempty" name:"ModuleId"`

	// Whether to disable IP direct access. Valid values:
	// true: yes
	// false: no
	CloseIpDirect *bool `json:"CloseIpDirect,omitempty" name:"CloseIpDirect"`
}

func NewModifyModuleIpDirectRequest

func NewModifyModuleIpDirectRequest() (request *ModifyModuleIpDirectRequest)

func (*ModifyModuleIpDirectRequest) FromJsonString

func (r *ModifyModuleIpDirectRequest) 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 (*ModifyModuleIpDirectRequest) ToJsonString

func (r *ModifyModuleIpDirectRequest) ToJsonString() string

type ModifyModuleIpDirectResponse

type ModifyModuleIpDirectResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyModuleIpDirectResponse

func NewModifyModuleIpDirectResponse() (response *ModifyModuleIpDirectResponse)

func (*ModifyModuleIpDirectResponse) FromJsonString

func (r *ModifyModuleIpDirectResponse) 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 (*ModifyModuleIpDirectResponse) ToJsonString

func (r *ModifyModuleIpDirectResponse) ToJsonString() string

type ModifyModuleNameRequest

type ModifyModuleNameRequest struct {
	*tchttp.BaseRequest

	// Module ID.
	ModuleId *string `json:"ModuleId,omitempty" name:"ModuleId"`

	// Module name.
	ModuleName *string `json:"ModuleName,omitempty" name:"ModuleName"`
}

func NewModifyModuleNameRequest

func NewModifyModuleNameRequest() (request *ModifyModuleNameRequest)

func (*ModifyModuleNameRequest) FromJsonString

func (r *ModifyModuleNameRequest) 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 (*ModifyModuleNameRequest) ToJsonString

func (r *ModifyModuleNameRequest) ToJsonString() string

type ModifyModuleNameResponse

type ModifyModuleNameResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyModuleNameResponse

func NewModifyModuleNameResponse() (response *ModifyModuleNameResponse)

func (*ModifyModuleNameResponse) FromJsonString

func (r *ModifyModuleNameResponse) 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 (*ModifyModuleNameResponse) ToJsonString

func (r *ModifyModuleNameResponse) ToJsonString() string

type ModifyModuleNetworkRequest

type ModifyModuleNetworkRequest struct {
	*tchttp.BaseRequest

	// Module ID
	ModuleId *string `json:"ModuleId,omitempty" name:"ModuleId"`

	// Default outbound bandwidth cap
	DefaultBandwidth *int64 `json:"DefaultBandwidth,omitempty" name:"DefaultBandwidth"`

	// Default inbound bandwidth cap
	DefaultBandwidthIn *int64 `json:"DefaultBandwidthIn,omitempty" name:"DefaultBandwidthIn"`
}

func NewModifyModuleNetworkRequest

func NewModifyModuleNetworkRequest() (request *ModifyModuleNetworkRequest)

func (*ModifyModuleNetworkRequest) FromJsonString

func (r *ModifyModuleNetworkRequest) 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 (*ModifyModuleNetworkRequest) ToJsonString

func (r *ModifyModuleNetworkRequest) ToJsonString() string

type ModifyModuleNetworkResponse

type ModifyModuleNetworkResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyModuleNetworkResponse

func NewModifyModuleNetworkResponse() (response *ModifyModuleNetworkResponse)

func (*ModifyModuleNetworkResponse) FromJsonString

func (r *ModifyModuleNetworkResponse) 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 (*ModifyModuleNetworkResponse) ToJsonString

func (r *ModifyModuleNetworkResponse) ToJsonString() string

type ModifyModuleSecurityGroupsRequest

type ModifyModuleSecurityGroupsRequest struct {
	*tchttp.BaseRequest

	// List of up to 5 security groups.
	SecurityGroupIdSet []*string `json:"SecurityGroupIdSet,omitempty" name:"SecurityGroupIdSet"`

	// Module ID.
	ModuleId *string `json:"ModuleId,omitempty" name:"ModuleId"`
}

func NewModifyModuleSecurityGroupsRequest

func NewModifyModuleSecurityGroupsRequest() (request *ModifyModuleSecurityGroupsRequest)

func (*ModifyModuleSecurityGroupsRequest) FromJsonString

func (r *ModifyModuleSecurityGroupsRequest) 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 (*ModifyModuleSecurityGroupsRequest) ToJsonString

func (r *ModifyModuleSecurityGroupsRequest) ToJsonString() string

type ModifyModuleSecurityGroupsResponse

type ModifyModuleSecurityGroupsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyModuleSecurityGroupsResponse

func NewModifyModuleSecurityGroupsResponse() (response *ModifyModuleSecurityGroupsResponse)

func (*ModifyModuleSecurityGroupsResponse) FromJsonString

func (r *ModifyModuleSecurityGroupsResponse) 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 (*ModifyModuleSecurityGroupsResponse) ToJsonString

func (r *ModifyModuleSecurityGroupsResponse) ToJsonString() string

type ModifyPrivateIpAddressesAttributeRequest

type ModifyPrivateIpAddressesAttributeRequest struct {
	*tchttp.BaseRequest

	// ENI instance ID, such as `eni-m6dyj72l`.
	NetworkInterfaceId *string `json:"NetworkInterfaceId,omitempty" name:"NetworkInterfaceId"`

	// Information of the specified private IP addresses.
	PrivateIpAddresses []*PrivateIpAddressSpecification `json:"PrivateIpAddresses,omitempty" name:"PrivateIpAddresses"`

	// Region information of the ECM node, such as `ap-xian-ecm`.
	EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"`
}

func NewModifyPrivateIpAddressesAttributeRequest

func NewModifyPrivateIpAddressesAttributeRequest() (request *ModifyPrivateIpAddressesAttributeRequest)

func (*ModifyPrivateIpAddressesAttributeRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyPrivateIpAddressesAttributeRequest) ToJsonString

type ModifyPrivateIpAddressesAttributeResponse

type ModifyPrivateIpAddressesAttributeResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyPrivateIpAddressesAttributeResponse

func NewModifyPrivateIpAddressesAttributeResponse() (response *ModifyPrivateIpAddressesAttributeResponse)

func (*ModifyPrivateIpAddressesAttributeResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyPrivateIpAddressesAttributeResponse) ToJsonString

type ModifyRouteTableAttributeRequest

type ModifyRouteTableAttributeRequest struct {
	*tchttp.BaseRequest

	// Route table instance ID, such as `rtb-azd4dt1c`
	RouteTableId *string `json:"RouteTableId,omitempty" name:"RouteTableId"`

	// Route table name
	RouteTableName *string `json:"RouteTableName,omitempty" name:"RouteTableName"`
}

func NewModifyRouteTableAttributeRequest

func NewModifyRouteTableAttributeRequest() (request *ModifyRouteTableAttributeRequest)

func (*ModifyRouteTableAttributeRequest) FromJsonString

func (r *ModifyRouteTableAttributeRequest) 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 (*ModifyRouteTableAttributeRequest) ToJsonString

func (r *ModifyRouteTableAttributeRequest) ToJsonString() string

type ModifyRouteTableAttributeResponse

type ModifyRouteTableAttributeResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyRouteTableAttributeResponse

func NewModifyRouteTableAttributeResponse() (response *ModifyRouteTableAttributeResponse)

func (*ModifyRouteTableAttributeResponse) FromJsonString

func (r *ModifyRouteTableAttributeResponse) 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 (*ModifyRouteTableAttributeResponse) ToJsonString

func (r *ModifyRouteTableAttributeResponse) ToJsonString() string

type ModifySecurityGroupAttributeRequest

type ModifySecurityGroupAttributeRequest struct {
	*tchttp.BaseRequest

	// Security group instance ID, such as `esg-33ocnj9n`, which can be obtained through the `DescribeSecurityGroups` API.
	SecurityGroupId *string `json:"SecurityGroupId,omitempty" name:"SecurityGroupId"`

	// Security group name, which can be customized with up to 60 characters.
	GroupName *string `json:"GroupName,omitempty" name:"GroupName"`

	// Security group remarks, which can contain up to 100 characters.
	GroupDescription *string `json:"GroupDescription,omitempty" name:"GroupDescription"`
}

func NewModifySecurityGroupAttributeRequest

func NewModifySecurityGroupAttributeRequest() (request *ModifySecurityGroupAttributeRequest)

func (*ModifySecurityGroupAttributeRequest) FromJsonString

func (r *ModifySecurityGroupAttributeRequest) 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 (*ModifySecurityGroupAttributeRequest) ToJsonString

func (r *ModifySecurityGroupAttributeRequest) ToJsonString() string

type ModifySecurityGroupAttributeResponse

type ModifySecurityGroupAttributeResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifySecurityGroupAttributeResponse

func NewModifySecurityGroupAttributeResponse() (response *ModifySecurityGroupAttributeResponse)

func (*ModifySecurityGroupAttributeResponse) FromJsonString

func (r *ModifySecurityGroupAttributeResponse) 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 (*ModifySecurityGroupAttributeResponse) ToJsonString

func (r *ModifySecurityGroupAttributeResponse) ToJsonString() string

type ModifySecurityGroupPoliciesRequest

type ModifySecurityGroupPoliciesRequest struct {
	*tchttp.BaseRequest

	// Security group instance ID, such as `esg-33ocnj9n`, which can be obtained through the `DescribeSecurityGroups` API.
	SecurityGroupId *string `json:"SecurityGroupId,omitempty" name:"SecurityGroupId"`

	// Security group policy set. You must specify both new egress and ingress policies for the `SecurityGroupPolicySet` object. You cannot customize the index (PolicyIndex) of the `SecurityGroupPolicy` object.
	SecurityGroupPolicySet *SecurityGroupPolicySet `json:"SecurityGroupPolicySet,omitempty" name:"SecurityGroupPolicySet"`

	// Whether security group sorting is supported. `True` indicates yes. If `SortPolicys` doesn't exist or is set to `False`, the security group policy can be modified.
	SortPolicys *bool `json:"SortPolicys,omitempty" name:"SortPolicys"`
}

func NewModifySecurityGroupPoliciesRequest

func NewModifySecurityGroupPoliciesRequest() (request *ModifySecurityGroupPoliciesRequest)

func (*ModifySecurityGroupPoliciesRequest) FromJsonString

func (r *ModifySecurityGroupPoliciesRequest) 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 (*ModifySecurityGroupPoliciesRequest) ToJsonString

func (r *ModifySecurityGroupPoliciesRequest) ToJsonString() string

type ModifySecurityGroupPoliciesResponse

type ModifySecurityGroupPoliciesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifySecurityGroupPoliciesResponse

func NewModifySecurityGroupPoliciesResponse() (response *ModifySecurityGroupPoliciesResponse)

func (*ModifySecurityGroupPoliciesResponse) FromJsonString

func (r *ModifySecurityGroupPoliciesResponse) 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 (*ModifySecurityGroupPoliciesResponse) ToJsonString

func (r *ModifySecurityGroupPoliciesResponse) ToJsonString() string

type ModifySubnetAttributeRequest

type ModifySubnetAttributeRequest struct {
	*tchttp.BaseRequest

	// Subnet instance ID, such as `subnet-pxir56ns`.
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`

	// ECM region
	EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"`

	// Subnet name, which can contain up to 60 bytes.
	SubnetName *string `json:"SubnetName,omitempty" name:"SubnetName"`

	// Whether to enable broadcast for the subnet.
	EnableBroadcast *string `json:"EnableBroadcast,omitempty" name:"EnableBroadcast"`

	// Tag key value of the subnet
	Tags []*Tag `json:"Tags,omitempty" name:"Tags"`
}

func NewModifySubnetAttributeRequest

func NewModifySubnetAttributeRequest() (request *ModifySubnetAttributeRequest)

func (*ModifySubnetAttributeRequest) FromJsonString

func (r *ModifySubnetAttributeRequest) 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 (*ModifySubnetAttributeRequest) ToJsonString

func (r *ModifySubnetAttributeRequest) ToJsonString() string

type ModifySubnetAttributeResponse

type ModifySubnetAttributeResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifySubnetAttributeResponse

func NewModifySubnetAttributeResponse() (response *ModifySubnetAttributeResponse)

func (*ModifySubnetAttributeResponse) FromJsonString

func (r *ModifySubnetAttributeResponse) 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 (*ModifySubnetAttributeResponse) ToJsonString

func (r *ModifySubnetAttributeResponse) ToJsonString() string

type ModifyTargetPortRequest

type ModifyTargetPortRequest struct {
	*tchttp.BaseRequest

	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"`

	// CLB listener ID
	ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"`

	// List of real servers for which to modify the ports
	Targets []*Target `json:"Targets,omitempty" name:"Targets"`

	// New port of the real server bound to the listener or forwarding rule
	NewPort *int64 `json:"NewPort,omitempty" name:"NewPort"`
}

func NewModifyTargetPortRequest

func NewModifyTargetPortRequest() (request *ModifyTargetPortRequest)

func (*ModifyTargetPortRequest) FromJsonString

func (r *ModifyTargetPortRequest) 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 (*ModifyTargetPortRequest) ToJsonString

func (r *ModifyTargetPortRequest) ToJsonString() string

type ModifyTargetPortResponse

type ModifyTargetPortResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyTargetPortResponse

func NewModifyTargetPortResponse() (response *ModifyTargetPortResponse)

func (*ModifyTargetPortResponse) FromJsonString

func (r *ModifyTargetPortResponse) 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 (*ModifyTargetPortResponse) ToJsonString

func (r *ModifyTargetPortResponse) ToJsonString() string

type ModifyTargetWeightRequest

type ModifyTargetWeightRequest struct {
	*tchttp.BaseRequest

	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"`

	// CLB listener ID
	ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"`

	// List of real servers for which to modify the weights
	Targets []*Target `json:"Targets,omitempty" name:"Targets"`

	// New forwarding weight of the real server. Value range: 0-100. Default value: 10. This parameter will not take effect if the `Targets.Weight` parameter is set.
	Weight *int64 `json:"Weight,omitempty" name:"Weight"`
}

func NewModifyTargetWeightRequest

func NewModifyTargetWeightRequest() (request *ModifyTargetWeightRequest)

func (*ModifyTargetWeightRequest) FromJsonString

func (r *ModifyTargetWeightRequest) 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 (*ModifyTargetWeightRequest) ToJsonString

func (r *ModifyTargetWeightRequest) ToJsonString() string

type ModifyTargetWeightResponse

type ModifyTargetWeightResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyTargetWeightResponse

func NewModifyTargetWeightResponse() (response *ModifyTargetWeightResponse)

func (*ModifyTargetWeightResponse) FromJsonString

func (r *ModifyTargetWeightResponse) 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 (*ModifyTargetWeightResponse) ToJsonString

func (r *ModifyTargetWeightResponse) ToJsonString() string

type ModifyVpcAttributeRequest

type ModifyVpcAttributeRequest struct {
	*tchttp.BaseRequest

	// VPC instance ID, such as `vpc-f49l6u0z`.
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// ECM region
	EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"`

	// VPC name, which can be customized with up to 60 characters.
	VpcName *string `json:"VpcName,omitempty" name:"VpcName"`

	// Tags
	Tags []*Tag `json:"Tags,omitempty" name:"Tags"`

	// VPC description
	Description *string `json:"Description,omitempty" name:"Description"`
}

func NewModifyVpcAttributeRequest

func NewModifyVpcAttributeRequest() (request *ModifyVpcAttributeRequest)

func (*ModifyVpcAttributeRequest) FromJsonString

func (r *ModifyVpcAttributeRequest) 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 (*ModifyVpcAttributeRequest) ToJsonString

func (r *ModifyVpcAttributeRequest) ToJsonString() string

type ModifyVpcAttributeResponse

type ModifyVpcAttributeResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyVpcAttributeResponse

func NewModifyVpcAttributeResponse() (response *ModifyVpcAttributeResponse)

func (*ModifyVpcAttributeResponse) FromJsonString

func (r *ModifyVpcAttributeResponse) 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 (*ModifyVpcAttributeResponse) ToJsonString

func (r *ModifyVpcAttributeResponse) ToJsonString() string

type Module

type Module struct {

	// Module ID.
	ModuleId *string `json:"ModuleId,omitempty" name:"ModuleId"`

	// Module name.
	ModuleName *string `json:"ModuleName,omitempty" name:"ModuleName"`

	// Module status. Valid values:
	// NORMAL: normal.
	// DELETING: deleting
	// DELETEFAILED: failed to delete.
	ModuleState *string `json:"ModuleState,omitempty" name:"ModuleState"`

	// Default system disk size.
	DefaultSystemDiskSize *int64 `json:"DefaultSystemDiskSize,omitempty" name:"DefaultSystemDiskSize"`

	// Default data disk size.
	DefaultDataDiskSize *int64 `json:"DefaultDataDiskSize,omitempty" name:"DefaultDataDiskSize"`

	// Default model.
	InstanceTypeConfig *InstanceTypeConfig `json:"InstanceTypeConfig,omitempty" name:"InstanceTypeConfig"`

	// Default image.
	DefaultImage *Image `json:"DefaultImage,omitempty" name:"DefaultImage"`

	// Creation time.
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// Default outbound bandwidth.
	DefaultBandwidth *int64 `json:"DefaultBandwidth,omitempty" name:"DefaultBandwidth"`

	// Tag set.
	// Note: this field may return null, indicating that no valid values can be obtained.
	TagSet []*Tag `json:"TagSet,omitempty" name:"TagSet"`

	// Whether to disable IP direct access.
	CloseIpDirect *int64 `json:"CloseIpDirect,omitempty" name:"CloseIpDirect"`

	// List of default security group IDs.
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds"`

	// Default inbound bandwidth.
	DefaultBandwidthIn *int64 `json:"DefaultBandwidthIn,omitempty" name:"DefaultBandwidthIn"`

	// Custom script data
	UserData *string `json:"UserData,omitempty" name:"UserData"`

	// System disk information.
	SystemDisk *SystemDisk `json:"SystemDisk,omitempty" name:"SystemDisk"`

	// Data disk information.
	DataDisks []*DataDisk `json:"DataDisks,omitempty" name:"DataDisks"`
}

type ModuleCounter

type ModuleCounter struct {

	// ISP statistics list
	ISPCounterSet []*ISPCounter `json:"ISPCounterSet,omitempty" name:"ISPCounterSet"`

	// Number of provinces/states
	ProvinceNum *int64 `json:"ProvinceNum,omitempty" name:"ProvinceNum"`

	// Number of cities
	CityNum *int64 `json:"CityNum,omitempty" name:"CityNum"`

	// Number of nodes
	NodeNum *int64 `json:"NodeNum,omitempty" name:"NodeNum"`

	// Number of instances
	InstanceNum *int64 `json:"InstanceNum,omitempty" name:"InstanceNum"`
}

type ModuleItem

type ModuleItem struct {

	// Instance statistics of the node
	NodeInstanceNum *NodeInstanceNum `json:"NodeInstanceNum,omitempty" name:"NodeInstanceNum"`

	// Module information
	Module *Module `json:"Module,omitempty" name:"Module"`
}

type MonthNetwork

type MonthNetwork struct {

	// Zone information of the node
	ZoneInfo *ZoneInfo `json:"ZoneInfo,omitempty" name:"ZoneInfo"`

	// Bandwidth month, such as `202103`
	Month *string `json:"Month,omitempty" name:"Month"`

	// Bandwidth package ID format, such as `bwp-xxxxxxxx`
	BandwidthPkgId *string `json:"BandwidthPkgId,omitempty" name:"BandwidthPkgId"`

	// ISP abbreviation. Valid values: CUCC, CTCC, CMCC
	Isp *string `json:"Isp,omitempty" name:"Isp"`

	// Inbound bandwidth package peak. Value range: 0.0–xxx.xxx
	TrafficMaxIn *float64 `json:"TrafficMaxIn,omitempty" name:"TrafficMaxIn"`

	// Outbound bandwidth package peak. Value range: 0.0–xxx.xxx
	TrafficMaxOut *float64 `json:"TrafficMaxOut,omitempty" name:"TrafficMaxOut"`

	// Billable bandwidth. Value range: 0.0–xxx.xxx
	FeeTraffic *float64 `json:"FeeTraffic,omitempty" name:"FeeTraffic"`

	// Start time of the monthly billable bandwidth in the format of `yyyy-mm-dd HH:mm:ss`
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End time of the monthly billable bandwidth in the format of `yyyy-mm-dd HH:mm:ss`
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Number of actual valid days for the monthly billable bandwidth, which must be an integer greater than or equal to 0
	EffectiveDays *int64 `json:"EffectiveDays,omitempty" name:"EffectiveDays"`

	// Actual number of days in the specified month, such as 30
	MonthDays *int64 `json:"MonthDays,omitempty" name:"MonthDays"`

	// Proportion of the number of valid days, accurate to four decimal places, such as `0.2134`
	EffectiveDaysRate *float64 `json:"EffectiveDaysRate,omitempty" name:"EffectiveDaysRate"`

	// Billable bandwidth package type. Valid values: Address, LoadBalance, AddressIpv6
	BandwidthPkgType *string `json:"BandwidthPkgType,omitempty" name:"BandwidthPkgType"`
}

type NetworkInterface

type NetworkInterface struct {

	// ENI instance ID, such as `eni-f1xjkw1b`.
	NetworkInterfaceId *string `json:"NetworkInterfaceId,omitempty" name:"NetworkInterfaceId"`

	// ENI name.
	NetworkInterfaceName *string `json:"NetworkInterfaceName,omitempty" name:"NetworkInterfaceName"`

	// ENI description.
	NetworkInterfaceDescription *string `json:"NetworkInterfaceDescription,omitempty" name:"NetworkInterfaceDescription"`

	// Subnet instance ID.
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`

	// VPC instance ID.
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// Bound security groups.
	// Note: this field may return null, indicating that no valid values can be obtained.
	GroupSet []*string `json:"GroupSet,omitempty" name:"GroupSet"`

	// Whether it is the primary ENI.
	Primary *bool `json:"Primary,omitempty" name:"Primary"`

	// MAC address.
	MacAddress *string `json:"MacAddress,omitempty" name:"MacAddress"`

	// ENI status:
	// PENDING: creating
	// AVAILABLE: available
	// ATTACHING: binding
	// DETACHING: unbinding
	// DELETING: deleting
	State *string `json:"State,omitempty" name:"State"`

	// Private IP information.
	// Note: this field may return null, indicating that no valid values can be obtained.
	PrivateIpAddressSet []*PrivateIpAddressSpecification `json:"PrivateIpAddressSet,omitempty" name:"PrivateIpAddressSet"`

	// Bound CVM object.
	// Note: this field may return null, indicating that no valid values can be obtained.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Attachment *NetworkInterfaceAttachment `json:"Attachment,omitempty" name:"Attachment"`

	// AZ.
	Zone *string `json:"Zone,omitempty" name:"Zone"`

	// Creation time.
	CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"`

	// List of IPv6 addresses.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Ipv6AddressSet []*Ipv6Address `json:"Ipv6AddressSet,omitempty" name:"Ipv6AddressSet"`

	// Tag key-value pairs.
	// Note: this field may return null, indicating that no valid values can be obtained.
	TagSet []*Tag `json:"TagSet,omitempty" name:"TagSet"`

	// ENI type. Valid values: 0: ENI; 1: EVM ENI.
	EniType *uint64 `json:"EniType,omitempty" name:"EniType"`

	// ECM region (EcmRegion)
	EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"`
}

type NetworkInterfaceAttachment

type NetworkInterfaceAttachment struct {

	// CVM instance ID.
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Serial number of the ENI in the CVM instance.
	DeviceIndex *uint64 `json:"DeviceIndex,omitempty" name:"DeviceIndex"`

	// Account information of the CVM instance owner.
	InstanceAccountId *string `json:"InstanceAccountId,omitempty" name:"InstanceAccountId"`

	// Binding time.
	AttachTime *string `json:"AttachTime,omitempty" name:"AttachTime"`
}

type NetworkStorageRange

type NetworkStorageRange struct {

	// Network bandwidth cap
	MaxBandwidth *int64 `json:"MaxBandwidth,omitempty" name:"MaxBandwidth"`

	// Upper limit of the data disk size
	MaxSystemDiskSize *int64 `json:"MaxSystemDiskSize,omitempty" name:"MaxSystemDiskSize"`

	// Lower limit of the network bandwidth
	MinBandwidth *int64 `json:"MinBandwidth,omitempty" name:"MinBandwidth"`

	// Lower limit of the data disk size
	MinSystemDiskSize *int64 `json:"MinSystemDiskSize,omitempty" name:"MinSystemDiskSize"`

	// Maximum data disk size
	MaxDataDiskSize *int64 `json:"MaxDataDiskSize,omitempty" name:"MaxDataDiskSize"`

	// Minimum data disk size
	MinDataDiskSize *int64 `json:"MinDataDiskSize,omitempty" name:"MinDataDiskSize"`

	// Suggested bandwidth
	SuggestBandwidth *int64 `json:"SuggestBandwidth,omitempty" name:"SuggestBandwidth"`

	// Suggested disk size
	SuggestDataDiskSize *int64 `json:"SuggestDataDiskSize,omitempty" name:"SuggestDataDiskSize"`

	// Suggested system disk size
	SuggestSystemDiskSize *int64 `json:"SuggestSystemDiskSize,omitempty" name:"SuggestSystemDiskSize"`

	// Peak number of CPU cores
	MaxVcpu *int64 `json:"MaxVcpu,omitempty" name:"MaxVcpu"`

	// Minimum number of CPU cores
	MinVcpu *int64 `json:"MinVcpu,omitempty" name:"MinVcpu"`

	// Maximum number of CPU cores per request
	MaxVcpuPerReq *int64 `json:"MaxVcpuPerReq,omitempty" name:"MaxVcpuPerReq"`

	// Bandwidth increment
	PerBandwidth *int64 `json:"PerBandwidth,omitempty" name:"PerBandwidth"`

	// Data disk increment
	PerDataDisk *int64 `json:"PerDataDisk,omitempty" name:"PerDataDisk"`

	// Total number of modules
	MaxModuleNum *int64 `json:"MaxModuleNum,omitempty" name:"MaxModuleNum"`
}

type Node

type Node struct {

	// Zone information.
	ZoneInfo *ZoneInfo `json:"ZoneInfo,omitempty" name:"ZoneInfo"`

	// Country/Region information.
	Country *Country `json:"Country,omitempty" name:"Country"`

	// Region information.
	Area *Area `json:"Area,omitempty" name:"Area"`

	// Province/State information.
	Province *Province `json:"Province,omitempty" name:"Province"`

	// City information.
	City *City `json:"City,omitempty" name:"City"`

	// Region information.
	RegionInfo *RegionInfo `json:"RegionInfo,omitempty" name:"RegionInfo"`

	// List of ISPs.
	ISPSet []*ISP `json:"ISPSet,omitempty" name:"ISPSet"`

	// Number of ISPs.
	ISPNum *int64 `json:"ISPNum,omitempty" name:"ISPNum"`
}

type NodeInstanceNum

type NodeInstanceNum struct {

	// Number of nodes
	NodeNum *int64 `json:"NodeNum,omitempty" name:"NodeNum"`

	// Number of instances
	InstanceNum *int64 `json:"InstanceNum,omitempty" name:"InstanceNum"`
}

type OperatorAction

type OperatorAction struct {

	// Executable operation
	Action *string `json:"Action,omitempty" name:"Action"`

	// Code
	// Note: this field may return null, indicating that no valid values can be obtained.
	Code *string `json:"Code,omitempty" name:"Code"`

	// Specific information
	// Note: this field may return null, indicating that no valid values can be obtained.
	Message *string `json:"Message,omitempty" name:"Message"`
}

type OsVersion

type OsVersion struct {

	// OS type
	OsName *string `json:"OsName,omitempty" name:"OsName"`

	// Supported OS versions
	// Note: this field may return null, indicating that no valid values can be obtained.
	OsVersions []*string `json:"OsVersions,omitempty" name:"OsVersions"`

	// Supported OS architecture
	// Note: this field may return null, indicating that no valid values can be obtained.
	Architecture []*string `json:"Architecture,omitempty" name:"Architecture"`
}

type PackingQuotaGroup

type PackingQuotaGroup struct {

	// AZ
	Zone *string `json:"Zone,omitempty" name:"Zone"`

	// AZ ID
	ZoneId *int64 `json:"ZoneId,omitempty" name:"ZoneId"`

	// ISP id
	ISPId *string `json:"ISPId,omitempty" name:"ISPId"`

	// A set of correlated packing quotas
	PackingQuotaInfos []*PackingQuotaInfo `json:"PackingQuotaInfos,omitempty" name:"PackingQuotaInfos"`
}

type PackingQuotaInfo

type PackingQuotaInfo struct {

	// Instance type
	InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"`

	// Packing quota
	PackingQuota *int64 `json:"PackingQuota,omitempty" name:"PackingQuota"`
}

type PeakBase

type PeakBase struct {

	// Peak CPU
	PeakCpuNum *int64 `json:"PeakCpuNum,omitempty" name:"PeakCpuNum"`

	// Peak memory
	PeakMemoryNum *int64 `json:"PeakMemoryNum,omitempty" name:"PeakMemoryNum"`

	// Peak disk
	PeakStorageNum *int64 `json:"PeakStorageNum,omitempty" name:"PeakStorageNum"`

	// Recording time
	RecordTime *string `json:"RecordTime,omitempty" name:"RecordTime"`
}

type PeakFamilyInfo

type PeakFamilyInfo struct {

	// Model type information.
	InstanceFamily *InstanceFamilyTypeConfig `json:"InstanceFamily,omitempty" name:"InstanceFamily"`

	// Peak information of basic data.
	PeakBaseSet []*PeakBase `json:"PeakBaseSet,omitempty" name:"PeakBaseSet"`
}

type PeakNetwork

type PeakNetwork struct {

	// Recording time.
	RecordTime *string `json:"RecordTime,omitempty" name:"RecordTime"`

	// Inbound bandwidth data.
	PeakInNetwork *string `json:"PeakInNetwork,omitempty" name:"PeakInNetwork"`

	// Outbound bandwidth data.
	PeakOutNetwork *string `json:"PeakOutNetwork,omitempty" name:"PeakOutNetwork"`

	// Billable bandwidth in bps
	ChargeNetwork *string `json:"ChargeNetwork,omitempty" name:"ChargeNetwork"`
}

type PeakNetworkRegionInfo

type PeakNetworkRegionInfo struct {

	// Region information
	Region *string `json:"Region,omitempty" name:"Region"`

	// Peak network set
	// Note: this field may return null, indicating that no valid values can be obtained.
	PeakNetworkSet []*PeakNetwork `json:"PeakNetworkSet,omitempty" name:"PeakNetworkSet"`
}

type PhysicalPosition

type PhysicalPosition struct {

	// Rack unit
	// Note: this field may return null, indicating that no valid values can be obtained.
	PosId *string `json:"PosId,omitempty" name:"PosId"`

	// Rack
	// Note: this field may return null, indicating that no valid values can be obtained.
	RackId *string `json:"RackId,omitempty" name:"RackId"`

	// Switch
	// Note: this field may return null, indicating that no valid values can be obtained.
	SwitchId *string `json:"SwitchId,omitempty" name:"SwitchId"`
}

type Placement

type Placement struct {

	// [AZ ID](https://intl.cloud.tencent.com/document/product/213/15753?from_cn_redirect=1#ZoneInfo) of the cloud disk, which can be obtained from the `Zone` field in the returned value of the [DescribeZones](https://intl.cloud.tencent.com/document/product/213/15707?from_cn_redirect=1) API.
	Zone *string `json:"Zone,omitempty" name:"Zone"`

	// Cage ID. When it is used as an input parameter, it indicates to manipulate the resources in the cage with the specified `CageId` and can be left empty. When it is used as an output parameter, it represents the cage ID of the resource and can be left empty.
	// Note: this field may return null, indicating that no valid values can be obtained.
	CageId *string `json:"CageId,omitempty" name:"CageId"`

	// Project ID of the instance, which can be obtained from the `projectId` field in the returned value of the [DescribeProject](https://intl.cloud.tencent.com/document/api/378/4400?from_cn_redirect=1) API. If this parameter is not specified, the default project ID will be used.
	ProjectId *uint64 `json:"ProjectId,omitempty" name:"ProjectId"`

	// Name of the dedicated cluster. When it is used as an input parameter, it is ignored. When it is used as an output parameter, it represents the name of the dedicated cluster to which the cloud disk belongs, and it can be left empty.
	// Note: this field may return null, indicating that no valid values can be obtained.
	CdcName *string `json:"CdcName,omitempty" name:"CdcName"`

	// Dedicated cluster ID of the instance. When it is used as an input parameter, it indicates to manipulate the resources in the dedicated cluster with the specified `CdcId` and can be left empty. When it is used as an output parameter, it represents the dedicated cluster ID of the resource and can be left empty.
	// Note: this field may return null, indicating that no valid values can be obtained.
	CdcId *string `json:"CdcId,omitempty" name:"CdcId"`
}

type Position

type Position struct {

	// Zone information of the instance.
	ZoneInfo *ZoneInfo `json:"ZoneInfo,omitempty" name:"ZoneInfo"`

	// Country/Region information of the instance.
	Country *Country `json:"Country,omitempty" name:"Country"`

	// Area information of the instance.
	Area *Area `json:"Area,omitempty" name:"Area"`

	// Province/State information of the instance.
	Province *Province `json:"Province,omitempty" name:"Province"`

	// City information of the instance.
	City *City `json:"City,omitempty" name:"City"`

	// Region information of the instance.
	RegionInfo *RegionInfo `json:"RegionInfo,omitempty" name:"RegionInfo"`
}

type PriceDetail

type PriceDetail struct {

	// Discount, such as `20`, which represents 80% off
	Discount *uint64 `json:"Discount,omitempty" name:"Discount"`

	// Discounted price in cents
	DiscountPrice *uint64 `json:"DiscountPrice,omitempty" name:"DiscountPrice"`

	// Original price in cents
	OriginalPrice *uint64 `json:"OriginalPrice,omitempty" name:"OriginalPrice"`
}

type PrivateIPAddressInfo

type PrivateIPAddressInfo struct {

	// Private IP of the instance.
	// Note: this field may return null, indicating that no valid values can be obtained.
	PrivateIPAddress *string `json:"PrivateIPAddress,omitempty" name:"PrivateIPAddress"`
}

type PrivateIpAddressSpecification

type PrivateIpAddressSpecification struct {

	// Private IP address.
	PrivateIpAddress *string `json:"PrivateIpAddress,omitempty" name:"PrivateIpAddress"`

	// Whether it is the primary IP.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Primary *bool `json:"Primary,omitempty" name:"Primary"`

	// Public IP address.
	PublicIpAddress *string `json:"PublicIpAddress,omitempty" name:"PublicIpAddress"`

	// EIP instance ID, such as `eip-11112222`.
	AddressId *string `json:"AddressId,omitempty" name:"AddressId"`

	// Private IP description.
	Description *string `json:"Description,omitempty" name:"Description"`

	// Whether the public IP is blocked.
	// Note: this field may return null, indicating that no valid values can be obtained.
	IsWanIpBlocked *bool `json:"IsWanIpBlocked,omitempty" name:"IsWanIpBlocked"`

	// IP status:
	// PENDING: generating
	// MIGRATING: migrating
	// DELETING: deleting
	// AVAILABLE: available
	State *string `json:"State,omitempty" name:"State"`
}

type Province

type Province struct {

	// Province/State ID
	ProvinceId *string `json:"ProvinceId,omitempty" name:"ProvinceId"`

	// Province/State name
	ProvinceName *string `json:"ProvinceName,omitempty" name:"ProvinceName"`
}

type PublicIPAddressInfo

type PublicIPAddressInfo struct {

	// Billing mode.
	ChargeMode *string `json:"ChargeMode,omitempty" name:"ChargeMode"`

	// Public IP of the instance.
	PublicIPAddress *string `json:"PublicIPAddress,omitempty" name:"PublicIPAddress"`

	// Public IP ISP of the instance.
	ISP *ISP `json:"ISP,omitempty" name:"ISP"`

	// Outbound bandwidth cap of the instance in Mbps.
	MaxBandwidthOut *int64 `json:"MaxBandwidthOut,omitempty" name:"MaxBandwidthOut"`

	// Inbound bandwidth cap of the instance in Mbps.
	MaxBandwidthIn *int64 `json:"MaxBandwidthIn,omitempty" name:"MaxBandwidthIn"`
}

type RebootInstancesRequest

type RebootInstancesRequest struct {
	*tchttp.BaseRequest

	// List of IDs of the instances to be restarted. You can request up to 100 instances in a region at a time.
	InstanceIdSet []*string `json:"InstanceIdSet,omitempty" name:"InstanceIdSet"`

	// Whether to force restart the instance after it failed to be restarted normally. Valid values:
	// TRUE: yes;
	// FALSE: no;
	// Default value: FALSE.
	ForceReboot *bool `json:"ForceReboot,omitempty" name:"ForceReboot"`

	// Shutdown type. Valid values:
	// SOFT: soft shutdown
	// HARD: hard shutdown
	// SOFT_FIRST: perform a soft shutdown first; if it fails, perform a hard shutdown
	//
	// Default value: SOFT.
	StopType *string `json:"StopType,omitempty" name:"StopType"`
}

func NewRebootInstancesRequest

func NewRebootInstancesRequest() (request *RebootInstancesRequest)

func (*RebootInstancesRequest) FromJsonString

func (r *RebootInstancesRequest) 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 (*RebootInstancesRequest) ToJsonString

func (r *RebootInstancesRequest) ToJsonString() string

type RebootInstancesResponse

type RebootInstancesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewRebootInstancesResponse

func NewRebootInstancesResponse() (response *RebootInstancesResponse)

func (*RebootInstancesResponse) FromJsonString

func (r *RebootInstancesResponse) 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 (*RebootInstancesResponse) ToJsonString

func (r *RebootInstancesResponse) ToJsonString() string

type RegionInfo

type RegionInfo struct {

	// Region
	Region *string `json:"Region,omitempty" name:"Region"`

	// Region name
	RegionName *string `json:"RegionName,omitempty" name:"RegionName"`

	// RegionID
	RegionId *int64 `json:"RegionId,omitempty" name:"RegionId"`
}

type ReleaseAddressesRequest

type ReleaseAddressesRequest struct {
	*tchttp.BaseRequest

	// ECM region
	EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"`

	// List of unique IDs of EIPs.
	AddressIds []*string `json:"AddressIds,omitempty" name:"AddressIds"`
}

func NewReleaseAddressesRequest

func NewReleaseAddressesRequest() (request *ReleaseAddressesRequest)

func (*ReleaseAddressesRequest) FromJsonString

func (r *ReleaseAddressesRequest) 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 (*ReleaseAddressesRequest) ToJsonString

func (r *ReleaseAddressesRequest) ToJsonString() string

type ReleaseAddressesResponse

type ReleaseAddressesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Async task ID (TaskId). You can use the `DescribeTaskResult` API to query the task status.
		TaskId *string `json:"TaskId,omitempty" name:"TaskId"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewReleaseAddressesResponse

func NewReleaseAddressesResponse() (response *ReleaseAddressesResponse)

func (*ReleaseAddressesResponse) FromJsonString

func (r *ReleaseAddressesResponse) 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 (*ReleaseAddressesResponse) ToJsonString

func (r *ReleaseAddressesResponse) ToJsonString() string

type ReleaseIpv6AddressesRequest

type ReleaseIpv6AddressesRequest struct {
	*tchttp.BaseRequest

	// ECM region
	EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"`

	// ENI instance ID, such as `eni-m6dyj72l`.
	NetworkInterfaceId *string `json:"NetworkInterfaceId,omitempty" name:"NetworkInterfaceId"`

	// List of the specified IPv6 addresses. You can specify up to 10 IPv6 addresses at a time.
	Ipv6Addresses []*Ipv6Address `json:"Ipv6Addresses,omitempty" name:"Ipv6Addresses"`
}

func NewReleaseIpv6AddressesRequest

func NewReleaseIpv6AddressesRequest() (request *ReleaseIpv6AddressesRequest)

func (*ReleaseIpv6AddressesRequest) FromJsonString

func (r *ReleaseIpv6AddressesRequest) 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 (*ReleaseIpv6AddressesRequest) ToJsonString

func (r *ReleaseIpv6AddressesRequest) ToJsonString() string

type ReleaseIpv6AddressesResponse

type ReleaseIpv6AddressesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Task ID. You can use the `DescribeTaskResult` API to query the task status
		TaskId *int64 `json:"TaskId,omitempty" name:"TaskId"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewReleaseIpv6AddressesResponse

func NewReleaseIpv6AddressesResponse() (response *ReleaseIpv6AddressesResponse)

func (*ReleaseIpv6AddressesResponse) FromJsonString

func (r *ReleaseIpv6AddressesResponse) 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 (*ReleaseIpv6AddressesResponse) ToJsonString

func (r *ReleaseIpv6AddressesResponse) ToJsonString() string

type RemovePrivateIpAddressesRequest

type RemovePrivateIpAddressesRequest struct {
	*tchttp.BaseRequest

	// ECM region, such as `ap-xian-ecm`.
	EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"`

	// ENI instance ID, such as `eni-11112222`.
	NetworkInterfaceId *string `json:"NetworkInterfaceId,omitempty" name:"NetworkInterfaceId"`

	// Information of the specified private IPs. You can specify up to 10 IPs at a time.
	PrivateIpAddresses []*PrivateIpAddressSpecification `json:"PrivateIpAddresses,omitempty" name:"PrivateIpAddresses"`
}

func NewRemovePrivateIpAddressesRequest

func NewRemovePrivateIpAddressesRequest() (request *RemovePrivateIpAddressesRequest)

func (*RemovePrivateIpAddressesRequest) FromJsonString

func (r *RemovePrivateIpAddressesRequest) 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 (*RemovePrivateIpAddressesRequest) ToJsonString

func (r *RemovePrivateIpAddressesRequest) ToJsonString() string

type RemovePrivateIpAddressesResponse

type RemovePrivateIpAddressesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewRemovePrivateIpAddressesResponse

func NewRemovePrivateIpAddressesResponse() (response *RemovePrivateIpAddressesResponse)

func (*RemovePrivateIpAddressesResponse) FromJsonString

func (r *RemovePrivateIpAddressesResponse) 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 (*RemovePrivateIpAddressesResponse) ToJsonString

func (r *RemovePrivateIpAddressesResponse) ToJsonString() string

type ReplaceRouteTableAssociationRequest

type ReplaceRouteTableAssociationRequest struct {
	*tchttp.BaseRequest

	// Subnet instance ID, such as `subnet-3x5lf5q0`, which can be queried through the `DescribeSubnets` API.
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`

	// Route table instance ID, such as `rtb-azd4dt1c`.
	RouteTableId *string `json:"RouteTableId,omitempty" name:"RouteTableId"`

	// ECM region
	EcmRegion *string `json:"EcmRegion,omitempty" name:"EcmRegion"`
}

func NewReplaceRouteTableAssociationRequest

func NewReplaceRouteTableAssociationRequest() (request *ReplaceRouteTableAssociationRequest)

func (*ReplaceRouteTableAssociationRequest) FromJsonString

func (r *ReplaceRouteTableAssociationRequest) 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 (*ReplaceRouteTableAssociationRequest) ToJsonString

func (r *ReplaceRouteTableAssociationRequest) ToJsonString() string

type ReplaceRouteTableAssociationResponse

type ReplaceRouteTableAssociationResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewReplaceRouteTableAssociationResponse

func NewReplaceRouteTableAssociationResponse() (response *ReplaceRouteTableAssociationResponse)

func (*ReplaceRouteTableAssociationResponse) FromJsonString

func (r *ReplaceRouteTableAssociationResponse) 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 (*ReplaceRouteTableAssociationResponse) ToJsonString

func (r *ReplaceRouteTableAssociationResponse) ToJsonString() string

type ReplaceRoutesRequest

type ReplaceRoutesRequest struct {
	*tchttp.BaseRequest

	// Route table instance ID.
	RouteTableId *string `json:"RouteTableId,omitempty" name:"RouteTableId"`

	// Routing policy object.
	Routes []*Route `json:"Routes,omitempty" name:"Routes"`
}

func NewReplaceRoutesRequest

func NewReplaceRoutesRequest() (request *ReplaceRoutesRequest)

func (*ReplaceRoutesRequest) FromJsonString

func (r *ReplaceRoutesRequest) 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 (*ReplaceRoutesRequest) ToJsonString

func (r *ReplaceRoutesRequest) ToJsonString() string

type ReplaceRoutesResponse

type ReplaceRoutesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewReplaceRoutesResponse

func NewReplaceRoutesResponse() (response *ReplaceRoutesResponse)

func (*ReplaceRoutesResponse) FromJsonString

func (r *ReplaceRoutesResponse) 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 (*ReplaceRoutesResponse) ToJsonString

func (r *ReplaceRoutesResponse) ToJsonString() string

type ReplaceSecurityGroupPolicyRequest

type ReplaceSecurityGroupPolicyRequest struct {
	*tchttp.BaseRequest

	// Security group instance ID, such as `esg-33ocnj9n`, which can be obtained through the `DescribeSecurityGroups` API
	SecurityGroupId *string `json:"SecurityGroupId,omitempty" name:"SecurityGroupId"`

	// Security group policy set object.
	SecurityGroupPolicySet *SecurityGroupPolicySet `json:"SecurityGroupPolicySet,omitempty" name:"SecurityGroupPolicySet"`
}

func NewReplaceSecurityGroupPolicyRequest

func NewReplaceSecurityGroupPolicyRequest() (request *ReplaceSecurityGroupPolicyRequest)

func (*ReplaceSecurityGroupPolicyRequest) FromJsonString

func (r *ReplaceSecurityGroupPolicyRequest) 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 (*ReplaceSecurityGroupPolicyRequest) ToJsonString

func (r *ReplaceSecurityGroupPolicyRequest) ToJsonString() string

type ReplaceSecurityGroupPolicyResponse

type ReplaceSecurityGroupPolicyResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewReplaceSecurityGroupPolicyResponse

func NewReplaceSecurityGroupPolicyResponse() (response *ReplaceSecurityGroupPolicyResponse)

func (*ReplaceSecurityGroupPolicyResponse) FromJsonString

func (r *ReplaceSecurityGroupPolicyResponse) 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 (*ReplaceSecurityGroupPolicyResponse) ToJsonString

func (r *ReplaceSecurityGroupPolicyResponse) ToJsonString() string

type ResetInstancesMaxBandwidthRequest

type ResetInstancesMaxBandwidthRequest struct {
	*tchttp.BaseRequest

	// List of IDs of the instances for which to reset the bandwidth cap. You can request up to 100 instances in a region at a time.
	InstanceIdSet []*string `json:"InstanceIdSet,omitempty" name:"InstanceIdSet"`

	// Modified outbound bandwidth cap.
	MaxBandwidthOut *int64 `json:"MaxBandwidthOut,omitempty" name:"MaxBandwidthOut"`

	// Modified inbound bandwidth cap.
	MaxBandwidthIn *int64 `json:"MaxBandwidthIn,omitempty" name:"MaxBandwidthIn"`
}

func NewResetInstancesMaxBandwidthRequest

func NewResetInstancesMaxBandwidthRequest() (request *ResetInstancesMaxBandwidthRequest)

func (*ResetInstancesMaxBandwidthRequest) FromJsonString

func (r *ResetInstancesMaxBandwidthRequest) 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 (*ResetInstancesMaxBandwidthRequest) ToJsonString

func (r *ResetInstancesMaxBandwidthRequest) ToJsonString() string

type ResetInstancesMaxBandwidthResponse

type ResetInstancesMaxBandwidthResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewResetInstancesMaxBandwidthResponse

func NewResetInstancesMaxBandwidthResponse() (response *ResetInstancesMaxBandwidthResponse)

func (*ResetInstancesMaxBandwidthResponse) FromJsonString

func (r *ResetInstancesMaxBandwidthResponse) 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 (*ResetInstancesMaxBandwidthResponse) ToJsonString

func (r *ResetInstancesMaxBandwidthResponse) ToJsonString() string

type ResetInstancesPasswordRequest

type ResetInstancesPasswordRequest struct {
	*tchttp.BaseRequest

	// List of IDs of the instances for which to set the password. You can request up to 100 instances in a region at a time.
	InstanceIdSet []*string `json:"InstanceIdSet,omitempty" name:"InstanceIdSet"`

	// New password. The password of a Linux instance must contain 8–16 characters in at least two of the following character types: letters, digits, and special symbols [( ) ~ ~ ! @ # $ % ^ & * - + = _ | { } [ ] : ; ' < > , . ? /] and cannot start with `/`.
	// The password of a Windows instance must contain 12–16 characters in at least three of the following character types: letters, digits, and special symbols [( ) ~ ~ ! @ # $ % ^ & * - + = _ | { } [ ] : ; ' < > , . ? /] and cannot start with `/`.
	// If the instances include both Linux instances and Windows instances, the password complexity limit for Windows instances will apply.
	Password *string `json:"Password,omitempty" name:"Password"`

	// Whether to force shut down. Default value: false.
	ForceStop *bool `json:"ForceStop,omitempty" name:"ForceStop"`

	// Username of the instance for which to reset the password, which can contain up to 64 characters. If this parameter is not specified, the password of the root user will be reset by default for Linux, and the password of the admin will be reset by default for Windows.
	UserName *string `json:"UserName,omitempty" name:"UserName"`
}

func NewResetInstancesPasswordRequest

func NewResetInstancesPasswordRequest() (request *ResetInstancesPasswordRequest)

func (*ResetInstancesPasswordRequest) FromJsonString

func (r *ResetInstancesPasswordRequest) 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 (*ResetInstancesPasswordRequest) ToJsonString

func (r *ResetInstancesPasswordRequest) ToJsonString() string

type ResetInstancesPasswordResponse

type ResetInstancesPasswordResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewResetInstancesPasswordResponse

func NewResetInstancesPasswordResponse() (response *ResetInstancesPasswordResponse)

func (*ResetInstancesPasswordResponse) FromJsonString

func (r *ResetInstancesPasswordResponse) 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 (*ResetInstancesPasswordResponse) ToJsonString

func (r *ResetInstancesPasswordResponse) ToJsonString() string

type ResetInstancesRequest

type ResetInstancesRequest struct {
	*tchttp.BaseRequest

	// List of IDs of the instances to be reinstalled.
	InstanceIdSet []*string `json:"InstanceIdSet,omitempty" name:"InstanceIdSet"`

	// ID of the image from which to install the instance. If this parameter is not specified, the current image of the instance will be used.
	ImageId *string `json:"ImageId,omitempty" name:"ImageId"`

	// Password. If this parameter is not specified, the password will be subsequently displayed in the Message Center.
	Password *string `json:"Password,omitempty" name:"Password"`

	// Whether to enable CM and CWP. If this parameter is not specified, they will be enabled by default.
	EnhancedService *EnhancedService `json:"EnhancedService,omitempty" name:"EnhancedService"`

	// Whether to retain the data on the data disk. Valid values: true, false. Default value: true
	KeepData *string `json:"KeepData,omitempty" name:"KeepData"`

	// Whether to keep the original settings for the image. You cannot specify this parameter if `Password` or `KeyIds.N` is specified. You can specify this parameter as `TRUE` only when you create an instance by using a custom image, shared image, or image imported from an external resource. Valid values:
	// TRUE: yes
	// FALSE: no
	//
	// Default value: FALSE.
	// Note: this field may return null, indicating that no valid values can be obtained.
	KeepImageLogin *string `json:"KeepImageLogin,omitempty" name:"KeepImageLogin"`
}

func NewResetInstancesRequest

func NewResetInstancesRequest() (request *ResetInstancesRequest)

func (*ResetInstancesRequest) FromJsonString

func (r *ResetInstancesRequest) 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 (*ResetInstancesRequest) ToJsonString

func (r *ResetInstancesRequest) ToJsonString() string

type ResetInstancesResponse

type ResetInstancesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewResetInstancesResponse

func NewResetInstancesResponse() (response *ResetInstancesResponse)

func (*ResetInstancesResponse) FromJsonString

func (r *ResetInstancesResponse) 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 (*ResetInstancesResponse) ToJsonString

func (r *ResetInstancesResponse) ToJsonString() string

type ResetRoutesRequest

type ResetRoutesRequest struct {
	*tchttp.BaseRequest

	// Route table instance ID, such as `rtb-azd4dt1c`.
	RouteTableId *string `json:"RouteTableId,omitempty" name:"RouteTableId"`

	// Route table name, which can contain up to 60 bytes.
	RouteTableName *string `json:"RouteTableName,omitempty" name:"RouteTableName"`

	// Routing policy.
	Routes []*Route `json:"Routes,omitempty" name:"Routes"`
}

func NewResetRoutesRequest

func NewResetRoutesRequest() (request *ResetRoutesRequest)

func (*ResetRoutesRequest) FromJsonString

func (r *ResetRoutesRequest) 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 (*ResetRoutesRequest) ToJsonString

func (r *ResetRoutesRequest) ToJsonString() string

type ResetRoutesResponse

type ResetRoutesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewResetRoutesResponse

func NewResetRoutesResponse() (response *ResetRoutesResponse)

func (*ResetRoutesResponse) FromJsonString

func (r *ResetRoutesResponse) 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 (*ResetRoutesResponse) ToJsonString

func (r *ResetRoutesResponse) ToJsonString() string

type Route

type Route struct {

	// Destination IPv4 IP range
	DestinationCidrBlock *string `json:"DestinationCidrBlock,omitempty" name:"DestinationCidrBlock"`

	// Next hop type
	// NORMAL_CVM: general CVM;
	GatewayType *string `json:"GatewayType,omitempty" name:"GatewayType"`

	// Next hop address
	// You simply need to specify the gateway ID of a different next hop type, and the system will automatically match the next hop address
	// When `GatewayType` is `EIP`, the value of `GatewayId` will be fixed at `0`
	GatewayId *string `json:"GatewayId,omitempty" name:"GatewayId"`

	// Unique routing policy ID
	RouteItemId *string `json:"RouteItemId,omitempty" name:"RouteItemId"`

	// Routing policy description
	RouteDescription *string `json:"RouteDescription,omitempty" name:"RouteDescription"`

	// Whether to enable
	Enabled *bool `json:"Enabled,omitempty" name:"Enabled"`

	// Route type. Valid values:
	// USER: user route;
	// NETD: network probe route, which will be delivered by the system by default when you create a network probe instance and cannot be edited or deleted;
	// CCN: CCN route, which will be delivered by the system by default and cannot be edited or deleted.
	// You can only add and manipulate routes of `USER` type.
	RouteType *string `json:"RouteType,omitempty" name:"RouteType"`

	// Routing policy ID. The IPv4 routing policy will have a meaningful value, while the IPv6 routing policy is always 0. We recommend you use the unique ID `RouteItemId` for the routing policy
	RouteId *uint64 `json:"RouteId,omitempty" name:"RouteId"`
}

type RouteConflict

type RouteConflict struct {

	// Route table instance ID
	RouteTableId *string `json:"RouteTableId,omitempty" name:"RouteTableId"`

	// The conflicting destination ports to be checked
	DestinationCidrBlock *string `json:"DestinationCidrBlock,omitempty" name:"DestinationCidrBlock"`

	// List of conflicting routing policies
	// Note: this field may return null, indicating that no valid values can be obtained.
	ConflictSet []*Route `json:"ConflictSet,omitempty" name:"ConflictSet"`
}

type RouteTable

type RouteTable struct {

	// VPC instance ID
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// Route table instance ID
	RouteTableId *string `json:"RouteTableId,omitempty" name:"RouteTableId"`

	// Route table name
	RouteTableName *string `json:"RouteTableName,omitempty" name:"RouteTableName"`

	// Association relationships of the route table
	// Note: this field may return null, indicating that no valid values can be obtained.
	AssociationSet []*RouteTableAssociation `json:"AssociationSet,omitempty" name:"AssociationSet"`

	// IPv4 routing policy set
	// Note: this field may return null, indicating that no valid values can be obtained.
	RouteSet []*Route `json:"RouteSet,omitempty" name:"RouteSet"`

	// Whether it is the default route table
	Main *bool `json:"Main,omitempty" name:"Main"`

	// Creation time
	CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"`
}

type RouteTableAssociation

type RouteTableAssociation struct {

	// Subnet instance ID
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`

	// Route table instance ID
	RouteTableId *string `json:"RouteTableId,omitempty" name:"RouteTableId"`
}

type RuleHealth

type RuleHealth struct {

	// Health check status of the real server bound to the rule
	// Note: this field may return null, indicating that no valid values can be obtained.
	Targets []*TargetHealth `json:"Targets,omitempty" name:"Targets"`
}

type RunEIPDirectServiceEnabled

type RunEIPDirectServiceEnabled struct {

	// Whether to enable IP direct access. Valid values:
	// TRUE: yes
	// FALSE: no
	// Default value: TRUE.
	// Currently, Windows images do not support IP direct access.
	Enabled *bool `json:"Enabled,omitempty" name:"Enabled"`
}

type RunInstancesRequest

type RunInstancesRequest struct {
	*tchttp.BaseRequest

	// List of AZs in which to create instances, the number of instances to be created, and the ISPs. You can create up to 100 instances in a region at a time.
	ZoneInstanceCountISPSet []*ZoneInstanceCountISP `json:"ZoneInstanceCountISPSet,omitempty" name:"ZoneInstanceCountISPSet"`

	// Instance login password. Different OS types have different limits on password complexity as detailed below:
	// The password of a Linux instance must contain 8–30 characters in at least two of the following character types: letters, digits, and special symbols [( ) ` ~ ! @ # $ % ^ & - + = | { } [ ] : ; ' , . ? / ]. The password of a Windows instance must contain 12–30 characters in at least three of the following character types: letters, digits, and special symbols [( ) ` ~ ! @ # $ % ^ & - + = | { } [ ] : ; ' , . ? /].
	Password *string `json:"Password,omitempty" name:"Password"`

	// Public network outbound bandwidth cap in Mbps.
	// 1. If you don't specify this parameter or specify it as `0`, the default value under the corresponding module will be used.
	// 2. If you don't specify this parameter or specify it as `0` without specifying the module, the value of `InternetMaxBandwidthIn` will be used
	InternetMaxBandwidthOut *int64 `json:"InternetMaxBandwidthOut,omitempty" name:"InternetMaxBandwidthOut"`

	// Module ID. If you don't specify this parameter, you must specify the `ImageId`, `InstanceType`, `DataDiskSize`, and `InternetMaxBandwidthOut` parameters
	ModuleId *string `json:"ModuleId,omitempty" name:"ModuleId"`

	// Image ID. If you don't specify this parameter or specify it as null, the default value under the corresponding module will be used.
	ImageId *string `json:"ImageId,omitempty" name:"ImageId"`

	// Instance display name.
	// If this parameter is not specified, `Not named` will be displayed by default.
	// If you purchase multiple instances and specify the pattern string `{R:x}`, display names will be generated based on `[x, x+n-1]`, where `n` is the number of the purchased instances. For example, if you specify `server\_{R:3}` and purchase 1 instance, the display name will be `server\_3`, and if you purchase 2 instances, the display names will be `server\_3` and `server\_4` respectively.
	// You can specify multiple pattern strings `{R:x}`.
	// If you purchase multiple instances and don't specify the pattern string, the instance display names will be suffixed with 1, 2...n, where `n` indicates the number of the purchased instances. For example, if you specify `server_` and purchase 2 instances, the instance display names will be `server\_1` and `server\_2` respectively.
	// If the purchased instances belong to different regions or ISPs, the above rules will apply to each region and ISP independently.
	// It can contain up to 60 characters (including pattern string).
	InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"`

	// Server name
	// `HostName` cannot start or end with a dot or hyphen and cannot contain consecutive dots or hyphens.
	// Windows instance: the name can contain 2–15 letters, digits, and hyphens but not dots or only digits.
	// Other types (such as Linux) of instances: the name should be a combination of 2 to 60 characters, supporting multiple dots. A string between two dots can contain letters, digits, and hyphens.
	HostName *string `json:"HostName,omitempty" name:"HostName"`

	// The string used to ensure the idempotency of the request. Currently, it is a reserved parameter; therefore, do not use it.
	ClientToken *string `json:"ClientToken,omitempty" name:"ClientToken"`

	// Enhanced services. You can use this parameter to specify whether to enable services such as Cloud Security and Cloud Monitor. If this parameter is not specified, Cloud Monitor and Cloud Security will be enabled for public images by default.
	EnhancedService *EnhancedService `json:"EnhancedService,omitempty" name:"EnhancedService"`

	// Tag list
	TagSpecification []*TagSpecification `json:"TagSpecification,omitempty" name:"TagSpecification"`

	// The user data provided to the instance, which needs to be Base64-encoded with a maximum size of 16 KB
	UserData *string `json:"UserData,omitempty" name:"UserData"`

	// Model. If you don't specify this parameter or specify it as null, the default value under the corresponding module will be used.
	InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"`

	// Data disk size in GB. If you don't specify this parameter or specify it as `0`, the default value under the corresponding module will be used
	DataDiskSize *int64 `json:"DataDiskSize,omitempty" name:"DataDiskSize"`

	// Security group of the instance, which can be obtained from the `sgId` field in the returned value of the `DescribeSecurityGroups` API. If this parameter is not specified, the default security group will be bound by default.
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds"`

	// System disk size in GB. If you don't specify this parameter or specify it as `0`, the default value under the corresponding module will be used
	SystemDiskSize *uint64 `json:"SystemDiskSize,omitempty" name:"SystemDiskSize"`

	// Public network inbound bandwidth cap in Mbps.
	// 1. If you don't specify this parameter or specify it as `0`, the default value under the corresponding module will be used.
	// 2. If you don't specify this parameter or specify it as `0` without specifying the module, the value of `InternetMaxBandwidthOut` will be used
	InternetMaxBandwidthIn *int64 `json:"InternetMaxBandwidthIn,omitempty" name:"InternetMaxBandwidthIn"`

	// Instance billing type. Valid values:
	// 0: postpaid by resource usage, where the daily peak usage of the CPU, memory, and disk will be calculated. This billing mode applies only to non-GNR models;
	// 1: hourly postpaid at the unit price of xx USD/instance/hour. This billing mode applies only to GNR models. To enable it, submit a ticket for application;
	// 2: monthly postpaid at the unit price of xx USD/instance/month. This billing mode applies only to GNR models;
	// If this field is left empty, `0` will be selected by default for non-GNR models, and `2` will be selected by default for GNR models.
	InstanceChargeType *int64 `json:"InstanceChargeType,omitempty" name:"InstanceChargeType"`

	// Key pair.
	KeyIds []*string `json:"KeyIds,omitempty" name:"KeyIds"`

	// Whether to keep the original settings for the image. You cannot specify this parameter if `Password` or `KeyIds.N` is specified. You can specify this parameter as `TRUE` only when you create an instance by using a custom image, shared image, or image imported from an external resource. Valid values:
	// TRUE: yes
	// FALSE: no
	//
	// Default value: FALSE.
	// Note: this field may return null, indicating that no valid values can be obtained.
	KeepImageLogin *string `json:"KeepImageLogin,omitempty" name:"KeepImageLogin"`

	// System disk information.
	SystemDisk *SystemDisk `json:"SystemDisk,omitempty" name:"SystemDisk"`

	// Data disk information.
	DataDisks []*DataDisk `json:"DataDisks,omitempty" name:"DataDisks"`
}

func NewRunInstancesRequest

func NewRunInstancesRequest() (request *RunInstancesRequest)

func (*RunInstancesRequest) FromJsonString

func (r *RunInstancesRequest) 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 (*RunInstancesRequest) ToJsonString

func (r *RunInstancesRequest) ToJsonString() string

type RunInstancesResponse

type RunInstancesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// List of IDs of the instances being created
		// Note: this field may return null, indicating that no valid values can be obtained.
		InstanceIdSet []*string `json:"InstanceIdSet,omitempty" name:"InstanceIdSet"`

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewRunInstancesResponse

func NewRunInstancesResponse() (response *RunInstancesResponse)

func (*RunInstancesResponse) FromJsonString

func (r *RunInstancesResponse) 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 (*RunInstancesResponse) ToJsonString

func (r *RunInstancesResponse) ToJsonString() string

type RunMonitorServiceEnabled

type RunMonitorServiceEnabled struct {

	// Whether to enable.
	Enabled *bool `json:"Enabled,omitempty" name:"Enabled"`
}

type RunSecurityServiceEnabled

type RunSecurityServiceEnabled struct {

	// Whether to enable.
	Enabled *bool `json:"Enabled,omitempty" name:"Enabled"`

	// CWP edition. Valid values: 0: Basic Edition; 1: Pro Edition. Currently, only Basic Edition is supported
	Version *int64 `json:"Version,omitempty" name:"Version"`
}

type SecurityGroup

type SecurityGroup struct {

	// Security group instance ID, such as `esg-ohuuioma`.
	SecurityGroupId *string `json:"SecurityGroupId,omitempty" name:"SecurityGroupId"`

	// Security group name, which can be customized with up to 60 characters.
	SecurityGroupName *string `json:"SecurityGroupName,omitempty" name:"SecurityGroupName"`

	// Security group remarks, which can contain up to 100 characters.
	SecurityGroupDesc *string `json:"SecurityGroupDesc,omitempty" name:"SecurityGroupDesc"`

	// Whether it is the default security group (which cannot be deleted).
	IsDefault *bool `json:"IsDefault,omitempty" name:"IsDefault"`

	// Security group creation time.
	CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"`

	// Tag key-value pairs.
	TagSet []*Tag `json:"TagSet,omitempty" name:"TagSet"`
}

type SecurityGroupAssociationStatistics

type SecurityGroupAssociationStatistics struct {

	// Security group instance ID.
	SecurityGroupId *string `json:"SecurityGroupId,omitempty" name:"SecurityGroupId"`

	// Number of ECM instances.
	ECM *int64 `json:"ECM,omitempty" name:"ECM"`

	// Number of ECM modules.
	Module *int64 `json:"Module,omitempty" name:"Module"`

	// Number of ENI instances.
	ENI *int64 `json:"ENI,omitempty" name:"ENI"`

	// Number of times the security group is referenced by other security groups.
	SG *int64 `json:"SG,omitempty" name:"SG"`

	// Number of CLB instances.
	CLB *int64 `json:"CLB,omitempty" name:"CLB"`

	// Binding statistics of all instances.
	InstanceStatistics []*InstanceStatistic `json:"InstanceStatistics,omitempty" name:"InstanceStatistics"`

	// Total number of all resources (excluding resources referenced by security groups).
	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
}

type SecurityGroupLimitSet

type SecurityGroupLimitSet struct {

	// Total number of security groups that can be created
	SecurityGroupLimit *int64 `json:"SecurityGroupLimit,omitempty" name:"SecurityGroupLimit"`

	// Maximum number of rules under the security group
	SecurityGroupPolicyLimit *int64 `json:"SecurityGroupPolicyLimit,omitempty" name:"SecurityGroupPolicyLimit"`

	// Number of nested security group rules under the security group
	ReferedSecurityGroupLimit *int64 `json:"ReferedSecurityGroupLimit,omitempty" name:"ReferedSecurityGroupLimit"`

	// Number of instances associated with the security group
	SecurityGroupInstanceLimit *int64 `json:"SecurityGroupInstanceLimit,omitempty" name:"SecurityGroupInstanceLimit"`

	// Number of security groups associated with the instance
	InstanceSecurityGroupLimit *int64 `json:"InstanceSecurityGroupLimit,omitempty" name:"InstanceSecurityGroupLimit"`

	// Number of modules associated with the security group
	SecurityGroupModuleLimit *int64 `json:"SecurityGroupModuleLimit,omitempty" name:"SecurityGroupModuleLimit"`

	// Number of security groups associated with the module
	ModuleSecurityGroupLimit *int64 `json:"ModuleSecurityGroupLimit,omitempty" name:"ModuleSecurityGroupLimit"`
}

type SecurityGroupPolicy

type SecurityGroupPolicy struct {

	// Security group policy index number
	PolicyIndex *int64 `json:"PolicyIndex,omitempty" name:"PolicyIndex"`

	// Protocol. Valid values: TCP, UDP, ICMP.
	Protocol *string `json:"Protocol,omitempty" name:"Protocol"`

	// Port. Valid values: all, discrete port, range.
	Port *string `json:"Port,omitempty" name:"Port"`

	// Protocol port ID or protocol port group ID. `ServiceTemplate` and `Protocol+Port` are mutually exclusive.
	ServiceTemplate *ServiceTemplateSpecification `json:"ServiceTemplate,omitempty" name:"ServiceTemplate"`

	// IP range or IP address (mutually exclusive).
	CidrBlock *string `json:"CidrBlock,omitempty" name:"CidrBlock"`

	// Security group instance ID, such as `esg-ohuuioma`.
	SecurityGroupId *string `json:"SecurityGroupId,omitempty" name:"SecurityGroupId"`

	// IP address ID or IP address group ID.
	AddressTemplate *AddressTemplateSpecification `json:"AddressTemplate,omitempty" name:"AddressTemplate"`

	// `ACCEPT` or `DROP`.
	Action *string `json:"Action,omitempty" name:"Action"`

	// Security group policy description.
	PolicyDescription *string `json:"PolicyDescription,omitempty" name:"PolicyDescription"`

	// Modification time, such as `2020-07-22 19:27:23`
	// Note: this field may return null, indicating that no valid values can be obtained.
	ModifyTime *string `json:"ModifyTime,omitempty" name:"ModifyTime"`

	// IP range or IPv6 address (mutually exclusive).
	// Note: this field may return null, indicating that no valid values can be obtained.
	Ipv6CidrBlock *string `json:"Ipv6CidrBlock,omitempty" name:"Ipv6CidrBlock"`
}

type SecurityGroupPolicySet

type SecurityGroupPolicySet struct {

	// The version number of the security group policy, which will automatically increase by one each time you update the security group policy, so as to prevent expiration of the updated routing policies. If it is left empty, any conflicts will be ignored.
	Version *string `json:"Version,omitempty" name:"Version"`

	// Outbound rule. You must select either an outbound rule or inbound rule.
	Egress []*SecurityGroupPolicy `json:"Egress,omitempty" name:"Egress"`

	// Inbound rule. You must select either outbound rule or inbound rule.
	Ingress []*SecurityGroupPolicy `json:"Ingress,omitempty" name:"Ingress"`
}

type ServiceTemplateSpecification

type ServiceTemplateSpecification struct {

	// Protocol port ID, such as `eppm-f5n1f8da`.
	ServiceId *string `json:"ServiceId,omitempty" name:"ServiceId"`

	// Protocol port group ID, such as `eppmg-f5n1f8da`.
	ServiceGroupId *string `json:"ServiceGroupId,omitempty" name:"ServiceGroupId"`
}

type SetLoadBalancerSecurityGroupsRequest

type SetLoadBalancerSecurityGroupsRequest struct {
	*tchttp.BaseRequest

	// CLB instance ID
	LoadBalancerId *string `json:"LoadBalancerId,omitempty" name:"LoadBalancerId"`

	// Array of security group IDs. You can bind up to 5 security groups to a CLB instance. If you want to unbind all security groups, leave this parameter empty or pass in an empty array
	SecurityGroups []*string `json:"SecurityGroups,omitempty" name:"SecurityGroups"`
}

func NewSetLoadBalancerSecurityGroupsRequest

func NewSetLoadBalancerSecurityGroupsRequest() (request *SetLoadBalancerSecurityGroupsRequest)

func (*SetLoadBalancerSecurityGroupsRequest) FromJsonString

func (r *SetLoadBalancerSecurityGroupsRequest) 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 (*SetLoadBalancerSecurityGroupsRequest) ToJsonString

func (r *SetLoadBalancerSecurityGroupsRequest) ToJsonString() string

type SetLoadBalancerSecurityGroupsResponse

type SetLoadBalancerSecurityGroupsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewSetLoadBalancerSecurityGroupsResponse

func NewSetLoadBalancerSecurityGroupsResponse() (response *SetLoadBalancerSecurityGroupsResponse)

func (*SetLoadBalancerSecurityGroupsResponse) FromJsonString

func (r *SetLoadBalancerSecurityGroupsResponse) 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 (*SetLoadBalancerSecurityGroupsResponse) ToJsonString

type SetSecurityGroupForLoadbalancersRequest

type SetSecurityGroupForLoadbalancersRequest struct {
	*tchttp.BaseRequest

	// Array of CLB instance IDs
	LoadBalancerIds []*string `json:"LoadBalancerIds,omitempty" name:"LoadBalancerIds"`

	// Security group ID, such as `esg-12345678`
	SecurityGroup *string `json:"SecurityGroup,omitempty" name:"SecurityGroup"`

	// ADD: bind security group;
	// DEL: unbind security group
	OperationType *string `json:"OperationType,omitempty" name:"OperationType"`
}

func NewSetSecurityGroupForLoadbalancersRequest

func NewSetSecurityGroupForLoadbalancersRequest() (request *SetSecurityGroupForLoadbalancersRequest)

func (*SetSecurityGroupForLoadbalancersRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SetSecurityGroupForLoadbalancersRequest) ToJsonString

type SetSecurityGroupForLoadbalancersResponse

type SetSecurityGroupForLoadbalancersResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewSetSecurityGroupForLoadbalancersResponse

func NewSetSecurityGroupForLoadbalancersResponse() (response *SetSecurityGroupForLoadbalancersResponse)

func (*SetSecurityGroupForLoadbalancersResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SetSecurityGroupForLoadbalancersResponse) ToJsonString

type SimpleModule

type SimpleModule struct {

	// Module ID
	ModuleId *string `json:"ModuleId,omitempty" name:"ModuleId"`

	// Module name
	ModuleName *string `json:"ModuleName,omitempty" name:"ModuleName"`
}

type Snapshot

type Snapshot struct {

	// Snapshot location.
	Placement *Placement `json:"Placement,omitempty" name:"Placement"`

	// Whether the snapshot is replicated across regions. Valid values:<br><li>true: yes;<br><li>false: no.
	CopyFromRemote *bool `json:"CopyFromRemote,omitempty" name:"CopyFromRemote"`

	// Whether the snapshot is a permanent snapshot. Valid values:<br><li>true: yes<br><li>false: no.
	IsPermanent *bool `json:"IsPermanent,omitempty" name:"IsPermanent"`

	// Snapshot name, i.e., the user-defined snapshot alias. You can call [ModifySnapshotAttribute](https://intl.cloud.tencent.com/document/product/362/15650?from_cn_redirect=1) to modify this field.
	SnapshotName *string `json:"SnapshotName,omitempty" name:"SnapshotName"`

	// Snapshot creation progress in percentage. This field will always be `100` once the snapshot is created successfully.
	Percent *uint64 `json:"Percent,omitempty" name:"Percent"`

	// List of images associated with the snapshot.
	Images []*Image `json:"Images,omitempty" name:"Images"`

	// Number of snapshots currently shared.
	ShareReference *uint64 `json:"ShareReference,omitempty" name:"ShareReference"`

	// Snapshot type. Valid values: PRIVATE_SNAPSHOT, SHARED_SNAPSHOT
	SnapshotType *string `json:"SnapshotType,omitempty" name:"SnapshotType"`

	// Size in GB of the cloud disk for which the snapshot is created.
	DiskSize *uint64 `json:"DiskSize,omitempty" name:"DiskSize"`

	// ID of the cloud disk for which the snapshot is created.
	DiskId *string `json:"DiskId,omitempty" name:"DiskId"`

	// Destination region to which the snapshot is being replicated. Default value: [].
	CopyingToRegions []*string `json:"CopyingToRegions,omitempty" name:"CopyingToRegions"`

	// Snapshot ID.
	SnapshotId *string `json:"SnapshotId,omitempty" name:"SnapshotId"`

	// Type of the cloud disk for which the snapshot is created. Valid values:<br><li>SYSTEM_DISK: system disk<br><li>DATA_DISK: data disk.
	DiskUsage *string `json:"DiskUsage,omitempty" name:"DiskUsage"`

	// Whether the snapshot is created from an encrypted disk. Valid values:<br><li>true: yes<br><li>false: no.
	Encrypt *bool `json:"Encrypt,omitempty" name:"Encrypt"`

	// Snapshot creation time.
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// Number of images associated with the snapshot.
	ImageCount *uint64 `json:"ImageCount,omitempty" name:"ImageCount"`

	// Snapshot status. Valid values:<br><li>NORMAL: normal<br><li>CREATING: creating<br><li>ROLLBACKING: rolling back<br><li>COPYING_FROM_REMOTE: cross-region replicating<br><li>CHECKING_COPIED: verifying the cross-region replicated data<br><li>TORECYCLE: to be repossessed.
	SnapshotState *string `json:"SnapshotState,omitempty" name:"SnapshotState"`

	// Snapshot expiration time.
	DeadlineTime *string `json:"DeadlineTime,omitempty" name:"DeadlineTime"`

	// Time when snapshot sharing starts.
	// Note: this field may return null, indicating that no valid values can be obtained.
	TimeStartShare *string `json:"TimeStartShare,omitempty" name:"TimeStartShare"`
}

type SrcImage

type SrcImage struct {

	// Image ID
	ImageId *string `json:"ImageId,omitempty" name:"ImageId"`

	// Image name
	ImageName *string `json:"ImageName,omitempty" name:"ImageName"`

	// System name
	ImageOsName *string `json:"ImageOsName,omitempty" name:"ImageOsName"`

	// Image description
	ImageDescription *string `json:"ImageDescription,omitempty" name:"ImageDescription"`

	// Region
	Region *string `json:"Region,omitempty" name:"Region"`

	// Region ID
	RegionID *int64 `json:"RegionID,omitempty" name:"RegionID"`

	// Region name
	RegionName *string `json:"RegionName,omitempty" name:"RegionName"`

	// Source instance name
	InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"`

	// Source instance ID
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Source image type
	ImageType *string `json:"ImageType,omitempty" name:"ImageType"`
}

type StartInstancesRequest

type StartInstancesRequest struct {
	*tchttp.BaseRequest

	// List of IDs of the instances to be started. You can request up to 100 instances in a region at a time.
	InstanceIdSet []*string `json:"InstanceIdSet,omitempty" name:"InstanceIdSet"`
}

func NewStartInstancesRequest

func NewStartInstancesRequest() (request *StartInstancesRequest)

func (*StartInstancesRequest) FromJsonString

func (r *StartInstancesRequest) 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 (*StartInstancesRequest) ToJsonString

func (r *StartInstancesRequest) ToJsonString() string

type StartInstancesResponse

type StartInstancesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewStartInstancesResponse

func NewStartInstancesResponse() (response *StartInstancesResponse)

func (*StartInstancesResponse) FromJsonString

func (r *StartInstancesResponse) 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 (*StartInstancesResponse) ToJsonString

func (r *StartInstancesResponse) ToJsonString() string

type StopInstancesRequest

type StopInstancesRequest struct {
	*tchttp.BaseRequest

	// List of IDs of the instances to be shut down. You can request up to 100 instances in a region at a time.
	InstanceIdSet []*string `json:"InstanceIdSet,omitempty" name:"InstanceIdSet"`

	// Whether to force shut down the instance after it failed to be shut down normally. Default value: false: no.
	ForceStop *bool `json:"ForceStop,omitempty" name:"ForceStop"`

	// Instance shutdown mode. Valid values:
	// SOFT_FIRST: perform a forced shutdown in case of a failure of the normal shutdown;
	// HARD: forced shutdown;
	// SOFT: Soft shutdown;
	// Default value: SOFT.
	StopType *string `json:"StopType,omitempty" name:"StopType"`
}

func NewStopInstancesRequest

func NewStopInstancesRequest() (request *StopInstancesRequest)

func (*StopInstancesRequest) FromJsonString

func (r *StopInstancesRequest) 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 (*StopInstancesRequest) ToJsonString

func (r *StopInstancesRequest) ToJsonString() string

type StopInstancesResponse

type StopInstancesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewStopInstancesResponse

func NewStopInstancesResponse() (response *StopInstancesResponse)

func (*StopInstancesResponse) FromJsonString

func (r *StopInstancesResponse) 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 (*StopInstancesResponse) ToJsonString

func (r *StopInstancesResponse) ToJsonString() string

type Subnet

type Subnet struct {

	// VPC instance ID.
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// Subnet instance ID, such as `subnet-bthucmmy`.
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`

	// Subnet name.
	SubnetName *string `json:"SubnetName,omitempty" name:"SubnetName"`

	// IPv4 CIDR block of the subnet.
	CidrBlock *string `json:"CidrBlock,omitempty" name:"CidrBlock"`

	// Whether it is the default subnet.
	IsDefault *bool `json:"IsDefault,omitempty" name:"IsDefault"`

	// Whether to enable broadcast.
	EnableBroadcast *bool `json:"EnableBroadcast,omitempty" name:"EnableBroadcast"`

	// Route table instance ID, such as `rtb-l2h8d7c2`.
	RouteTableId *string `json:"RouteTableId,omitempty" name:"RouteTableId"`

	// Creation time.
	CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"`

	// Number of available IPs.
	AvailableIpAddressCount *uint64 `json:"AvailableIpAddressCount,omitempty" name:"AvailableIpAddressCount"`

	// IPv6 CIDR block of the subnet.
	Ipv6CidrBlock *string `json:"Ipv6CidrBlock,omitempty" name:"Ipv6CidrBlock"`

	// Associated ACLID
	NetworkAclId *string `json:"NetworkAclId,omitempty" name:"NetworkAclId"`

	// Whether it is an SNAT address pool subnet.
	IsRemoteVpcSnat *bool `json:"IsRemoteVpcSnat,omitempty" name:"IsRemoteVpcSnat"`

	// Tag key-value pairs.
	// Note: this field may return null, indicating that no valid values can be obtained.
	TagSet []*Tag `json:"TagSet,omitempty" name:"TagSet"`

	// Region
	Zone *string `json:"Zone,omitempty" name:"Zone"`

	// AZ name
	// Note: this field may return null, indicating that no valid values can be obtained.
	ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`

	// Number of instances
	// Note: this field may return null, indicating that no valid values can be obtained.
	InstanceCount *uint64 `json:"InstanceCount,omitempty" name:"InstanceCount"`

	// IPv4 CIDR block of the VPC.
	// Note: this field may return null, indicating that no valid values can be obtained.
	VpcCidrBlock *string `json:"VpcCidrBlock,omitempty" name:"VpcCidrBlock"`

	// IPv6 CIDR block of the VPC.
	// Note: this field may return null, indicating that no valid values can be obtained.
	VpcIpv6CidrBlock *string `json:"VpcIpv6CidrBlock,omitempty" name:"VpcIpv6CidrBlock"`

	// Region
	// Note: this field may return null, indicating that no valid values can be obtained.
	Region *string `json:"Region,omitempty" name:"Region"`
}

type SystemDisk

type SystemDisk struct {

	// Disk type. Valid values:
	// - LOCAL_BASIC: local disk;
	// - CLOUD_PREMIUM: Premium Cloud Storage;
	// Default value: CLOUD_BASIC.
	DiskType *string `json:"DiskType,omitempty" name:"DiskType"`

	// Disk ID. This parameter is temporarily unavailable.
	DiskId *string `json:"DiskId,omitempty" name:"DiskId"`

	// Disk size in GB.
	DiskSize *int64 `json:"DiskSize,omitempty" name:"DiskSize"`
}

type Tag

type Tag struct {

	// Tag key.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Key *string `json:"Key,omitempty" name:"Key"`

	// Tag value.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Value *string `json:"Value,omitempty" name:"Value"`
}

type TagInfo

type TagInfo struct {

	// Tag key.
	TagKey *string `json:"TagKey,omitempty" name:"TagKey"`

	// Tag value.
	TagValue *string `json:"TagValue,omitempty" name:"TagValue"`
}

type TagSpecification

type TagSpecification struct {

	// Resource type. Valid values: instance, module
	ResourceType *string `json:"ResourceType,omitempty" name:"ResourceType"`

	// Tag list
	Tags []*Tag `json:"Tags,omitempty" name:"Tags"`
}

type Target

type Target struct {

	// Listening port of the real server
	// Note: this field may return null, indicating that no valid values can be obtained.
	Port *int64 `json:"Port,omitempty" name:"Port"`

	// CVM instance ID
	// Note: this field may return null, indicating that no valid values can be obtained.
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Forwarding weight of the real server. Value range: [0, 100]. Default value: 10.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Weight *int64 `json:"Weight,omitempty" name:"Weight"`

	// You need to pass in this parameter when binding an ENI. It represents the IP address of the ENI. You must bind an ENI to a CVM instance first before you can bind it to a CLB instance. Note: you must pass in either `InstanceId` or `EniIp`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	EniIp *string `json:"EniIp,omitempty" name:"EniIp"`
}

type TargetHealth

type TargetHealth struct {

	// Private IP of the target
	// Note: this field may return null, indicating that no valid values can be obtained.
	IP *string `json:"IP,omitempty" name:"IP"`

	// Port bound to the target
	// Note: this field may return null, indicating that no valid values can be obtained.
	Port *int64 `json:"Port,omitempty" name:"Port"`

	// Current health status. Valid values: true: healthy; false: unhealthy (e.g., check not started, checking, or exceptional status). CLB instance will route traffic to only healthy real servers whose weights are greater than 0.
	// Note: this field may return null, indicating that no valid values can be obtained.
	HealthStatus *bool `json:"HealthStatus,omitempty" name:"HealthStatus"`

	// Instance ID of the target
	// Note: this field may return null, indicating that no valid values can be obtained.
	TargetId *string `json:"TargetId,omitempty" name:"TargetId"`

	// Detailed information of the current health status. Valid values: Alive: healthy; Dead: exceptional; Unknown: check not started/checking/unknown status; Close: health check not configured.
	// Note: this field may return null, indicating that no valid values can be obtained.
	HealthStatusDetail *string `json:"HealthStatusDetail,omitempty" name:"HealthStatusDetail"`
}

type TargetsWeightRule

type TargetsWeightRule struct {

	// CLB listener ID
	// Note: this field may return null, indicating that no valid values can be obtained.
	ListenerId *string `json:"ListenerId,omitempty" name:"ListenerId"`

	// List of real servers for which to modify the weights
	// Note: this field may return null, indicating that no valid values can be obtained.
	Targets []*Target `json:"Targets,omitempty" name:"Targets"`

	// New forwarding weight of the real server. Value range: 0–100.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Weight *int64 `json:"Weight,omitempty" name:"Weight"`
}

type TaskInput

type TaskInput struct {

	// Operation name, i.e., API name, such as `CreateImage`
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// Task ID
	TaskId *string `json:"TaskId,omitempty" name:"TaskId"`
}

type TaskOutput

type TaskOutput struct {

	// Task ID
	TaskId *string `json:"TaskId,omitempty" name:"TaskId"`

	// Status description
	Message *string `json:"Message,omitempty" name:"Message"`

	// Status value. Valid values: SUCCESS, FAILED, OPERATING
	Status *string `json:"Status,omitempty" name:"Status"`

	// Task submission time
	AddTime *string `json:"AddTime,omitempty" name:"AddTime"`

	// Task end time
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Operation name
	Operation *string `json:"Operation,omitempty" name:"Operation"`
}

type TerminateInstancesRequest

type TerminateInstancesRequest struct {
	*tchttp.BaseRequest

	// List of IDs of the instances to be terminated.
	InstanceIdSet []*string `json:"InstanceIdSet,omitempty" name:"InstanceIdSet"`

	// Whether to enable scheduled termination. Default value: no.
	TerminateDelay *bool `json:"TerminateDelay,omitempty" name:"TerminateDelay"`

	// Scheduled termination time, such as `2019-08-05 12:01:30`. If you don't enable scheduled termination, you can ignore this parameter.
	TerminateTime *string `json:"TerminateTime,omitempty" name:"TerminateTime"`

	// Whether to delete the bound ENI and EIP. Default value: true.
	// true: the ENI and EIP will also be deleted;
	// false: only the server will be terminated, while the ENI and EIP will be retained.
	AssociatedResourceDestroy *bool `json:"AssociatedResourceDestroy,omitempty" name:"AssociatedResourceDestroy"`
}

func NewTerminateInstancesRequest

func NewTerminateInstancesRequest() (request *TerminateInstancesRequest)

func (*TerminateInstancesRequest) FromJsonString

func (r *TerminateInstancesRequest) 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 (*TerminateInstancesRequest) ToJsonString

func (r *TerminateInstancesRequest) ToJsonString() string

type TerminateInstancesResponse

type TerminateInstancesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewTerminateInstancesResponse

func NewTerminateInstancesResponse() (response *TerminateInstancesResponse)

func (*TerminateInstancesResponse) FromJsonString

func (r *TerminateInstancesResponse) 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 (*TerminateInstancesResponse) ToJsonString

func (r *TerminateInstancesResponse) ToJsonString() string

type VirtualPrivateCloud

type VirtualPrivateCloud struct {

	// VPC ID, such as `vpc-xxx`.
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// Subnet ID of the VPC, such as `subnet-xxx`.
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`

	// Whether it is used as a public gateway. The public gateway can be used only when the instance has a public IP and resides in a VPC. Valid values:
	// TRUE: yes
	// FALSE: no
	//
	// Default value: FALSE.
	AsVpcGateway *bool `json:"AsVpcGateway,omitempty" name:"AsVpcGateway"`

	// Array of VPC subnet IPs. This parameter can be used to create instances or modify the VPC attributes of instances.
	PrivateIpAddresses []*string `json:"PrivateIpAddresses,omitempty" name:"PrivateIpAddresses"`

	// Number of the IPv6 addresses to be randomly generated for the ENI.
	Ipv6AddressCount *int64 `json:"Ipv6AddressCount,omitempty" name:"Ipv6AddressCount"`
}

type VpcInfo

type VpcInfo struct {

	// VPC name.
	VpcName *string `json:"VpcName,omitempty" name:"VpcName"`

	// VPC instance ID, such as `vpc-azd4dt1c`.
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// IPv4 CIDR block of the VPC.
	CidrBlock *string `json:"CidrBlock,omitempty" name:"CidrBlock"`

	// Whether it is the default VPC.
	IsDefault *bool `json:"IsDefault,omitempty" name:"IsDefault"`

	// Whether to enable multicast.
	EnableMulticast *bool `json:"EnableMulticast,omitempty" name:"EnableMulticast"`

	// Creation time.
	CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"`

	// List of DNS servers.
	// Note: this field may return null, indicating that no valid values can be obtained.
	DnsServerSet []*string `json:"DnsServerSet,omitempty" name:"DnsServerSet"`

	// DHCP domain option value.
	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`

	// DHCP option set ID.
	DhcpOptionsId *string `json:"DhcpOptionsId,omitempty" name:"DhcpOptionsId"`

	// Whether to enable DHCP.
	EnableDhcp *bool `json:"EnableDhcp,omitempty" name:"EnableDhcp"`

	// IPv6 CIDR block of the VPC.
	Ipv6CidrBlock *string `json:"Ipv6CidrBlock,omitempty" name:"Ipv6CidrBlock"`

	// Tag key-value pair
	// Note: this field may return null, indicating that no valid values can be obtained.
	TagSet []*Tag `json:"TagSet,omitempty" name:"TagSet"`

	// Secondary CIDR block
	// Note: this field may return null, indicating that no valid values can be obtained.
	AssistantCidrSet []*AssistantCidr `json:"AssistantCidrSet,omitempty" name:"AssistantCidrSet"`

	// Region
	Region *string `json:"Region,omitempty" name:"Region"`

	// Description
	Description *string `json:"Description,omitempty" name:"Description"`

	// Region name
	RegionName *string `json:"RegionName,omitempty" name:"RegionName"`

	// Number of included subnets
	SubnetCount *uint64 `json:"SubnetCount,omitempty" name:"SubnetCount"`

	// Number of included instances
	InstanceCount *uint64 `json:"InstanceCount,omitempty" name:"InstanceCount"`
}

type ZoneInfo

type ZoneInfo struct {

	// ZoneId
	ZoneId *int64 `json:"ZoneId,omitempty" name:"ZoneId"`

	// ZoneName
	ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`

	// Zone
	Zone *string `json:"Zone,omitempty" name:"Zone"`
}

type ZoneInstanceCountISP

type ZoneInstanceCountISP struct {

	// The AZ in which to create an instance.
	Zone *string `json:"Zone,omitempty" name:"Zone"`

	// Number of instances to be created in the current AZ.
	InstanceCount *int64 `json:"InstanceCount,omitempty" name:"InstanceCount"`

	// ISP name. Valid values:
	// CTCC: China Telecom
	// CUCC: China Unicom
	// CMCC: China Mobile
	// If there are multiple ISP names, you need to separate them by semicolons, such as `CMCC;CUCC;CTCC`. To use multiple ISPs, contact Tencent Cloud customer service for assistance.
	ISP *string `json:"ISP,omitempty" name:"ISP"`

	// ID of the specified VPC. You must specify both `SubnetId` and `VpcId` or neither
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// ID of the specified subnet. You must specify both `SubnetId` and `VpcId` or neither
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`

	// Private IP of the specified primary ENI. You must specify both `SubnetId` and `VpcId` at the same time. The number of IP addresses must be the same as `InstanceCount`. You can get the private IP of the secondary ENI of a multi-IP server through DHCP in the same subnet.
	PrivateIpAddresses []*string `json:"PrivateIpAddresses,omitempty" name:"PrivateIpAddresses"`

	// Number of the IPv6 addresses to be randomly generated for the ENI, which cannot be greater than 1.
	Ipv6AddressCount *int64 `json:"Ipv6AddressCount,omitempty" name:"Ipv6AddressCount"`
}

type ZoneInstanceInfo

type ZoneInstanceInfo struct {

	// Zone name
	ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`

	// Number of instances
	InstanceNum *int64 `json:"InstanceNum,omitempty" name:"InstanceNum"`
}

Jump to

Keyboard shortcuts

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