v20200324

package
v3.0.959+incompatible Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// Error with CAM signature/authentication.
	AUTHFAILURE = "AuthFailure"

	// This region is not open yet. Please select another one.
	AUTHFAILURE_INVALIDREGION = "AuthFailure.InvalidRegion"

	// Operation failed.
	FAILEDOPERATION = "FailedOperation"

	// Failed to create the image.
	FAILEDOPERATION_CREATEBLUEPRINTFAILED = "FailedOperation.CreateBlueprintFailed"

	// Failed to create the cloud disks.
	FAILEDOPERATION_CREATEDISKSFAILED = "FailedOperation.CreateDisksFailed"

	// Failed to create the instance.
	FAILEDOPERATION_CREATEINSTANCESFAILED = "FailedOperation.CreateInstancesFailed"

	// Failed to create the key pair.
	FAILEDOPERATION_CREATEKEYPAIRFAILED = "FailedOperation.CreateKeyPairFailed"

	// Failed to delete the key pair.
	FAILEDOPERATION_DELETEKEYPAIRFAILED = "FailedOperation.DeleteKeyPairFailed"

	// Failed to query the image. Try again later.
	FAILEDOPERATION_DESCRIBEBLUEPRINTSFAILED = "FailedOperation.DescribeBlueprintsFailed"

	//
	FAILEDOPERATION_DESCRIBEBUNDLEDISCOUNTFAILED = "FailedOperation.DescribeBundleDiscountFailed"

	//
	FAILEDOPERATION_DESCRIBEBUNDLESFAILED = "FailedOperation.DescribeBundlesFailed"

	// An error occurred when querying the instance status.
	FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus"

	// Failed to query the instance configuration adjustment.
	FAILEDOPERATION_DESCRIBEINSTANCESMODIFICATIONERROR = "FailedOperation.DescribeInstancesModificationError"

	// An error occurred when querying whether the instance is returnable.
	FAILEDOPERATION_DESCRIBEINSTANCESRETURNABLEERROR = "FailedOperation.DescribeInstancesReturnableError"

	// Failed to query traffic packages.
	FAILEDOPERATION_DESCRIBEINSTANCESTRAFFICPACKAGESFAILED = "FailedOperation.DescribeInstancesTrafficPackagesFailed"

	// The query returns contents that do not meet the requirement.
	FAILEDOPERATION_DESCRIBERESOURCESRETURNABLEERROR = "FailedOperation.DescribeResourcesReturnableError"

	// Unable to terminate the resource. Please retry later.
	FAILEDOPERATION_DESTROYRESOURCESFAILED = "FailedOperation.DestroyResourcesFailed"

	// Failed to manipulate the firewall rule.
	FAILEDOPERATION_FIREWALLRULESOPERATIONFAILED = "FailedOperation.FirewallRulesOperationFailed"

	// Failed to import the key pair.
	FAILEDOPERATION_IMPORTKEYPAIRFAILED = "FailedOperation.ImportKeyPairFailed"

	// Failed to manipulate the instance.
	FAILEDOPERATION_INSTANCEOPERATIONFAILED = "FailedOperation.InstanceOperationFailed"

	//
	FAILEDOPERATION_INSUFFICIENTBALANCE = "FailedOperation.InsufficientBalance"

	// The command is not found.
	FAILEDOPERATION_INVALIDCOMMANDNOTFOUND = "FailedOperation.InvalidCommandNotFound"

	// Failed to return the resource.
	FAILEDOPERATION_ISOLATERESOURCESFAILED = "FailedOperation.IsolateResourcesFailed"

	// Failed to change the instance bundle.
	FAILEDOPERATION_MODIFYINSTANCESBUNDLEFAILED = "FailedOperation.ModifyInstancesBundleFailed"

	// Failed to change the resource attribute. Try again later...
	FAILEDOPERATION_MODIFYRESOURCESATTRIBUTEFAILED = "FailedOperation.ModifyResourcesAttributeFailed"

	// Unable to renew the resource
	FAILEDOPERATION_RENEWRESOURCESFAILED = "FailedOperation.RenewResourcesFailed"

	// A request error occurred.
	FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError"

	// Failed to manipulate the snapshot.
	FAILEDOPERATION_SNAPSHOTOPERATIONFAILED = "FailedOperation.SnapshotOperationFailed"

	// Failed to call the billing gateway service. Please try again later.
	FAILEDOPERATION_TRADECALLBILLINGGATEWAYFAILED = "FailedOperation.TradeCallBillingGatewayFailed"

	// Failed to query the price.
	FAILEDOPERATION_TRADEGETPRICEFAILED = "FailedOperation.TradeGetPriceFailed"

	// The operation failed. The custom image could not be created.
	FAILEDOPERATION_UNABLETOCREATEBLUEPRINT = "FailedOperation.UnableToCreateBlueprint"

	// Failed to create the instance
	FAILEDOPERATION_UNABLETOCREATEINSTANCES = "FailedOperation.UnableToCreateInstances"

	// Internal error.
	INTERNALERROR = "InternalError"

	// The disk query returned invalid content.
	INTERNALERROR_DESCRIBEDISKSRETURNABLEERROR = "InternalError.DescribeDisksReturnableError"

	// Failed to query the instance status. Please try again later.
	INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus"

	// Failed to query whether the configuration of the instance can be modified.
	INTERNALERROR_DESCRIBEINSTANCESMODIFICATION = "InternalError.DescribeInstancesModification"

	// Failed to query whether the configuration of the instance can be modified.
	INTERNALERROR_DESCRIBEINSTANCESMODIFICATIONERROR = "InternalError.DescribeInstancesModificationError"

	// Failed to query whether the instance can be returned.
	INTERNALERROR_DESCRIBEINSTANCESRETURNABLEERROR = "InternalError.DescribeInstancesReturnableError"

	// An error occurred while querying the instance traffic package.
	INTERNALERROR_DESCRIBEINSTANCESTRAFFICPACKAGESFAILED = "InternalError.DescribeInstancesTrafficPackagesFailed"

	// Error querying the resource
	INTERNALERROR_DESCRIBERESOURCESRETURNABLEERROR = "InternalError.DescribeResourcesReturnableError"

	// Failed to get the snapshot quota lock.
	INTERNALERROR_GETSNAPSHOTALLOCQUOTALOCKERROR = "InternalError.GetSnapshotAllocQuotaLockError"

	// Failed to find this API
	INTERNALERROR_INVALIDACTIONNOTFOUND = "InternalError.InvalidActionNotFound"

	// The package price is incorrect.
	INTERNALERROR_INVALIDBUNDLEPRICE = "InternalError.InvalidBundlePrice"

	// The command is not found.
	INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound"

	// There was an error in the request.
	INTERNALERROR_REQUESTERROR = "InternalError.RequestError"

	// Failed to call billing gateway service
	INTERNALERROR_TRADECALLBILLINGGATEWAYFAILED = "InternalError.TradeCallBillingGatewayFailed"

	// Failed to get the price.
	INTERNALERROR_TRADEGETPRICEFAILED = "InternalError.TradeGetPriceFailed"

	// Incorrect parameter.
	INVALIDPARAMETER = "InvalidParameter"

	// The package and the image do not match.
	INVALIDPARAMETER_BUNDLEANDBLUEPRINTNOTMATCH = "InvalidParameter.BundleAndBlueprintNotMatch"

	// Undefined service package ID.
	INVALIDPARAMETER_BUNDLEIDNOTFOUND = "InvalidParameter.BundleIdNotFound"

	// Parameters conflicted.
	INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict"

	// Invalid parameter: the number of `Values` in the `Filter` parameter exceeds the allowed maximum number.
	INVALIDPARAMETER_FILTERVALUELIMITEXCEEDED = "InvalidParameter.FilterValueLimitExceeded"

	// Invalid parameter: the firewall rule is duplicated.
	INVALIDPARAMETER_FIREWALLRULESDUPLICATED = "InvalidParameter.FirewallRulesDuplicated"

	// Invalid parameter: the firewall rule already exists.
	INVALIDPARAMETER_FIREWALLRULESEXIST = "InvalidParameter.FirewallRulesExist"

	// Invalid parameter: the `Filter` parameter is invalid.
	INVALIDPARAMETER_INVALIDFILTER = "InvalidParameter.InvalidFilter"

	// Invalid parameter: the value of `Name` in the `Filter` parameter is invalid.
	INVALIDPARAMETER_INVALIDFILTERINVALIDKEY = "InvalidParameter.InvalidFilterInvalidKey"

	// Invalid parameter: the value of `Name` in the `Filter` parameter is not a string.
	INVALIDPARAMETER_INVALIDFILTERINVALIDNAMENOTSTR = "InvalidParameter.InvalidFilterInvalidNameNotStr"

	// Invalid parameter: the `Values` in the `Filter` parameter is not a list.
	INVALIDPARAMETER_INVALIDFILTERINVALIDVALUESNOTLIST = "InvalidParameter.InvalidFilterInvalidValuesNotList"

	// Invalid parameter: the `Filter` parameter is not a dictionary.
	INVALIDPARAMETER_INVALIDFILTERNOTDICT = "InvalidParameter.InvalidFilterNotDict"

	// Invalid parameter: there are unsupported `Name` values in the `Filter` parameter.
	INVALIDPARAMETER_INVALIDFILTERNOTSUPPORTEDNAME = "InvalidParameter.InvalidFilterNotSupportedName"

	// Please specify at least one attribute to modify.
	INVALIDPARAMETER_MUSTSPECIFYONEATTRIBUTETOMODIFY = "InvalidParameter.MustSpecifyOneAttributeToModify"

	// Invalid parameter: only one attribute can be modified at a time.
	INVALIDPARAMETER_ONLYALLOWMODIFYONEATTRIBUTE = "InvalidParameter.OnlyAllowModifyOneAttribute"

	// Invalid parameter: the parameters conflict.
	INVALIDPARAMETER_PARAMETERCONFLICT = "InvalidParameter.ParameterConflict"

	// Incorrect parameter value.
	INVALIDPARAMETERVALUE = "InvalidParameterValue"

	// The configuration of this instance does not meet the requirements of the specified image.
	INVALIDPARAMETERVALUE_BLUEPRINTCONFIGNOTMATCH = "InvalidParameterValue.BlueprintConfigNotMatch"

	// The image ID is invalid, as instance reinstallation does not allow switching the OS type.
	INVALIDPARAMETERVALUE_BLUEPRINTID = "InvalidParameterValue.BlueprintId"

	// Invalid parameter value: the image ID format is invalid.
	INVALIDPARAMETERVALUE_BLUEPRINTIDMALFORMED = "InvalidParameterValue.BlueprintIdMalformed"

	// The package and the image do not match.
	INVALIDPARAMETERVALUE_BUNDLEANDBLUEPRINTNOTMATCH = "InvalidParameterValue.BundleAndBlueprintNotMatch"

	// The selected package does not support the OS of the image.
	INVALIDPARAMETERVALUE_BUNDLENOTSUPPORTBLUEPRINTPLATFORM = "InvalidParameterValue.BundleNotSupportBlueprintPlatform"

	// The ID format of the CCN instance is invalid.
	INVALIDPARAMETERVALUE_CCNIDMALFORMED = "InvalidParameterValue.CcnIdMalformed"

	// The client token is too long.
	INVALIDPARAMETERVALUE_CLIENTTOKENTOOLONG = "InvalidParameterValue.ClientTokenTooLong"

	// The AZ of cloud disk does not match the AZ of instance.
	INVALIDPARAMETERVALUE_DISKINSTANCEZONENOTMATCH = "InvalidParameterValue.DiskInstanceZoneNotMatch"

	// The disk name is too long.
	INVALIDPARAMETERVALUE_DISKNAMETOOLONG = "InvalidParameterValue.DiskNameTooLong"

	// The disk size has changed.
	INVALIDPARAMETERVALUE_DISKSIZENOTMATCH = "InvalidParameterValue.DiskSizeNotMatch"

	// The parameter `KeyName` already exists and is duplicate.
	INVALIDPARAMETERVALUE_DUPLICATEPARAMETERVALUE = "InvalidParameterValue.DuplicateParameterValue"

	// Invalid parameter value: duplicate values are not allowed.
	INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"

	// The length of the firewall rule description exceeds the limit.
	INVALIDPARAMETERVALUE_FIREWALLRULEDESCRIPTIONTOOLONG = "InvalidParameterValue.FirewallRuleDescriptionTooLong"

	// Invalid parameter value: the instance ID format is invalid.
	INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"

	// Invalid parameter value: the length of the instance name exceeds the upper limit.
	INVALIDPARAMETERVALUE_INSTANCENAMETOOLONG = "InvalidParameterValue.InstanceNameTooLong"

	// The image ID is invalid.
	INVALIDPARAMETERVALUE_INVALIDBLUEPRINTID = "InvalidParameterValue.InvalidBlueprintId"

	// The type of the image OS is invalid.
	INVALIDPARAMETERVALUE_INVALIDBLUEPRINTPLATFORMTYPE = "InvalidParameterValue.InvalidBlueprintPlatformType"

	// Invalid image status value
	INVALIDPARAMETERVALUE_INVALIDBLUEPRINTSTATE = "InvalidParameterValue.InvalidBlueprintState"

	// The image type is invalid.
	INVALIDPARAMETERVALUE_INVALIDBLUEPRINTTYPE = "InvalidParameterValue.InvalidBlueprintType"

	// Invalid package parameter.
	INVALIDPARAMETERVALUE_INVALIDBUNDLE = "InvalidParameterValue.InvalidBundle"

	// The console display type is invalid.
	INVALIDPARAMETERVALUE_INVALIDCONSOLEDISPLAYTYPES = "InvalidParameterValue.InvalidConsoleDisplayTypes"

	// The current instance expiration time cannot be earlier than the cloud disk expiration time.
	INVALIDPARAMETERVALUE_INVALIDCURINSTANCEDEADLINE = "InvalidParameterValue.InvalidCurInstanceDeadline"

	// Invalid parameter value: the disk ID format is invalid.
	INVALIDPARAMETERVALUE_INVALIDDISKIDMALFORMED = "InvalidParameterValue.InvalidDiskIdMalformed"

	// Invalid cloud disk type.
	INVALIDPARAMETERVALUE_INVALIDDISKTYPE = "InvalidParameterValue.InvalidDiskType"

	// The value of setting whether to use the default key pair for login is incorrect.
	INVALIDPARAMETERVALUE_INVALIDINSTANCELOGINKEYPAIRPERMITLOGIN = "InvalidParameterValue.InvalidInstanceLoginKeyPairPermitLogin"

	// Invalid parametric value: the IP address format is invalid.
	INVALIDPARAMETERVALUE_INVALIDIPFORMAT = "InvalidParameterValue.InvalidIpFormat"

	// Invalid parametric value.
	INVALIDPARAMETERVALUE_INVALIDKEYPAIRNAMEEMPTY = "InvalidParameterValue.InvalidKeyPairNameEmpty"

	// The key pair name is invalid.
	INVALIDPARAMETERVALUE_INVALIDKEYPAIRNAMEINCLUDEILLEGALCHAR = "InvalidParameterValue.InvalidKeyPairNameIncludeIllegalChar"

	// The parameter length is invalid.
	INVALIDPARAMETERVALUE_INVALIDKEYPAIRNAMETOOLONG = "InvalidParameterValue.InvalidKeyPairNameTooLong"

	// Invalid package combination.
	INVALIDPARAMETERVALUE_INVALIDPARAMETERCOMBINATION = "InvalidParameterValue.InvalidParameterCombination"

	// The password in the parameter is invalid.
	INVALIDPARAMETERVALUE_INVALIDPASSWORD = "InvalidParameterValue.InvalidPassword"

	// Incorrect quota resource name.
	INVALIDPARAMETERVALUE_INVALIDRESOURCEQUOTARESOURCENAME = "InvalidParameterValue.InvalidResourceQuotaResourceName"

	// Invalid scene ID
	INVALIDPARAMETERVALUE_INVALIDSCENEIDMALFORMED = "InvalidParameterValue.InvalidSceneIdMalformed"

	// Invalid `Zone` value.
	INVALIDPARAMETERVALUE_INVALIDZONE = "InvalidParameterValue.InvalidZone"

	// Invalid parametric value: the key pair ID format is invalid.
	INVALIDPARAMETERVALUE_KEYPAIRIDMALFORMED = "InvalidParameterValue.KeyPairIdMalformed"

	// The public key of this key pair already exists in the system and cannot be reused.
	INVALIDPARAMETERVALUE_KEYPAIRPUBLICKEYDUPLICATED = "InvalidParameterValue.KeyPairPublicKeyDuplicated"

	// The format of the specified public key is incorrect.
	INVALIDPARAMETERVALUE_KEYPAIRPUBLICKEYMALFORMED = "InvalidParameterValue.KeyPairPublicKeyMalformed"

	// Invalid parametric value: the number of parameter values exceeds the upper limit.
	INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"

	// Invalid parametric value: it cannot be negative.
	INVALIDPARAMETERVALUE_NEGATIVE = "InvalidParameterValue.Negative"

	// It is not allowed to change the OS type.
	INVALIDPARAMETERVALUE_NOTALLOWTOCHANGEPLATFORMTYPE = "InvalidParameterValue.NotAllowToChangePlatformType"

	// Invalid parametric value: it is not within the valid range.
	INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange"

	// The instance OS does not support this file system.
	INVALIDPARAMETERVALUE_PLATFORMTYPENOTSUPPORTFILESYSTEM = "InvalidParameterValue.PlatformTypeNotSupportFileSystem"

	// The instance OS does not support the specified mount point.
	INVALIDPARAMETERVALUE_PLATFORMTYPENOTSUPPORTMOUNTPOINT = "InvalidParameterValue.PlatformTypeNotSupportMountPoint"

	// The region does not exist.
	INVALIDPARAMETERVALUE_REGIONNOTFOUND = "InvalidParameterValue.RegionNotFound"

	// The regions do not match.
	INVALIDPARAMETERVALUE_REGIONNOTMATCH = "InvalidParameterValue.RegionNotMatch"

	// Unsupported region.
	INVALIDPARAMETERVALUE_REGIONNOTSUPPORTED = "InvalidParameterValue.RegionNotSupported"

	// The region is unavailable.
	INVALIDPARAMETERVALUE_REGIONUNAVAILABLE = "InvalidParameterValue.RegionUnavailable"

	// Invalid parametric value: the snapshot ID format is invalid.
	INVALIDPARAMETERVALUE_SNAPSHOTIDMALFORMED = "InvalidParameterValue.SnapshotIdMalformed"

	// Invalid parametric value: the length of the snapshot name exceeds the upper limit.
	INVALIDPARAMETERVALUE_SNAPSHOTNAMETOOLONG = "InvalidParameterValue.SnapshotNameTooLong"

	// The length of the parameter value exceeds the upper limit.
	INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong"

	// Invalid AZ.
	INVALIDPARAMETERVALUE_ZONEINVALID = "InvalidParameterValue.ZoneInvalid"

	// Reached the quota limit.
	LIMITEXCEEDED = "LimitExceeded"

	// Failed to attach the disk: Reached the upper limit of attached data disks
	LIMITEXCEEDED_ATTACHDATADISKQUOTALIMITEXCEEDED = "LimitExceeded.AttachDataDiskQuotaLimitExceeded"

	// Failed to create the custom image: Reached the upper limit of custom image quota.
	LIMITEXCEEDED_BLUEPRINTQUOTALIMITEXCEEDED = "LimitExceeded.BlueprintQuotaLimitExceeded"

	// Failed to create the image: Insufficient quota.
	LIMITEXCEEDED_DISKQUOTALIMITEXCEEDED = "LimitExceeded.DiskQuotaLimitExceeded"

	// The firewall rule quota is exceeded.
	LIMITEXCEEDED_FIREWALLRULESLIMITEXCEEDED = "LimitExceeded.FirewallRulesLimitExceeded"

	// Run out of the instance quota.
	LIMITEXCEEDED_INSTANCEQUOTALIMITEXCEEDED = "LimitExceeded.InstanceQuotaLimitExceeded"

	// Reached the upper limit of resources can be returned
	LIMITEXCEEDED_ISOLATERESOURCESLIMITEXCEEDED = "LimitExceeded.IsolateResourcesLimitExceeded"

	// The key pair quota is exceeded.
	LIMITEXCEEDED_KEYPAIRLIMITEXCEEDED = "LimitExceeded.KeyPairLimitExceeded"

	// The snapshot quota is exceeded.
	LIMITEXCEEDED_SNAPSHOTQUOTALIMITEXCEEDED = "LimitExceeded.SnapshotQuotaLimitExceeded"

	// Missing parameter.
	MISSINGPARAMETER = "MissingParameter"

	// `Period` or `CurInstanceDeadline` is required.
	MISSINGPARAMETER_MISSINGPARAMETERPERIODCURINSTANCEDEADLINE = "MissingParameter.MissingParameterPeriodCurInstanceDeadline"

	// This instance does not support upgrading packages.
	OPERATIONDENIED_BUNDLENOTSUPPORTMODIFY = "OperationDenied.BundleNotSupportModify"

	// The disk is being created.
	OPERATIONDENIED_DISKCREATING = "OperationDenied.DiskCreating"

	// The disk is being manipulated. Try again later.
	OPERATIONDENIED_DISKOPERATIONINPROGRESS = "OperationDenied.DiskOperationInProgress"

	// The cloud disk type of the disk does not support this operation.
	OPERATIONDENIED_DISKUSAGENOTSUPPORTOPERATION = "OperationDenied.DiskUsageNotSupportOperation"

	// It is not allowed to manipulate this instance, as it is being created.
	OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating"

	// It is not allowed to manipulate this instance, as the last operation is still in progress.
	OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress"

	// Creating snapshot is not allowed.
	OPERATIONDENIED_OPERATIONDENIEDCREATESNAPSHOT = "OperationDenied.OperationDeniedCreateSnapshot"

	// Instances using storage packages do not support snapshot creation.
	OPERATIONDENIED_OPERATIONDENIEDCREATESNAPSHOTFORSTORAGEBUNDLE = "OperationDenied.OperationDeniedCreateSnapshotForStorageBundle"

	// The key pair is in use.
	RESOURCEINUSE_KEYPAIRINUSE = "ResourceInUse.KeyPairInUse"

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

	// The image ID does not exist.
	RESOURCENOTFOUND_BLUEPRINTIDNOTFOUND = "ResourceNotFound.BlueprintIdNotFound"

	// The specified image does not exist. Please check whether the `BlueprintId` of the image is correct.
	RESOURCENOTFOUND_BLUEPRINTNOTFOUND = "ResourceNotFound.BlueprintNotFound"

	// The disk ID does not exist.
	RESOURCENOTFOUND_DISKIDNOTFOUND = "ResourceNotFound.DiskIdNotFound"

	// The disk does not exist.
	RESOURCENOTFOUND_DISKNOTFOUND = "ResourceNotFound.DiskNotFound"

	// The firewall does not exist.
	RESOURCENOTFOUND_FIREWALLNOTFOUND = "ResourceNotFound.FirewallNotFound"

	// The firewall rule does not exist.
	RESOURCENOTFOUND_FIREWALLRULESNOTFOUND = "ResourceNotFound.FirewallRulesNotFound"

	//
	RESOURCENOTFOUND_FIREWALLTEMPLATENOTFOUND = "ResourceNotFound.FirewallTemplateNotFound"

	// There are no data disks mounted to the instance.
	RESOURCENOTFOUND_INSTANCEDATADISKNOTFOUND = "ResourceNotFound.InstanceDataDiskNotFound"

	// The instance ID does not exist.
	RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"

	// The instance does not exist.
	RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"

	// The key pair ID does not exist.
	RESOURCENOTFOUND_KEYIDNOTFOUND = "ResourceNotFound.KeyIdNotFound"

	//
	RESOURCENOTFOUND_KEYPAIRNOTFOUND = "ResourceNotFound.KeyPairNotFound"

	// The custom image does not exist.
	RESOURCENOTFOUND_PRIVATEBLUEPRINTNOTFOUND = "ResourceNotFound.PrivateBlueprintNotFound"

	// The service role does not exist. Please add it to the account.
	RESOURCENOTFOUND_ROLENOTFOUND = "ResourceNotFound.RoleNotFound"

	// Scene ID not found.
	RESOURCENOTFOUND_SCENEIDNOTFOUND = "ResourceNotFound.SceneIdNotFound"

	// The snapshot ID does not exist.
	RESOURCENOTFOUND_SNAPSHOTIDNOTFOUND = "ResourceNotFound.SnapshotIdNotFound"

	// The snapshot does not exist.
	RESOURCENOTFOUND_SNAPSHOTNOTFOUND = "ResourceNotFound.SnapshotNotFound"

	// The resource is unavailable.
	RESOURCEUNAVAILABLE = "ResourceUnavailable"

	// The image resource is not available.
	RESOURCEUNAVAILABLE_BLUEPRINTUNAVAILABLE = "ResourceUnavailable.BlueprintUnavailable"

	// The package is not available.
	RESOURCEUNAVAILABLE_BUNDLEUNAVAILABLE = "ResourceUnavailable.BundleUnavailable"

	//
	RESOURCESSOLDOUT_BUNDLESOLDOUT = "ResourcesSoldOut.BundleSoldOut"

	// There is no available configuration in the package.
	RESOURCESSOLDOUT_PURCHASESOURCEHASNOBUNDLECONFIGS = "ResourcesSoldOut.PurchaseSourceHasNoBundleConfigs"

	// There is no available configuration in the package.
	RESOURCESSOLDOUT_ZONESHASNOBUNDLECONFIGS = "ResourcesSoldOut.ZonesHasNoBundleConfigs"

	// MFA has expired.
	UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired"

	// MFA does not exist.
	UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound"

	// No permission
	UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

	//
	UNAUTHORIZEDOPERATION_TOKENINVALID = "UnauthorizedOperation.TokenInvalid"

	// Unknown parameter error.
	UNKNOWNPARAMETER = "UnknownParameter"

	// Unsupported operation.
	UNSUPPORTEDOPERATION = "UnsupportedOperation"

	// Unable to associate with CCN: there is no instance in this region
	UNSUPPORTEDOPERATION_ATTACHCCNCONDITIONUNSATISFIED = "UnsupportedOperation.AttachCcnConditionUnsatisfied"

	// Failed to associate the CCN instance. Please check the CCN status and try again later.
	UNSUPPORTEDOPERATION_ATTACHCCNFAILED = "UnsupportedOperation.AttachCcnFailed"

	// The current status of the image does not support this operation.
	UNSUPPORTEDOPERATION_BLUEPRINTCURSTATEINVALID = "UnsupportedOperation.BlueprintCurStateInvalid"

	// The image is in use, so this operation is not supported.
	UNSUPPORTEDOPERATION_BLUEPRINTOCCUPIED = "UnsupportedOperation.BlueprintOccupied"

	// The CCN instance is already associated, and reassociation is not supported.
	UNSUPPORTEDOPERATION_CCNALREADYATTACHED = "UnsupportedOperation.CcnAlreadyAttached"

	// No CCN instance has been associated yet, so this operation is not supported.
	UNSUPPORTEDOPERATION_CCNNOTATTACHED = "UnsupportedOperation.CcnNotAttached"

	// Failed to query the status of the associated CCN instance. Please try again later.
	UNSUPPORTEDOPERATION_DESCRIBECCNATTACHEDINSTANCESFAILED = "UnsupportedOperation.DescribeCcnAttachedInstancesFailed"

	// Failed to unassociate the CCN instance. Please check the CCN status and try again later.
	UNSUPPORTEDOPERATION_DETACHCCNFAILED = "UnsupportedOperation.DetachCcnFailed"

	// The disk is busy.
	UNSUPPORTEDOPERATION_DISKBUSY = "UnsupportedOperation.DiskBusy"

	// Unsupported operation: the last operation of the disk has not been completed.
	UNSUPPORTEDOPERATION_DISKLATESTOPERATIONUNFINISHED = "UnsupportedOperation.DiskLatestOperationUnfinished"

	// The firewall is busy.
	UNSUPPORTEDOPERATION_FIREWALLBUSY = "UnsupportedOperation.FirewallBusy"

	// The specified firewall version number does not match the current version.
	UNSUPPORTEDOPERATION_FIREWALLVERSIONMISMATCH = "UnsupportedOperation.FirewallVersionMismatch"

	// Unsupported operation: the instance has expired.
	UNSUPPORTEDOPERATION_INSTANCEEXPIRED = "UnsupportedOperation.InstanceExpired"

	// The password can not be set upon creation of a LinuxUnix instance.
	UNSUPPORTEDOPERATION_INSTANCELINUXUNIXCREATINGNOTSUPPORTPASSWORD = "UnsupportedOperation.InstanceLinuxUnixCreatingNotSupportPassword"

	// The disk's status does not support this operation.
	UNSUPPORTEDOPERATION_INVALIDDISKSTATE = "UnsupportedOperation.InvalidDiskState"

	// Unsupported operation: the instance status is invalid.
	UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState"

	// Unsupported operation: the snapshot status is invalid.
	UNSUPPORTEDOPERATION_INVALIDSNAPSHOTSTATE = "UnsupportedOperation.InvalidSnapshotState"

	// Unsupported operation: one key pair cannot be bound to the same instance repeatedly.
	UNSUPPORTEDOPERATION_KEYPAIRBINDDUPLICATE = "UnsupportedOperation.KeyPairBindDuplicate"

	// Unsupported operation: the `KeyPair` has a binding relationship with the image. Before performing this operation, please delete the custom image bound to the key pair.
	UNSUPPORTEDOPERATION_KEYPAIRBINDTOBLUEPRINTS = "UnsupportedOperation.KeyPairBindToBlueprints"

	// Unsupported operation: key pairs that are not bound to instances cannot be unbound from instances.
	UNSUPPORTEDOPERATION_KEYPAIRNOTBOUNDTOINSTANCE = "UnsupportedOperation.KeyPairNotBoundToInstance"

	// Unsupported operation: the last operation of the instance has not been completed.
	UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"

	// The shared image does not support this operation.
	UNSUPPORTEDOPERATION_NOTSUPPORTSHAREDBLUEPRINT = "UnsupportedOperation.NotSupportSharedBlueprint"

	//
	UNSUPPORTEDOPERATION_OPERATIONOFFLINE = "UnsupportedOperation.OperationOffline"

	// Terminating a resource in the resource center failed.
	UNSUPPORTEDOPERATION_POSTDESTROYRESOURCEFAILED = "UnsupportedOperation.PostDestroyResourceFailed"

	// Failed to reapply to associate a CCN instance. Please check the CCN status and try again later.
	UNSUPPORTEDOPERATION_RESETATTACHCCNFAILED = "UnsupportedOperation.ResetAttachCcnFailed"

	// The resource cannot be returned.
	UNSUPPORTEDOPERATION_RESOURCENOTRETURNABLE = "UnsupportedOperation.ResourceNotReturnable"

	// The snapshot is busy.
	UNSUPPORTEDOPERATION_SNAPSHOTBUSY = "UnsupportedOperation.SnapshotBusy"

	// System busy
	UNSUPPORTEDOPERATION_SYSTEMBUSY = "UnsupportedOperation.SystemBusy"

	// TAT agent on the instance is not online.
	UNSUPPORTEDOPERATION_TATAGENTNOTONLINE = "UnsupportedOperation.TatAgentNotOnline"

	// Windows instances do not support binding key pairs.
	UNSUPPORTEDOPERATION_WINDOWSNOTALLOWTOASSOCIATEKEYPAIR = "UnsupportedOperation.WindowsNotAllowToAssociateKeyPair"

	// SSH key pair is not available for Windows instances
	UNSUPPORTEDOPERATION_WINDOWSNOTSUPPORTKEYPAIR = "UnsupportedOperation.WindowsNotSupportKeyPair"
)
View Source
const APIVersion = "2020-03-24"

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplyInstanceSnapshotRequest

type ApplyInstanceSnapshotRequest struct {
	*tchttp.BaseRequest

	// Instance ID.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Snapshot ID.
	SnapshotId *string `json:"SnapshotId,omitnil,omitempty" name:"SnapshotId"`
}

func NewApplyInstanceSnapshotRequest

func NewApplyInstanceSnapshotRequest() (request *ApplyInstanceSnapshotRequest)

func (*ApplyInstanceSnapshotRequest) FromJsonString

func (r *ApplyInstanceSnapshotRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ApplyInstanceSnapshotRequest) ToJsonString

func (r *ApplyInstanceSnapshotRequest) ToJsonString() string

type ApplyInstanceSnapshotRequestParams

type ApplyInstanceSnapshotRequestParams struct {
	// Instance ID.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Snapshot ID.
	SnapshotId *string `json:"SnapshotId,omitnil,omitempty" name:"SnapshotId"`
}

Predefined struct for user

type ApplyInstanceSnapshotResponse

type ApplyInstanceSnapshotResponse struct {
	*tchttp.BaseResponse
	Response *ApplyInstanceSnapshotResponseParams `json:"Response"`
}

func NewApplyInstanceSnapshotResponse

func NewApplyInstanceSnapshotResponse() (response *ApplyInstanceSnapshotResponse)

func (*ApplyInstanceSnapshotResponse) FromJsonString

func (r *ApplyInstanceSnapshotResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ApplyInstanceSnapshotResponse) ToJsonString

func (r *ApplyInstanceSnapshotResponse) ToJsonString() string

type ApplyInstanceSnapshotResponseParams

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

Predefined struct for user

type AssociateInstancesKeyPairsRequest

type AssociateInstancesKeyPairsRequest struct {
	*tchttp.BaseRequest

	// Key pair ID list. Each request can contain up to 100 key pairs.
	KeyIds []*string `json:"KeyIds,omitnil,omitempty" name:"KeyIds"`

	// Instance ID list. Each request can contain up to 100 instances at a time. You can get an instance ID from the `InstanceId` returned by the [DescribeInstances](https://intl.cloud.tencent.com/document/api/1207/47573?from_cn_redirect=1) API.
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`
}

func NewAssociateInstancesKeyPairsRequest

func NewAssociateInstancesKeyPairsRequest() (request *AssociateInstancesKeyPairsRequest)

func (*AssociateInstancesKeyPairsRequest) FromJsonString

func (r *AssociateInstancesKeyPairsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AssociateInstancesKeyPairsRequest) ToJsonString

func (r *AssociateInstancesKeyPairsRequest) ToJsonString() string

type AssociateInstancesKeyPairsRequestParams

type AssociateInstancesKeyPairsRequestParams struct {
	// Key pair ID list. Each request can contain up to 100 key pairs.
	KeyIds []*string `json:"KeyIds,omitnil,omitempty" name:"KeyIds"`

	// Instance ID list. Each request can contain up to 100 instances at a time. You can get an instance ID from the `InstanceId` returned by the [DescribeInstances](https://intl.cloud.tencent.com/document/api/1207/47573?from_cn_redirect=1) API.
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`
}

Predefined struct for user

type AssociateInstancesKeyPairsResponse

type AssociateInstancesKeyPairsResponse struct {
	*tchttp.BaseResponse
	Response *AssociateInstancesKeyPairsResponseParams `json:"Response"`
}

func NewAssociateInstancesKeyPairsResponse

func NewAssociateInstancesKeyPairsResponse() (response *AssociateInstancesKeyPairsResponse)

func (*AssociateInstancesKeyPairsResponse) FromJsonString

func (r *AssociateInstancesKeyPairsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AssociateInstancesKeyPairsResponse) ToJsonString

func (r *AssociateInstancesKeyPairsResponse) ToJsonString() string

type AssociateInstancesKeyPairsResponseParams

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

Predefined struct for user

type AttachCcnRequest

type AttachCcnRequest struct {
	*tchttp.BaseRequest

	// CCN instance ID.
	CcnId *string `json:"CcnId,omitnil,omitempty" name:"CcnId"`
}

func NewAttachCcnRequest

func NewAttachCcnRequest() (request *AttachCcnRequest)

func (*AttachCcnRequest) FromJsonString

func (r *AttachCcnRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AttachCcnRequest) ToJsonString

func (r *AttachCcnRequest) ToJsonString() string

type AttachCcnRequestParams

type AttachCcnRequestParams struct {
	// CCN instance ID.
	CcnId *string `json:"CcnId,omitnil,omitempty" name:"CcnId"`
}

Predefined struct for user

type AttachCcnResponse

type AttachCcnResponse struct {
	*tchttp.BaseResponse
	Response *AttachCcnResponseParams `json:"Response"`
}

func NewAttachCcnResponse

func NewAttachCcnResponse() (response *AttachCcnResponse)

func (*AttachCcnResponse) FromJsonString

func (r *AttachCcnResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AttachCcnResponse) ToJsonString

func (r *AttachCcnResponse) ToJsonString() string

type AttachCcnResponseParams

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

Predefined struct for user

type AttachDetail

type AttachDetail struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Number of elastic cloud disks attached to the instance
	AttachedDiskCount *int64 `json:"AttachedDiskCount,omitnil,omitempty" name:"AttachedDiskCount"`

	// Upper limit of attached elastic cloud disks
	MaxAttachCount *int64 `json:"MaxAttachCount,omitnil,omitempty" name:"MaxAttachCount"`
}

type AttachDisksRequest

type AttachDisksRequest struct {
	*tchttp.BaseRequest

	// List of cloud disk IDs.
	DiskIds []*string `json:"DiskIds,omitnil,omitempty" name:"DiskIds"`

	// Instance ID.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Specify whether to renew an instance automatically when it expires. Values:
	//
	// `NOTIFY_AND_AUTO_RENEW`: Trigger expiration notification and renew automatically; `NOTIFY_AND_MANUAL_RENEW`: Trigger expiration notification but do not renew; `DISABLE_NOTIFY_AND_MANUAL_RENEW`: Do not trigger the notification and do not renew.
	//
	// Default: `NOTIFY_AND_MANUAL_RENEW`. If `NOTIFY_AND_AUTO_RENEW` is specified, the instance is automatically renewed on a monthly basis when the account balance is sufficient.
	RenewFlag *string `json:"RenewFlag,omitnil,omitempty" name:"RenewFlag"`
}

func NewAttachDisksRequest

func NewAttachDisksRequest() (request *AttachDisksRequest)

func (*AttachDisksRequest) FromJsonString

func (r *AttachDisksRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AttachDisksRequest) ToJsonString

func (r *AttachDisksRequest) ToJsonString() string

type AttachDisksRequestParams

type AttachDisksRequestParams struct {
	// List of cloud disk IDs.
	DiskIds []*string `json:"DiskIds,omitnil,omitempty" name:"DiskIds"`

	// Instance ID.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Specify whether to renew an instance automatically when it expires. Values:
	//
	// `NOTIFY_AND_AUTO_RENEW`: Trigger expiration notification and renew automatically; `NOTIFY_AND_MANUAL_RENEW`: Trigger expiration notification but do not renew; `DISABLE_NOTIFY_AND_MANUAL_RENEW`: Do not trigger the notification and do not renew.
	//
	// Default: `NOTIFY_AND_MANUAL_RENEW`. If `NOTIFY_AND_AUTO_RENEW` is specified, the instance is automatically renewed on a monthly basis when the account balance is sufficient.
	RenewFlag *string `json:"RenewFlag,omitnil,omitempty" name:"RenewFlag"`
}

Predefined struct for user

type AttachDisksResponse

type AttachDisksResponse struct {
	*tchttp.BaseResponse
	Response *AttachDisksResponseParams `json:"Response"`
}

func NewAttachDisksResponse

func NewAttachDisksResponse() (response *AttachDisksResponse)

func (*AttachDisksResponse) FromJsonString

func (r *AttachDisksResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AttachDisksResponse) ToJsonString

func (r *AttachDisksResponse) ToJsonString() string

type AttachDisksResponseParams

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

Predefined struct for user

type AutoMountConfiguration

type AutoMountConfiguration struct {
	// ID of the instance to be mounted to. The instance must be **Running**.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// The mount point within the instance. Only Linux instances are supported. If it's not specified, the default mount point is "/data/disk".
	MountPoint *string `json:"MountPoint,omitnil,omitempty" name:"MountPoint"`

	// The file system type. Values: `ext4` (default) and `xfs`. Only Linux instances are supported.
	FileSystemType *string `json:"FileSystemType,omitnil,omitempty" name:"FileSystemType"`
}

type Blueprint

type Blueprint struct {
	// Image ID, which is the unique identifier of `Blueprint`.
	BlueprintId *string `json:"BlueprintId,omitnil,omitempty" name:"BlueprintId"`

	// Image title to be displayed.
	DisplayTitle *string `json:"DisplayTitle,omitnil,omitempty" name:"DisplayTitle"`

	// Image version to be displayed.
	DisplayVersion *string `json:"DisplayVersion,omitnil,omitempty" name:"DisplayVersion"`

	// Image description information.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// OS name.
	OsName *string `json:"OsName,omitnil,omitempty" name:"OsName"`

	// OS type.
	Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"`

	// OS type, such as LINUX_UNIX and WINDOWS.
	PlatformType *string `json:"PlatformType,omitnil,omitempty" name:"PlatformType"`

	// Image type, such as APP_OS, PURE_OS, and PRIVATE.
	BlueprintType *string `json:"BlueprintType,omitnil,omitempty" name:"BlueprintType"`

	// Image picture URL.
	ImageUrl *string `json:"ImageUrl,omitnil,omitempty" name:"ImageUrl"`

	// System disk size required by image in GB.
	RequiredSystemDiskSize *int64 `json:"RequiredSystemDiskSize,omitnil,omitempty" name:"RequiredSystemDiskSize"`

	// Image status.
	BlueprintState *string `json:"BlueprintState,omitnil,omitempty" name:"BlueprintState"`

	// Creation time according to ISO 8601 standard. UTC time is used.
	// Format: YYYY-MM-DDThh:mm:ssZ.
	// Note: this field may return null, indicating that no valid values can be obtained.
	CreatedTime *string `json:"CreatedTime,omitnil,omitempty" name:"CreatedTime"`

	// Image name.
	BlueprintName *string `json:"BlueprintName,omitnil,omitempty" name:"BlueprintName"`

	// Whether the image supports automation tools.
	SupportAutomationTools *bool `json:"SupportAutomationTools,omitnil,omitempty" name:"SupportAutomationTools"`

	// Memory size required by image in GB.
	RequiredMemorySize *int64 `json:"RequiredMemorySize,omitnil,omitempty" name:"RequiredMemorySize"`

	// ID of the Lighthouse image shared from a CVM image
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	ImageId *string `json:"ImageId,omitnil,omitempty" name:"ImageId"`

	// URL of official website of the open-source project
	CommunityUrl *string `json:"CommunityUrl,omitnil,omitempty" name:"CommunityUrl"`

	// Guide documentation URL
	GuideUrl *string `json:"GuideUrl,omitnil,omitempty" name:"GuideUrl"`

	// Array of IDs of scenes associated with an image
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	SceneIdSet []*string `json:"SceneIdSet,omitnil,omitempty" name:"SceneIdSet"`

	// Docker version.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	DockerVersion *string `json:"DockerVersion,omitnil,omitempty" name:"DockerVersion"`
}

type BlueprintInstance

type BlueprintInstance struct {
	// Image information.
	Blueprint *Blueprint `json:"Blueprint,omitnil,omitempty" name:"Blueprint"`

	// Software list.
	SoftwareSet []*Software `json:"SoftwareSet,omitnil,omitempty" name:"SoftwareSet"`

	// Instance ID.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

type BlueprintPrice

type BlueprintPrice struct {
	// Original image unit price in USD.
	OriginalBlueprintPrice *float64 `json:"OriginalBlueprintPrice,omitnil,omitempty" name:"OriginalBlueprintPrice"`

	// Original image total price in USD.
	OriginalPrice *float64 `json:"OriginalPrice,omitnil,omitempty" name:"OriginalPrice"`

	// Discount.
	Discount *int64 `json:"Discount,omitnil,omitempty" name:"Discount"`

	// Discounted image total price in USD.
	DiscountPrice *float64 `json:"DiscountPrice,omitnil,omitempty" name:"DiscountPrice"`
}

type Bundle

type Bundle struct {
	// Package ID.
	BundleId *string `json:"BundleId,omitnil,omitempty" name:"BundleId"`

	// Memory size in GB.
	Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// System disk type.
	// Values:
	// <li>`CLOUD_SSD`: SSD cloud disks</li><li>`CLOUD_PREMIUM`: Premium cloud disks</li>
	SystemDiskType *string `json:"SystemDiskType,omitnil,omitempty" name:"SystemDiskType"`

	// System disk size in GB.
	SystemDiskSize *int64 `json:"SystemDiskSize,omitnil,omitempty" name:"SystemDiskSize"`

	// Monthly network traffic in GB.
	MonthlyTraffic *int64 `json:"MonthlyTraffic,omitnil,omitempty" name:"MonthlyTraffic"`

	// Whether Linux/Unix is supported.
	SupportLinuxUnixPlatform *bool `json:"SupportLinuxUnixPlatform,omitnil,omitempty" name:"SupportLinuxUnixPlatform"`

	// Whether Windows is supported.
	SupportWindowsPlatform *bool `json:"SupportWindowsPlatform,omitnil,omitempty" name:"SupportWindowsPlatform"`

	// Current package unit price information.
	Price *Price `json:"Price,omitnil,omitempty" name:"Price"`

	// Number of CPU cores.
	CPU *int64 `json:"CPU,omitnil,omitempty" name:"CPU"`

	// Peak bandwidth in Mbps.
	InternetMaxBandwidthOut *uint64 `json:"InternetMaxBandwidthOut,omitnil,omitempty" name:"InternetMaxBandwidthOut"`

	// Network billing mode.
	InternetChargeType *string `json:"InternetChargeType,omitnil,omitempty" name:"InternetChargeType"`

	// Package sale status. Valid values: AVAILABLE, SOLD_OUT
	BundleSalesState *string `json:"BundleSalesState,omitnil,omitempty" name:"BundleSalesState"`

	// Bundle type.
	// Valid values:
	// <li>STARTER_BUNDLE: Starter bundle</li>
	// <li>GENERAL_BUNDLE: General bundle</li>
	// <li>ENTERPRISE_BUNDLE: Enterprise bundle</li>
	// <li>STORAGE_BUNDLE: Storage-optimized bundle</li>
	// <li>EXCLUSIVE_BUNDLE: Dedicated bundle</li>
	// <li>HK_EXCLUSIVE_BUNDLE: Hong Kong-dedicated bundle </li>
	// <li>CAREFREE_BUNDLE: Lighthouse Care bundle</li>
	// <li>BEFAST_BUNDLE: BeFast bundle </li>
	BundleType *string `json:"BundleType,omitnil,omitempty" name:"BundleType"`

	// Bundle type description
	// Note: This parameter may return null, indicating that no valid values can be obtained.
	BundleTypeDescription *string `json:"BundleTypeDescription,omitnil,omitempty" name:"BundleTypeDescription"`

	// Package tag.
	// Valid values:
	// "ACTIVITY": promotional package
	// "NORMAL": regular package
	// "CAREFREE": carefree package
	BundleDisplayLabel *string `json:"BundleDisplayLabel,omitnil,omitempty" name:"BundleDisplayLabel"`
}

type CcnAttachedInstance

type CcnAttachedInstance struct {
	// CCN instance ID.
	CcnId *string `json:"CcnId,omitnil,omitempty" name:"CcnId"`

	// CIDR block of associated instance.
	CidrBlock []*string `json:"CidrBlock,omitnil,omitempty" name:"CidrBlock"`

	// Associated instance status:
	//
	// •  PENDING: applying
	// •  ACTIVE: connected
	// •  EXPIRED: expired
	// •  REJECTED: rejected
	// •  DELETED: deleted
	// •  FAILED: failed (it will be asynchronously unassociated after 2 hours)
	// •  ATTACHING: associating
	// •  DETACHING: unassociating
	// •  DETACHFAILED: failed to unassociate (it will be asynchronously unassociated after 2 hours)
	State *string `json:"State,omitnil,omitempty" name:"State"`

	// Association time.
	// Note: this field may return null, indicating that no valid values can be obtained.
	AttachedTime *string `json:"AttachedTime,omitnil,omitempty" name:"AttachedTime"`

	// Remarks
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}

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) ApplyInstanceSnapshot

func (c *Client) ApplyInstanceSnapshot(request *ApplyInstanceSnapshotRequest) (response *ApplyInstanceSnapshotResponse, err error)

ApplyInstanceSnapshot This API is used to roll back the system disk snapshot of the specified instance.

<li>Only rollback to the original system disk is supported.</li>

<li>Only snapshots in `NORMAL` status can be used for rollback. To query the status of a snapshot, you can call the `DescribeSnapshots` API and see the `SnapshotState` field in the response.</li>

<li>When a snapshot is rolled back, the status of the instance must be `STOPPED` or `RUNNING`. You can call the `DescribeInstances` API to query the instance status. Instances in `RUNNING` status will be forcibly shut down before snapshot rollback.</li>

error code that may be returned:

FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus"
FAILEDOPERATION_SNAPSHOTOPERATIONFAILED = "FailedOperation.SnapshotOperationFailed"
INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus"
INVALIDPARAMETERVALUE_DISKSIZENOTMATCH = "InvalidParameterValue.DiskSizeNotMatch"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_SNAPSHOTIDMALFORMED = "InvalidParameterValue.SnapshotIdMalformed"
OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating"
OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress"
RESOURCENOTFOUND_DISKNOTFOUND = "ResourceNotFound.DiskNotFound"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
RESOURCENOTFOUND_SNAPSHOTIDNOTFOUND = "ResourceNotFound.SnapshotIdNotFound"
RESOURCENOTFOUND_SNAPSHOTNOTFOUND = "ResourceNotFound.SnapshotNotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNSUPPORTEDOPERATION_DISKBUSY = "UnsupportedOperation.DiskBusy"
UNSUPPORTEDOPERATION_DISKLATESTOPERATIONUNFINISHED = "UnsupportedOperation.DiskLatestOperationUnfinished"
UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState"
UNSUPPORTEDOPERATION_INVALIDSNAPSHOTSTATE = "UnsupportedOperation.InvalidSnapshotState"
UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
UNSUPPORTEDOPERATION_SNAPSHOTBUSY = "UnsupportedOperation.SnapshotBusy"
UNSUPPORTEDOPERATION_SYSTEMBUSY = "UnsupportedOperation.SystemBusy"

func (*Client) ApplyInstanceSnapshotWithContext

func (c *Client) ApplyInstanceSnapshotWithContext(ctx context.Context, request *ApplyInstanceSnapshotRequest) (response *ApplyInstanceSnapshotResponse, err error)

ApplyInstanceSnapshot This API is used to roll back the system disk snapshot of the specified instance.

<li>Only rollback to the original system disk is supported.</li>

<li>Only snapshots in `NORMAL` status can be used for rollback. To query the status of a snapshot, you can call the `DescribeSnapshots` API and see the `SnapshotState` field in the response.</li>

<li>When a snapshot is rolled back, the status of the instance must be `STOPPED` or `RUNNING`. You can call the `DescribeInstances` API to query the instance status. Instances in `RUNNING` status will be forcibly shut down before snapshot rollback.</li>

error code that may be returned:

FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus"
FAILEDOPERATION_SNAPSHOTOPERATIONFAILED = "FailedOperation.SnapshotOperationFailed"
INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus"
INVALIDPARAMETERVALUE_DISKSIZENOTMATCH = "InvalidParameterValue.DiskSizeNotMatch"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_SNAPSHOTIDMALFORMED = "InvalidParameterValue.SnapshotIdMalformed"
OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating"
OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress"
RESOURCENOTFOUND_DISKNOTFOUND = "ResourceNotFound.DiskNotFound"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
RESOURCENOTFOUND_SNAPSHOTIDNOTFOUND = "ResourceNotFound.SnapshotIdNotFound"
RESOURCENOTFOUND_SNAPSHOTNOTFOUND = "ResourceNotFound.SnapshotNotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNSUPPORTEDOPERATION_DISKBUSY = "UnsupportedOperation.DiskBusy"
UNSUPPORTEDOPERATION_DISKLATESTOPERATIONUNFINISHED = "UnsupportedOperation.DiskLatestOperationUnfinished"
UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState"
UNSUPPORTEDOPERATION_INVALIDSNAPSHOTSTATE = "UnsupportedOperation.InvalidSnapshotState"
UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
UNSUPPORTEDOPERATION_SNAPSHOTBUSY = "UnsupportedOperation.SnapshotBusy"
UNSUPPORTEDOPERATION_SYSTEMBUSY = "UnsupportedOperation.SystemBusy"

func (*Client) AssociateInstancesKeyPairs

func (c *Client) AssociateInstancesKeyPairs(request *AssociateInstancesKeyPairsRequest) (response *AssociateInstancesKeyPairsResponse, err error)

AssociateInstancesKeyPairs This API is used to bind a user-specified key pair to an instance.

* Only instances on LINUX_UNIX in [RUNNING, STOPPED] status are supported. Instances in `RUNNING` status will be forcibly shut down before binding.

* If the public key of a key pair is written to the SSH configuration of the instance, you will be able to log in to the instance with the private key of the key pair.

* If the instance is already associated with a key, the old key will become invalid.

* If you currently use a password to log in, you will no longer be able to do so after you associate the instance with a key.

* Batch operations are supported. The maximum number of instances in each request is 100. If instances not available for the operation are selected, you will get an error code.

* This API is async. After the request is sent successfully, a `RequestId` will be returned. At this time, the operation is not completed immediately. The result of the instance operation can be queried by calling the `DescribeInstances` API. If the latest operation status (LatestOperationState) of the instance is `SUCCESS`, the operation is successful.

error code that may be returned:

FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus"
FAILEDOPERATION_INSTANCEOPERATIONFAILED = "FailedOperation.InstanceOperationFailed"
INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus"
INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_KEYPAIRIDMALFORMED = "InvalidParameterValue.KeyPairIdMalformed"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange"
OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating"
OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCENOTFOUND_KEYIDNOTFOUND = "ResourceNotFound.KeyIdNotFound"
UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired"
UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState"
UNSUPPORTEDOPERATION_KEYPAIRBINDDUPLICATE = "UnsupportedOperation.KeyPairBindDuplicate"
UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
UNSUPPORTEDOPERATION_WINDOWSNOTALLOWTOASSOCIATEKEYPAIR = "UnsupportedOperation.WindowsNotAllowToAssociateKeyPair"
UNSUPPORTEDOPERATION_WINDOWSNOTSUPPORTKEYPAIR = "UnsupportedOperation.WindowsNotSupportKeyPair"

func (*Client) AssociateInstancesKeyPairsWithContext

func (c *Client) AssociateInstancesKeyPairsWithContext(ctx context.Context, request *AssociateInstancesKeyPairsRequest) (response *AssociateInstancesKeyPairsResponse, err error)

AssociateInstancesKeyPairs This API is used to bind a user-specified key pair to an instance.

* Only instances on LINUX_UNIX in [RUNNING, STOPPED] status are supported. Instances in `RUNNING` status will be forcibly shut down before binding.

* If the public key of a key pair is written to the SSH configuration of the instance, you will be able to log in to the instance with the private key of the key pair.

* If the instance is already associated with a key, the old key will become invalid.

* If you currently use a password to log in, you will no longer be able to do so after you associate the instance with a key.

* Batch operations are supported. The maximum number of instances in each request is 100. If instances not available for the operation are selected, you will get an error code.

* This API is async. After the request is sent successfully, a `RequestId` will be returned. At this time, the operation is not completed immediately. The result of the instance operation can be queried by calling the `DescribeInstances` API. If the latest operation status (LatestOperationState) of the instance is `SUCCESS`, the operation is successful.

error code that may be returned:

FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus"
FAILEDOPERATION_INSTANCEOPERATIONFAILED = "FailedOperation.InstanceOperationFailed"
INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus"
INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_KEYPAIRIDMALFORMED = "InvalidParameterValue.KeyPairIdMalformed"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange"
OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating"
OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCENOTFOUND_KEYIDNOTFOUND = "ResourceNotFound.KeyIdNotFound"
UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired"
UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState"
UNSUPPORTEDOPERATION_KEYPAIRBINDDUPLICATE = "UnsupportedOperation.KeyPairBindDuplicate"
UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
UNSUPPORTEDOPERATION_WINDOWSNOTALLOWTOASSOCIATEKEYPAIR = "UnsupportedOperation.WindowsNotAllowToAssociateKeyPair"
UNSUPPORTEDOPERATION_WINDOWSNOTSUPPORTKEYPAIR = "UnsupportedOperation.WindowsNotSupportKeyPair"

func (*Client) AttachCcn

func (c *Client) AttachCcn(request *AttachCcnRequest) (response *AttachCcnResponse, err error)

AttachCcn This API is used to associate a CCN instance.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_CCNIDMALFORMED = "InvalidParameterValue.CcnIdMalformed"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_ATTACHCCNCONDITIONUNSATISFIED = "UnsupportedOperation.AttachCcnConditionUnsatisfied"
UNSUPPORTEDOPERATION_ATTACHCCNFAILED = "UnsupportedOperation.AttachCcnFailed"
UNSUPPORTEDOPERATION_CCNALREADYATTACHED = "UnsupportedOperation.CcnAlreadyAttached"

func (*Client) AttachCcnWithContext

func (c *Client) AttachCcnWithContext(ctx context.Context, request *AttachCcnRequest) (response *AttachCcnResponse, err error)

AttachCcn This API is used to associate a CCN instance.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_CCNIDMALFORMED = "InvalidParameterValue.CcnIdMalformed"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_ATTACHCCNCONDITIONUNSATISFIED = "UnsupportedOperation.AttachCcnConditionUnsatisfied"
UNSUPPORTEDOPERATION_ATTACHCCNFAILED = "UnsupportedOperation.AttachCcnFailed"
UNSUPPORTEDOPERATION_CCNALREADYATTACHED = "UnsupportedOperation.CcnAlreadyAttached"

func (*Client) AttachDisks

func (c *Client) AttachDisks(request *AttachDisksRequest) (response *AttachDisksResponse, err error)

AttachDisks This API is used to attach one or more cloud disks.

error code that may be returned:

FAILEDOPERATION_INVALIDCOMMANDNOTFOUND = "FailedOperation.InvalidCommandNotFound"
INTERNALERROR_TRADECALLBILLINGGATEWAYFAILED = "InternalError.TradeCallBillingGatewayFailed"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_INVALIDDISKIDMALFORMED = "InvalidParameterValue.InvalidDiskIdMalformed"
LIMITEXCEEDED_ATTACHDATADISKQUOTALIMITEXCEEDED = "LimitExceeded.AttachDataDiskQuotaLimitExceeded"
OPERATIONDENIED_DISKCREATING = "OperationDenied.DiskCreating"
OPERATIONDENIED_DISKOPERATIONINPROGRESS = "OperationDenied.DiskOperationInProgress"
OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating"
OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress"
RESOURCENOTFOUND_DISKIDNOTFOUND = "ResourceNotFound.DiskIdNotFound"
RESOURCENOTFOUND_DISKNOTFOUND = "ResourceNotFound.DiskNotFound"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNSUPPORTEDOPERATION_DISKLATESTOPERATIONUNFINISHED = "UnsupportedOperation.DiskLatestOperationUnfinished"
UNSUPPORTEDOPERATION_INVALIDDISKSTATE = "UnsupportedOperation.InvalidDiskState"
UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState"
UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"

func (*Client) AttachDisksWithContext

func (c *Client) AttachDisksWithContext(ctx context.Context, request *AttachDisksRequest) (response *AttachDisksResponse, err error)

AttachDisks This API is used to attach one or more cloud disks.

error code that may be returned:

FAILEDOPERATION_INVALIDCOMMANDNOTFOUND = "FailedOperation.InvalidCommandNotFound"
INTERNALERROR_TRADECALLBILLINGGATEWAYFAILED = "InternalError.TradeCallBillingGatewayFailed"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_INVALIDDISKIDMALFORMED = "InvalidParameterValue.InvalidDiskIdMalformed"
LIMITEXCEEDED_ATTACHDATADISKQUOTALIMITEXCEEDED = "LimitExceeded.AttachDataDiskQuotaLimitExceeded"
OPERATIONDENIED_DISKCREATING = "OperationDenied.DiskCreating"
OPERATIONDENIED_DISKOPERATIONINPROGRESS = "OperationDenied.DiskOperationInProgress"
OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating"
OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress"
RESOURCENOTFOUND_DISKIDNOTFOUND = "ResourceNotFound.DiskIdNotFound"
RESOURCENOTFOUND_DISKNOTFOUND = "ResourceNotFound.DiskNotFound"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNSUPPORTEDOPERATION_DISKLATESTOPERATIONUNFINISHED = "UnsupportedOperation.DiskLatestOperationUnfinished"
UNSUPPORTEDOPERATION_INVALIDDISKSTATE = "UnsupportedOperation.InvalidDiskState"
UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState"
UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"

func (*Client) CreateBlueprint

func (c *Client) CreateBlueprint(request *CreateBlueprintRequest) (response *CreateBlueprintResponse, err error)

CreateBlueprint This API is used to create an image.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CREATEBLUEPRINTFAILED = "FailedOperation.CreateBlueprintFailed"
FAILEDOPERATION_INSUFFICIENTBALANCE = "FailedOperation.InsufficientBalance"
FAILEDOPERATION_UNABLETOCREATEBLUEPRINT = "FailedOperation.UnableToCreateBlueprint"
INTERNALERROR = "InternalError"
INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong"
LIMITEXCEEDED_BLUEPRINTQUOTALIMITEXCEEDED = "LimitExceeded.BlueprintQuotaLimitExceeded"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState"
UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"

func (*Client) CreateBlueprintWithContext

func (c *Client) CreateBlueprintWithContext(ctx context.Context, request *CreateBlueprintRequest) (response *CreateBlueprintResponse, err error)

CreateBlueprint This API is used to create an image.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CREATEBLUEPRINTFAILED = "FailedOperation.CreateBlueprintFailed"
FAILEDOPERATION_INSUFFICIENTBALANCE = "FailedOperation.InsufficientBalance"
FAILEDOPERATION_UNABLETOCREATEBLUEPRINT = "FailedOperation.UnableToCreateBlueprint"
INTERNALERROR = "InternalError"
INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong"
LIMITEXCEEDED_BLUEPRINTQUOTALIMITEXCEEDED = "LimitExceeded.BlueprintQuotaLimitExceeded"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState"
UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"

func (*Client) CreateDisks

func (c *Client) CreateDisks(request *CreateDisksRequest) (response *CreateDisksResponse, err error)

CreateDisks This API is used to create one or more cloud disks.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CREATEDISKSFAILED = "FailedOperation.CreateDisksFailed"
FAILEDOPERATION_INSUFFICIENTBALANCE = "FailedOperation.InsufficientBalance"
INVALIDPARAMETERVALUE_DISKINSTANCEZONENOTMATCH = "InvalidParameterValue.DiskInstanceZoneNotMatch"
INVALIDPARAMETERVALUE_INVALIDDISKTYPE = "InvalidParameterValue.InvalidDiskType"
INVALIDPARAMETERVALUE_INVALIDZONE = "InvalidParameterValue.InvalidZone"
INVALIDPARAMETERVALUE_PLATFORMTYPENOTSUPPORTFILESYSTEM = "InvalidParameterValue.PlatformTypeNotSupportFileSystem"
INVALIDPARAMETERVALUE_PLATFORMTYPENOTSUPPORTMOUNTPOINT = "InvalidParameterValue.PlatformTypeNotSupportMountPoint"
LIMITEXCEEDED_ATTACHDATADISKQUOTALIMITEXCEEDED = "LimitExceeded.AttachDataDiskQuotaLimitExceeded"
LIMITEXCEEDED_DISKQUOTALIMITEXCEEDED = "LimitExceeded.DiskQuotaLimitExceeded"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState"
UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
UNSUPPORTEDOPERATION_TATAGENTNOTONLINE = "UnsupportedOperation.TatAgentNotOnline"

func (*Client) CreateDisksWithContext

func (c *Client) CreateDisksWithContext(ctx context.Context, request *CreateDisksRequest) (response *CreateDisksResponse, err error)

CreateDisks This API is used to create one or more cloud disks.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CREATEDISKSFAILED = "FailedOperation.CreateDisksFailed"
FAILEDOPERATION_INSUFFICIENTBALANCE = "FailedOperation.InsufficientBalance"
INVALIDPARAMETERVALUE_DISKINSTANCEZONENOTMATCH = "InvalidParameterValue.DiskInstanceZoneNotMatch"
INVALIDPARAMETERVALUE_INVALIDDISKTYPE = "InvalidParameterValue.InvalidDiskType"
INVALIDPARAMETERVALUE_INVALIDZONE = "InvalidParameterValue.InvalidZone"
INVALIDPARAMETERVALUE_PLATFORMTYPENOTSUPPORTFILESYSTEM = "InvalidParameterValue.PlatformTypeNotSupportFileSystem"
INVALIDPARAMETERVALUE_PLATFORMTYPENOTSUPPORTMOUNTPOINT = "InvalidParameterValue.PlatformTypeNotSupportMountPoint"
LIMITEXCEEDED_ATTACHDATADISKQUOTALIMITEXCEEDED = "LimitExceeded.AttachDataDiskQuotaLimitExceeded"
LIMITEXCEEDED_DISKQUOTALIMITEXCEEDED = "LimitExceeded.DiskQuotaLimitExceeded"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState"
UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
UNSUPPORTEDOPERATION_TATAGENTNOTONLINE = "UnsupportedOperation.TatAgentNotOnline"

func (*Client) CreateFirewallRules

func (c *Client) CreateFirewallRules(request *CreateFirewallRulesRequest) (response *CreateFirewallRulesResponse, err error)

CreateFirewallRules This API is used to add a firewall rule on an instance.

* `FirewallVersion` is the firewall version number. Every time you update the firewall rule version, it will be automatically increased by 1 to prevent the updated rule from expiring. If it is left empty, conflicts will not be considered.

In the `FirewallRules` parameter:

* Valid values of the `Protocol` field include `TCP`, `UDP`, `ICMP`, and `ALL`.

* For the `Port` field, you can enter only `ALL`, a single port number, several port numbers separated by commas, or a port range indicated by two port numbers separated by a minus sign. If `Port` is a range, the port number on the left of the minus sign must be smaller than the one on the right. If `Protocol` is not `TCP` or `UDP`, `Port` can only be empty or `ALL`. The length of the `Port` field cannot exceed 64 characters.

* For the `CidrBlock` field, you can enter any string that conforms to the CIDR format standard. Multi-Tenant network isolation rules take precedence over private network rules in the firewall.

* For the `Action` field, you can enter only `ACCEPT` or `DROP`.

* The length of the `FirewallRuleDescription` field cannot exceed 64 characters.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_FIREWALLRULESOPERATIONFAILED = "FailedOperation.FirewallRulesOperationFailed"
FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError"
INTERNALERROR_REQUESTERROR = "InternalError.RequestError"
INVALIDPARAMETER_FIREWALLRULESDUPLICATED = "InvalidParameter.FirewallRulesDuplicated"
INVALIDPARAMETER_FIREWALLRULESEXIST = "InvalidParameter.FirewallRulesExist"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_FIREWALLRULEDESCRIPTIONTOOLONG = "InvalidParameterValue.FirewallRuleDescriptionTooLong"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
LIMITEXCEEDED_FIREWALLRULESLIMITEXCEEDED = "LimitExceeded.FirewallRulesLimitExceeded"
RESOURCENOTFOUND_FIREWALLNOTFOUND = "ResourceNotFound.FirewallNotFound"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNSUPPORTEDOPERATION_FIREWALLBUSY = "UnsupportedOperation.FirewallBusy"
UNSUPPORTEDOPERATION_FIREWALLVERSIONMISMATCH = "UnsupportedOperation.FirewallVersionMismatch"

func (*Client) CreateFirewallRulesWithContext

func (c *Client) CreateFirewallRulesWithContext(ctx context.Context, request *CreateFirewallRulesRequest) (response *CreateFirewallRulesResponse, err error)

CreateFirewallRules This API is used to add a firewall rule on an instance.

* `FirewallVersion` is the firewall version number. Every time you update the firewall rule version, it will be automatically increased by 1 to prevent the updated rule from expiring. If it is left empty, conflicts will not be considered.

In the `FirewallRules` parameter:

* Valid values of the `Protocol` field include `TCP`, `UDP`, `ICMP`, and `ALL`.

* For the `Port` field, you can enter only `ALL`, a single port number, several port numbers separated by commas, or a port range indicated by two port numbers separated by a minus sign. If `Port` is a range, the port number on the left of the minus sign must be smaller than the one on the right. If `Protocol` is not `TCP` or `UDP`, `Port` can only be empty or `ALL`. The length of the `Port` field cannot exceed 64 characters.

* For the `CidrBlock` field, you can enter any string that conforms to the CIDR format standard. Multi-Tenant network isolation rules take precedence over private network rules in the firewall.

* For the `Action` field, you can enter only `ACCEPT` or `DROP`.

* The length of the `FirewallRuleDescription` field cannot exceed 64 characters.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_FIREWALLRULESOPERATIONFAILED = "FailedOperation.FirewallRulesOperationFailed"
FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError"
INTERNALERROR_REQUESTERROR = "InternalError.RequestError"
INVALIDPARAMETER_FIREWALLRULESDUPLICATED = "InvalidParameter.FirewallRulesDuplicated"
INVALIDPARAMETER_FIREWALLRULESEXIST = "InvalidParameter.FirewallRulesExist"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_FIREWALLRULEDESCRIPTIONTOOLONG = "InvalidParameterValue.FirewallRuleDescriptionTooLong"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
LIMITEXCEEDED_FIREWALLRULESLIMITEXCEEDED = "LimitExceeded.FirewallRulesLimitExceeded"
RESOURCENOTFOUND_FIREWALLNOTFOUND = "ResourceNotFound.FirewallNotFound"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNSUPPORTEDOPERATION_FIREWALLBUSY = "UnsupportedOperation.FirewallBusy"
UNSUPPORTEDOPERATION_FIREWALLVERSIONMISMATCH = "UnsupportedOperation.FirewallVersionMismatch"

func (*Client) CreateInstanceSnapshot

func (c *Client) CreateInstanceSnapshot(request *CreateInstanceSnapshotRequest) (response *CreateInstanceSnapshotResponse, err error)

CreateInstanceSnapshot This API is used to create a system disk snapshot of the specified instance.

error code that may be returned:

FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus"
INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus"
INTERNALERROR_GETSNAPSHOTALLOCQUOTALOCKERROR = "InternalError.GetSnapshotAllocQuotaLockError"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_SNAPSHOTNAMETOOLONG = "InvalidParameterValue.SnapshotNameTooLong"
LIMITEXCEEDED_SNAPSHOTQUOTALIMITEXCEEDED = "LimitExceeded.SnapshotQuotaLimitExceeded"
OPERATIONDENIED_OPERATIONDENIEDCREATESNAPSHOT = "OperationDenied.OperationDeniedCreateSnapshot"
OPERATIONDENIED_OPERATIONDENIEDCREATESNAPSHOTFORSTORAGEBUNDLE = "OperationDenied.OperationDeniedCreateSnapshotForStorageBundle"
RESOURCENOTFOUND_BLUEPRINTIDNOTFOUND = "ResourceNotFound.BlueprintIdNotFound"
RESOURCENOTFOUND_DISKNOTFOUND = "ResourceNotFound.DiskNotFound"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNSUPPORTEDOPERATION_DISKBUSY = "UnsupportedOperation.DiskBusy"
UNSUPPORTEDOPERATION_DISKLATESTOPERATIONUNFINISHED = "UnsupportedOperation.DiskLatestOperationUnfinished"
UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState"
UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"

func (*Client) CreateInstanceSnapshotWithContext

func (c *Client) CreateInstanceSnapshotWithContext(ctx context.Context, request *CreateInstanceSnapshotRequest) (response *CreateInstanceSnapshotResponse, err error)

CreateInstanceSnapshot This API is used to create a system disk snapshot of the specified instance.

error code that may be returned:

FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus"
INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus"
INTERNALERROR_GETSNAPSHOTALLOCQUOTALOCKERROR = "InternalError.GetSnapshotAllocQuotaLockError"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_SNAPSHOTNAMETOOLONG = "InvalidParameterValue.SnapshotNameTooLong"
LIMITEXCEEDED_SNAPSHOTQUOTALIMITEXCEEDED = "LimitExceeded.SnapshotQuotaLimitExceeded"
OPERATIONDENIED_OPERATIONDENIEDCREATESNAPSHOT = "OperationDenied.OperationDeniedCreateSnapshot"
OPERATIONDENIED_OPERATIONDENIEDCREATESNAPSHOTFORSTORAGEBUNDLE = "OperationDenied.OperationDeniedCreateSnapshotForStorageBundle"
RESOURCENOTFOUND_BLUEPRINTIDNOTFOUND = "ResourceNotFound.BlueprintIdNotFound"
RESOURCENOTFOUND_DISKNOTFOUND = "ResourceNotFound.DiskNotFound"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNSUPPORTEDOPERATION_DISKBUSY = "UnsupportedOperation.DiskBusy"
UNSUPPORTEDOPERATION_DISKLATESTOPERATIONUNFINISHED = "UnsupportedOperation.DiskLatestOperationUnfinished"
UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState"
UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"

func (*Client) CreateInstances

func (c *Client) CreateInstances(request *CreateInstancesRequest) (response *CreateInstancesResponse, err error)

CreateInstances This API is used to create one or more Lighthouse instances.

error code that may be returned:

AUTHFAILURE_INVALIDREGION = "AuthFailure.InvalidRegion"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CREATEINSTANCESFAILED = "FailedOperation.CreateInstancesFailed"
FAILEDOPERATION_INSUFFICIENTBALANCE = "FailedOperation.InsufficientBalance"
FAILEDOPERATION_UNABLETOCREATEINSTANCES = "FailedOperation.UnableToCreateInstances"
INTERNALERROR = "InternalError"
INTERNALERROR_INVALIDACTIONNOTFOUND = "InternalError.InvalidActionNotFound"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_BUNDLEANDBLUEPRINTNOTMATCH = "InvalidParameter.BundleAndBlueprintNotMatch"
INVALIDPARAMETER_BUNDLEIDNOTFOUND = "InvalidParameter.BundleIdNotFound"
INVALIDPARAMETERVALUE_BLUEPRINTID = "InvalidParameterValue.BlueprintId"
INVALIDPARAMETERVALUE_BLUEPRINTIDMALFORMED = "InvalidParameterValue.BlueprintIdMalformed"
INVALIDPARAMETERVALUE_BUNDLEANDBLUEPRINTNOTMATCH = "InvalidParameterValue.BundleAndBlueprintNotMatch"
INVALIDPARAMETERVALUE_BUNDLENOTSUPPORTBLUEPRINTPLATFORM = "InvalidParameterValue.BundleNotSupportBlueprintPlatform"
INVALIDPARAMETERVALUE_CLIENTTOKENTOOLONG = "InvalidParameterValue.ClientTokenTooLong"
INVALIDPARAMETERVALUE_INSTANCENAMETOOLONG = "InvalidParameterValue.InstanceNameTooLong"
INVALIDPARAMETERVALUE_INVALIDBLUEPRINTID = "InvalidParameterValue.InvalidBlueprintId"
INVALIDPARAMETERVALUE_INVALIDBUNDLE = "InvalidParameterValue.InvalidBundle"
INVALIDPARAMETERVALUE_INVALIDPARAMETERCOMBINATION = "InvalidParameterValue.InvalidParameterCombination"
INVALIDPARAMETERVALUE_INVALIDPASSWORD = "InvalidParameterValue.InvalidPassword"
INVALIDPARAMETERVALUE_INVALIDZONE = "InvalidParameterValue.InvalidZone"
INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange"
INVALIDPARAMETERVALUE_ZONEINVALID = "InvalidParameterValue.ZoneInvalid"
LIMITEXCEEDED = "LimitExceeded"
LIMITEXCEEDED_INSTANCEQUOTALIMITEXCEEDED = "LimitExceeded.InstanceQuotaLimitExceeded"
RESOURCENOTFOUND_BLUEPRINTIDNOTFOUND = "ResourceNotFound.BlueprintIdNotFound"
RESOURCENOTFOUND_BLUEPRINTNOTFOUND = "ResourceNotFound.BlueprintNotFound"
RESOURCENOTFOUND_FIREWALLTEMPLATENOTFOUND = "ResourceNotFound.FirewallTemplateNotFound"
RESOURCEUNAVAILABLE_BUNDLEUNAVAILABLE = "ResourceUnavailable.BundleUnavailable"
RESOURCESSOLDOUT_BUNDLESOLDOUT = "ResourcesSoldOut.BundleSoldOut"
RESOURCESSOLDOUT_PURCHASESOURCEHASNOBUNDLECONFIGS = "ResourcesSoldOut.PurchaseSourceHasNoBundleConfigs"
RESOURCESSOLDOUT_ZONESHASNOBUNDLECONFIGS = "ResourcesSoldOut.ZonesHasNoBundleConfigs"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNSUPPORTEDOPERATION_INSTANCELINUXUNIXCREATINGNOTSUPPORTPASSWORD = "UnsupportedOperation.InstanceLinuxUnixCreatingNotSupportPassword"

func (*Client) CreateInstancesWithContext

func (c *Client) CreateInstancesWithContext(ctx context.Context, request *CreateInstancesRequest) (response *CreateInstancesResponse, err error)

CreateInstances This API is used to create one or more Lighthouse instances.

error code that may be returned:

AUTHFAILURE_INVALIDREGION = "AuthFailure.InvalidRegion"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CREATEINSTANCESFAILED = "FailedOperation.CreateInstancesFailed"
FAILEDOPERATION_INSUFFICIENTBALANCE = "FailedOperation.InsufficientBalance"
FAILEDOPERATION_UNABLETOCREATEINSTANCES = "FailedOperation.UnableToCreateInstances"
INTERNALERROR = "InternalError"
INTERNALERROR_INVALIDACTIONNOTFOUND = "InternalError.InvalidActionNotFound"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_BUNDLEANDBLUEPRINTNOTMATCH = "InvalidParameter.BundleAndBlueprintNotMatch"
INVALIDPARAMETER_BUNDLEIDNOTFOUND = "InvalidParameter.BundleIdNotFound"
INVALIDPARAMETERVALUE_BLUEPRINTID = "InvalidParameterValue.BlueprintId"
INVALIDPARAMETERVALUE_BLUEPRINTIDMALFORMED = "InvalidParameterValue.BlueprintIdMalformed"
INVALIDPARAMETERVALUE_BUNDLEANDBLUEPRINTNOTMATCH = "InvalidParameterValue.BundleAndBlueprintNotMatch"
INVALIDPARAMETERVALUE_BUNDLENOTSUPPORTBLUEPRINTPLATFORM = "InvalidParameterValue.BundleNotSupportBlueprintPlatform"
INVALIDPARAMETERVALUE_CLIENTTOKENTOOLONG = "InvalidParameterValue.ClientTokenTooLong"
INVALIDPARAMETERVALUE_INSTANCENAMETOOLONG = "InvalidParameterValue.InstanceNameTooLong"
INVALIDPARAMETERVALUE_INVALIDBLUEPRINTID = "InvalidParameterValue.InvalidBlueprintId"
INVALIDPARAMETERVALUE_INVALIDBUNDLE = "InvalidParameterValue.InvalidBundle"
INVALIDPARAMETERVALUE_INVALIDPARAMETERCOMBINATION = "InvalidParameterValue.InvalidParameterCombination"
INVALIDPARAMETERVALUE_INVALIDPASSWORD = "InvalidParameterValue.InvalidPassword"
INVALIDPARAMETERVALUE_INVALIDZONE = "InvalidParameterValue.InvalidZone"
INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange"
INVALIDPARAMETERVALUE_ZONEINVALID = "InvalidParameterValue.ZoneInvalid"
LIMITEXCEEDED = "LimitExceeded"
LIMITEXCEEDED_INSTANCEQUOTALIMITEXCEEDED = "LimitExceeded.InstanceQuotaLimitExceeded"
RESOURCENOTFOUND_BLUEPRINTIDNOTFOUND = "ResourceNotFound.BlueprintIdNotFound"
RESOURCENOTFOUND_BLUEPRINTNOTFOUND = "ResourceNotFound.BlueprintNotFound"
RESOURCENOTFOUND_FIREWALLTEMPLATENOTFOUND = "ResourceNotFound.FirewallTemplateNotFound"
RESOURCEUNAVAILABLE_BUNDLEUNAVAILABLE = "ResourceUnavailable.BundleUnavailable"
RESOURCESSOLDOUT_BUNDLESOLDOUT = "ResourcesSoldOut.BundleSoldOut"
RESOURCESSOLDOUT_PURCHASESOURCEHASNOBUNDLECONFIGS = "ResourcesSoldOut.PurchaseSourceHasNoBundleConfigs"
RESOURCESSOLDOUT_ZONESHASNOBUNDLECONFIGS = "ResourcesSoldOut.ZonesHasNoBundleConfigs"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNSUPPORTEDOPERATION_INSTANCELINUXUNIXCREATINGNOTSUPPORTPASSWORD = "UnsupportedOperation.InstanceLinuxUnixCreatingNotSupportPassword"

func (*Client) CreateKeyPair

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

CreateKeyPair This API is used to create a key pair.

error code that may be returned:

FAILEDOPERATION_CREATEKEYPAIRFAILED = "FailedOperation.CreateKeyPairFailed"
INVALIDPARAMETERVALUE_DUPLICATEPARAMETERVALUE = "InvalidParameterValue.DuplicateParameterValue"
INVALIDPARAMETERVALUE_INVALIDKEYPAIRNAMEEMPTY = "InvalidParameterValue.InvalidKeyPairNameEmpty"
INVALIDPARAMETERVALUE_INVALIDKEYPAIRNAMEINCLUDEILLEGALCHAR = "InvalidParameterValue.InvalidKeyPairNameIncludeIllegalChar"
INVALIDPARAMETERVALUE_INVALIDKEYPAIRNAMETOOLONG = "InvalidParameterValue.InvalidKeyPairNameTooLong"
LIMITEXCEEDED_KEYPAIRLIMITEXCEEDED = "LimitExceeded.KeyPairLimitExceeded"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) CreateKeyPairWithContext

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

CreateKeyPair This API is used to create a key pair.

error code that may be returned:

FAILEDOPERATION_CREATEKEYPAIRFAILED = "FailedOperation.CreateKeyPairFailed"
INVALIDPARAMETERVALUE_DUPLICATEPARAMETERVALUE = "InvalidParameterValue.DuplicateParameterValue"
INVALIDPARAMETERVALUE_INVALIDKEYPAIRNAMEEMPTY = "InvalidParameterValue.InvalidKeyPairNameEmpty"
INVALIDPARAMETERVALUE_INVALIDKEYPAIRNAMEINCLUDEILLEGALCHAR = "InvalidParameterValue.InvalidKeyPairNameIncludeIllegalChar"
INVALIDPARAMETERVALUE_INVALIDKEYPAIRNAMETOOLONG = "InvalidParameterValue.InvalidKeyPairNameTooLong"
LIMITEXCEEDED_KEYPAIRLIMITEXCEEDED = "LimitExceeded.KeyPairLimitExceeded"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) DeleteBlueprints

func (c *Client) DeleteBlueprints(request *DeleteBlueprintsRequest) (response *DeleteBlueprintsResponse, err error)

DeleteBlueprints This API is used to delete an image.

error code that may be returned:

FAILEDOPERATION_DESTROYRESOURCESFAILED = "FailedOperation.DestroyResourcesFailed"
FAILEDOPERATION_TRADECALLBILLINGGATEWAYFAILED = "FailedOperation.TradeCallBillingGatewayFailed"
INTERNALERROR = "InternalError"
INTERNALERROR_TRADECALLBILLINGGATEWAYFAILED = "InternalError.TradeCallBillingGatewayFailed"
INVALIDPARAMETERVALUE_BLUEPRINTIDMALFORMED = "InvalidParameterValue.BlueprintIdMalformed"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_BLUEPRINTIDNOTFOUND = "ResourceNotFound.BlueprintIdNotFound"
RESOURCENOTFOUND_BLUEPRINTNOTFOUND = "ResourceNotFound.BlueprintNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNSUPPORTEDOPERATION_BLUEPRINTCURSTATEINVALID = "UnsupportedOperation.BlueprintCurStateInvalid"
UNSUPPORTEDOPERATION_BLUEPRINTOCCUPIED = "UnsupportedOperation.BlueprintOccupied"
UNSUPPORTEDOPERATION_NOTSUPPORTSHAREDBLUEPRINT = "UnsupportedOperation.NotSupportSharedBlueprint"
UNSUPPORTEDOPERATION_POSTDESTROYRESOURCEFAILED = "UnsupportedOperation.PostDestroyResourceFailed"

func (*Client) DeleteBlueprintsWithContext

func (c *Client) DeleteBlueprintsWithContext(ctx context.Context, request *DeleteBlueprintsRequest) (response *DeleteBlueprintsResponse, err error)

DeleteBlueprints This API is used to delete an image.

error code that may be returned:

FAILEDOPERATION_DESTROYRESOURCESFAILED = "FailedOperation.DestroyResourcesFailed"
FAILEDOPERATION_TRADECALLBILLINGGATEWAYFAILED = "FailedOperation.TradeCallBillingGatewayFailed"
INTERNALERROR = "InternalError"
INTERNALERROR_TRADECALLBILLINGGATEWAYFAILED = "InternalError.TradeCallBillingGatewayFailed"
INVALIDPARAMETERVALUE_BLUEPRINTIDMALFORMED = "InvalidParameterValue.BlueprintIdMalformed"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_BLUEPRINTIDNOTFOUND = "ResourceNotFound.BlueprintIdNotFound"
RESOURCENOTFOUND_BLUEPRINTNOTFOUND = "ResourceNotFound.BlueprintNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNSUPPORTEDOPERATION_BLUEPRINTCURSTATEINVALID = "UnsupportedOperation.BlueprintCurStateInvalid"
UNSUPPORTEDOPERATION_BLUEPRINTOCCUPIED = "UnsupportedOperation.BlueprintOccupied"
UNSUPPORTEDOPERATION_NOTSUPPORTSHAREDBLUEPRINT = "UnsupportedOperation.NotSupportSharedBlueprint"
UNSUPPORTEDOPERATION_POSTDESTROYRESOURCEFAILED = "UnsupportedOperation.PostDestroyResourceFailed"

func (*Client) DeleteFirewallRules

func (c *Client) DeleteFirewallRules(request *DeleteFirewallRulesRequest) (response *DeleteFirewallRulesResponse, err error)

DeleteFirewallRules This API is used to delete a firewall rule of an instance.

* `FirewallVersion` is used to specify the version of the firewall to be manipulated. If the `FirewallVersion` value passed in is not equal to the current latest version of the firewall, a failure will be returned. If `FirewallVersion` is not passed in, the specified rule will be deleted directly.

In the `FirewallRules` parameter:

* Valid values of the `Protocol` field include `TCP`, `UDP`, `ICMP`, and `ALL`.

* For the `Port` field, you can enter only `ALL`, a single port number, several port numbers separated by commas, or a port range indicated by two port numbers separated by a minus sign. If `Port` is a range, the port number on the left of the minus sign must be smaller than the one on the right. If `Protocol` is not `TCP` or `UDP`, `Port` can only be empty or `ALL`. The length of the `Port` field cannot exceed 64 characters.

* For the `CidrBlock` field, you can enter any string that conforms to the CIDR format standard. Multi-Tenant network isolation rules take precedence over private network rules in the firewall.

* For the `Action` field, you can enter only `ACCEPT` or `DROP`.

* The length of the `FirewallRuleDescription` field cannot exceed 64 characters.

error code that may be returned:

FAILEDOPERATION_FIREWALLRULESOPERATIONFAILED = "FailedOperation.FirewallRulesOperationFailed"
FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError"
INTERNALERROR_REQUESTERROR = "InternalError.RequestError"
INVALIDPARAMETER_FIREWALLRULESDUPLICATED = "InvalidParameter.FirewallRulesDuplicated"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_FIREWALLRULEDESCRIPTIONTOOLONG = "InvalidParameterValue.FirewallRuleDescriptionTooLong"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
RESOURCENOTFOUND_FIREWALLNOTFOUND = "ResourceNotFound.FirewallNotFound"
RESOURCENOTFOUND_FIREWALLRULESNOTFOUND = "ResourceNotFound.FirewallRulesNotFound"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNSUPPORTEDOPERATION_FIREWALLBUSY = "UnsupportedOperation.FirewallBusy"
UNSUPPORTEDOPERATION_FIREWALLVERSIONMISMATCH = "UnsupportedOperation.FirewallVersionMismatch"

func (*Client) DeleteFirewallRulesWithContext

func (c *Client) DeleteFirewallRulesWithContext(ctx context.Context, request *DeleteFirewallRulesRequest) (response *DeleteFirewallRulesResponse, err error)

DeleteFirewallRules This API is used to delete a firewall rule of an instance.

* `FirewallVersion` is used to specify the version of the firewall to be manipulated. If the `FirewallVersion` value passed in is not equal to the current latest version of the firewall, a failure will be returned. If `FirewallVersion` is not passed in, the specified rule will be deleted directly.

In the `FirewallRules` parameter:

* Valid values of the `Protocol` field include `TCP`, `UDP`, `ICMP`, and `ALL`.

* For the `Port` field, you can enter only `ALL`, a single port number, several port numbers separated by commas, or a port range indicated by two port numbers separated by a minus sign. If `Port` is a range, the port number on the left of the minus sign must be smaller than the one on the right. If `Protocol` is not `TCP` or `UDP`, `Port` can only be empty or `ALL`. The length of the `Port` field cannot exceed 64 characters.

* For the `CidrBlock` field, you can enter any string that conforms to the CIDR format standard. Multi-Tenant network isolation rules take precedence over private network rules in the firewall.

* For the `Action` field, you can enter only `ACCEPT` or `DROP`.

* The length of the `FirewallRuleDescription` field cannot exceed 64 characters.

error code that may be returned:

FAILEDOPERATION_FIREWALLRULESOPERATIONFAILED = "FailedOperation.FirewallRulesOperationFailed"
FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError"
INTERNALERROR_REQUESTERROR = "InternalError.RequestError"
INVALIDPARAMETER_FIREWALLRULESDUPLICATED = "InvalidParameter.FirewallRulesDuplicated"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_FIREWALLRULEDESCRIPTIONTOOLONG = "InvalidParameterValue.FirewallRuleDescriptionTooLong"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
RESOURCENOTFOUND_FIREWALLNOTFOUND = "ResourceNotFound.FirewallNotFound"
RESOURCENOTFOUND_FIREWALLRULESNOTFOUND = "ResourceNotFound.FirewallRulesNotFound"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNSUPPORTEDOPERATION_FIREWALLBUSY = "UnsupportedOperation.FirewallBusy"
UNSUPPORTEDOPERATION_FIREWALLVERSIONMISMATCH = "UnsupportedOperation.FirewallVersionMismatch"

func (*Client) DeleteKeyPairs

func (c *Client) DeleteKeyPairs(request *DeleteKeyPairsRequest) (response *DeleteKeyPairsResponse, err error)

DeleteKeyPairs This API is used to delete a key pair.

error code that may be returned:

FAILEDOPERATION_DELETEKEYPAIRFAILED = "FailedOperation.DeleteKeyPairFailed"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_KEYPAIRIDMALFORMED = "InvalidParameterValue.KeyPairIdMalformed"
RESOURCEINUSE_KEYPAIRINUSE = "ResourceInUse.KeyPairInUse"
RESOURCENOTFOUND_KEYIDNOTFOUND = "ResourceNotFound.KeyIdNotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNSUPPORTEDOPERATION_KEYPAIRBINDTOBLUEPRINTS = "UnsupportedOperation.KeyPairBindToBlueprints"

func (*Client) DeleteKeyPairsWithContext

func (c *Client) DeleteKeyPairsWithContext(ctx context.Context, request *DeleteKeyPairsRequest) (response *DeleteKeyPairsResponse, err error)

DeleteKeyPairs This API is used to delete a key pair.

error code that may be returned:

FAILEDOPERATION_DELETEKEYPAIRFAILED = "FailedOperation.DeleteKeyPairFailed"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_KEYPAIRIDMALFORMED = "InvalidParameterValue.KeyPairIdMalformed"
RESOURCEINUSE_KEYPAIRINUSE = "ResourceInUse.KeyPairInUse"
RESOURCENOTFOUND_KEYIDNOTFOUND = "ResourceNotFound.KeyIdNotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNSUPPORTEDOPERATION_KEYPAIRBINDTOBLUEPRINTS = "UnsupportedOperation.KeyPairBindToBlueprints"

func (*Client) DeleteSnapshots

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

DeleteSnapshots This API is used to delete a snapshot.

The snapshot must be in `NORMAL` status. To query the status of a snapshot, you can call the `DescribeSnapshots` API and see the `SnapshotState` field in the response.

error code that may be returned:

FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError"
FAILEDOPERATION_SNAPSHOTOPERATIONFAILED = "FailedOperation.SnapshotOperationFailed"
INTERNALERROR_REQUESTERROR = "InternalError.RequestError"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_SNAPSHOTIDMALFORMED = "InvalidParameterValue.SnapshotIdMalformed"
RESOURCENOTFOUND_SNAPSHOTIDNOTFOUND = "ResourceNotFound.SnapshotIdNotFound"
RESOURCENOTFOUND_SNAPSHOTNOTFOUND = "ResourceNotFound.SnapshotNotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNSUPPORTEDOPERATION_INVALIDSNAPSHOTSTATE = "UnsupportedOperation.InvalidSnapshotState"
UNSUPPORTEDOPERATION_SNAPSHOTBUSY = "UnsupportedOperation.SnapshotBusy"

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.

The snapshot must be in `NORMAL` status. To query the status of a snapshot, you can call the `DescribeSnapshots` API and see the `SnapshotState` field in the response.

error code that may be returned:

FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError"
FAILEDOPERATION_SNAPSHOTOPERATIONFAILED = "FailedOperation.SnapshotOperationFailed"
INTERNALERROR_REQUESTERROR = "InternalError.RequestError"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_SNAPSHOTIDMALFORMED = "InvalidParameterValue.SnapshotIdMalformed"
RESOURCENOTFOUND_SNAPSHOTIDNOTFOUND = "ResourceNotFound.SnapshotIdNotFound"
RESOURCENOTFOUND_SNAPSHOTNOTFOUND = "ResourceNotFound.SnapshotNotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNSUPPORTEDOPERATION_INVALIDSNAPSHOTSTATE = "UnsupportedOperation.InvalidSnapshotState"
UNSUPPORTEDOPERATION_SNAPSHOTBUSY = "UnsupportedOperation.SnapshotBusy"

func (*Client) DescribeAllScenes

func (c *Client) DescribeAllScenes(request *DescribeAllScenesRequest) (response *DescribeAllScenesResponse, err error)

DescribeAllScenes This API is used to query the list of scenes in all regions.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"

func (*Client) DescribeAllScenesWithContext

func (c *Client) DescribeAllScenesWithContext(ctx context.Context, request *DescribeAllScenesRequest) (response *DescribeAllScenesResponse, err error)

DescribeAllScenes This API is used to query the list of scenes in all regions.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"

func (*Client) DescribeBlueprintInstances

func (c *Client) DescribeBlueprintInstances(request *DescribeBlueprintInstancesRequest) (response *DescribeBlueprintInstancesResponse, err error)

DescribeBlueprintInstances This API is used to query the information of an image instance.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) DescribeBlueprintInstancesWithContext

func (c *Client) DescribeBlueprintInstancesWithContext(ctx context.Context, request *DescribeBlueprintInstancesRequest) (response *DescribeBlueprintInstancesResponse, err error)

DescribeBlueprintInstances This API is used to query the information of an image instance.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) DescribeBlueprints

func (c *Client) DescribeBlueprints(request *DescribeBlueprintsRequest) (response *DescribeBlueprintsResponse, err error)

DescribeBlueprints This API is used to query the information of an image.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DESCRIBEBLUEPRINTSFAILED = "FailedOperation.DescribeBlueprintsFailed"
INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound"
INVALIDPARAMETER_FILTERVALUELIMITEXCEEDED = "InvalidParameter.FilterValueLimitExceeded"
INVALIDPARAMETER_INVALIDFILTER = "InvalidParameter.InvalidFilter"
INVALIDPARAMETER_INVALIDFILTERINVALIDKEY = "InvalidParameter.InvalidFilterInvalidKey"
INVALIDPARAMETER_INVALIDFILTERINVALIDNAMENOTSTR = "InvalidParameter.InvalidFilterInvalidNameNotStr"
INVALIDPARAMETER_INVALIDFILTERNOTDICT = "InvalidParameter.InvalidFilterNotDict"
INVALIDPARAMETER_INVALIDFILTERNOTSUPPORTEDNAME = "InvalidParameter.InvalidFilterNotSupportedName"
INVALIDPARAMETER_PARAMETERCONFLICT = "InvalidParameter.ParameterConflict"
INVALIDPARAMETERVALUE_BLUEPRINTIDMALFORMED = "InvalidParameterValue.BlueprintIdMalformed"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_INVALIDBLUEPRINTPLATFORMTYPE = "InvalidParameterValue.InvalidBlueprintPlatformType"
INVALIDPARAMETERVALUE_INVALIDBLUEPRINTSTATE = "InvalidParameterValue.InvalidBlueprintState"
INVALIDPARAMETERVALUE_INVALIDBLUEPRINTTYPE = "InvalidParameterValue.InvalidBlueprintType"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_NEGATIVE = "InvalidParameterValue.Negative"
INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange"
INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong"
RESOURCENOTFOUND_ROLENOTFOUND = "ResourceNotFound.RoleNotFound"
RESOURCENOTFOUND_SCENEIDNOTFOUND = "ResourceNotFound.SceneIdNotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNAUTHORIZEDOPERATION_TOKENINVALID = "UnauthorizedOperation.TokenInvalid"

func (*Client) DescribeBlueprintsWithContext

func (c *Client) DescribeBlueprintsWithContext(ctx context.Context, request *DescribeBlueprintsRequest) (response *DescribeBlueprintsResponse, err error)

DescribeBlueprints This API is used to query the information of an image.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DESCRIBEBLUEPRINTSFAILED = "FailedOperation.DescribeBlueprintsFailed"
INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound"
INVALIDPARAMETER_FILTERVALUELIMITEXCEEDED = "InvalidParameter.FilterValueLimitExceeded"
INVALIDPARAMETER_INVALIDFILTER = "InvalidParameter.InvalidFilter"
INVALIDPARAMETER_INVALIDFILTERINVALIDKEY = "InvalidParameter.InvalidFilterInvalidKey"
INVALIDPARAMETER_INVALIDFILTERINVALIDNAMENOTSTR = "InvalidParameter.InvalidFilterInvalidNameNotStr"
INVALIDPARAMETER_INVALIDFILTERNOTDICT = "InvalidParameter.InvalidFilterNotDict"
INVALIDPARAMETER_INVALIDFILTERNOTSUPPORTEDNAME = "InvalidParameter.InvalidFilterNotSupportedName"
INVALIDPARAMETER_PARAMETERCONFLICT = "InvalidParameter.ParameterConflict"
INVALIDPARAMETERVALUE_BLUEPRINTIDMALFORMED = "InvalidParameterValue.BlueprintIdMalformed"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_INVALIDBLUEPRINTPLATFORMTYPE = "InvalidParameterValue.InvalidBlueprintPlatformType"
INVALIDPARAMETERVALUE_INVALIDBLUEPRINTSTATE = "InvalidParameterValue.InvalidBlueprintState"
INVALIDPARAMETERVALUE_INVALIDBLUEPRINTTYPE = "InvalidParameterValue.InvalidBlueprintType"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_NEGATIVE = "InvalidParameterValue.Negative"
INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange"
INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong"
RESOURCENOTFOUND_ROLENOTFOUND = "ResourceNotFound.RoleNotFound"
RESOURCENOTFOUND_SCENEIDNOTFOUND = "ResourceNotFound.SceneIdNotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNAUTHORIZEDOPERATION_TOKENINVALID = "UnauthorizedOperation.TokenInvalid"

func (*Client) DescribeBundleDiscount

func (c *Client) DescribeBundleDiscount(request *DescribeBundleDiscountRequest) (response *DescribeBundleDiscountResponse, err error)

DescribeBundleDiscount This API is used to query the discount information of a package.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DESCRIBEBUNDLEDISCOUNTFAILED = "FailedOperation.DescribeBundleDiscountFailed"
FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError"
FAILEDOPERATION_TRADEGETPRICEFAILED = "FailedOperation.TradeGetPriceFailed"
INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound"
INTERNALERROR_REQUESTERROR = "InternalError.RequestError"
INTERNALERROR_TRADEGETPRICEFAILED = "InternalError.TradeGetPriceFailed"
INVALIDPARAMETER_BUNDLEIDNOTFOUND = "InvalidParameter.BundleIdNotFound"
RESOURCEUNAVAILABLE_BUNDLEUNAVAILABLE = "ResourceUnavailable.BundleUnavailable"

func (*Client) DescribeBundleDiscountWithContext

func (c *Client) DescribeBundleDiscountWithContext(ctx context.Context, request *DescribeBundleDiscountRequest) (response *DescribeBundleDiscountResponse, err error)

DescribeBundleDiscount This API is used to query the discount information of a package.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DESCRIBEBUNDLEDISCOUNTFAILED = "FailedOperation.DescribeBundleDiscountFailed"
FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError"
FAILEDOPERATION_TRADEGETPRICEFAILED = "FailedOperation.TradeGetPriceFailed"
INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound"
INTERNALERROR_REQUESTERROR = "InternalError.RequestError"
INTERNALERROR_TRADEGETPRICEFAILED = "InternalError.TradeGetPriceFailed"
INVALIDPARAMETER_BUNDLEIDNOTFOUND = "InvalidParameter.BundleIdNotFound"
RESOURCEUNAVAILABLE_BUNDLEUNAVAILABLE = "ResourceUnavailable.BundleUnavailable"

func (*Client) DescribeBundles

func (c *Client) DescribeBundles(request *DescribeBundlesRequest) (response *DescribeBundlesResponse, err error)

DescribeBundles This API is used to query the information of a package.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DESCRIBEBUNDLESFAILED = "FailedOperation.DescribeBundlesFailed"
FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError"
FAILEDOPERATION_TRADEGETPRICEFAILED = "FailedOperation.TradeGetPriceFailed"
INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound"
INTERNALERROR_REQUESTERROR = "InternalError.RequestError"
INTERNALERROR_TRADEGETPRICEFAILED = "InternalError.TradeGetPriceFailed"
INVALIDPARAMETER_BUNDLEIDNOTFOUND = "InvalidParameter.BundleIdNotFound"
INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict"
INVALIDPARAMETER_FILTERVALUELIMITEXCEEDED = "InvalidParameter.FilterValueLimitExceeded"
INVALIDPARAMETER_INVALIDFILTER = "InvalidParameter.InvalidFilter"
INVALIDPARAMETER_INVALIDFILTERINVALIDKEY = "InvalidParameter.InvalidFilterInvalidKey"
INVALIDPARAMETER_INVALIDFILTERINVALIDNAMENOTSTR = "InvalidParameter.InvalidFilterInvalidNameNotStr"
INVALIDPARAMETER_INVALIDFILTERNOTDICT = "InvalidParameter.InvalidFilterNotDict"
INVALIDPARAMETER_INVALIDFILTERNOTSUPPORTEDNAME = "InvalidParameter.InvalidFilterNotSupportedName"
INVALIDPARAMETER_PARAMETERCONFLICT = "InvalidParameter.ParameterConflict"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_INVALIDBLUEPRINTPLATFORMTYPE = "InvalidParameterValue.InvalidBlueprintPlatformType"
INVALIDPARAMETERVALUE_INVALIDCONSOLEDISPLAYTYPES = "InvalidParameterValue.InvalidConsoleDisplayTypes"
INVALIDPARAMETERVALUE_INVALIDZONE = "InvalidParameterValue.InvalidZone"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_NEGATIVE = "InvalidParameterValue.Negative"
INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange"
INVALIDPARAMETERVALUE_ZONEINVALID = "InvalidParameterValue.ZoneInvalid"

func (*Client) DescribeBundlesWithContext

func (c *Client) DescribeBundlesWithContext(ctx context.Context, request *DescribeBundlesRequest) (response *DescribeBundlesResponse, err error)

DescribeBundles This API is used to query the information of a package.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DESCRIBEBUNDLESFAILED = "FailedOperation.DescribeBundlesFailed"
FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError"
FAILEDOPERATION_TRADEGETPRICEFAILED = "FailedOperation.TradeGetPriceFailed"
INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound"
INTERNALERROR_REQUESTERROR = "InternalError.RequestError"
INTERNALERROR_TRADEGETPRICEFAILED = "InternalError.TradeGetPriceFailed"
INVALIDPARAMETER_BUNDLEIDNOTFOUND = "InvalidParameter.BundleIdNotFound"
INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict"
INVALIDPARAMETER_FILTERVALUELIMITEXCEEDED = "InvalidParameter.FilterValueLimitExceeded"
INVALIDPARAMETER_INVALIDFILTER = "InvalidParameter.InvalidFilter"
INVALIDPARAMETER_INVALIDFILTERINVALIDKEY = "InvalidParameter.InvalidFilterInvalidKey"
INVALIDPARAMETER_INVALIDFILTERINVALIDNAMENOTSTR = "InvalidParameter.InvalidFilterInvalidNameNotStr"
INVALIDPARAMETER_INVALIDFILTERNOTDICT = "InvalidParameter.InvalidFilterNotDict"
INVALIDPARAMETER_INVALIDFILTERNOTSUPPORTEDNAME = "InvalidParameter.InvalidFilterNotSupportedName"
INVALIDPARAMETER_PARAMETERCONFLICT = "InvalidParameter.ParameterConflict"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_INVALIDBLUEPRINTPLATFORMTYPE = "InvalidParameterValue.InvalidBlueprintPlatformType"
INVALIDPARAMETERVALUE_INVALIDCONSOLEDISPLAYTYPES = "InvalidParameterValue.InvalidConsoleDisplayTypes"
INVALIDPARAMETERVALUE_INVALIDZONE = "InvalidParameterValue.InvalidZone"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_NEGATIVE = "InvalidParameterValue.Negative"
INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange"
INVALIDPARAMETERVALUE_ZONEINVALID = "InvalidParameterValue.ZoneInvalid"

func (*Client) DescribeCcnAttachedInstances

func (c *Client) DescribeCcnAttachedInstances(request *DescribeCcnAttachedInstancesRequest) (response *DescribeCcnAttachedInstancesResponse, err error)

DescribeCcnAttachedInstances This API is used to query the information of instances associated with CCN.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError"
INTERNALERROR = "InternalError"
INTERNALERROR_REQUESTERROR = "InternalError.RequestError"
INVALIDPARAMETERVALUE_CCNIDMALFORMED = "InvalidParameterValue.CcnIdMalformed"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_DESCRIBECCNATTACHEDINSTANCESFAILED = "UnsupportedOperation.DescribeCcnAttachedInstancesFailed"

func (*Client) DescribeCcnAttachedInstancesWithContext

func (c *Client) DescribeCcnAttachedInstancesWithContext(ctx context.Context, request *DescribeCcnAttachedInstancesRequest) (response *DescribeCcnAttachedInstancesResponse, err error)

DescribeCcnAttachedInstances This API is used to query the information of instances associated with CCN.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError"
INTERNALERROR = "InternalError"
INTERNALERROR_REQUESTERROR = "InternalError.RequestError"
INVALIDPARAMETERVALUE_CCNIDMALFORMED = "InvalidParameterValue.CcnIdMalformed"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_DESCRIBECCNATTACHEDINSTANCESFAILED = "UnsupportedOperation.DescribeCcnAttachedInstancesFailed"

func (*Client) DescribeDiskConfigs

func (c *Client) DescribeDiskConfigs(request *DescribeDiskConfigsRequest) (response *DescribeDiskConfigsResponse, err error)

DescribeDiskConfigs This API is used to query the cloud disk configuration.

error code that may be returned:

FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError"
INTERNALERROR_REQUESTERROR = "InternalError.RequestError"
INVALIDPARAMETER_INVALIDFILTER = "InvalidParameter.InvalidFilter"
INVALIDPARAMETERVALUE_INVALIDZONE = "InvalidParameterValue.InvalidZone"
INVALIDPARAMETERVALUE_ZONEINVALID = "InvalidParameterValue.ZoneInvalid"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) DescribeDiskConfigsWithContext

func (c *Client) DescribeDiskConfigsWithContext(ctx context.Context, request *DescribeDiskConfigsRequest) (response *DescribeDiskConfigsResponse, err error)

DescribeDiskConfigs This API is used to query the cloud disk configuration.

error code that may be returned:

FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError"
INTERNALERROR_REQUESTERROR = "InternalError.RequestError"
INVALIDPARAMETER_INVALIDFILTER = "InvalidParameter.InvalidFilter"
INVALIDPARAMETERVALUE_INVALIDZONE = "InvalidParameterValue.InvalidZone"
INVALIDPARAMETERVALUE_ZONEINVALID = "InvalidParameterValue.ZoneInvalid"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) DescribeDiskDiscount

func (c *Client) DescribeDiskDiscount(request *DescribeDiskDiscountRequest) (response *DescribeDiskDiscountResponse, err error)

DescribeDiskDiscount This API is used to query the discount information of a cloud disk.

error code that may be returned:

FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError"
FAILEDOPERATION_TRADEGETPRICEFAILED = "FailedOperation.TradeGetPriceFailed"
INTERNALERROR_REQUESTERROR = "InternalError.RequestError"
INTERNALERROR_TRADEGETPRICEFAILED = "InternalError.TradeGetPriceFailed"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) DescribeDiskDiscountWithContext

func (c *Client) DescribeDiskDiscountWithContext(ctx context.Context, request *DescribeDiskDiscountRequest) (response *DescribeDiskDiscountResponse, err error)

DescribeDiskDiscount This API is used to query the discount information of a cloud disk.

error code that may be returned:

FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError"
FAILEDOPERATION_TRADEGETPRICEFAILED = "FailedOperation.TradeGetPriceFailed"
INTERNALERROR_REQUESTERROR = "InternalError.RequestError"
INTERNALERROR_TRADEGETPRICEFAILED = "InternalError.TradeGetPriceFailed"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) DescribeDisks

func (c *Client) DescribeDisks(request *DescribeDisksRequest) (response *DescribeDisksResponse, err error)

DescribeDisks This API is used to query the information of one or more cloud disks.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound"
INVALIDPARAMETER_FILTERVALUELIMITEXCEEDED = "InvalidParameter.FilterValueLimitExceeded"
INVALIDPARAMETER_INVALIDFILTER = "InvalidParameter.InvalidFilter"
INVALIDPARAMETER_INVALIDFILTERINVALIDKEY = "InvalidParameter.InvalidFilterInvalidKey"
INVALIDPARAMETER_PARAMETERCONFLICT = "InvalidParameter.ParameterConflict"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DISKNAMETOOLONG = "InvalidParameterValue.DiskNameTooLong"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_INVALIDDISKIDMALFORMED = "InvalidParameterValue.InvalidDiskIdMalformed"
INVALIDPARAMETERVALUE_INVALIDZONE = "InvalidParameterValue.InvalidZone"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange"
INVALIDPARAMETERVALUE_REGIONNOTFOUND = "InvalidParameterValue.RegionNotFound"
INVALIDPARAMETERVALUE_REGIONNOTMATCH = "InvalidParameterValue.RegionNotMatch"
INVALIDPARAMETERVALUE_REGIONNOTSUPPORTED = "InvalidParameterValue.RegionNotSupported"
INVALIDPARAMETERVALUE_REGIONUNAVAILABLE = "InvalidParameterValue.RegionUnavailable"
INVALIDPARAMETERVALUE_ZONEINVALID = "InvalidParameterValue.ZoneInvalid"
RESOURCENOTFOUND_DISKIDNOTFOUND = "ResourceNotFound.DiskIdNotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) DescribeDisksDeniedActions

func (c *Client) DescribeDisksDeniedActions(request *DescribeDisksDeniedActionsRequest) (response *DescribeDisksDeniedActionsResponse, err error)

DescribeDisksDeniedActions This API is used to query the list of operation limits of one or more cloud disks.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus"
INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus"
INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound"
INVALIDPARAMETERVALUE_INVALIDDISKIDMALFORMED = "InvalidParameterValue.InvalidDiskIdMalformed"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) DescribeDisksDeniedActionsWithContext

func (c *Client) DescribeDisksDeniedActionsWithContext(ctx context.Context, request *DescribeDisksDeniedActionsRequest) (response *DescribeDisksDeniedActionsResponse, err error)

DescribeDisksDeniedActions This API is used to query the list of operation limits of one or more cloud disks.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus"
INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus"
INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound"
INVALIDPARAMETERVALUE_INVALIDDISKIDMALFORMED = "InvalidParameterValue.InvalidDiskIdMalformed"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) DescribeDisksReturnable

func (c *Client) DescribeDisksReturnable(request *DescribeDisksReturnableRequest) (response *DescribeDisksReturnableResponse, err error)

DescribeDisksReturnable This API is used to query whether the specified cloud disk can be returned.

error code that may be returned:

INTERNALERROR_DESCRIBEDISKSRETURNABLEERROR = "InternalError.DescribeDisksReturnableError"
INVALIDPARAMETERVALUE_INVALIDDISKIDMALFORMED = "InvalidParameterValue.InvalidDiskIdMalformed"
INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) DescribeDisksReturnableWithContext

func (c *Client) DescribeDisksReturnableWithContext(ctx context.Context, request *DescribeDisksReturnableRequest) (response *DescribeDisksReturnableResponse, err error)

DescribeDisksReturnable This API is used to query whether the specified cloud disk can be returned.

error code that may be returned:

INTERNALERROR_DESCRIBEDISKSRETURNABLEERROR = "InternalError.DescribeDisksReturnableError"
INVALIDPARAMETERVALUE_INVALIDDISKIDMALFORMED = "InvalidParameterValue.InvalidDiskIdMalformed"
INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) DescribeDisksWithContext

func (c *Client) DescribeDisksWithContext(ctx context.Context, request *DescribeDisksRequest) (response *DescribeDisksResponse, err error)

DescribeDisks This API is used to query the information of one or more cloud disks.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound"
INVALIDPARAMETER_FILTERVALUELIMITEXCEEDED = "InvalidParameter.FilterValueLimitExceeded"
INVALIDPARAMETER_INVALIDFILTER = "InvalidParameter.InvalidFilter"
INVALIDPARAMETER_INVALIDFILTERINVALIDKEY = "InvalidParameter.InvalidFilterInvalidKey"
INVALIDPARAMETER_PARAMETERCONFLICT = "InvalidParameter.ParameterConflict"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DISKNAMETOOLONG = "InvalidParameterValue.DiskNameTooLong"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_INVALIDDISKIDMALFORMED = "InvalidParameterValue.InvalidDiskIdMalformed"
INVALIDPARAMETERVALUE_INVALIDZONE = "InvalidParameterValue.InvalidZone"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange"
INVALIDPARAMETERVALUE_REGIONNOTFOUND = "InvalidParameterValue.RegionNotFound"
INVALIDPARAMETERVALUE_REGIONNOTMATCH = "InvalidParameterValue.RegionNotMatch"
INVALIDPARAMETERVALUE_REGIONNOTSUPPORTED = "InvalidParameterValue.RegionNotSupported"
INVALIDPARAMETERVALUE_REGIONUNAVAILABLE = "InvalidParameterValue.RegionUnavailable"
INVALIDPARAMETERVALUE_ZONEINVALID = "InvalidParameterValue.ZoneInvalid"
RESOURCENOTFOUND_DISKIDNOTFOUND = "ResourceNotFound.DiskIdNotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) DescribeFirewallRules

func (c *Client) DescribeFirewallRules(request *DescribeFirewallRulesRequest) (response *DescribeFirewallRulesResponse, err error)

DescribeFirewallRules This API is used to query the firewall rules of an instance.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_NEGATIVE = "InvalidParameterValue.Negative"
INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange"
RESOURCENOTFOUND_FIREWALLNOTFOUND = "ResourceNotFound.FirewallNotFound"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNAUTHORIZEDOPERATION_TOKENINVALID = "UnauthorizedOperation.TokenInvalid"

func (*Client) DescribeFirewallRulesTemplate

func (c *Client) DescribeFirewallRulesTemplate(request *DescribeFirewallRulesTemplateRequest) (response *DescribeFirewallRulesTemplateResponse, err error)

DescribeFirewallRulesTemplate This API is used to query a firewall rule template.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) DescribeFirewallRulesTemplateWithContext

func (c *Client) DescribeFirewallRulesTemplateWithContext(ctx context.Context, request *DescribeFirewallRulesTemplateRequest) (response *DescribeFirewallRulesTemplateResponse, err error)

DescribeFirewallRulesTemplate This API is used to query a firewall rule template.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) DescribeFirewallRulesWithContext

func (c *Client) DescribeFirewallRulesWithContext(ctx context.Context, request *DescribeFirewallRulesRequest) (response *DescribeFirewallRulesResponse, err error)

DescribeFirewallRules This API is used to query the firewall rules of an instance.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_NEGATIVE = "InvalidParameterValue.Negative"
INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange"
RESOURCENOTFOUND_FIREWALLNOTFOUND = "ResourceNotFound.FirewallNotFound"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNAUTHORIZEDOPERATION_TOKENINVALID = "UnauthorizedOperation.TokenInvalid"

func (*Client) DescribeGeneralResourceQuotas

func (c *Client) DescribeGeneralResourceQuotas(request *DescribeGeneralResourceQuotasRequest) (response *DescribeGeneralResourceQuotasResponse, err error)

DescribeGeneralResourceQuotas This API is used to query the quota information of general resources.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETERVALUE_INVALIDRESOURCEQUOTARESOURCENAME = "InvalidParameterValue.InvalidResourceQuotaResourceName"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) DescribeGeneralResourceQuotasWithContext

func (c *Client) DescribeGeneralResourceQuotasWithContext(ctx context.Context, request *DescribeGeneralResourceQuotasRequest) (response *DescribeGeneralResourceQuotasResponse, err error)

DescribeGeneralResourceQuotas This API is used to query the quota information of general resources.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETERVALUE_INVALIDRESOURCEQUOTARESOURCENAME = "InvalidParameterValue.InvalidResourceQuotaResourceName"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) DescribeInstanceLoginKeyPairAttribute

func (c *Client) DescribeInstanceLoginKeyPairAttribute(request *DescribeInstanceLoginKeyPairAttributeRequest) (response *DescribeInstanceLoginKeyPairAttributeResponse, err error)

DescribeInstanceLoginKeyPairAttribute This API is used to query the attributes of the default login key of an instance.

error code that may be returned:

INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
UNSUPPORTEDOPERATION_OPERATIONOFFLINE = "UnsupportedOperation.OperationOffline"

func (*Client) DescribeInstanceLoginKeyPairAttributeWithContext

func (c *Client) DescribeInstanceLoginKeyPairAttributeWithContext(ctx context.Context, request *DescribeInstanceLoginKeyPairAttributeRequest) (response *DescribeInstanceLoginKeyPairAttributeResponse, err error)

DescribeInstanceLoginKeyPairAttribute This API is used to query the attributes of the default login key of an instance.

error code that may be returned:

INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
UNSUPPORTEDOPERATION_OPERATIONOFFLINE = "UnsupportedOperation.OperationOffline"

func (*Client) DescribeInstanceVncUrl

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

DescribeInstanceVncUrl This API is used to query the URL for VNC login.

* It does not support `STOPPED` CVMs.

* A VNC URL is only valid for 15 seconds. If you do not access the URL within 15 seconds, you will need to query another one.

* The VNC URL can be used once only. You need to query a new one if you want to log in again.

* Up to 30 re-connection attempts allowed in one minute.

* `InstanceVncUrl`: Its value will be returned after the API is successfully called.

After you get the value of `InstanceVncUrl`, you need to append `InstanceVncUrl=xxxx` to the end of the link `https://img.qcloud.com/qcloud/app/active_vnc/index.html?`.

The final URL can be in the following formats:

```

https://img.qcloud.com/qcloud/app/active_vnc/index.html?InstanceVncUrl=wss%3A%2F%2Fbjvnc.qcloud.com%3A26789%2Fvnc%3Fs%3DaHpjWnRVMFNhYmxKdDM5MjRHNlVTSVQwajNUSW0wb2tBbmFtREFCTmFrcy8vUUNPMG0wSHZNOUUxRm5PMmUzWmFDcWlOdDJIbUJxSTZDL0RXcHZxYnZZMmRkWWZWcEZia2lyb09XMzdKNmM9

```

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus"
FAILEDOPERATION_INSTANCEOPERATIONFAILED = "FailedOperation.InstanceOperationFailed"
INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus"
INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState"
UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"

func (*Client) DescribeInstanceVncUrlWithContext

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

DescribeInstanceVncUrl This API is used to query the URL for VNC login.

* It does not support `STOPPED` CVMs.

* A VNC URL is only valid for 15 seconds. If you do not access the URL within 15 seconds, you will need to query another one.

* The VNC URL can be used once only. You need to query a new one if you want to log in again.

* Up to 30 re-connection attempts allowed in one minute.

* `InstanceVncUrl`: Its value will be returned after the API is successfully called.

After you get the value of `InstanceVncUrl`, you need to append `InstanceVncUrl=xxxx` to the end of the link `https://img.qcloud.com/qcloud/app/active_vnc/index.html?`.

The final URL can be in the following formats:

```

https://img.qcloud.com/qcloud/app/active_vnc/index.html?InstanceVncUrl=wss%3A%2F%2Fbjvnc.qcloud.com%3A26789%2Fvnc%3Fs%3DaHpjWnRVMFNhYmxKdDM5MjRHNlVTSVQwajNUSW0wb2tBbmFtREFCTmFrcy8vUUNPMG0wSHZNOUUxRm5PMmUzWmFDcWlOdDJIbUJxSTZDL0RXcHZxYnZZMmRkWWZWcEZia2lyb09XMzdKNmM9

```

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus"
FAILEDOPERATION_INSTANCEOPERATIONFAILED = "FailedOperation.InstanceOperationFailed"
INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus"
INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState"
UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"

func (*Client) DescribeInstances

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

DescribeInstances This API is used to query the details of one or multiple instances.

* You can query the details of an instance according to its ID, name, or private IP.

* For more information on filters, please see [Filters](https://intl.cloud.tencent.com/document/product/1207/47576?from_cn_redirect=1#Filter).

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

* The latest operation (LatestOperation) and the latest operation status (LatestOperationState) of the instance can be queried.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus"
INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus"
INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound"
INVALIDPARAMETER_FILTERVALUELIMITEXCEEDED = "InvalidParameter.FilterValueLimitExceeded"
INVALIDPARAMETER_INVALIDFILTER = "InvalidParameter.InvalidFilter"
INVALIDPARAMETER_INVALIDFILTERINVALIDKEY = "InvalidParameter.InvalidFilterInvalidKey"
INVALIDPARAMETER_INVALIDFILTERINVALIDNAMENOTSTR = "InvalidParameter.InvalidFilterInvalidNameNotStr"
INVALIDPARAMETER_INVALIDFILTERINVALIDVALUESNOTLIST = "InvalidParameter.InvalidFilterInvalidValuesNotList"
INVALIDPARAMETER_INVALIDFILTERNOTDICT = "InvalidParameter.InvalidFilterNotDict"
INVALIDPARAMETER_INVALIDFILTERNOTSUPPORTEDNAME = "InvalidParameter.InvalidFilterNotSupportedName"
INVALIDPARAMETER_PARAMETERCONFLICT = "InvalidParameter.ParameterConflict"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_INSTANCENAMETOOLONG = "InvalidParameterValue.InstanceNameTooLong"
INVALIDPARAMETERVALUE_INVALIDIPFORMAT = "InvalidParameterValue.InvalidIpFormat"
INVALIDPARAMETERVALUE_INVALIDZONE = "InvalidParameterValue.InvalidZone"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_NEGATIVE = "InvalidParameterValue.Negative"
INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNAUTHORIZEDOPERATION_TOKENINVALID = "UnauthorizedOperation.TokenInvalid"

func (*Client) DescribeInstancesDeniedActions

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

DescribeInstancesDeniedActions This API is used to query the list of operation limits of one or more instances.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus"
INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus"
INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) DescribeInstancesDeniedActionsWithContext

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

DescribeInstancesDeniedActions This API is used to query the list of operation limits of one or more instances.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus"
INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus"
INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) DescribeInstancesDiskNum

func (c *Client) DescribeInstancesDiskNum(request *DescribeInstancesDiskNumRequest) (response *DescribeInstancesDiskNumResponse, err error)

DescribeInstancesDiskNum This API is used to query the number of cloud disks attached to instances.

error code that may be returned:

INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"

func (*Client) DescribeInstancesDiskNumWithContext

func (c *Client) DescribeInstancesDiskNumWithContext(ctx context.Context, request *DescribeInstancesDiskNumRequest) (response *DescribeInstancesDiskNumResponse, err error)

DescribeInstancesDiskNum This API is used to query the number of cloud disks attached to instances.

error code that may be returned:

INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"

func (*Client) DescribeInstancesReturnable

func (c *Client) DescribeInstancesReturnable(request *DescribeInstancesReturnableRequest) (response *DescribeInstancesReturnableResponse, err error)

DescribeInstancesReturnable This API is used to query whether the specified instance can be returned.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus"
FAILEDOPERATION_DESCRIBEINSTANCESRETURNABLEERROR = "FailedOperation.DescribeInstancesReturnableError"
INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus"
INTERNALERROR_DESCRIBEINSTANCESRETURNABLEERROR = "InternalError.DescribeInstancesReturnableError"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_NEGATIVE = "InvalidParameterValue.Negative"
INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) DescribeInstancesReturnableWithContext

func (c *Client) DescribeInstancesReturnableWithContext(ctx context.Context, request *DescribeInstancesReturnableRequest) (response *DescribeInstancesReturnableResponse, err error)

DescribeInstancesReturnable This API is used to query whether the specified instance can be returned.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus"
FAILEDOPERATION_DESCRIBEINSTANCESRETURNABLEERROR = "FailedOperation.DescribeInstancesReturnableError"
INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus"
INTERNALERROR_DESCRIBEINSTANCESRETURNABLEERROR = "InternalError.DescribeInstancesReturnableError"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_NEGATIVE = "InvalidParameterValue.Negative"
INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) DescribeInstancesTrafficPackages

func (c *Client) DescribeInstancesTrafficPackages(request *DescribeInstancesTrafficPackagesRequest) (response *DescribeInstancesTrafficPackagesResponse, err error)

DescribeInstancesTrafficPackages This API is used to query the traffic package details of one or more instances.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DESCRIBEINSTANCESTRAFFICPACKAGESFAILED = "FailedOperation.DescribeInstancesTrafficPackagesFailed"
INTERNALERROR_DESCRIBEINSTANCESTRAFFICPACKAGESFAILED = "InternalError.DescribeInstancesTrafficPackagesFailed"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_NEGATIVE = "InvalidParameterValue.Negative"
INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) DescribeInstancesTrafficPackagesWithContext

func (c *Client) DescribeInstancesTrafficPackagesWithContext(ctx context.Context, request *DescribeInstancesTrafficPackagesRequest) (response *DescribeInstancesTrafficPackagesResponse, err error)

DescribeInstancesTrafficPackages This API is used to query the traffic package details of one or more instances.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DESCRIBEINSTANCESTRAFFICPACKAGESFAILED = "FailedOperation.DescribeInstancesTrafficPackagesFailed"
INTERNALERROR_DESCRIBEINSTANCESTRAFFICPACKAGESFAILED = "InternalError.DescribeInstancesTrafficPackagesFailed"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_NEGATIVE = "InvalidParameterValue.Negative"
INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) DescribeInstancesWithContext

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

DescribeInstances This API is used to query the details of one or multiple instances.

* You can query the details of an instance according to its ID, name, or private IP.

* For more information on filters, please see [Filters](https://intl.cloud.tencent.com/document/product/1207/47576?from_cn_redirect=1#Filter).

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

* The latest operation (LatestOperation) and the latest operation status (LatestOperationState) of the instance can be queried.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus"
INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus"
INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound"
INVALIDPARAMETER_FILTERVALUELIMITEXCEEDED = "InvalidParameter.FilterValueLimitExceeded"
INVALIDPARAMETER_INVALIDFILTER = "InvalidParameter.InvalidFilter"
INVALIDPARAMETER_INVALIDFILTERINVALIDKEY = "InvalidParameter.InvalidFilterInvalidKey"
INVALIDPARAMETER_INVALIDFILTERINVALIDNAMENOTSTR = "InvalidParameter.InvalidFilterInvalidNameNotStr"
INVALIDPARAMETER_INVALIDFILTERINVALIDVALUESNOTLIST = "InvalidParameter.InvalidFilterInvalidValuesNotList"
INVALIDPARAMETER_INVALIDFILTERNOTDICT = "InvalidParameter.InvalidFilterNotDict"
INVALIDPARAMETER_INVALIDFILTERNOTSUPPORTEDNAME = "InvalidParameter.InvalidFilterNotSupportedName"
INVALIDPARAMETER_PARAMETERCONFLICT = "InvalidParameter.ParameterConflict"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_INSTANCENAMETOOLONG = "InvalidParameterValue.InstanceNameTooLong"
INVALIDPARAMETERVALUE_INVALIDIPFORMAT = "InvalidParameterValue.InvalidIpFormat"
INVALIDPARAMETERVALUE_INVALIDZONE = "InvalidParameterValue.InvalidZone"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_NEGATIVE = "InvalidParameterValue.Negative"
INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNAUTHORIZEDOPERATION_TOKENINVALID = "UnauthorizedOperation.TokenInvalid"

func (*Client) DescribeKeyPairs

func (c *Client) DescribeKeyPairs(request *DescribeKeyPairsRequest) (response *DescribeKeyPairsResponse, err error)

DescribeKeyPairs This API is used to query key pairs.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER_INVALIDFILTER = "InvalidParameter.InvalidFilter"
INVALIDPARAMETER_PARAMETERCONFLICT = "InvalidParameter.ParameterConflict"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_KEYPAIRIDMALFORMED = "InvalidParameterValue.KeyPairIdMalformed"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_NEGATIVE = "InvalidParameterValue.Negative"
INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) DescribeKeyPairsWithContext

func (c *Client) DescribeKeyPairsWithContext(ctx context.Context, request *DescribeKeyPairsRequest) (response *DescribeKeyPairsResponse, err error)

DescribeKeyPairs This API is used to query key pairs.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER_INVALIDFILTER = "InvalidParameter.InvalidFilter"
INVALIDPARAMETER_PARAMETERCONFLICT = "InvalidParameter.ParameterConflict"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_KEYPAIRIDMALFORMED = "InvalidParameterValue.KeyPairIdMalformed"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_NEGATIVE = "InvalidParameterValue.Negative"
INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) DescribeModifyInstanceBundles

func (c *Client) DescribeModifyInstanceBundles(request *DescribeModifyInstanceBundlesRequest) (response *DescribeModifyInstanceBundlesResponse, err error)

DescribeModifyInstanceBundles This API is used to query the list of package options of an instance.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus"
FAILEDOPERATION_DESCRIBEINSTANCESMODIFICATIONERROR = "FailedOperation.DescribeInstancesModificationError"
FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError"
FAILEDOPERATION_TRADEGETPRICEFAILED = "FailedOperation.TradeGetPriceFailed"
INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus"
INTERNALERROR_DESCRIBEINSTANCESMODIFICATION = "InternalError.DescribeInstancesModification"
INTERNALERROR_DESCRIBEINSTANCESMODIFICATIONERROR = "InternalError.DescribeInstancesModificationError"
INTERNALERROR_INVALIDBUNDLEPRICE = "InternalError.InvalidBundlePrice"
INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound"
INTERNALERROR_REQUESTERROR = "InternalError.RequestError"
INTERNALERROR_TRADEGETPRICEFAILED = "InternalError.TradeGetPriceFailed"
INVALIDPARAMETER_BUNDLEIDNOTFOUND = "InvalidParameter.BundleIdNotFound"
INVALIDPARAMETER_FILTERVALUELIMITEXCEEDED = "InvalidParameter.FilterValueLimitExceeded"
INVALIDPARAMETER_INVALIDFILTER = "InvalidParameter.InvalidFilter"
INVALIDPARAMETER_INVALIDFILTERINVALIDKEY = "InvalidParameter.InvalidFilterInvalidKey"
INVALIDPARAMETER_INVALIDFILTERINVALIDNAMENOTSTR = "InvalidParameter.InvalidFilterInvalidNameNotStr"
INVALIDPARAMETER_INVALIDFILTERNOTDICT = "InvalidParameter.InvalidFilterNotDict"
INVALIDPARAMETER_INVALIDFILTERNOTSUPPORTEDNAME = "InvalidParameter.InvalidFilterNotSupportedName"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_INVALIDBLUEPRINTPLATFORMTYPE = "InvalidParameterValue.InvalidBlueprintPlatformType"
INVALIDPARAMETERVALUE_INVALIDCONSOLEDISPLAYTYPES = "InvalidParameterValue.InvalidConsoleDisplayTypes"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_NEGATIVE = "InvalidParameterValue.Negative"
INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange"
OPERATIONDENIED_BUNDLENOTSUPPORTMODIFY = "OperationDenied.BundleNotSupportModify"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNSUPPORTEDOPERATION_INSTANCEEXPIRED = "UnsupportedOperation.InstanceExpired"
UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState"

func (*Client) DescribeModifyInstanceBundlesWithContext

func (c *Client) DescribeModifyInstanceBundlesWithContext(ctx context.Context, request *DescribeModifyInstanceBundlesRequest) (response *DescribeModifyInstanceBundlesResponse, err error)

DescribeModifyInstanceBundles This API is used to query the list of package options of an instance.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus"
FAILEDOPERATION_DESCRIBEINSTANCESMODIFICATIONERROR = "FailedOperation.DescribeInstancesModificationError"
FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError"
FAILEDOPERATION_TRADEGETPRICEFAILED = "FailedOperation.TradeGetPriceFailed"
INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus"
INTERNALERROR_DESCRIBEINSTANCESMODIFICATION = "InternalError.DescribeInstancesModification"
INTERNALERROR_DESCRIBEINSTANCESMODIFICATIONERROR = "InternalError.DescribeInstancesModificationError"
INTERNALERROR_INVALIDBUNDLEPRICE = "InternalError.InvalidBundlePrice"
INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound"
INTERNALERROR_REQUESTERROR = "InternalError.RequestError"
INTERNALERROR_TRADEGETPRICEFAILED = "InternalError.TradeGetPriceFailed"
INVALIDPARAMETER_BUNDLEIDNOTFOUND = "InvalidParameter.BundleIdNotFound"
INVALIDPARAMETER_FILTERVALUELIMITEXCEEDED = "InvalidParameter.FilterValueLimitExceeded"
INVALIDPARAMETER_INVALIDFILTER = "InvalidParameter.InvalidFilter"
INVALIDPARAMETER_INVALIDFILTERINVALIDKEY = "InvalidParameter.InvalidFilterInvalidKey"
INVALIDPARAMETER_INVALIDFILTERINVALIDNAMENOTSTR = "InvalidParameter.InvalidFilterInvalidNameNotStr"
INVALIDPARAMETER_INVALIDFILTERNOTDICT = "InvalidParameter.InvalidFilterNotDict"
INVALIDPARAMETER_INVALIDFILTERNOTSUPPORTEDNAME = "InvalidParameter.InvalidFilterNotSupportedName"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_INVALIDBLUEPRINTPLATFORMTYPE = "InvalidParameterValue.InvalidBlueprintPlatformType"
INVALIDPARAMETERVALUE_INVALIDCONSOLEDISPLAYTYPES = "InvalidParameterValue.InvalidConsoleDisplayTypes"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_NEGATIVE = "InvalidParameterValue.Negative"
INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange"
OPERATIONDENIED_BUNDLENOTSUPPORTMODIFY = "OperationDenied.BundleNotSupportModify"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNSUPPORTEDOPERATION_INSTANCEEXPIRED = "UnsupportedOperation.InstanceExpired"
UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState"

func (*Client) DescribeRegions

func (c *Client) DescribeRegions(request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error)

DescribeRegions This API is used to query the information of regions.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"

func (*Client) DescribeRegionsWithContext

func (c *Client) DescribeRegionsWithContext(ctx context.Context, request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error)

DescribeRegions This API is used to query the information of regions.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"

func (*Client) DescribeResetInstanceBlueprints

func (c *Client) DescribeResetInstanceBlueprints(request *DescribeResetInstanceBlueprintsRequest) (response *DescribeResetInstanceBlueprintsResponse, err error)

DescribeResetInstanceBlueprints This API is used to query the image information of a reset instance.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER_FILTERVALUELIMITEXCEEDED = "InvalidParameter.FilterValueLimitExceeded"
INVALIDPARAMETER_INVALIDFILTER = "InvalidParameter.InvalidFilter"
INVALIDPARAMETER_INVALIDFILTERINVALIDKEY = "InvalidParameter.InvalidFilterInvalidKey"
INVALIDPARAMETER_INVALIDFILTERINVALIDNAMENOTSTR = "InvalidParameter.InvalidFilterInvalidNameNotStr"
INVALIDPARAMETER_INVALIDFILTERNOTDICT = "InvalidParameter.InvalidFilterNotDict"
INVALIDPARAMETER_INVALIDFILTERNOTSUPPORTEDNAME = "InvalidParameter.InvalidFilterNotSupportedName"
INVALIDPARAMETER_PARAMETERCONFLICT = "InvalidParameter.ParameterConflict"
INVALIDPARAMETERVALUE_BLUEPRINTIDMALFORMED = "InvalidParameterValue.BlueprintIdMalformed"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_INVALIDBLUEPRINTPLATFORMTYPE = "InvalidParameterValue.InvalidBlueprintPlatformType"
INVALIDPARAMETERVALUE_INVALIDBLUEPRINTSTATE = "InvalidParameterValue.InvalidBlueprintState"
INVALIDPARAMETERVALUE_INVALIDBLUEPRINTTYPE = "InvalidParameterValue.InvalidBlueprintType"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_NEGATIVE = "InvalidParameterValue.Negative"
INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) DescribeResetInstanceBlueprintsWithContext

func (c *Client) DescribeResetInstanceBlueprintsWithContext(ctx context.Context, request *DescribeResetInstanceBlueprintsRequest) (response *DescribeResetInstanceBlueprintsResponse, err error)

DescribeResetInstanceBlueprints This API is used to query the image information of a reset instance.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER_FILTERVALUELIMITEXCEEDED = "InvalidParameter.FilterValueLimitExceeded"
INVALIDPARAMETER_INVALIDFILTER = "InvalidParameter.InvalidFilter"
INVALIDPARAMETER_INVALIDFILTERINVALIDKEY = "InvalidParameter.InvalidFilterInvalidKey"
INVALIDPARAMETER_INVALIDFILTERINVALIDNAMENOTSTR = "InvalidParameter.InvalidFilterInvalidNameNotStr"
INVALIDPARAMETER_INVALIDFILTERNOTDICT = "InvalidParameter.InvalidFilterNotDict"
INVALIDPARAMETER_INVALIDFILTERNOTSUPPORTEDNAME = "InvalidParameter.InvalidFilterNotSupportedName"
INVALIDPARAMETER_PARAMETERCONFLICT = "InvalidParameter.ParameterConflict"
INVALIDPARAMETERVALUE_BLUEPRINTIDMALFORMED = "InvalidParameterValue.BlueprintIdMalformed"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_INVALIDBLUEPRINTPLATFORMTYPE = "InvalidParameterValue.InvalidBlueprintPlatformType"
INVALIDPARAMETERVALUE_INVALIDBLUEPRINTSTATE = "InvalidParameterValue.InvalidBlueprintState"
INVALIDPARAMETERVALUE_INVALIDBLUEPRINTTYPE = "InvalidParameterValue.InvalidBlueprintType"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_NEGATIVE = "InvalidParameterValue.Negative"
INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) DescribeScenes

func (c *Client) DescribeScenes(request *DescribeScenesRequest) (response *DescribeScenesResponse, err error)

DescribeScenes This API is used to query the list of scenes.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_INVALIDSCENEIDMALFORMED = "InvalidParameterValue.InvalidSceneIdMalformed"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
MISSINGPARAMETER = "MissingParameter"

func (*Client) DescribeScenesWithContext

func (c *Client) DescribeScenesWithContext(ctx context.Context, request *DescribeScenesRequest) (response *DescribeScenesResponse, err error)

DescribeScenes This API is used to query the list of scenes.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_INVALIDSCENEIDMALFORMED = "InvalidParameterValue.InvalidSceneIdMalformed"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
MISSINGPARAMETER = "MissingParameter"

func (*Client) DescribeSnapshots

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

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

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER_FILTERVALUELIMITEXCEEDED = "InvalidParameter.FilterValueLimitExceeded"
INVALIDPARAMETER_INVALIDFILTER = "InvalidParameter.InvalidFilter"
INVALIDPARAMETER_INVALIDFILTERINVALIDKEY = "InvalidParameter.InvalidFilterInvalidKey"
INVALIDPARAMETER_INVALIDFILTERINVALIDNAMENOTSTR = "InvalidParameter.InvalidFilterInvalidNameNotStr"
INVALIDPARAMETER_INVALIDFILTERINVALIDVALUESNOTLIST = "InvalidParameter.InvalidFilterInvalidValuesNotList"
INVALIDPARAMETER_INVALIDFILTERNOTDICT = "InvalidParameter.InvalidFilterNotDict"
INVALIDPARAMETER_INVALIDFILTERNOTSUPPORTEDNAME = "InvalidParameter.InvalidFilterNotSupportedName"
INVALIDPARAMETER_PARAMETERCONFLICT = "InvalidParameter.ParameterConflict"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_INVALIDDISKIDMALFORMED = "InvalidParameterValue.InvalidDiskIdMalformed"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_NEGATIVE = "InvalidParameterValue.Negative"
INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange"
INVALIDPARAMETERVALUE_SNAPSHOTIDMALFORMED = "InvalidParameterValue.SnapshotIdMalformed"
INVALIDPARAMETERVALUE_SNAPSHOTNAMETOOLONG = "InvalidParameterValue.SnapshotNameTooLong"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) DescribeSnapshotsDeniedActions

func (c *Client) DescribeSnapshotsDeniedActions(request *DescribeSnapshotsDeniedActionsRequest) (response *DescribeSnapshotsDeniedActionsResponse, err error)

DescribeSnapshotsDeniedActions This API is used to query the list of operation limits of one or more snapshots.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus"
INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_SNAPSHOTIDMALFORMED = "InvalidParameterValue.SnapshotIdMalformed"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) DescribeSnapshotsDeniedActionsWithContext

func (c *Client) DescribeSnapshotsDeniedActionsWithContext(ctx context.Context, request *DescribeSnapshotsDeniedActionsRequest) (response *DescribeSnapshotsDeniedActionsResponse, err error)

DescribeSnapshotsDeniedActions This API is used to query the list of operation limits of one or more snapshots.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus"
INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_SNAPSHOTIDMALFORMED = "InvalidParameterValue.SnapshotIdMalformed"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

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.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER_FILTERVALUELIMITEXCEEDED = "InvalidParameter.FilterValueLimitExceeded"
INVALIDPARAMETER_INVALIDFILTER = "InvalidParameter.InvalidFilter"
INVALIDPARAMETER_INVALIDFILTERINVALIDKEY = "InvalidParameter.InvalidFilterInvalidKey"
INVALIDPARAMETER_INVALIDFILTERINVALIDNAMENOTSTR = "InvalidParameter.InvalidFilterInvalidNameNotStr"
INVALIDPARAMETER_INVALIDFILTERINVALIDVALUESNOTLIST = "InvalidParameter.InvalidFilterInvalidValuesNotList"
INVALIDPARAMETER_INVALIDFILTERNOTDICT = "InvalidParameter.InvalidFilterNotDict"
INVALIDPARAMETER_INVALIDFILTERNOTSUPPORTEDNAME = "InvalidParameter.InvalidFilterNotSupportedName"
INVALIDPARAMETER_PARAMETERCONFLICT = "InvalidParameter.ParameterConflict"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_INVALIDDISKIDMALFORMED = "InvalidParameterValue.InvalidDiskIdMalformed"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_NEGATIVE = "InvalidParameterValue.Negative"
INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange"
INVALIDPARAMETERVALUE_SNAPSHOTIDMALFORMED = "InvalidParameterValue.SnapshotIdMalformed"
INVALIDPARAMETERVALUE_SNAPSHOTNAMETOOLONG = "InvalidParameterValue.SnapshotNameTooLong"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) DescribeZones

func (c *Client) DescribeZones(request *DescribeZonesRequest) (response *DescribeZonesResponse, err error)

DescribeZones This API is used to query the list of AZs in a region.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeZonesWithContext

func (c *Client) DescribeZonesWithContext(ctx context.Context, request *DescribeZonesRequest) (response *DescribeZonesResponse, err error)

DescribeZones This API is used to query the list of AZs in a region.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DetachCcn

func (c *Client) DetachCcn(request *DetachCcnRequest) (response *DetachCcnResponse, err error)

DetachCcn This API is used to disassociate with a CCN instance.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_CCNIDMALFORMED = "InvalidParameterValue.CcnIdMalformed"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_CCNNOTATTACHED = "UnsupportedOperation.CcnNotAttached"
UNSUPPORTEDOPERATION_DETACHCCNFAILED = "UnsupportedOperation.DetachCcnFailed"

func (*Client) DetachCcnWithContext

func (c *Client) DetachCcnWithContext(ctx context.Context, request *DetachCcnRequest) (response *DetachCcnResponse, err error)

DetachCcn This API is used to disassociate with a CCN instance.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_CCNIDMALFORMED = "InvalidParameterValue.CcnIdMalformed"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_CCNNOTATTACHED = "UnsupportedOperation.CcnNotAttached"
UNSUPPORTEDOPERATION_DETACHCCNFAILED = "UnsupportedOperation.DetachCcnFailed"

func (*Client) DetachDisks

func (c *Client) DetachDisks(request *DetachDisksRequest) (response *DetachDisksResponse, err error)

DetachDisks This API is used to detach one or more cloud disks.

error code that may be returned:

INVALIDPARAMETERVALUE_INVALIDDISKIDMALFORMED = "InvalidParameterValue.InvalidDiskIdMalformed"
OPERATIONDENIED_DISKCREATING = "OperationDenied.DiskCreating"
OPERATIONDENIED_DISKOPERATIONINPROGRESS = "OperationDenied.DiskOperationInProgress"
OPERATIONDENIED_DISKUSAGENOTSUPPORTOPERATION = "OperationDenied.DiskUsageNotSupportOperation"
RESOURCENOTFOUND_DISKIDNOTFOUND = "ResourceNotFound.DiskIdNotFound"
RESOURCENOTFOUND_DISKNOTFOUND = "ResourceNotFound.DiskNotFound"
UNSUPPORTEDOPERATION_INVALIDDISKSTATE = "UnsupportedOperation.InvalidDiskState"
UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState"
UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"

func (*Client) DetachDisksWithContext

func (c *Client) DetachDisksWithContext(ctx context.Context, request *DetachDisksRequest) (response *DetachDisksResponse, err error)

DetachDisks This API is used to detach one or more cloud disks.

error code that may be returned:

INVALIDPARAMETERVALUE_INVALIDDISKIDMALFORMED = "InvalidParameterValue.InvalidDiskIdMalformed"
OPERATIONDENIED_DISKCREATING = "OperationDenied.DiskCreating"
OPERATIONDENIED_DISKOPERATIONINPROGRESS = "OperationDenied.DiskOperationInProgress"
OPERATIONDENIED_DISKUSAGENOTSUPPORTOPERATION = "OperationDenied.DiskUsageNotSupportOperation"
RESOURCENOTFOUND_DISKIDNOTFOUND = "ResourceNotFound.DiskIdNotFound"
RESOURCENOTFOUND_DISKNOTFOUND = "ResourceNotFound.DiskNotFound"
UNSUPPORTEDOPERATION_INVALIDDISKSTATE = "UnsupportedOperation.InvalidDiskState"
UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState"
UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"

func (*Client) DisassociateInstancesKeyPairs

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

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

* Only instances on LINUX_UNIX in [RUNNING, STOPPED] status are supported. Instances in `RUNNING` status will be forcibly shut down before unbinding.

* After a key pair is unassociated from an instance, you can log in to the instance with password.

* If no password was set, you cannot log in to the instance with SSH after unbinding. You can call the ResetInstancesPassword API to set a login password.

* Batch operations are supported. The maximum number of instances in each request is 100.

* This API is async. After the request is sent successfully, a `RequestId` will be returned. At this time, the operation is not completed immediately. The result of the instance operation can be queried by calling the `DescribeInstances` API. If the latest operation status (LatestOperationState) of the instance is `SUCCESS`, the operation is successful.

error code that may be returned:

FAILEDOPERATION_INSTANCEOPERATIONFAILED = "FailedOperation.InstanceOperationFailed"
INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_KEYPAIRIDMALFORMED = "InvalidParameterValue.KeyPairIdMalformed"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange"
OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating"
OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCENOTFOUND_KEYIDNOTFOUND = "ResourceNotFound.KeyIdNotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState"
UNSUPPORTEDOPERATION_KEYPAIRNOTBOUNDTOINSTANCE = "UnsupportedOperation.KeyPairNotBoundToInstance"
UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"

func (*Client) DisassociateInstancesKeyPairsWithContext

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

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

* Only instances on LINUX_UNIX in [RUNNING, STOPPED] status are supported. Instances in `RUNNING` status will be forcibly shut down before unbinding.

* After a key pair is unassociated from an instance, you can log in to the instance with password.

* If no password was set, you cannot log in to the instance with SSH after unbinding. You can call the ResetInstancesPassword API to set a login password.

* Batch operations are supported. The maximum number of instances in each request is 100.

* This API is async. After the request is sent successfully, a `RequestId` will be returned. At this time, the operation is not completed immediately. The result of the instance operation can be queried by calling the `DescribeInstances` API. If the latest operation status (LatestOperationState) of the instance is `SUCCESS`, the operation is successful.

error code that may be returned:

FAILEDOPERATION_INSTANCEOPERATIONFAILED = "FailedOperation.InstanceOperationFailed"
INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_KEYPAIRIDMALFORMED = "InvalidParameterValue.KeyPairIdMalformed"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange"
OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating"
OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCENOTFOUND_KEYIDNOTFOUND = "ResourceNotFound.KeyIdNotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState"
UNSUPPORTEDOPERATION_KEYPAIRNOTBOUNDTOINSTANCE = "UnsupportedOperation.KeyPairNotBoundToInstance"
UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"

func (*Client) ImportKeyPair

func (c *Client) ImportKeyPair(request *ImportKeyPairRequest) (response *ImportKeyPairResponse, err error)

ImportKeyPair This API is used to import the specified key pair.

error code that may be returned:

FAILEDOPERATION_CREATEKEYPAIRFAILED = "FailedOperation.CreateKeyPairFailed"
FAILEDOPERATION_DELETEKEYPAIRFAILED = "FailedOperation.DeleteKeyPairFailed"
FAILEDOPERATION_IMPORTKEYPAIRFAILED = "FailedOperation.ImportKeyPairFailed"
INVALIDPARAMETERVALUE_DUPLICATEPARAMETERVALUE = "InvalidParameterValue.DuplicateParameterValue"
INVALIDPARAMETERVALUE_INVALIDKEYPAIRNAMEEMPTY = "InvalidParameterValue.InvalidKeyPairNameEmpty"
INVALIDPARAMETERVALUE_INVALIDKEYPAIRNAMETOOLONG = "InvalidParameterValue.InvalidKeyPairNameTooLong"
INVALIDPARAMETERVALUE_KEYPAIRPUBLICKEYDUPLICATED = "InvalidParameterValue.KeyPairPublicKeyDuplicated"
INVALIDPARAMETERVALUE_KEYPAIRPUBLICKEYMALFORMED = "InvalidParameterValue.KeyPairPublicKeyMalformed"
LIMITEXCEEDED_KEYPAIRLIMITEXCEEDED = "LimitExceeded.KeyPairLimitExceeded"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) ImportKeyPairWithContext

func (c *Client) ImportKeyPairWithContext(ctx context.Context, request *ImportKeyPairRequest) (response *ImportKeyPairResponse, err error)

ImportKeyPair This API is used to import the specified key pair.

error code that may be returned:

FAILEDOPERATION_CREATEKEYPAIRFAILED = "FailedOperation.CreateKeyPairFailed"
FAILEDOPERATION_DELETEKEYPAIRFAILED = "FailedOperation.DeleteKeyPairFailed"
FAILEDOPERATION_IMPORTKEYPAIRFAILED = "FailedOperation.ImportKeyPairFailed"
INVALIDPARAMETERVALUE_DUPLICATEPARAMETERVALUE = "InvalidParameterValue.DuplicateParameterValue"
INVALIDPARAMETERVALUE_INVALIDKEYPAIRNAMEEMPTY = "InvalidParameterValue.InvalidKeyPairNameEmpty"
INVALIDPARAMETERVALUE_INVALIDKEYPAIRNAMETOOLONG = "InvalidParameterValue.InvalidKeyPairNameTooLong"
INVALIDPARAMETERVALUE_KEYPAIRPUBLICKEYDUPLICATED = "InvalidParameterValue.KeyPairPublicKeyDuplicated"
INVALIDPARAMETERVALUE_KEYPAIRPUBLICKEYMALFORMED = "InvalidParameterValue.KeyPairPublicKeyMalformed"
LIMITEXCEEDED_KEYPAIRLIMITEXCEEDED = "LimitExceeded.KeyPairLimitExceeded"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) InquirePriceCreateBlueprint

func (c *Client) InquirePriceCreateBlueprint(request *InquirePriceCreateBlueprintRequest) (response *InquirePriceCreateBlueprintResponse, err error)

InquirePriceCreateBlueprint This API is used to query the price of a created image.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError"
FAILEDOPERATION_TRADEGETPRICEFAILED = "FailedOperation.TradeGetPriceFailed"
INTERNALERROR = "InternalError"
INTERNALERROR_REQUESTERROR = "InternalError.RequestError"
INTERNALERROR_TRADEGETPRICEFAILED = "InternalError.TradeGetPriceFailed"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) InquirePriceCreateBlueprintWithContext

func (c *Client) InquirePriceCreateBlueprintWithContext(ctx context.Context, request *InquirePriceCreateBlueprintRequest) (response *InquirePriceCreateBlueprintResponse, err error)

InquirePriceCreateBlueprint This API is used to query the price of a created image.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError"
FAILEDOPERATION_TRADEGETPRICEFAILED = "FailedOperation.TradeGetPriceFailed"
INTERNALERROR = "InternalError"
INTERNALERROR_REQUESTERROR = "InternalError.RequestError"
INTERNALERROR_TRADEGETPRICEFAILED = "InternalError.TradeGetPriceFailed"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) InquirePriceCreateDisks

func (c *Client) InquirePriceCreateDisks(request *InquirePriceCreateDisksRequest) (response *InquirePriceCreateDisksResponse, err error)

InquirePriceCreateDisks This API is used to query the price of purchasing cloud disks.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError"
FAILEDOPERATION_TRADEGETPRICEFAILED = "FailedOperation.TradeGetPriceFailed"
INTERNALERROR_REQUESTERROR = "InternalError.RequestError"
INTERNALERROR_TRADEGETPRICEFAILED = "InternalError.TradeGetPriceFailed"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange"

func (*Client) InquirePriceCreateDisksWithContext

func (c *Client) InquirePriceCreateDisksWithContext(ctx context.Context, request *InquirePriceCreateDisksRequest) (response *InquirePriceCreateDisksResponse, err error)

InquirePriceCreateDisks This API is used to query the price of purchasing cloud disks.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError"
FAILEDOPERATION_TRADEGETPRICEFAILED = "FailedOperation.TradeGetPriceFailed"
INTERNALERROR_REQUESTERROR = "InternalError.RequestError"
INTERNALERROR_TRADEGETPRICEFAILED = "InternalError.TradeGetPriceFailed"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange"

func (*Client) InquirePriceCreateInstances

func (c *Client) InquirePriceCreateInstances(request *InquirePriceCreateInstancesRequest) (response *InquirePriceCreateInstancesResponse, err error)

InquirePriceCreateInstances This API is used to query the price of a created instance.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError"
FAILEDOPERATION_TRADEGETPRICEFAILED = "FailedOperation.TradeGetPriceFailed"
INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound"
INTERNALERROR_REQUESTERROR = "InternalError.RequestError"
INTERNALERROR_TRADEGETPRICEFAILED = "InternalError.TradeGetPriceFailed"
INVALIDPARAMETER_BUNDLEIDNOTFOUND = "InvalidParameter.BundleIdNotFound"
INVALIDPARAMETERVALUE_BLUEPRINTIDMALFORMED = "InvalidParameterValue.BlueprintIdMalformed"
INVALIDPARAMETERVALUE_INVALIDBLUEPRINTID = "InvalidParameterValue.InvalidBlueprintId"
RESOURCENOTFOUND_BLUEPRINTIDNOTFOUND = "ResourceNotFound.BlueprintIdNotFound"
RESOURCEUNAVAILABLE_BUNDLEUNAVAILABLE = "ResourceUnavailable.BundleUnavailable"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) InquirePriceCreateInstancesWithContext

func (c *Client) InquirePriceCreateInstancesWithContext(ctx context.Context, request *InquirePriceCreateInstancesRequest) (response *InquirePriceCreateInstancesResponse, err error)

InquirePriceCreateInstances This API is used to query the price of a created instance.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError"
FAILEDOPERATION_TRADEGETPRICEFAILED = "FailedOperation.TradeGetPriceFailed"
INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound"
INTERNALERROR_REQUESTERROR = "InternalError.RequestError"
INTERNALERROR_TRADEGETPRICEFAILED = "InternalError.TradeGetPriceFailed"
INVALIDPARAMETER_BUNDLEIDNOTFOUND = "InvalidParameter.BundleIdNotFound"
INVALIDPARAMETERVALUE_BLUEPRINTIDMALFORMED = "InvalidParameterValue.BlueprintIdMalformed"
INVALIDPARAMETERVALUE_INVALIDBLUEPRINTID = "InvalidParameterValue.InvalidBlueprintId"
RESOURCENOTFOUND_BLUEPRINTIDNOTFOUND = "ResourceNotFound.BlueprintIdNotFound"
RESOURCEUNAVAILABLE_BUNDLEUNAVAILABLE = "ResourceUnavailable.BundleUnavailable"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) InquirePriceRenewDisks

func (c *Client) InquirePriceRenewDisks(request *InquirePriceRenewDisksRequest) (response *InquirePriceRenewDisksResponse, err error)

InquirePriceRenewDisks This API is used to query the price of renewing cloud disks.

error code that may be returned:

FAILEDOPERATION_TRADEGETPRICEFAILED = "FailedOperation.TradeGetPriceFailed"
INTERNALERROR_TRADEGETPRICEFAILED = "InternalError.TradeGetPriceFailed"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDDISKIDMALFORMED = "InvalidParameterValue.InvalidDiskIdMalformed"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
OPERATIONDENIED_DISKUSAGENOTSUPPORTOPERATION = "OperationDenied.DiskUsageNotSupportOperation"
RESOURCENOTFOUND_DISKIDNOTFOUND = "ResourceNotFound.DiskIdNotFound"

func (*Client) InquirePriceRenewDisksWithContext

func (c *Client) InquirePriceRenewDisksWithContext(ctx context.Context, request *InquirePriceRenewDisksRequest) (response *InquirePriceRenewDisksResponse, err error)

InquirePriceRenewDisks This API is used to query the price of renewing cloud disks.

error code that may be returned:

FAILEDOPERATION_TRADEGETPRICEFAILED = "FailedOperation.TradeGetPriceFailed"
INTERNALERROR_TRADEGETPRICEFAILED = "InternalError.TradeGetPriceFailed"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDDISKIDMALFORMED = "InvalidParameterValue.InvalidDiskIdMalformed"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
OPERATIONDENIED_DISKUSAGENOTSUPPORTOPERATION = "OperationDenied.DiskUsageNotSupportOperation"
RESOURCENOTFOUND_DISKIDNOTFOUND = "ResourceNotFound.DiskIdNotFound"

func (*Client) InquirePriceRenewInstances

func (c *Client) InquirePriceRenewInstances(request *InquirePriceRenewInstancesRequest) (response *InquirePriceRenewInstancesResponse, err error)

InquirePriceRenewInstances This API is used to query the price of renewing one or more instances.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_TRADEGETPRICEFAILED = "FailedOperation.TradeGetPriceFailed"
INTERNALERROR_REQUESTERROR = "InternalError.RequestError"
INTERNALERROR_TRADEGETPRICEFAILED = "InternalError.TradeGetPriceFailed"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
RESOURCENOTFOUND_INSTANCEDATADISKNOTFOUND = "ResourceNotFound.InstanceDataDiskNotFound"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) InquirePriceRenewInstancesWithContext

func (c *Client) InquirePriceRenewInstancesWithContext(ctx context.Context, request *InquirePriceRenewInstancesRequest) (response *InquirePriceRenewInstancesResponse, err error)

InquirePriceRenewInstances This API is used to query the price of renewing one or more instances.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_TRADEGETPRICEFAILED = "FailedOperation.TradeGetPriceFailed"
INTERNALERROR_REQUESTERROR = "InternalError.RequestError"
INTERNALERROR_TRADEGETPRICEFAILED = "InternalError.TradeGetPriceFailed"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
RESOURCENOTFOUND_INSTANCEDATADISKNOTFOUND = "ResourceNotFound.InstanceDataDiskNotFound"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) IsolateDisks

func (c *Client) IsolateDisks(request *IsolateDisksRequest) (response *IsolateDisksResponse, err error)

IsolateDisks This API is used to return one or more Lighthouse cloud disks.

You can only perform this operation on `UNATTACHED` disks.

After the successful call of the API, the cloud disk goes to the SHUTDOWN state.

Up to 20 instances are supported at one time.

This API is async. After the request is sent, a `RequestId` is returned. At this time, the operation is not completed yet. To check the result, you need to call [DescribeDisks](https://intl.cloud.tencent.com/document/product/1207/66093?from_cn_redirect=1). If the latest operation status (LatestOperationState) of the disk is `SUCCESS`, the operation is successful.

error code that may be returned:

FAILEDOPERATION_DESCRIBERESOURCESRETURNABLEERROR = "FailedOperation.DescribeResourcesReturnableError"
FAILEDOPERATION_ISOLATERESOURCESFAILED = "FailedOperation.IsolateResourcesFailed"
INVALIDPARAMETERVALUE_INVALIDDISKIDMALFORMED = "InvalidParameterValue.InvalidDiskIdMalformed"
LIMITEXCEEDED_ISOLATERESOURCESLIMITEXCEEDED = "LimitExceeded.IsolateResourcesLimitExceeded"
OPERATIONDENIED_DISKCREATING = "OperationDenied.DiskCreating"
RESOURCENOTFOUND_DISKIDNOTFOUND = "ResourceNotFound.DiskIdNotFound"
UNSUPPORTEDOPERATION_DISKLATESTOPERATIONUNFINISHED = "UnsupportedOperation.DiskLatestOperationUnfinished"
UNSUPPORTEDOPERATION_INVALIDDISKSTATE = "UnsupportedOperation.InvalidDiskState"
UNSUPPORTEDOPERATION_RESOURCENOTRETURNABLE = "UnsupportedOperation.ResourceNotReturnable"

func (*Client) IsolateDisksWithContext

func (c *Client) IsolateDisksWithContext(ctx context.Context, request *IsolateDisksRequest) (response *IsolateDisksResponse, err error)

IsolateDisks This API is used to return one or more Lighthouse cloud disks.

You can only perform this operation on `UNATTACHED` disks.

After the successful call of the API, the cloud disk goes to the SHUTDOWN state.

Up to 20 instances are supported at one time.

This API is async. After the request is sent, a `RequestId` is returned. At this time, the operation is not completed yet. To check the result, you need to call [DescribeDisks](https://intl.cloud.tencent.com/document/product/1207/66093?from_cn_redirect=1). If the latest operation status (LatestOperationState) of the disk is `SUCCESS`, the operation is successful.

error code that may be returned:

FAILEDOPERATION_DESCRIBERESOURCESRETURNABLEERROR = "FailedOperation.DescribeResourcesReturnableError"
FAILEDOPERATION_ISOLATERESOURCESFAILED = "FailedOperation.IsolateResourcesFailed"
INVALIDPARAMETERVALUE_INVALIDDISKIDMALFORMED = "InvalidParameterValue.InvalidDiskIdMalformed"
LIMITEXCEEDED_ISOLATERESOURCESLIMITEXCEEDED = "LimitExceeded.IsolateResourcesLimitExceeded"
OPERATIONDENIED_DISKCREATING = "OperationDenied.DiskCreating"
RESOURCENOTFOUND_DISKIDNOTFOUND = "ResourceNotFound.DiskIdNotFound"
UNSUPPORTEDOPERATION_DISKLATESTOPERATIONUNFINISHED = "UnsupportedOperation.DiskLatestOperationUnfinished"
UNSUPPORTEDOPERATION_INVALIDDISKSTATE = "UnsupportedOperation.InvalidDiskState"
UNSUPPORTEDOPERATION_RESOURCENOTRETURNABLE = "UnsupportedOperation.ResourceNotReturnable"

func (*Client) IsolateInstances

func (c *Client) IsolateInstances(request *IsolateInstancesRequest) (response *IsolateInstancesResponse, err error)

IsolateInstances This API is used to return one or more Lighthouse instances.

* Only `RUNNING` and `STOPPED` instances can be returned.

* The instance status goes to `SHUTDOWN` after the API is called successfully.

* Batch operations are supported. Up to 20 resources (including instances and data disks) can be returned in each request.

* This API is async. After the request is sent successfully, a `RequestId` will be returned. At this time, the operation is not completed immediately. The result of the instance operation can be queried by calling the `DescribeInstances` API. If the latest operation status (LatestOperationState) of the instance is `SUCCESS`, the operation is successful.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DESCRIBERESOURCESRETURNABLEERROR = "FailedOperation.DescribeResourcesReturnableError"
FAILEDOPERATION_ISOLATERESOURCESFAILED = "FailedOperation.IsolateResourcesFailed"
INTERNALERROR_DESCRIBERESOURCESRETURNABLEERROR = "InternalError.DescribeResourcesReturnableError"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
LIMITEXCEEDED_ISOLATERESOURCESLIMITEXCEEDED = "LimitExceeded.IsolateResourcesLimitExceeded"
OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating"
OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState"
UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
UNSUPPORTEDOPERATION_RESOURCENOTRETURNABLE = "UnsupportedOperation.ResourceNotReturnable"

func (*Client) IsolateInstancesWithContext

func (c *Client) IsolateInstancesWithContext(ctx context.Context, request *IsolateInstancesRequest) (response *IsolateInstancesResponse, err error)

IsolateInstances This API is used to return one or more Lighthouse instances.

* Only `RUNNING` and `STOPPED` instances can be returned.

* The instance status goes to `SHUTDOWN` after the API is called successfully.

* Batch operations are supported. Up to 20 resources (including instances and data disks) can be returned in each request.

* This API is async. After the request is sent successfully, a `RequestId` will be returned. At this time, the operation is not completed immediately. The result of the instance operation can be queried by calling the `DescribeInstances` API. If the latest operation status (LatestOperationState) of the instance is `SUCCESS`, the operation is successful.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DESCRIBERESOURCESRETURNABLEERROR = "FailedOperation.DescribeResourcesReturnableError"
FAILEDOPERATION_ISOLATERESOURCESFAILED = "FailedOperation.IsolateResourcesFailed"
INTERNALERROR_DESCRIBERESOURCESRETURNABLEERROR = "InternalError.DescribeResourcesReturnableError"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
LIMITEXCEEDED_ISOLATERESOURCESLIMITEXCEEDED = "LimitExceeded.IsolateResourcesLimitExceeded"
OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating"
OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState"
UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
UNSUPPORTEDOPERATION_RESOURCENOTRETURNABLE = "UnsupportedOperation.ResourceNotReturnable"

func (*Client) ModifyBlueprintAttribute

func (c *Client) ModifyBlueprintAttribute(request *ModifyBlueprintAttributeRequest) (response *ModifyBlueprintAttributeResponse, err error)

ModifyBlueprintAttribute This API is used to modify an image attribute.

error code that may be returned:

FAILEDOPERATION_MODIFYRESOURCESATTRIBUTEFAILED = "FailedOperation.ModifyResourcesAttributeFailed"
INTERNALERROR = "InternalError"
INVALIDPARAMETER_MUSTSPECIFYONEATTRIBUTETOMODIFY = "InvalidParameter.MustSpecifyOneAttributeToModify"
INVALIDPARAMETERVALUE_BLUEPRINTIDMALFORMED = "InvalidParameterValue.BlueprintIdMalformed"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND_BLUEPRINTIDNOTFOUND = "ResourceNotFound.BlueprintIdNotFound"
RESOURCENOTFOUND_PRIVATEBLUEPRINTNOTFOUND = "ResourceNotFound.PrivateBlueprintNotFound"
UNSUPPORTEDOPERATION_BLUEPRINTCURSTATEINVALID = "UnsupportedOperation.BlueprintCurStateInvalid"
UNSUPPORTEDOPERATION_NOTSUPPORTSHAREDBLUEPRINT = "UnsupportedOperation.NotSupportSharedBlueprint"

func (*Client) ModifyBlueprintAttributeWithContext

func (c *Client) ModifyBlueprintAttributeWithContext(ctx context.Context, request *ModifyBlueprintAttributeRequest) (response *ModifyBlueprintAttributeResponse, err error)

ModifyBlueprintAttribute This API is used to modify an image attribute.

error code that may be returned:

FAILEDOPERATION_MODIFYRESOURCESATTRIBUTEFAILED = "FailedOperation.ModifyResourcesAttributeFailed"
INTERNALERROR = "InternalError"
INVALIDPARAMETER_MUSTSPECIFYONEATTRIBUTETOMODIFY = "InvalidParameter.MustSpecifyOneAttributeToModify"
INVALIDPARAMETERVALUE_BLUEPRINTIDMALFORMED = "InvalidParameterValue.BlueprintIdMalformed"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND_BLUEPRINTIDNOTFOUND = "ResourceNotFound.BlueprintIdNotFound"
RESOURCENOTFOUND_PRIVATEBLUEPRINTNOTFOUND = "ResourceNotFound.PrivateBlueprintNotFound"
UNSUPPORTEDOPERATION_BLUEPRINTCURSTATEINVALID = "UnsupportedOperation.BlueprintCurStateInvalid"
UNSUPPORTEDOPERATION_NOTSUPPORTSHAREDBLUEPRINT = "UnsupportedOperation.NotSupportSharedBlueprint"

func (*Client) ModifyDisksAttribute

func (c *Client) ModifyDisksAttribute(request *ModifyDisksAttributeRequest) (response *ModifyDisksAttributeResponse, err error)

ModifyDisksAttribute This API is used to modify cloud disk attributes.

error code that may be returned:

FAILEDOPERATION_MODIFYRESOURCESATTRIBUTEFAILED = "FailedOperation.ModifyResourcesAttributeFailed"
INTERNALERROR_TRADECALLBILLINGGATEWAYFAILED = "InternalError.TradeCallBillingGatewayFailed"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_INVALIDDISKIDMALFORMED = "InvalidParameterValue.InvalidDiskIdMalformed"
OPERATIONDENIED_DISKOPERATIONINPROGRESS = "OperationDenied.DiskOperationInProgress"
OPERATIONDENIED_DISKUSAGENOTSUPPORTOPERATION = "OperationDenied.DiskUsageNotSupportOperation"
RESOURCENOTFOUND_DISKIDNOTFOUND = "ResourceNotFound.DiskIdNotFound"
UNSUPPORTEDOPERATION_DISKLATESTOPERATIONUNFINISHED = "UnsupportedOperation.DiskLatestOperationUnfinished"
UNSUPPORTEDOPERATION_INVALIDDISKSTATE = "UnsupportedOperation.InvalidDiskState"

func (*Client) ModifyDisksAttributeWithContext

func (c *Client) ModifyDisksAttributeWithContext(ctx context.Context, request *ModifyDisksAttributeRequest) (response *ModifyDisksAttributeResponse, err error)

ModifyDisksAttribute This API is used to modify cloud disk attributes.

error code that may be returned:

FAILEDOPERATION_MODIFYRESOURCESATTRIBUTEFAILED = "FailedOperation.ModifyResourcesAttributeFailed"
INTERNALERROR_TRADECALLBILLINGGATEWAYFAILED = "InternalError.TradeCallBillingGatewayFailed"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_INVALIDDISKIDMALFORMED = "InvalidParameterValue.InvalidDiskIdMalformed"
OPERATIONDENIED_DISKOPERATIONINPROGRESS = "OperationDenied.DiskOperationInProgress"
OPERATIONDENIED_DISKUSAGENOTSUPPORTOPERATION = "OperationDenied.DiskUsageNotSupportOperation"
RESOURCENOTFOUND_DISKIDNOTFOUND = "ResourceNotFound.DiskIdNotFound"
UNSUPPORTEDOPERATION_DISKLATESTOPERATIONUNFINISHED = "UnsupportedOperation.DiskLatestOperationUnfinished"
UNSUPPORTEDOPERATION_INVALIDDISKSTATE = "UnsupportedOperation.InvalidDiskState"

func (*Client) ModifyDisksRenewFlag

func (c *Client) ModifyDisksRenewFlag(request *ModifyDisksRenewFlagRequest) (response *ModifyDisksRenewFlagResponse, err error)

ModifyDisksRenewFlag This API is used to modify the configuration of auto-renewal of cloud disks.

error code that may be returned:

INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_INVALIDDISKIDMALFORMED = "InvalidParameterValue.InvalidDiskIdMalformed"
OPERATIONDENIED_DISKCREATING = "OperationDenied.DiskCreating"
OPERATIONDENIED_DISKOPERATIONINPROGRESS = "OperationDenied.DiskOperationInProgress"
OPERATIONDENIED_DISKUSAGENOTSUPPORTOPERATION = "OperationDenied.DiskUsageNotSupportOperation"
RESOURCENOTFOUND_DISKIDNOTFOUND = "ResourceNotFound.DiskIdNotFound"
RESOURCENOTFOUND_DISKNOTFOUND = "ResourceNotFound.DiskNotFound"

func (*Client) ModifyDisksRenewFlagWithContext

func (c *Client) ModifyDisksRenewFlagWithContext(ctx context.Context, request *ModifyDisksRenewFlagRequest) (response *ModifyDisksRenewFlagResponse, err error)

ModifyDisksRenewFlag This API is used to modify the configuration of auto-renewal of cloud disks.

error code that may be returned:

INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_INVALIDDISKIDMALFORMED = "InvalidParameterValue.InvalidDiskIdMalformed"
OPERATIONDENIED_DISKCREATING = "OperationDenied.DiskCreating"
OPERATIONDENIED_DISKOPERATIONINPROGRESS = "OperationDenied.DiskOperationInProgress"
OPERATIONDENIED_DISKUSAGENOTSUPPORTOPERATION = "OperationDenied.DiskUsageNotSupportOperation"
RESOURCENOTFOUND_DISKIDNOTFOUND = "ResourceNotFound.DiskIdNotFound"
RESOURCENOTFOUND_DISKNOTFOUND = "ResourceNotFound.DiskNotFound"

func (*Client) ModifyFirewallRuleDescription

func (c *Client) ModifyFirewallRuleDescription(request *ModifyFirewallRuleDescriptionRequest) (response *ModifyFirewallRuleDescriptionResponse, err error)

ModifyFirewallRuleDescription This API is used to modify the description of a single firewall rule.

* `FirewallVersion` is used to specify the version of the firewall to be manipulated. If the `FirewallVersion` value passed in is not equal to the current latest version of the firewall, a failure will be returned. If `FirewallVersion` is not passed in, the description of the specified rule will be modified directly.

In the `FirewallRule` parameter:

* Valid values of the `Protocol` field include `TCP`, `UDP`, `ICMP`, and `ALL`.

* For the `Port` field, you can enter only `ALL`, a single port number, several port numbers separated by commas, or a port range indicated by two port numbers separated by a minus sign. If `Port` is a range, the port number on the left of the minus sign must be smaller than the one on the right. If `Protocol` is not `TCP` or `UDP`, `Port` can only be empty or `ALL`. The length of the `Port` field cannot exceed 64 characters.

* For the `CidrBlock` field, you can enter any string that conforms to the CIDR format standard. Multi-Tenant network isolation rules take precedence over private network rules in the firewall.

* For the `Action` field, you can enter only `ACCEPT` or `DROP`.

* The length of the `FirewallRuleDescription` field cannot exceed 64 characters.

error code that may be returned:

INVALIDPARAMETERVALUE_FIREWALLRULEDESCRIPTIONTOOLONG = "InvalidParameterValue.FirewallRuleDescriptionTooLong"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
RESOURCENOTFOUND_FIREWALLNOTFOUND = "ResourceNotFound.FirewallNotFound"
RESOURCENOTFOUND_FIREWALLRULESNOTFOUND = "ResourceNotFound.FirewallRulesNotFound"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNSUPPORTEDOPERATION_FIREWALLBUSY = "UnsupportedOperation.FirewallBusy"
UNSUPPORTEDOPERATION_FIREWALLVERSIONMISMATCH = "UnsupportedOperation.FirewallVersionMismatch"

func (*Client) ModifyFirewallRuleDescriptionWithContext

func (c *Client) ModifyFirewallRuleDescriptionWithContext(ctx context.Context, request *ModifyFirewallRuleDescriptionRequest) (response *ModifyFirewallRuleDescriptionResponse, err error)

ModifyFirewallRuleDescription This API is used to modify the description of a single firewall rule.

* `FirewallVersion` is used to specify the version of the firewall to be manipulated. If the `FirewallVersion` value passed in is not equal to the current latest version of the firewall, a failure will be returned. If `FirewallVersion` is not passed in, the description of the specified rule will be modified directly.

In the `FirewallRule` parameter:

* Valid values of the `Protocol` field include `TCP`, `UDP`, `ICMP`, and `ALL`.

* For the `Port` field, you can enter only `ALL`, a single port number, several port numbers separated by commas, or a port range indicated by two port numbers separated by a minus sign. If `Port` is a range, the port number on the left of the minus sign must be smaller than the one on the right. If `Protocol` is not `TCP` or `UDP`, `Port` can only be empty or `ALL`. The length of the `Port` field cannot exceed 64 characters.

* For the `CidrBlock` field, you can enter any string that conforms to the CIDR format standard. Multi-Tenant network isolation rules take precedence over private network rules in the firewall.

* For the `Action` field, you can enter only `ACCEPT` or `DROP`.

* The length of the `FirewallRuleDescription` field cannot exceed 64 characters.

error code that may be returned:

INVALIDPARAMETERVALUE_FIREWALLRULEDESCRIPTIONTOOLONG = "InvalidParameterValue.FirewallRuleDescriptionTooLong"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
RESOURCENOTFOUND_FIREWALLNOTFOUND = "ResourceNotFound.FirewallNotFound"
RESOURCENOTFOUND_FIREWALLRULESNOTFOUND = "ResourceNotFound.FirewallRulesNotFound"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNSUPPORTEDOPERATION_FIREWALLBUSY = "UnsupportedOperation.FirewallBusy"
UNSUPPORTEDOPERATION_FIREWALLVERSIONMISMATCH = "UnsupportedOperation.FirewallVersionMismatch"

func (*Client) ModifyFirewallRules

func (c *Client) ModifyFirewallRules(request *ModifyFirewallRulesRequest) (response *ModifyFirewallRulesResponse, err error)

ModifyFirewallRules This API is used to reset the firewall rules of an instance.

This API deletes all firewall rules of the current instance first and then adds new rules.

* `FirewallVersion` is used to specify the version of the firewall to be manipulated. If the `FirewallVersion` value passed in is not equal to the current latest version of the firewall, a failure will be returned. If `FirewallVersion` is not passed in, the specified rule will be reset directly.

In the `FirewallRules` parameter:

* Valid values of the `Protocol` field include `TCP`, `UDP`, `ICMP`, and `ALL`.

* For the `Port` field, you can enter only `ALL`, a single port number, several port numbers separated by commas, or a port range indicated by two port numbers separated by a minus sign. If `Port` is a range, the port number on the left of the minus sign must be smaller than the one on the right. If `Protocol` is not `TCP` or `UDP`, `Port` can only be empty or `ALL`. The length of the `Port` field cannot exceed 64 characters.

* For the `CidrBlock` field, you can enter any string that conforms to the CIDR format standard. Multi-Tenant network isolation rules take precedence over private network rules in the firewall.

* For the `Action` field, you can enter only `ACCEPT` or `DROP`.

* The length of the `FirewallRuleDescription` field cannot exceed 64 characters.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_FIREWALLRULESOPERATIONFAILED = "FailedOperation.FirewallRulesOperationFailed"
FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError"
INTERNALERROR_REQUESTERROR = "InternalError.RequestError"
INVALIDPARAMETER_FIREWALLRULESDUPLICATED = "InvalidParameter.FirewallRulesDuplicated"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_FIREWALLRULEDESCRIPTIONTOOLONG = "InvalidParameterValue.FirewallRuleDescriptionTooLong"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
RESOURCENOTFOUND_FIREWALLNOTFOUND = "ResourceNotFound.FirewallNotFound"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNSUPPORTEDOPERATION_FIREWALLBUSY = "UnsupportedOperation.FirewallBusy"
UNSUPPORTEDOPERATION_FIREWALLVERSIONMISMATCH = "UnsupportedOperation.FirewallVersionMismatch"

func (*Client) ModifyFirewallRulesWithContext

func (c *Client) ModifyFirewallRulesWithContext(ctx context.Context, request *ModifyFirewallRulesRequest) (response *ModifyFirewallRulesResponse, err error)

ModifyFirewallRules This API is used to reset the firewall rules of an instance.

This API deletes all firewall rules of the current instance first and then adds new rules.

* `FirewallVersion` is used to specify the version of the firewall to be manipulated. If the `FirewallVersion` value passed in is not equal to the current latest version of the firewall, a failure will be returned. If `FirewallVersion` is not passed in, the specified rule will be reset directly.

In the `FirewallRules` parameter:

* Valid values of the `Protocol` field include `TCP`, `UDP`, `ICMP`, and `ALL`.

* For the `Port` field, you can enter only `ALL`, a single port number, several port numbers separated by commas, or a port range indicated by two port numbers separated by a minus sign. If `Port` is a range, the port number on the left of the minus sign must be smaller than the one on the right. If `Protocol` is not `TCP` or `UDP`, `Port` can only be empty or `ALL`. The length of the `Port` field cannot exceed 64 characters.

* For the `CidrBlock` field, you can enter any string that conforms to the CIDR format standard. Multi-Tenant network isolation rules take precedence over private network rules in the firewall.

* For the `Action` field, you can enter only `ACCEPT` or `DROP`.

* The length of the `FirewallRuleDescription` field cannot exceed 64 characters.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_FIREWALLRULESOPERATIONFAILED = "FailedOperation.FirewallRulesOperationFailed"
FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError"
INTERNALERROR_REQUESTERROR = "InternalError.RequestError"
INVALIDPARAMETER_FIREWALLRULESDUPLICATED = "InvalidParameter.FirewallRulesDuplicated"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_FIREWALLRULEDESCRIPTIONTOOLONG = "InvalidParameterValue.FirewallRuleDescriptionTooLong"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
RESOURCENOTFOUND_FIREWALLNOTFOUND = "ResourceNotFound.FirewallNotFound"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNSUPPORTEDOPERATION_FIREWALLBUSY = "UnsupportedOperation.FirewallBusy"
UNSUPPORTEDOPERATION_FIREWALLVERSIONMISMATCH = "UnsupportedOperation.FirewallVersionMismatch"

func (*Client) ModifyInstancesAttribute

func (c *Client) ModifyInstancesAttribute(request *ModifyInstancesAttributeRequest) (response *ModifyInstancesAttributeResponse, err error)

ModifyInstancesAttribute This API is used to modify an instance attribute.

* The instance name is used only for users’ convenience.

* Batch operations are supported. The maximum number of instances in each request is 100.

error code that may be returned:

FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus"
FAILEDOPERATION_INSTANCEOPERATIONFAILED = "FailedOperation.InstanceOperationFailed"
FAILEDOPERATION_MODIFYRESOURCESATTRIBUTEFAILED = "FailedOperation.ModifyResourcesAttributeFailed"
FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError"
FAILEDOPERATION_TRADECALLBILLINGGATEWAYFAILED = "FailedOperation.TradeCallBillingGatewayFailed"
INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus"
INTERNALERROR_TRADECALLBILLINGGATEWAYFAILED = "InternalError.TradeCallBillingGatewayFailed"
INVALIDPARAMETER_ONLYALLOWMODIFYONEATTRIBUTE = "InvalidParameter.OnlyAllowModifyOneAttribute"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_INSTANCENAMETOOLONG = "InvalidParameterValue.InstanceNameTooLong"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange"
OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState"
UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"

func (*Client) ModifyInstancesAttributeWithContext

func (c *Client) ModifyInstancesAttributeWithContext(ctx context.Context, request *ModifyInstancesAttributeRequest) (response *ModifyInstancesAttributeResponse, err error)

ModifyInstancesAttribute This API is used to modify an instance attribute.

* The instance name is used only for users’ convenience.

* Batch operations are supported. The maximum number of instances in each request is 100.

error code that may be returned:

FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus"
FAILEDOPERATION_INSTANCEOPERATIONFAILED = "FailedOperation.InstanceOperationFailed"
FAILEDOPERATION_MODIFYRESOURCESATTRIBUTEFAILED = "FailedOperation.ModifyResourcesAttributeFailed"
FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError"
FAILEDOPERATION_TRADECALLBILLINGGATEWAYFAILED = "FailedOperation.TradeCallBillingGatewayFailed"
INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus"
INTERNALERROR_TRADECALLBILLINGGATEWAYFAILED = "InternalError.TradeCallBillingGatewayFailed"
INVALIDPARAMETER_ONLYALLOWMODIFYONEATTRIBUTE = "InvalidParameter.OnlyAllowModifyOneAttribute"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_INSTANCENAMETOOLONG = "InvalidParameterValue.InstanceNameTooLong"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange"
OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState"
UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"

func (*Client) ModifyInstancesBundle

func (c *Client) ModifyInstancesBundle(request *ModifyInstancesBundleRequest) (response *ModifyInstancesBundleResponse, err error)

ModifyInstancesBundle This API is used change one or more Lighthouse instance bundles.

* Only `RUNNING` and `STOPPED` instances can be changed.

* Batch operations are supported. The maximum number of instances in each request is 30.

* This API is async. After the request is sent successfully, a `RequestId` will be returned. At this time, the operation is not completed immediately. The result of the instance operation can be queried by calling the `DescribeInstances` API. If the latest operation status (LatestOperationState) of the instance is `SUCCESS`, the operation is successful.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INSTANCEOPERATIONFAILED = "FailedOperation.InstanceOperationFailed"
FAILEDOPERATION_INSUFFICIENTBALANCE = "FailedOperation.InsufficientBalance"
FAILEDOPERATION_MODIFYINSTANCESBUNDLEFAILED = "FailedOperation.ModifyInstancesBundleFailed"
INTERNALERROR = "InternalError"
INVALIDPARAMETER_BUNDLEIDNOTFOUND = "InvalidParameter.BundleIdNotFound"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED_BUNDLENOTSUPPORTMODIFY = "OperationDenied.BundleNotSupportModify"
OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating"
OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState"

func (*Client) ModifyInstancesBundleWithContext

func (c *Client) ModifyInstancesBundleWithContext(ctx context.Context, request *ModifyInstancesBundleRequest) (response *ModifyInstancesBundleResponse, err error)

ModifyInstancesBundle This API is used change one or more Lighthouse instance bundles.

* Only `RUNNING` and `STOPPED` instances can be changed.

* Batch operations are supported. The maximum number of instances in each request is 30.

* This API is async. After the request is sent successfully, a `RequestId` will be returned. At this time, the operation is not completed immediately. The result of the instance operation can be queried by calling the `DescribeInstances` API. If the latest operation status (LatestOperationState) of the instance is `SUCCESS`, the operation is successful.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INSTANCEOPERATIONFAILED = "FailedOperation.InstanceOperationFailed"
FAILEDOPERATION_INSUFFICIENTBALANCE = "FailedOperation.InsufficientBalance"
FAILEDOPERATION_MODIFYINSTANCESBUNDLEFAILED = "FailedOperation.ModifyInstancesBundleFailed"
INTERNALERROR = "InternalError"
INVALIDPARAMETER_BUNDLEIDNOTFOUND = "InvalidParameter.BundleIdNotFound"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED_BUNDLENOTSUPPORTMODIFY = "OperationDenied.BundleNotSupportModify"
OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating"
OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState"

func (*Client) ModifyInstancesLoginKeyPairAttribute

func (c *Client) ModifyInstancesLoginKeyPairAttribute(request *ModifyInstancesLoginKeyPairAttributeRequest) (response *ModifyInstancesLoginKeyPairAttributeResponse, err error)

ModifyInstancesLoginKeyPairAttribute This API is used to set the attributes of the default login key pair of an instance.

error code that may be returned:

FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_INVALIDINSTANCELOGINKEYPAIRPERMITLOGIN = "InvalidParameterValue.InvalidInstanceLoginKeyPairPermitLogin"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState"
UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
UNSUPPORTEDOPERATION_OPERATIONOFFLINE = "UnsupportedOperation.OperationOffline"

func (*Client) ModifyInstancesLoginKeyPairAttributeWithContext

func (c *Client) ModifyInstancesLoginKeyPairAttributeWithContext(ctx context.Context, request *ModifyInstancesLoginKeyPairAttributeRequest) (response *ModifyInstancesLoginKeyPairAttributeResponse, err error)

ModifyInstancesLoginKeyPairAttribute This API is used to set the attributes of the default login key pair of an instance.

error code that may be returned:

FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_INVALIDINSTANCELOGINKEYPAIRPERMITLOGIN = "InvalidParameterValue.InvalidInstanceLoginKeyPairPermitLogin"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState"
UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
UNSUPPORTEDOPERATION_OPERATIONOFFLINE = "UnsupportedOperation.OperationOffline"

func (*Client) ModifyInstancesRenewFlag

func (c *Client) ModifyInstancesRenewFlag(request *ModifyInstancesRenewFlagRequest) (response *ModifyInstancesRenewFlagResponse, err error)

ModifyInstancesRenewFlag This API is used to change the auto-renewal setting of monthly-subscribed instances.

* Instances with auto-renewal enabled are automatically renewed on a monthly basis upon the expiration.

* Batch operations are supported. Up to 100 instances per request is allowed.

error code that may be returned:

FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus"
FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError"
FAILEDOPERATION_TRADECALLBILLINGGATEWAYFAILED = "FailedOperation.TradeCallBillingGatewayFailed"
INTERNALERROR_TRADECALLBILLINGGATEWAYFAILED = "InternalError.TradeCallBillingGatewayFailed"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState"
UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"

func (*Client) ModifyInstancesRenewFlagWithContext

func (c *Client) ModifyInstancesRenewFlagWithContext(ctx context.Context, request *ModifyInstancesRenewFlagRequest) (response *ModifyInstancesRenewFlagResponse, err error)

ModifyInstancesRenewFlag This API is used to change the auto-renewal setting of monthly-subscribed instances.

* Instances with auto-renewal enabled are automatically renewed on a monthly basis upon the expiration.

* Batch operations are supported. Up to 100 instances per request is allowed.

error code that may be returned:

FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus"
FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError"
FAILEDOPERATION_TRADECALLBILLINGGATEWAYFAILED = "FailedOperation.TradeCallBillingGatewayFailed"
INTERNALERROR_TRADECALLBILLINGGATEWAYFAILED = "InternalError.TradeCallBillingGatewayFailed"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState"
UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"

func (*Client) ModifySnapshotAttribute

func (c *Client) ModifySnapshotAttribute(request *ModifySnapshotAttributeRequest) (response *ModifySnapshotAttributeResponse, err error)

ModifySnapshotAttribute This API is used to modify the attributes of a snapshot.

<li>The snapshot name is used only for users’ convenience.</li>

error code that may be returned:

INVALIDPARAMETERVALUE_SNAPSHOTIDMALFORMED = "InvalidParameterValue.SnapshotIdMalformed"
INVALIDPARAMETERVALUE_SNAPSHOTNAMETOOLONG = "InvalidParameterValue.SnapshotNameTooLong"
RESOURCENOTFOUND_SNAPSHOTIDNOTFOUND = "ResourceNotFound.SnapshotIdNotFound"

func (*Client) ModifySnapshotAttributeWithContext

func (c *Client) ModifySnapshotAttributeWithContext(ctx context.Context, request *ModifySnapshotAttributeRequest) (response *ModifySnapshotAttributeResponse, err error)

ModifySnapshotAttribute This API is used to modify the attributes of a snapshot.

<li>The snapshot name is used only for users’ convenience.</li>

error code that may be returned:

INVALIDPARAMETERVALUE_SNAPSHOTIDMALFORMED = "InvalidParameterValue.SnapshotIdMalformed"
INVALIDPARAMETERVALUE_SNAPSHOTNAMETOOLONG = "InvalidParameterValue.SnapshotNameTooLong"
RESOURCENOTFOUND_SNAPSHOTIDNOTFOUND = "ResourceNotFound.SnapshotIdNotFound"

func (*Client) RebootInstances

func (c *Client) RebootInstances(request *RebootInstancesRequest) (response *RebootInstancesResponse, err error)

RebootInstances This API is used to restart instances.

* You can only perform this operation on instances whose status is `RUNNING`.

* The instance status will become `REBOOTING` when the API is called successfully and will become `RUNNING` when the instance is successfully restarted.

* Batch operations are supported. The maximum number of instances in each request is 100.

* This API is async. After the request is sent successfully, a `RequestId` will be returned. At this time, the operation is not completed immediately. The result of the instance operation can be queried by calling the `DescribeInstances` API. If the latest operation status (LatestOperationState) of the instance is `SUCCESS`, the operation is successful.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus"
FAILEDOPERATION_INSTANCEOPERATIONFAILED = "FailedOperation.InstanceOperationFailed"
INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus"
INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange"
OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating"
OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState"
UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"

func (*Client) RebootInstancesWithContext

func (c *Client) RebootInstancesWithContext(ctx context.Context, request *RebootInstancesRequest) (response *RebootInstancesResponse, err error)

RebootInstances This API is used to restart instances.

* You can only perform this operation on instances whose status is `RUNNING`.

* The instance status will become `REBOOTING` when the API is called successfully and will become `RUNNING` when the instance is successfully restarted.

* Batch operations are supported. The maximum number of instances in each request is 100.

* This API is async. After the request is sent successfully, a `RequestId` will be returned. At this time, the operation is not completed immediately. The result of the instance operation can be queried by calling the `DescribeInstances` API. If the latest operation status (LatestOperationState) of the instance is `SUCCESS`, the operation is successful.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus"
FAILEDOPERATION_INSTANCEOPERATIONFAILED = "FailedOperation.InstanceOperationFailed"
INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus"
INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange"
OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating"
OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState"
UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"

func (*Client) RenewDisks

func (c *Client) RenewDisks(request *RenewDisksRequest) (response *RenewDisksResponse, err error)

RenewDisks This API is used to renew one or more Lighthouse cloud disks.

This operation can only be performed on data disks with the status of `ATTACHED`, `UNATTACHED` or `SHUTDOWN`.

Up to 50 cloud disks are supported at one time.

This API is async. After the request is sent, a `RequestId` is returned. At this time, the operation is not completed yet. To check the result, you need to call [DescribeDisks](https://intl.cloud.tencent.com/document/product/1207/66093?from_cn_redirect=1). If the latest operation status (LatestOperationState) of the disk is `SUCCESS`, the operation is successful.

error code that may be returned:

FAILEDOPERATION_INSUFFICIENTBALANCE = "FailedOperation.InsufficientBalance"
FAILEDOPERATION_RENEWRESOURCESFAILED = "FailedOperation.RenewResourcesFailed"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_INVALIDCURINSTANCEDEADLINE = "InvalidParameterValue.InvalidCurInstanceDeadline"
INVALIDPARAMETERVALUE_INVALIDDISKIDMALFORMED = "InvalidParameterValue.InvalidDiskIdMalformed"
MISSINGPARAMETER_MISSINGPARAMETERPERIODCURINSTANCEDEADLINE = "MissingParameter.MissingParameterPeriodCurInstanceDeadline"
OPERATIONDENIED_DISKCREATING = "OperationDenied.DiskCreating"
RESOURCENOTFOUND_DISKIDNOTFOUND = "ResourceNotFound.DiskIdNotFound"
UNSUPPORTEDOPERATION_DISKLATESTOPERATIONUNFINISHED = "UnsupportedOperation.DiskLatestOperationUnfinished"
UNSUPPORTEDOPERATION_INVALIDDISKSTATE = "UnsupportedOperation.InvalidDiskState"

func (*Client) RenewDisksWithContext

func (c *Client) RenewDisksWithContext(ctx context.Context, request *RenewDisksRequest) (response *RenewDisksResponse, err error)

RenewDisks This API is used to renew one or more Lighthouse cloud disks.

This operation can only be performed on data disks with the status of `ATTACHED`, `UNATTACHED` or `SHUTDOWN`.

Up to 50 cloud disks are supported at one time.

This API is async. After the request is sent, a `RequestId` is returned. At this time, the operation is not completed yet. To check the result, you need to call [DescribeDisks](https://intl.cloud.tencent.com/document/product/1207/66093?from_cn_redirect=1). If the latest operation status (LatestOperationState) of the disk is `SUCCESS`, the operation is successful.

error code that may be returned:

FAILEDOPERATION_INSUFFICIENTBALANCE = "FailedOperation.InsufficientBalance"
FAILEDOPERATION_RENEWRESOURCESFAILED = "FailedOperation.RenewResourcesFailed"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_INVALIDCURINSTANCEDEADLINE = "InvalidParameterValue.InvalidCurInstanceDeadline"
INVALIDPARAMETERVALUE_INVALIDDISKIDMALFORMED = "InvalidParameterValue.InvalidDiskIdMalformed"
MISSINGPARAMETER_MISSINGPARAMETERPERIODCURINSTANCEDEADLINE = "MissingParameter.MissingParameterPeriodCurInstanceDeadline"
OPERATIONDENIED_DISKCREATING = "OperationDenied.DiskCreating"
RESOURCENOTFOUND_DISKIDNOTFOUND = "ResourceNotFound.DiskIdNotFound"
UNSUPPORTEDOPERATION_DISKLATESTOPERATIONUNFINISHED = "UnsupportedOperation.DiskLatestOperationUnfinished"
UNSUPPORTEDOPERATION_INVALIDDISKSTATE = "UnsupportedOperation.InvalidDiskState"

func (*Client) RenewInstances

func (c *Client) RenewInstances(request *RenewInstancesRequest) (response *RenewInstancesResponse, err error)

RenewInstances This API is used to renew one or more Lighthouse instances.

* You can only perform this operation on instances whose status is `RUNNING`, `STOPPED` and `SHUTDOWN`.

* Batch operations are supported. Up to 100 instances are supported in each request.

* This API is async. After the request is sent successfully, a `RequestId` will be returned. At this time, the operation is not completed immediately. The result of the instance operation can be queried by calling the `DescribeInstances` API. If the latest operation status (LatestOperationState) of the instance is `SUCCESS`, the operation is successful.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INSUFFICIENTBALANCE = "FailedOperation.InsufficientBalance"
FAILEDOPERATION_RENEWRESOURCESFAILED = "FailedOperation.RenewResourcesFailed"
INVALIDPARAMETER_INVALIDFILTER = "InvalidParameter.InvalidFilter"
INVALIDPARAMETER_INVALIDFILTERINVALIDKEY = "InvalidParameter.InvalidFilterInvalidKey"
INVALIDPARAMETER_INVALIDFILTERINVALIDNAMENOTSTR = "InvalidParameter.InvalidFilterInvalidNameNotStr"
INVALIDPARAMETER_INVALIDFILTERINVALIDVALUESNOTLIST = "InvalidParameter.InvalidFilterInvalidValuesNotList"
INVALIDPARAMETER_INVALIDFILTERNOTDICT = "InvalidParameter.InvalidFilterNotDict"
INVALIDPARAMETER_INVALIDFILTERNOTSUPPORTEDNAME = "InvalidParameter.InvalidFilterNotSupportedName"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
OPERATIONDENIED_DISKOPERATIONINPROGRESS = "OperationDenied.DiskOperationInProgress"
OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating"
OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNSUPPORTEDOPERATION_DISKLATESTOPERATIONUNFINISHED = "UnsupportedOperation.DiskLatestOperationUnfinished"
UNSUPPORTEDOPERATION_INVALIDDISKSTATE = "UnsupportedOperation.InvalidDiskState"
UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"

func (*Client) RenewInstancesWithContext

func (c *Client) RenewInstancesWithContext(ctx context.Context, request *RenewInstancesRequest) (response *RenewInstancesResponse, err error)

RenewInstances This API is used to renew one or more Lighthouse instances.

* You can only perform this operation on instances whose status is `RUNNING`, `STOPPED` and `SHUTDOWN`.

* Batch operations are supported. Up to 100 instances are supported in each request.

* This API is async. After the request is sent successfully, a `RequestId` will be returned. At this time, the operation is not completed immediately. The result of the instance operation can be queried by calling the `DescribeInstances` API. If the latest operation status (LatestOperationState) of the instance is `SUCCESS`, the operation is successful.

error code that may be returned:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_INSUFFICIENTBALANCE = "FailedOperation.InsufficientBalance"
FAILEDOPERATION_RENEWRESOURCESFAILED = "FailedOperation.RenewResourcesFailed"
INVALIDPARAMETER_INVALIDFILTER = "InvalidParameter.InvalidFilter"
INVALIDPARAMETER_INVALIDFILTERINVALIDKEY = "InvalidParameter.InvalidFilterInvalidKey"
INVALIDPARAMETER_INVALIDFILTERINVALIDNAMENOTSTR = "InvalidParameter.InvalidFilterInvalidNameNotStr"
INVALIDPARAMETER_INVALIDFILTERINVALIDVALUESNOTLIST = "InvalidParameter.InvalidFilterInvalidValuesNotList"
INVALIDPARAMETER_INVALIDFILTERNOTDICT = "InvalidParameter.InvalidFilterNotDict"
INVALIDPARAMETER_INVALIDFILTERNOTSUPPORTEDNAME = "InvalidParameter.InvalidFilterNotSupportedName"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
OPERATIONDENIED_DISKOPERATIONINPROGRESS = "OperationDenied.DiskOperationInProgress"
OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating"
OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNSUPPORTEDOPERATION_DISKLATESTOPERATIONUNFINISHED = "UnsupportedOperation.DiskLatestOperationUnfinished"
UNSUPPORTEDOPERATION_INVALIDDISKSTATE = "UnsupportedOperation.InvalidDiskState"
UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"

func (*Client) ResetAttachCcn

func (c *Client) ResetAttachCcn(request *ResetAttachCcnRequest) (response *ResetAttachCcnResponse, err error)

ResetAttachCcn This API is used to apply for association again after a CCN instance association application expires.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_CCNIDMALFORMED = "InvalidParameterValue.CcnIdMalformed"
MISSINGPARAMETER = "MissingParameter"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_CCNNOTATTACHED = "UnsupportedOperation.CcnNotAttached"
UNSUPPORTEDOPERATION_RESETATTACHCCNFAILED = "UnsupportedOperation.ResetAttachCcnFailed"

func (*Client) ResetAttachCcnWithContext

func (c *Client) ResetAttachCcnWithContext(ctx context.Context, request *ResetAttachCcnRequest) (response *ResetAttachCcnResponse, err error)

ResetAttachCcn This API is used to apply for association again after a CCN instance association application expires.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_CCNIDMALFORMED = "InvalidParameterValue.CcnIdMalformed"
MISSINGPARAMETER = "MissingParameter"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_CCNNOTATTACHED = "UnsupportedOperation.CcnNotAttached"
UNSUPPORTEDOPERATION_RESETATTACHCCNFAILED = "UnsupportedOperation.ResetAttachCcnFailed"

func (*Client) ResetInstance

func (c *Client) ResetInstance(request *ResetInstanceRequest) (response *ResetInstanceResponse, err error)

ResetInstance This API is used to reinstall the image on the specified instance.

* If you specify a `BlueprintId`, the specified image is used; otherwise, the image used by the current instance is used.

* The system disk will be formatted and reset. Therefore, make sure that no important files are stored on the system disk.

* Currently, this API does not support switching the operating system between `LINUX_UNIX` and `WINDOWS` for instances.

* This API is async. After the request is sent successfully, a `RequestId` will be returned. At this time, the operation is not completed immediately. The result of the instance operation can be queried by calling the `DescribeInstances` API. If the latest operation status (LatestOperationState) of the instance is `SUCCESS`, the operation is successful.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus"
FAILEDOPERATION_INSTANCEOPERATIONFAILED = "FailedOperation.InstanceOperationFailed"
INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus"
INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound"
INVALIDPARAMETERVALUE_BLUEPRINTCONFIGNOTMATCH = "InvalidParameterValue.BlueprintConfigNotMatch"
INVALIDPARAMETERVALUE_BLUEPRINTID = "InvalidParameterValue.BlueprintId"
INVALIDPARAMETERVALUE_BLUEPRINTIDMALFORMED = "InvalidParameterValue.BlueprintIdMalformed"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_INVALIDPARAMETERCOMBINATION = "InvalidParameterValue.InvalidParameterCombination"
INVALIDPARAMETERVALUE_INVALIDPASSWORD = "InvalidParameterValue.InvalidPassword"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_NOTALLOWTOCHANGEPLATFORMTYPE = "InvalidParameterValue.NotAllowToChangePlatformType"
INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange"
INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong"
OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating"
OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress"
RESOURCENOTFOUND_BLUEPRINTIDNOTFOUND = "ResourceNotFound.BlueprintIdNotFound"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCENOTFOUND_KEYPAIRNOTFOUND = "ResourceNotFound.KeyPairNotFound"
RESOURCEUNAVAILABLE_BLUEPRINTUNAVAILABLE = "ResourceUnavailable.BlueprintUnavailable"
UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState"
UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
UNSUPPORTEDOPERATION_SYSTEMBUSY = "UnsupportedOperation.SystemBusy"

func (*Client) ResetInstanceWithContext

func (c *Client) ResetInstanceWithContext(ctx context.Context, request *ResetInstanceRequest) (response *ResetInstanceResponse, err error)

ResetInstance This API is used to reinstall the image on the specified instance.

* If you specify a `BlueprintId`, the specified image is used; otherwise, the image used by the current instance is used.

* The system disk will be formatted and reset. Therefore, make sure that no important files are stored on the system disk.

* Currently, this API does not support switching the operating system between `LINUX_UNIX` and `WINDOWS` for instances.

* This API is async. After the request is sent successfully, a `RequestId` will be returned. At this time, the operation is not completed immediately. The result of the instance operation can be queried by calling the `DescribeInstances` API. If the latest operation status (LatestOperationState) of the instance is `SUCCESS`, the operation is successful.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus"
FAILEDOPERATION_INSTANCEOPERATIONFAILED = "FailedOperation.InstanceOperationFailed"
INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus"
INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound"
INVALIDPARAMETERVALUE_BLUEPRINTCONFIGNOTMATCH = "InvalidParameterValue.BlueprintConfigNotMatch"
INVALIDPARAMETERVALUE_BLUEPRINTID = "InvalidParameterValue.BlueprintId"
INVALIDPARAMETERVALUE_BLUEPRINTIDMALFORMED = "InvalidParameterValue.BlueprintIdMalformed"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_INVALIDPARAMETERCOMBINATION = "InvalidParameterValue.InvalidParameterCombination"
INVALIDPARAMETERVALUE_INVALIDPASSWORD = "InvalidParameterValue.InvalidPassword"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_NOTALLOWTOCHANGEPLATFORMTYPE = "InvalidParameterValue.NotAllowToChangePlatformType"
INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange"
INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong"
OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating"
OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress"
RESOURCENOTFOUND_BLUEPRINTIDNOTFOUND = "ResourceNotFound.BlueprintIdNotFound"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCENOTFOUND_KEYPAIRNOTFOUND = "ResourceNotFound.KeyPairNotFound"
RESOURCEUNAVAILABLE_BLUEPRINTUNAVAILABLE = "ResourceUnavailable.BlueprintUnavailable"
UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState"
UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"
UNSUPPORTEDOPERATION_SYSTEMBUSY = "UnsupportedOperation.SystemBusy"

func (*Client) ResetInstancesPassword

func (c *Client) ResetInstancesPassword(request *ResetInstancesPasswordRequest) (response *ResetInstancesPasswordResponse, err error)

ResetInstancesPassword This API is used to reset the password of the instance OS to a user-specified password.

* You can only use this API to modify the password of the admin account. The name of the admin account varies by OS (on Windows, it is `Administrator`; on Ubuntu, it is `ubuntu`; on other systems, it is `root`).

* Batch operations are supported. You can reset the passwords of multiple instances to the same one. The maximum number of instances in each request is 100.

* It’s recommended to shut down the instance first and then reset the password. If the instance is running, this API will try to shut it down normally. If the attempt fails, it will force to instance to shut down.

* This API is async. After the request is sent successfully, a `RequestId` will be returned. At this time, the operation is not completed immediately. The result of the instance operation can be queried by calling the `DescribeInstances` API. If the latest operation status (LatestOperationState) of the instance is `SUCCESS`, the operation is successful.

Note: Just like powering off a physical PC, a forced shutdown may cause data loss or the corruption of file system.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus"
FAILEDOPERATION_INSTANCEOPERATIONFAILED = "FailedOperation.InstanceOperationFailed"
INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus"
INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_INVALIDPASSWORD = "InvalidParameterValue.InvalidPassword"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_NOTALLOWTOCHANGEPLATFORMTYPE = "InvalidParameterValue.NotAllowToChangePlatformType"
INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange"
OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating"
OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired"
UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState"
UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"

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 of the instance OS to a user-specified password.

* You can only use this API to modify the password of the admin account. The name of the admin account varies by OS (on Windows, it is `Administrator`; on Ubuntu, it is `ubuntu`; on other systems, it is `root`).

* Batch operations are supported. You can reset the passwords of multiple instances to the same one. The maximum number of instances in each request is 100.

* It’s recommended to shut down the instance first and then reset the password. If the instance is running, this API will try to shut it down normally. If the attempt fails, it will force to instance to shut down.

* This API is async. After the request is sent successfully, a `RequestId` will be returned. At this time, the operation is not completed immediately. The result of the instance operation can be queried by calling the `DescribeInstances` API. If the latest operation status (LatestOperationState) of the instance is `SUCCESS`, the operation is successful.

Note: Just like powering off a physical PC, a forced shutdown may cause data loss or the corruption of file system.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus"
FAILEDOPERATION_INSTANCEOPERATIONFAILED = "FailedOperation.InstanceOperationFailed"
INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus"
INTERNALERROR_INVALIDCOMMANDNOTFOUND = "InternalError.InvalidCommandNotFound"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_INVALIDPASSWORD = "InvalidParameterValue.InvalidPassword"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_NOTALLOWTOCHANGEPLATFORMTYPE = "InvalidParameterValue.NotAllowToChangePlatformType"
INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange"
OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating"
OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired"
UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState"
UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"

func (*Client) StartInstances

func (c *Client) StartInstances(request *StartInstancesRequest) (response *StartInstancesResponse, err error)

StartInstances This API is used to start one or more instances.

* You can only perform this operation on instances whose status is `STOPPED`.

* The instance status will become `STARTING` when the API is called successfully and will become `RUNNING` when the instance is successfully started.

* Batch operations are supported. The maximum number of instances in each request is 100.

* This API is async. After the request is sent successfully, a `RequestId` will be returned. At this time, the operation is not completed immediately. The result of the instance operation can be queried by calling the `DescribeInstances` API. If the latest operation status (LatestOperationState) of the instance is `SUCCESS`, the operation is successful.

error code that may be returned:

FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus"
FAILEDOPERATION_INSTANCEOPERATIONFAILED = "FailedOperation.InstanceOperationFailed"
INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange"
OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating"
OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState"
UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"

func (*Client) StartInstancesWithContext

func (c *Client) StartInstancesWithContext(ctx context.Context, request *StartInstancesRequest) (response *StartInstancesResponse, err error)

StartInstances This API is used to start one or more instances.

* You can only perform this operation on instances whose status is `STOPPED`.

* The instance status will become `STARTING` when the API is called successfully and will become `RUNNING` when the instance is successfully started.

* Batch operations are supported. The maximum number of instances in each request is 100.

* This API is async. After the request is sent successfully, a `RequestId` will be returned. At this time, the operation is not completed immediately. The result of the instance operation can be queried by calling the `DescribeInstances` API. If the latest operation status (LatestOperationState) of the instance is `SUCCESS`, the operation is successful.

error code that may be returned:

FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus"
FAILEDOPERATION_INSTANCEOPERATIONFAILED = "FailedOperation.InstanceOperationFailed"
INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange"
OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating"
OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState"
UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"

func (*Client) StopInstances

func (c *Client) StopInstances(request *StopInstancesRequest) (response *StopInstancesResponse, err error)

StopInstances This API is used to shut down one or more instances.

* You can only perform this operation on instances whose status is `RUNNING`.

* The instance status will become `STOPPING` when the API is called successfully and will become `STOPPED` when the instance is successfully shut down.

* Batch operations are supported. The maximum number of instances in each request is 100.

* This API is async. After the request is sent successfully, a `RequestId` will be returned. At this time, the operation is not completed immediately. The result of the instance operation can be queried by calling the `DescribeInstances` API. If the latest operation status (LatestOperationState) of the instance is `SUCCESS`, the operation is successful.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus"
FAILEDOPERATION_INSTANCEOPERATIONFAILED = "FailedOperation.InstanceOperationFailed"
INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange"
OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating"
OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState"
UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"

func (*Client) StopInstancesWithContext

func (c *Client) StopInstancesWithContext(ctx context.Context, request *StopInstancesRequest) (response *StopInstancesResponse, err error)

StopInstances This API is used to shut down one or more instances.

* You can only perform this operation on instances whose status is `RUNNING`.

* The instance status will become `STOPPING` when the API is called successfully and will become `STOPPED` when the instance is successfully shut down.

* Batch operations are supported. The maximum number of instances in each request is 100.

* This API is async. After the request is sent successfully, a `RequestId` will be returned. At this time, the operation is not completed immediately. The result of the instance operation can be queried by calling the `DescribeInstances` API. If the latest operation status (LatestOperationState) of the instance is `SUCCESS`, the operation is successful.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DESCRIBEINSTANCESTATUS = "FailedOperation.DescribeInstanceStatus"
FAILEDOPERATION_INSTANCEOPERATIONFAILED = "FailedOperation.InstanceOperationFailed"
INTERNALERROR_DESCRIBEINSTANCESTATUS = "InternalError.DescribeInstanceStatus"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_OUTOFRANGE = "InvalidParameterValue.OutOfRange"
OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating"
OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState"
UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"

func (*Client) TerminateDisks

func (c *Client) TerminateDisks(request *TerminateDisksRequest) (response *TerminateDisksResponse, err error)

TerminateDisks This API is used to terminate one or more cloud disk.

error code that may be returned:

FAILEDOPERATION_DESTROYRESOURCESFAILED = "FailedOperation.DestroyResourcesFailed"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDDISKIDMALFORMED = "InvalidParameterValue.InvalidDiskIdMalformed"
OPERATIONDENIED_DISKOPERATIONINPROGRESS = "OperationDenied.DiskOperationInProgress"
OPERATIONDENIED_DISKUSAGENOTSUPPORTOPERATION = "OperationDenied.DiskUsageNotSupportOperation"
RESOURCENOTFOUND_DISKIDNOTFOUND = "ResourceNotFound.DiskIdNotFound"
UNSUPPORTEDOPERATION_INVALIDDISKSTATE = "UnsupportedOperation.InvalidDiskState"

func (*Client) TerminateDisksWithContext

func (c *Client) TerminateDisksWithContext(ctx context.Context, request *TerminateDisksRequest) (response *TerminateDisksResponse, err error)

TerminateDisks This API is used to terminate one or more cloud disk.

error code that may be returned:

FAILEDOPERATION_DESTROYRESOURCESFAILED = "FailedOperation.DestroyResourcesFailed"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDDISKIDMALFORMED = "InvalidParameterValue.InvalidDiskIdMalformed"
OPERATIONDENIED_DISKOPERATIONINPROGRESS = "OperationDenied.DiskOperationInProgress"
OPERATIONDENIED_DISKUSAGENOTSUPPORTOPERATION = "OperationDenied.DiskUsageNotSupportOperation"
RESOURCENOTFOUND_DISKIDNOTFOUND = "ResourceNotFound.DiskIdNotFound"
UNSUPPORTEDOPERATION_INVALIDDISKSTATE = "UnsupportedOperation.InvalidDiskState"

func (*Client) TerminateInstances

func (c *Client) TerminateInstances(request *TerminateInstancesRequest) (response *TerminateInstancesResponse, err error)

TerminateInstances This API is used to terminate one or more instances.

* Instances in `SHUTDOWN` status can be terminated through this API and cannot be recovered.

* Batch operations are supported. The allowed maximum number of instances in each request is 100.

* This API is async. After the request is sent successfully, a `RequestId` will be returned. At this time, the operation is not completed immediately. The result of the instance operation can be queried by calling the `DescribeInstances` API. If the latest operation status (LatestOperationState) of the instance is `SUCCESS`, the operation is successful.

error code that may be returned:

FAILEDOPERATION_DESTROYRESOURCESFAILED = "FailedOperation.DestroyResourcesFailed"
FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError"
INTERNALERROR_TRADECALLBILLINGGATEWAYFAILED = "InternalError.TradeCallBillingGatewayFailed"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating"
OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState"
UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"

func (*Client) TerminateInstancesWithContext

func (c *Client) TerminateInstancesWithContext(ctx context.Context, request *TerminateInstancesRequest) (response *TerminateInstancesResponse, err error)

TerminateInstances This API is used to terminate one or more instances.

* Instances in `SHUTDOWN` status can be terminated through this API and cannot be recovered.

* Batch operations are supported. The allowed maximum number of instances in each request is 100.

* This API is async. After the request is sent successfully, a `RequestId` will be returned. At this time, the operation is not completed immediately. The result of the instance operation can be queried by calling the `DescribeInstances` API. If the latest operation status (LatestOperationState) of the instance is `SUCCESS`, the operation is successful.

error code that may be returned:

FAILEDOPERATION_DESTROYRESOURCESFAILED = "FailedOperation.DestroyResourcesFailed"
FAILEDOPERATION_REQUESTERROR = "FailedOperation.RequestError"
INTERNALERROR_TRADECALLBILLINGGATEWAYFAILED = "InternalError.TradeCallBillingGatewayFailed"
INVALIDPARAMETERVALUE_DUPLICATED = "InvalidParameterValue.Duplicated"
INVALIDPARAMETERVALUE_INSTANCEIDMALFORMED = "InvalidParameterValue.InstanceIdMalformed"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
OPERATIONDENIED_INSTANCECREATING = "OperationDenied.InstanceCreating"
OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress"
RESOURCENOTFOUND_INSTANCEIDNOTFOUND = "ResourceNotFound.InstanceIdNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState"
UNSUPPORTEDOPERATION_LATESTOPERATIONUNFINISHED = "UnsupportedOperation.LatestOperationUnfinished"

type ContainerEnv

type ContainerEnv struct {
	// Environment variable key
	Key *string `json:"Key,omitnil,omitempty" name:"Key"`

	// Environment variable value
	Value *string `json:"Value,omitnil,omitempty" name:"Value"`
}

type CreateBlueprintRequest

type CreateBlueprintRequest struct {
	*tchttp.BaseRequest

	// Image name, which can contain up to 60 characters.
	BlueprintName *string `json:"BlueprintName,omitnil,omitempty" name:"BlueprintName"`

	// Image description, which can contain up to 60 characters.
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// ID of the instance for which to make an image.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Whether to forcibly shut down the instance before creating the image
	// Valid values:
	// `True`: Shut down and instance first
	// `False`: Create the image when the instance is running
	// Default: `True`
	// Note that if you create an image when the instance is running, there might be data loss.
	ForcePowerOff *bool `json:"ForcePowerOff,omitnil,omitempty" name:"ForcePowerOff"`
}

func NewCreateBlueprintRequest

func NewCreateBlueprintRequest() (request *CreateBlueprintRequest)

func (*CreateBlueprintRequest) FromJsonString

func (r *CreateBlueprintRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateBlueprintRequest) ToJsonString

func (r *CreateBlueprintRequest) ToJsonString() string

type CreateBlueprintRequestParams

type CreateBlueprintRequestParams struct {
	// Image name, which can contain up to 60 characters.
	BlueprintName *string `json:"BlueprintName,omitnil,omitempty" name:"BlueprintName"`

	// Image description, which can contain up to 60 characters.
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// ID of the instance for which to make an image.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Whether to forcibly shut down the instance before creating the image
	// Valid values:
	// `True`: Shut down and instance first
	// `False`: Create the image when the instance is running
	// Default: `True`
	// Note that if you create an image when the instance is running, there might be data loss.
	ForcePowerOff *bool `json:"ForcePowerOff,omitnil,omitempty" name:"ForcePowerOff"`
}

Predefined struct for user

type CreateBlueprintResponse

type CreateBlueprintResponse struct {
	*tchttp.BaseResponse
	Response *CreateBlueprintResponseParams `json:"Response"`
}

func NewCreateBlueprintResponse

func NewCreateBlueprintResponse() (response *CreateBlueprintResponse)

func (*CreateBlueprintResponse) FromJsonString

func (r *CreateBlueprintResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateBlueprintResponse) ToJsonString

func (r *CreateBlueprintResponse) ToJsonString() string

type CreateBlueprintResponseParams

type CreateBlueprintResponseParams struct {
	// Custom image ID.
	BlueprintId *string `json:"BlueprintId,omitnil,omitempty" name:"BlueprintId"`

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

Predefined struct for user

type CreateDisksRequest

type CreateDisksRequest struct {
	*tchttp.BaseRequest

	// Availability zone. You can call [DescribeZones](https://intl.cloud.tencent.com/document/product/1207/57513?from_cn_redirect=1) and get the information in the `Zone` parameter re
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// Cloud disk size in GB.
	DiskSize *int64 `json:"DiskSize,omitnil,omitempty" name:"DiskSize"`

	// Cloud disk media type. Valid values: "CLOUD_PREMIUM" (premium cloud disk), "CLOUD_SSD" (SSD cloud disk).
	DiskType *string `json:"DiskType,omitnil,omitempty" name:"DiskType"`

	// Parameters of monthly subscribed cloud disks
	DiskChargePrepaid *DiskChargePrepaid `json:"DiskChargePrepaid,omitnil,omitempty" name:"DiskChargePrepaid"`

	// Image name, which can contain up to 60 characters.
	DiskName *string `json:"DiskName,omitnil,omitempty" name:"DiskName"`

	// Number of cloud disks. Range: [1, 30]. Default value: 1.
	DiskCount *int64 `json:"DiskCount,omitnil,omitempty" name:"DiskCount"`

	// Specify the quota of disk backups. No quota if it’s left empty. Only one quota is allowed.
	DiskBackupQuota *int64 `json:"DiskBackupQuota,omitnil,omitempty" name:"DiskBackupQuota"`

	// Whether to use the vouchers automatically. It defaults to No.
	AutoVoucher *bool `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"`

	// Automatically mount and initialize the data disk.
	AutoMountConfiguration *AutoMountConfiguration `json:"AutoMountConfiguration,omitnil,omitempty" name:"AutoMountConfiguration"`
}

func NewCreateDisksRequest

func NewCreateDisksRequest() (request *CreateDisksRequest)

func (*CreateDisksRequest) FromJsonString

func (r *CreateDisksRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateDisksRequest) ToJsonString

func (r *CreateDisksRequest) ToJsonString() string

type CreateDisksRequestParams

type CreateDisksRequestParams struct {
	// Availability zone. You can call [DescribeZones](https://intl.cloud.tencent.com/document/product/1207/57513?from_cn_redirect=1) and get the information in the `Zone` parameter re
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// Cloud disk size in GB.
	DiskSize *int64 `json:"DiskSize,omitnil,omitempty" name:"DiskSize"`

	// Cloud disk media type. Valid values: "CLOUD_PREMIUM" (premium cloud disk), "CLOUD_SSD" (SSD cloud disk).
	DiskType *string `json:"DiskType,omitnil,omitempty" name:"DiskType"`

	// Parameters of monthly subscribed cloud disks
	DiskChargePrepaid *DiskChargePrepaid `json:"DiskChargePrepaid,omitnil,omitempty" name:"DiskChargePrepaid"`

	// Image name, which can contain up to 60 characters.
	DiskName *string `json:"DiskName,omitnil,omitempty" name:"DiskName"`

	// Number of cloud disks. Range: [1, 30]. Default value: 1.
	DiskCount *int64 `json:"DiskCount,omitnil,omitempty" name:"DiskCount"`

	// Specify the quota of disk backups. No quota if it’s left empty. Only one quota is allowed.
	DiskBackupQuota *int64 `json:"DiskBackupQuota,omitnil,omitempty" name:"DiskBackupQuota"`

	// Whether to use the vouchers automatically. It defaults to No.
	AutoVoucher *bool `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"`

	// Automatically mount and initialize the data disk.
	AutoMountConfiguration *AutoMountConfiguration `json:"AutoMountConfiguration,omitnil,omitempty" name:"AutoMountConfiguration"`
}

Predefined struct for user

type CreateDisksResponse

type CreateDisksResponse struct {
	*tchttp.BaseResponse
	Response *CreateDisksResponseParams `json:"Response"`
}

func NewCreateDisksResponse

func NewCreateDisksResponse() (response *CreateDisksResponse)

func (*CreateDisksResponse) FromJsonString

func (r *CreateDisksResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateDisksResponse) ToJsonString

func (r *CreateDisksResponse) ToJsonString() string

type CreateDisksResponseParams

type CreateDisksResponseParams struct {
	// List of IDs created by using this API. The returning of IDs does not mean that the instances are created successfully.
	//
	// You can call `DescribeDisks` API, and find the disk ID in the `DiskSet` returned to check its status. If the status changes from `PENDING` to `UNATTACHED` or `ATTACHED`, the instance is created successfully.
	DiskIdSet []*string `json:"DiskIdSet,omitnil,omitempty" name:"DiskIdSet"`

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

Predefined struct for user

type CreateFirewallRulesRequest

type CreateFirewallRulesRequest struct {
	*tchttp.BaseRequest

	// Instance ID.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Firewall rule list.
	FirewallRules []*FirewallRule `json:"FirewallRules,omitnil,omitempty" name:"FirewallRules"`

	// Current firewall version number. Every time you update the firewall rule version, it will be automatically increased by 1 to prevent the rule from expiring. If it is left empty, conflicts will not be considered.
	FirewallVersion *uint64 `json:"FirewallVersion,omitnil,omitempty" name:"FirewallVersion"`
}

func NewCreateFirewallRulesRequest

func NewCreateFirewallRulesRequest() (request *CreateFirewallRulesRequest)

func (*CreateFirewallRulesRequest) FromJsonString

func (r *CreateFirewallRulesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateFirewallRulesRequest) ToJsonString

func (r *CreateFirewallRulesRequest) ToJsonString() string

type CreateFirewallRulesRequestParams

type CreateFirewallRulesRequestParams struct {
	// Instance ID.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Firewall rule list.
	FirewallRules []*FirewallRule `json:"FirewallRules,omitnil,omitempty" name:"FirewallRules"`

	// Current firewall version number. Every time you update the firewall rule version, it will be automatically increased by 1 to prevent the rule from expiring. If it is left empty, conflicts will not be considered.
	FirewallVersion *uint64 `json:"FirewallVersion,omitnil,omitempty" name:"FirewallVersion"`
}

Predefined struct for user

type CreateFirewallRulesResponse

type CreateFirewallRulesResponse struct {
	*tchttp.BaseResponse
	Response *CreateFirewallRulesResponseParams `json:"Response"`
}

func NewCreateFirewallRulesResponse

func NewCreateFirewallRulesResponse() (response *CreateFirewallRulesResponse)

func (*CreateFirewallRulesResponse) FromJsonString

func (r *CreateFirewallRulesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateFirewallRulesResponse) ToJsonString

func (r *CreateFirewallRulesResponse) ToJsonString() string

type CreateFirewallRulesResponseParams

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

Predefined struct for user

type CreateInstanceSnapshotRequest

type CreateInstanceSnapshotRequest struct {
	*tchttp.BaseRequest

	// ID of the instance for which to create a snapshot.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Snapshot name, which can contain up to 60 characters.
	SnapshotName *string `json:"SnapshotName,omitnil,omitempty" name:"SnapshotName"`
}

func NewCreateInstanceSnapshotRequest

func NewCreateInstanceSnapshotRequest() (request *CreateInstanceSnapshotRequest)

func (*CreateInstanceSnapshotRequest) FromJsonString

func (r *CreateInstanceSnapshotRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateInstanceSnapshotRequest) ToJsonString

func (r *CreateInstanceSnapshotRequest) ToJsonString() string

type CreateInstanceSnapshotRequestParams

type CreateInstanceSnapshotRequestParams struct {
	// ID of the instance for which to create a snapshot.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Snapshot name, which can contain up to 60 characters.
	SnapshotName *string `json:"SnapshotName,omitnil,omitempty" name:"SnapshotName"`
}

Predefined struct for user

type CreateInstanceSnapshotResponse

type CreateInstanceSnapshotResponse struct {
	*tchttp.BaseResponse
	Response *CreateInstanceSnapshotResponseParams `json:"Response"`
}

func NewCreateInstanceSnapshotResponse

func NewCreateInstanceSnapshotResponse() (response *CreateInstanceSnapshotResponse)

func (*CreateInstanceSnapshotResponse) FromJsonString

func (r *CreateInstanceSnapshotResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateInstanceSnapshotResponse) ToJsonString

func (r *CreateInstanceSnapshotResponse) ToJsonString() string

type CreateInstanceSnapshotResponseParams

type CreateInstanceSnapshotResponseParams struct {
	// Snapshot ID.
	SnapshotId *string `json:"SnapshotId,omitnil,omitempty" name:"SnapshotId"`

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

Predefined struct for user

type CreateInstancesRequest

type CreateInstancesRequest struct {
	*tchttp.BaseRequest

	// Bundle ID. You can get it via the [DescribeBundles](https://intl.cloud.tencent.com/document/api/1207/47575?from_cn_redirect=1) API.
	BundleId *string `json:"BundleId,omitnil,omitempty" name:"BundleId"`

	// Image ID. You can get it via the [DescribeBlueprints](https://intl.cloud.tencent.com/document/api/1207/47689?from_cn_redirect=1) API.
	BlueprintId *string `json:"BlueprintId,omitnil,omitempty" name:"BlueprintId"`

	// Monthly subscription information for the instance, including the purchase period, setting of auto-renewal, etc.
	InstanceChargePrepaid *InstanceChargePrepaid `json:"InstanceChargePrepaid,omitnil,omitempty" name:"InstanceChargePrepaid"`

	// Instance display name.
	InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"`

	// Number of the instances to purchase. For monthly subscribed instances, the value can be 1 to 30. The default value is `1`. Note that this number can not exceed the remaining quota under the current account.
	InstanceCount *uint64 `json:"InstanceCount,omitnil,omitempty" name:"InstanceCount"`

	// List of availability zones. A random AZ is selected by default.
	Zones []*string `json:"Zones,omitnil,omitempty" name:"Zones"`

	// Whether the request is a dry run only.
	// `true`: dry run only. The request will not create instance(s). A dry run can check whether all the required parameters are specified, whether the request format is right, whether the request exceeds service limits, and whether the specified CVMs are available.
	// If the dry run fails, the corresponding error code will be returned.
	// If the dry run succeeds, the RequestId will be returned.
	// `false` (default value): send a normal request and create instance(s) if all the requirements are met.
	DryRun *bool `json:"DryRun,omitnil,omitempty" name:"DryRun"`

	// A unique string supplied by the client to ensure that the request is idempotent. Its maximum length is 64 ASCII characters. If this parameter is not specified, the idem-potency of the request cannot be guaranteed.
	ClientToken *string `json:"ClientToken,omitnil,omitempty" name:"ClientToken"`

	// Login password of the instance. It’s only available for Windows instances. If it’s not specified, it means that the user choose to set the login password after the instance creation.
	LoginConfiguration *LoginConfiguration `json:"LoginConfiguration,omitnil,omitempty" name:"LoginConfiguration"`

	// Configuration of the containers to create
	Containers []*DockerContainerConfiguration `json:"Containers,omitnil,omitempty" name:"Containers"`

	// Whether to use the vouchers automatically. It defaults to No.
	AutoVoucher *bool `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"`
}

func NewCreateInstancesRequest

func NewCreateInstancesRequest() (request *CreateInstancesRequest)

func (*CreateInstancesRequest) FromJsonString

func (r *CreateInstancesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateInstancesRequest) ToJsonString

func (r *CreateInstancesRequest) ToJsonString() string

type CreateInstancesRequestParams

type CreateInstancesRequestParams struct {
	// Bundle ID. You can get it via the [DescribeBundles](https://intl.cloud.tencent.com/document/api/1207/47575?from_cn_redirect=1) API.
	BundleId *string `json:"BundleId,omitnil,omitempty" name:"BundleId"`

	// Image ID. You can get it via the [DescribeBlueprints](https://intl.cloud.tencent.com/document/api/1207/47689?from_cn_redirect=1) API.
	BlueprintId *string `json:"BlueprintId,omitnil,omitempty" name:"BlueprintId"`

	// Monthly subscription information for the instance, including the purchase period, setting of auto-renewal, etc.
	InstanceChargePrepaid *InstanceChargePrepaid `json:"InstanceChargePrepaid,omitnil,omitempty" name:"InstanceChargePrepaid"`

	// Instance display name.
	InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"`

	// Number of the instances to purchase. For monthly subscribed instances, the value can be 1 to 30. The default value is `1`. Note that this number can not exceed the remaining quota under the current account.
	InstanceCount *uint64 `json:"InstanceCount,omitnil,omitempty" name:"InstanceCount"`

	// List of availability zones. A random AZ is selected by default.
	Zones []*string `json:"Zones,omitnil,omitempty" name:"Zones"`

	// Whether the request is a dry run only.
	// `true`: dry run only. The request will not create instance(s). A dry run can check whether all the required parameters are specified, whether the request format is right, whether the request exceeds service limits, and whether the specified CVMs are available.
	// If the dry run fails, the corresponding error code will be returned.
	// If the dry run succeeds, the RequestId will be returned.
	// `false` (default value): send a normal request and create instance(s) if all the requirements are met.
	DryRun *bool `json:"DryRun,omitnil,omitempty" name:"DryRun"`

	// A unique string supplied by the client to ensure that the request is idempotent. Its maximum length is 64 ASCII characters. If this parameter is not specified, the idem-potency of the request cannot be guaranteed.
	ClientToken *string `json:"ClientToken,omitnil,omitempty" name:"ClientToken"`

	// Login password of the instance. It’s only available for Windows instances. If it’s not specified, it means that the user choose to set the login password after the instance creation.
	LoginConfiguration *LoginConfiguration `json:"LoginConfiguration,omitnil,omitempty" name:"LoginConfiguration"`

	// Configuration of the containers to create
	Containers []*DockerContainerConfiguration `json:"Containers,omitnil,omitempty" name:"Containers"`

	// Whether to use the vouchers automatically. It defaults to No.
	AutoVoucher *bool `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"`
}

Predefined struct for user

type CreateInstancesResponse

type CreateInstancesResponse struct {
	*tchttp.BaseResponse
	Response *CreateInstancesResponseParams `json:"Response"`
}

func NewCreateInstancesResponse

func NewCreateInstancesResponse() (response *CreateInstancesResponse)

func (*CreateInstancesResponse) FromJsonString

func (r *CreateInstancesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateInstancesResponse) ToJsonString

func (r *CreateInstancesResponse) ToJsonString() string

type CreateInstancesResponseParams

type CreateInstancesResponseParams struct {
	// List of IDs created by using this API. The returning of IDs does not mean that the instances are created successfully.
	//
	// You can call `DescribeInstances` API, and find the instance ID in the `InstancesSet` returned to check its status. If the `status` is `running`, the instance is created successfully.
	InstanceIdSet []*string `json:"InstanceIdSet,omitnil,omitempty" name:"InstanceIdSet"`

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

Predefined struct for user

type CreateKeyPairRequest

type CreateKeyPairRequest struct {
	*tchttp.BaseRequest

	// Key pair name, which can contain up to 25 digits, letters, and underscores.
	KeyName *string `json:"KeyName,omitnil,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 CreateKeyPairRequestParams

type CreateKeyPairRequestParams struct {
	// Key pair name, which can contain up to 25 digits, letters, and underscores.
	KeyName *string `json:"KeyName,omitnil,omitempty" name:"KeyName"`
}

Predefined struct for user

type CreateKeyPairResponse

type CreateKeyPairResponse struct {
	*tchttp.BaseResponse
	Response *CreateKeyPairResponseParams `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 CreateKeyPairResponseParams

type CreateKeyPairResponseParams struct {
	// Key pair information.
	KeyPair *KeyPair `json:"KeyPair,omitnil,omitempty" name:"KeyPair"`

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

Predefined struct for user

type DataDiskPrice

type DataDiskPrice struct {
	// Cloud disk ID.
	DiskId *string `json:"DiskId,omitnil,omitempty" name:"DiskId"`

	// Cloud disk unit price.
	OriginalDiskPrice *float64 `json:"OriginalDiskPrice,omitnil,omitempty" name:"OriginalDiskPrice"`

	// Total price of cloud disk
	OriginalPrice *float64 `json:"OriginalPrice,omitnil,omitempty" name:"OriginalPrice"`

	// Discount.
	Discount *float64 `json:"Discount,omitnil,omitempty" name:"Discount"`

	// Discounted total price.
	DiscountPrice *float64 `json:"DiscountPrice,omitnil,omitempty" name:"DiscountPrice"`

	// ID of the instance to which the data disk is mounted.
	// Note: This field may return `null`, indicating that no valid value was found.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

type DeleteBlueprintsRequest

type DeleteBlueprintsRequest struct {
	*tchttp.BaseRequest

	// Image ID list, which can be obtained from the `BlueprintId` returned by the [DescribeBlueprints](https://intl.cloud.tencent.com/document/product/1207/47689?from_cn_redirect=1) API.
	BlueprintIds []*string `json:"BlueprintIds,omitnil,omitempty" name:"BlueprintIds"`
}

func NewDeleteBlueprintsRequest

func NewDeleteBlueprintsRequest() (request *DeleteBlueprintsRequest)

func (*DeleteBlueprintsRequest) FromJsonString

func (r *DeleteBlueprintsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteBlueprintsRequest) ToJsonString

func (r *DeleteBlueprintsRequest) ToJsonString() string

type DeleteBlueprintsRequestParams

type DeleteBlueprintsRequestParams struct {
	// Image ID list, which can be obtained from the `BlueprintId` returned by the [DescribeBlueprints](https://intl.cloud.tencent.com/document/product/1207/47689?from_cn_redirect=1) API.
	BlueprintIds []*string `json:"BlueprintIds,omitnil,omitempty" name:"BlueprintIds"`
}

Predefined struct for user

type DeleteBlueprintsResponse

type DeleteBlueprintsResponse struct {
	*tchttp.BaseResponse
	Response *DeleteBlueprintsResponseParams `json:"Response"`
}

func NewDeleteBlueprintsResponse

func NewDeleteBlueprintsResponse() (response *DeleteBlueprintsResponse)

func (*DeleteBlueprintsResponse) FromJsonString

func (r *DeleteBlueprintsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteBlueprintsResponse) ToJsonString

func (r *DeleteBlueprintsResponse) ToJsonString() string

type DeleteBlueprintsResponseParams

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

Predefined struct for user

type DeleteFirewallRulesRequest

type DeleteFirewallRulesRequest struct {
	*tchttp.BaseRequest

	// Instance ID.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Firewall rule list.
	FirewallRules []*FirewallRule `json:"FirewallRules,omitnil,omitempty" name:"FirewallRules"`

	// Current firewall version number. Every time you update the firewall rule version, it will be automatically increased by 1 to prevent the rule from expiring. If it is left empty, conflicts will not be considered.
	FirewallVersion *uint64 `json:"FirewallVersion,omitnil,omitempty" name:"FirewallVersion"`
}

func NewDeleteFirewallRulesRequest

func NewDeleteFirewallRulesRequest() (request *DeleteFirewallRulesRequest)

func (*DeleteFirewallRulesRequest) FromJsonString

func (r *DeleteFirewallRulesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteFirewallRulesRequest) ToJsonString

func (r *DeleteFirewallRulesRequest) ToJsonString() string

type DeleteFirewallRulesRequestParams

type DeleteFirewallRulesRequestParams struct {
	// Instance ID.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Firewall rule list.
	FirewallRules []*FirewallRule `json:"FirewallRules,omitnil,omitempty" name:"FirewallRules"`

	// Current firewall version number. Every time you update the firewall rule version, it will be automatically increased by 1 to prevent the rule from expiring. If it is left empty, conflicts will not be considered.
	FirewallVersion *uint64 `json:"FirewallVersion,omitnil,omitempty" name:"FirewallVersion"`
}

Predefined struct for user

type DeleteFirewallRulesResponse

type DeleteFirewallRulesResponse struct {
	*tchttp.BaseResponse
	Response *DeleteFirewallRulesResponseParams `json:"Response"`
}

func NewDeleteFirewallRulesResponse

func NewDeleteFirewallRulesResponse() (response *DeleteFirewallRulesResponse)

func (*DeleteFirewallRulesResponse) FromJsonString

func (r *DeleteFirewallRulesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteFirewallRulesResponse) ToJsonString

func (r *DeleteFirewallRulesResponse) ToJsonString() string

type DeleteFirewallRulesResponseParams

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

Predefined struct for user

type DeleteKeyPairsRequest

type DeleteKeyPairsRequest struct {
	*tchttp.BaseRequest

	// Key pair ID list. Each request can contain up to 10 key pairs.
	KeyIds []*string `json:"KeyIds,omitnil,omitempty" name:"KeyIds"`
}

func NewDeleteKeyPairsRequest

func NewDeleteKeyPairsRequest() (request *DeleteKeyPairsRequest)

func (*DeleteKeyPairsRequest) FromJsonString

func (r *DeleteKeyPairsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteKeyPairsRequest) ToJsonString

func (r *DeleteKeyPairsRequest) ToJsonString() string

type DeleteKeyPairsRequestParams

type DeleteKeyPairsRequestParams struct {
	// Key pair ID list. Each request can contain up to 10 key pairs.
	KeyIds []*string `json:"KeyIds,omitnil,omitempty" name:"KeyIds"`
}

Predefined struct for user

type DeleteKeyPairsResponse

type DeleteKeyPairsResponse struct {
	*tchttp.BaseResponse
	Response *DeleteKeyPairsResponseParams `json:"Response"`
}

func NewDeleteKeyPairsResponse

func NewDeleteKeyPairsResponse() (response *DeleteKeyPairsResponse)

func (*DeleteKeyPairsResponse) FromJsonString

func (r *DeleteKeyPairsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteKeyPairsResponse) ToJsonString

func (r *DeleteKeyPairsResponse) ToJsonString() string

type DeleteKeyPairsResponseParams

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

Predefined struct for user

type DeleteSnapshotsRequest

type DeleteSnapshotsRequest struct {
	*tchttp.BaseRequest

	// List of IDs of snapshots to be deleted, which can be queried through `DescribeSnapshots`.
	SnapshotIds []*string `json:"SnapshotIds,omitnil,omitempty" name:"SnapshotIds"`
}

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 DeleteSnapshotsRequestParams

type DeleteSnapshotsRequestParams struct {
	// List of IDs of snapshots to be deleted, which can be queried through `DescribeSnapshots`.
	SnapshotIds []*string `json:"SnapshotIds,omitnil,omitempty" name:"SnapshotIds"`
}

Predefined struct for user

type DeleteSnapshotsResponse

type DeleteSnapshotsResponse struct {
	*tchttp.BaseResponse
	Response *DeleteSnapshotsResponseParams `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 DeleteSnapshotsResponseParams

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

Predefined struct for user

type DeniedAction

type DeniedAction struct {
	// Restricted operation name.
	Action *string `json:"Action,omitnil,omitempty" name:"Action"`

	// Restricted operation message code.
	Code *string `json:"Code,omitnil,omitempty" name:"Code"`

	// Restricted operation message.
	Message *string `json:"Message,omitnil,omitempty" name:"Message"`
}

type DescribeAllScenesRequest

type DescribeAllScenesRequest struct {
	*tchttp.BaseRequest

	// List of scene IDs
	SceneIds []*string `json:"SceneIds,omitnil,omitempty" name:"SceneIds"`

	// Offset. Default value: 0
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of returned results. Default value: 20. Maximum value: 100
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewDescribeAllScenesRequest

func NewDescribeAllScenesRequest() (request *DescribeAllScenesRequest)

func (*DescribeAllScenesRequest) FromJsonString

func (r *DescribeAllScenesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAllScenesRequest) ToJsonString

func (r *DescribeAllScenesRequest) ToJsonString() string

type DescribeAllScenesRequestParams

type DescribeAllScenesRequestParams struct {
	// List of scene IDs
	SceneIds []*string `json:"SceneIds,omitnil,omitempty" name:"SceneIds"`

	// Offset. Default value: 0
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of returned results. Default value: 20. Maximum value: 100
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribeAllScenesResponse

type DescribeAllScenesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeAllScenesResponseParams `json:"Response"`
}

func NewDescribeAllScenesResponse

func NewDescribeAllScenesResponse() (response *DescribeAllScenesResponse)

func (*DescribeAllScenesResponse) FromJsonString

func (r *DescribeAllScenesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAllScenesResponse) ToJsonString

func (r *DescribeAllScenesResponse) ToJsonString() string

type DescribeAllScenesResponseParams

type DescribeAllScenesResponseParams struct {
	// List of scenes
	SceneInfoSet []*SceneInfo `json:"SceneInfoSet,omitnil,omitempty" name:"SceneInfoSet"`

	// Total count of scenes
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

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

Predefined struct for user

type DescribeBlueprintInstancesRequest

type DescribeBlueprintInstancesRequest struct {
	*tchttp.BaseRequest

	// Instance ID list, which currently can contain only one instance.
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`
}

func NewDescribeBlueprintInstancesRequest

func NewDescribeBlueprintInstancesRequest() (request *DescribeBlueprintInstancesRequest)

func (*DescribeBlueprintInstancesRequest) FromJsonString

func (r *DescribeBlueprintInstancesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBlueprintInstancesRequest) ToJsonString

func (r *DescribeBlueprintInstancesRequest) ToJsonString() string

type DescribeBlueprintInstancesRequestParams

type DescribeBlueprintInstancesRequestParams struct {
	// Instance ID list, which currently can contain only one instance.
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`
}

Predefined struct for user

type DescribeBlueprintInstancesResponse

type DescribeBlueprintInstancesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeBlueprintInstancesResponseParams `json:"Response"`
}

func NewDescribeBlueprintInstancesResponse

func NewDescribeBlueprintInstancesResponse() (response *DescribeBlueprintInstancesResponse)

func (*DescribeBlueprintInstancesResponse) FromJsonString

func (r *DescribeBlueprintInstancesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBlueprintInstancesResponse) ToJsonString

func (r *DescribeBlueprintInstancesResponse) ToJsonString() string

type DescribeBlueprintInstancesResponseParams

type DescribeBlueprintInstancesResponseParams struct {
	// Number of eligible image instances.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Image instance list information.
	BlueprintInstanceSet []*BlueprintInstance `json:"BlueprintInstanceSet,omitnil,omitempty" name:"BlueprintInstanceSet"`

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

Predefined struct for user

type DescribeBlueprintsRequest

type DescribeBlueprintsRequest struct {
	*tchttp.BaseRequest

	// Image ID list.
	BlueprintIds []*string `json:"BlueprintIds,omitnil,omitempty" name:"BlueprintIds"`

	// Offset. Default value: 0. For more information on `Offset`, please see the relevant section in [Overview](https://intl.cloud.tencent.com/document/product/1207/47578?from_cn_redirect=1).
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of returned results. Default value: 20. Maximum value: 100. For more information on `Limit`, please see the relevant section in the API [Overview](https://intl.cloud.tencent.com/document/product/1207/47578?from_cn_redirect=1).
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Filter list.
	// <li>blueprint-id</li>Filter by the **image ID**.
	// Type: String
	// Required: no
	// <li>blueprint-type</li>Filter by the **image type**.
	// Valid values: `APP_OS` (application image), `PURE_OS` (system image), `DOCKER` (Docker container image), `PRIVATE` (custom image), `SHARED` (shared image)
	// Type: String
	// Required: no
	// <li>platform-type</li>Filter by the **image operating system**.
	// Valid values: `LINUX_UNIX` (Linux or Unix), `WINDOWS` (Windows)
	// Type: String
	// Required: no
	// <li>blueprint-name</li>Filter by the **image name**.
	// Type: String
	// Required: no
	// <li>blueprint-state</li>Filter by the **image status**.
	// Type: String
	// Required: no
	// <li>scene-id</li>Filter by the **scene ID**.
	// Type: String
	// Required: no
	//
	// Each request can contain up to 10 `Filters`, each of which can contain up to 100 `Filter.Values`. `BlueprintIds` and `Filters` cannot be specified at the same time.
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

func NewDescribeBlueprintsRequest

func NewDescribeBlueprintsRequest() (request *DescribeBlueprintsRequest)

func (*DescribeBlueprintsRequest) FromJsonString

func (r *DescribeBlueprintsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBlueprintsRequest) ToJsonString

func (r *DescribeBlueprintsRequest) ToJsonString() string

type DescribeBlueprintsRequestParams

type DescribeBlueprintsRequestParams struct {
	// Image ID list.
	BlueprintIds []*string `json:"BlueprintIds,omitnil,omitempty" name:"BlueprintIds"`

	// Offset. Default value: 0. For more information on `Offset`, please see the relevant section in [Overview](https://intl.cloud.tencent.com/document/product/1207/47578?from_cn_redirect=1).
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of returned results. Default value: 20. Maximum value: 100. For more information on `Limit`, please see the relevant section in the API [Overview](https://intl.cloud.tencent.com/document/product/1207/47578?from_cn_redirect=1).
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Filter list.
	// <li>blueprint-id</li>Filter by the **image ID**.
	// Type: String
	// Required: no
	// <li>blueprint-type</li>Filter by the **image type**.
	// Valid values: `APP_OS` (application image), `PURE_OS` (system image), `DOCKER` (Docker container image), `PRIVATE` (custom image), `SHARED` (shared image)
	// Type: String
	// Required: no
	// <li>platform-type</li>Filter by the **image operating system**.
	// Valid values: `LINUX_UNIX` (Linux or Unix), `WINDOWS` (Windows)
	// Type: String
	// Required: no
	// <li>blueprint-name</li>Filter by the **image name**.
	// Type: String
	// Required: no
	// <li>blueprint-state</li>Filter by the **image status**.
	// Type: String
	// Required: no
	// <li>scene-id</li>Filter by the **scene ID**.
	// Type: String
	// Required: no
	//
	// Each request can contain up to 10 `Filters`, each of which can contain up to 100 `Filter.Values`. `BlueprintIds` and `Filters` cannot be specified at the same time.
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribeBlueprintsResponse

type DescribeBlueprintsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeBlueprintsResponseParams `json:"Response"`
}

func NewDescribeBlueprintsResponse

func NewDescribeBlueprintsResponse() (response *DescribeBlueprintsResponse)

func (*DescribeBlueprintsResponse) FromJsonString

func (r *DescribeBlueprintsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBlueprintsResponse) ToJsonString

func (r *DescribeBlueprintsResponse) ToJsonString() string

type DescribeBlueprintsResponseParams

type DescribeBlueprintsResponseParams struct {
	// Number of eligible images.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Image details list.
	BlueprintSet []*Blueprint `json:"BlueprintSet,omitnil,omitempty" name:"BlueprintSet"`

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

Predefined struct for user

type DescribeBundleDiscountRequest

type DescribeBundleDiscountRequest struct {
	*tchttp.BaseRequest

	// Package ID.
	BundleId *string `json:"BundleId,omitnil,omitempty" name:"BundleId"`
}

func NewDescribeBundleDiscountRequest

func NewDescribeBundleDiscountRequest() (request *DescribeBundleDiscountRequest)

func (*DescribeBundleDiscountRequest) FromJsonString

func (r *DescribeBundleDiscountRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBundleDiscountRequest) ToJsonString

func (r *DescribeBundleDiscountRequest) ToJsonString() string

type DescribeBundleDiscountRequestParams

type DescribeBundleDiscountRequestParams struct {
	// Package ID.
	BundleId *string `json:"BundleId,omitnil,omitempty" name:"BundleId"`
}

Predefined struct for user

type DescribeBundleDiscountResponse

type DescribeBundleDiscountResponse struct {
	*tchttp.BaseResponse
	Response *DescribeBundleDiscountResponseParams `json:"Response"`
}

func NewDescribeBundleDiscountResponse

func NewDescribeBundleDiscountResponse() (response *DescribeBundleDiscountResponse)

func (*DescribeBundleDiscountResponse) FromJsonString

func (r *DescribeBundleDiscountResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBundleDiscountResponse) ToJsonString

func (r *DescribeBundleDiscountResponse) ToJsonString() string

type DescribeBundleDiscountResponseParams

type DescribeBundleDiscountResponseParams struct {
	// Currency: CNY, USD.
	Currency *string `json:"Currency,omitnil,omitempty" name:"Currency"`

	// Discount tier details. The information of each tier includes the duration, discounted quantity, total price, discounted price, and discount details (user discount, official website discount, or final discount).
	DiscountDetail []*DiscountDetail `json:"DiscountDetail,omitnil,omitempty" name:"DiscountDetail"`

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

Predefined struct for user

type DescribeBundlesRequest

type DescribeBundlesRequest struct {
	*tchttp.BaseRequest

	// Package ID list.
	BundleIds []*string `json:"BundleIds,omitnil,omitempty" name:"BundleIds"`

	// Offset. Default value: 0. For more information on `Offset`, please see the relevant section in [Overview](https://intl.cloud.tencent.com/document/product/1207/47578?from_cn_redirect=1).
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of returned results. Default value: 20. Maximum value: 100. For more information on `Limit`, please see the relevant section in the API [Overview](https://intl.cloud.tencent.com/document/product/1207/47578?from_cn_redirect=1).
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Filter list.
	// <li>bundle-id</li>Filter by the **bundle ID**.
	// Type: String
	// Required: No
	// <li>`support-platform-type`<li>Filter by the **system type**.
	// Values: `LINUX_UNIX` (Linux/Unix), `WINDOWS` (Windows).
	// Type: String
	// Required: No
	// <li>bundle-type</li>Filter by the **bundle type**.
	// Values: `GENERAL_BUNDLE` (General bundle), `STORAGE_BUNDLE` (Storage bundle), `ENTERPRISE_BUNDLE` (Enterprise bundle), `EXCLUSIVE_BUNDLE` (Dedicated bundle), `BEFAST_BUNDLE` (BeFast bundle), `STARTER_BUNDLE` (Beginner bundle); `CAREFREE_BUNDLE` (Carefree bundle);
	// Type: String
	// Required: No
	// <li>bundle-state</li>Filter by the **bundle status**.
	// Values: `ONLINE`, `OFFLINE`
	// Type: String
	// Required: No
	// Each request can contain up to 10 `Filters` and 5 `Filter.Values`. You cannot specify both `BundleIds` and `Filters` at the same time.
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// AZ list, which contains all AZs by default.
	Zones []*string `json:"Zones,omitnil,omitempty" name:"Zones"`
}

func NewDescribeBundlesRequest

func NewDescribeBundlesRequest() (request *DescribeBundlesRequest)

func (*DescribeBundlesRequest) FromJsonString

func (r *DescribeBundlesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBundlesRequest) ToJsonString

func (r *DescribeBundlesRequest) ToJsonString() string

type DescribeBundlesRequestParams

type DescribeBundlesRequestParams struct {
	// Package ID list.
	BundleIds []*string `json:"BundleIds,omitnil,omitempty" name:"BundleIds"`

	// Offset. Default value: 0. For more information on `Offset`, please see the relevant section in [Overview](https://intl.cloud.tencent.com/document/product/1207/47578?from_cn_redirect=1).
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of returned results. Default value: 20. Maximum value: 100. For more information on `Limit`, please see the relevant section in the API [Overview](https://intl.cloud.tencent.com/document/product/1207/47578?from_cn_redirect=1).
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Filter list.
	// <li>bundle-id</li>Filter by the **bundle ID**.
	// Type: String
	// Required: No
	// <li>`support-platform-type`<li>Filter by the **system type**.
	// Values: `LINUX_UNIX` (Linux/Unix), `WINDOWS` (Windows).
	// Type: String
	// Required: No
	// <li>bundle-type</li>Filter by the **bundle type**.
	// Values: `GENERAL_BUNDLE` (General bundle), `STORAGE_BUNDLE` (Storage bundle), `ENTERPRISE_BUNDLE` (Enterprise bundle), `EXCLUSIVE_BUNDLE` (Dedicated bundle), `BEFAST_BUNDLE` (BeFast bundle), `STARTER_BUNDLE` (Beginner bundle); `CAREFREE_BUNDLE` (Carefree bundle);
	// Type: String
	// Required: No
	// <li>bundle-state</li>Filter by the **bundle status**.
	// Values: `ONLINE`, `OFFLINE`
	// Type: String
	// Required: No
	// Each request can contain up to 10 `Filters` and 5 `Filter.Values`. You cannot specify both `BundleIds` and `Filters` at the same time.
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// AZ list, which contains all AZs by default.
	Zones []*string `json:"Zones,omitnil,omitempty" name:"Zones"`
}

Predefined struct for user

type DescribeBundlesResponse

type DescribeBundlesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeBundlesResponseParams `json:"Response"`
}

func NewDescribeBundlesResponse

func NewDescribeBundlesResponse() (response *DescribeBundlesResponse)

func (*DescribeBundlesResponse) FromJsonString

func (r *DescribeBundlesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBundlesResponse) ToJsonString

func (r *DescribeBundlesResponse) ToJsonString() string

type DescribeBundlesResponseParams

type DescribeBundlesResponseParams struct {
	// List of package details.
	BundleSet []*Bundle `json:"BundleSet,omitnil,omitempty" name:"BundleSet"`

	// Total number of eligible packages, which is used for pagination.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

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

Predefined struct for user

type DescribeCcnAttachedInstancesRequest

type DescribeCcnAttachedInstancesRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeCcnAttachedInstancesRequest

func NewDescribeCcnAttachedInstancesRequest() (request *DescribeCcnAttachedInstancesRequest)

func (*DescribeCcnAttachedInstancesRequest) FromJsonString

func (r *DescribeCcnAttachedInstancesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCcnAttachedInstancesRequest) ToJsonString

func (r *DescribeCcnAttachedInstancesRequest) ToJsonString() string

type DescribeCcnAttachedInstancesRequestParams

type DescribeCcnAttachedInstancesRequestParams struct {
}

Predefined struct for user

type DescribeCcnAttachedInstancesResponse

type DescribeCcnAttachedInstancesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeCcnAttachedInstancesResponseParams `json:"Response"`
}

func NewDescribeCcnAttachedInstancesResponse

func NewDescribeCcnAttachedInstancesResponse() (response *DescribeCcnAttachedInstancesResponse)

func (*DescribeCcnAttachedInstancesResponse) FromJsonString

func (r *DescribeCcnAttachedInstancesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCcnAttachedInstancesResponse) ToJsonString

func (r *DescribeCcnAttachedInstancesResponse) ToJsonString() string

type DescribeCcnAttachedInstancesResponseParams

type DescribeCcnAttachedInstancesResponseParams struct {
	// List of instances associated with the CCN instance.
	// Note: this field may return null, indicating that no valid values can be obtained.
	CcnAttachedInstanceSet []*CcnAttachedInstance `json:"CcnAttachedInstanceSet,omitnil,omitempty" name:"CcnAttachedInstanceSet"`

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

Predefined struct for user

type DescribeDiskConfigsRequest

type DescribeDiskConfigsRequest struct {
	*tchttp.BaseRequest

	// Filter list.
	// <li>zone</li>Filter by availability zone.
	// Type: String
	// Required: no
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

func NewDescribeDiskConfigsRequest

func NewDescribeDiskConfigsRequest() (request *DescribeDiskConfigsRequest)

func (*DescribeDiskConfigsRequest) FromJsonString

func (r *DescribeDiskConfigsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDiskConfigsRequest) ToJsonString

func (r *DescribeDiskConfigsRequest) ToJsonString() string

type DescribeDiskConfigsRequestParams

type DescribeDiskConfigsRequestParams struct {
	// Filter list.
	// <li>zone</li>Filter by availability zone.
	// Type: String
	// Required: no
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribeDiskConfigsResponse

type DescribeDiskConfigsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDiskConfigsResponseParams `json:"Response"`
}

func NewDescribeDiskConfigsResponse

func NewDescribeDiskConfigsResponse() (response *DescribeDiskConfigsResponse)

func (*DescribeDiskConfigsResponse) FromJsonString

func (r *DescribeDiskConfigsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDiskConfigsResponse) ToJsonString

func (r *DescribeDiskConfigsResponse) ToJsonString() string

type DescribeDiskConfigsResponseParams

type DescribeDiskConfigsResponseParams struct {
	// List of cloud disk configurations.
	DiskConfigSet []*DiskConfig `json:"DiskConfigSet,omitnil,omitempty" name:"DiskConfigSet"`

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

Predefined struct for user

type DescribeDiskDiscountRequest

type DescribeDiskDiscountRequest struct {
	*tchttp.BaseRequest

	// Cloud disk type. Valid values: "CLOUD_PREMIUM".
	DiskType *string `json:"DiskType,omitnil,omitempty" name:"DiskType"`

	// Cloud disk size.
	DiskSize *int64 `json:"DiskSize,omitnil,omitempty" name:"DiskSize"`

	// Specify the quota of disk backups. No quota if it’s left empty. Only one quota is allowed.
	DiskBackupQuota *int64 `json:"DiskBackupQuota,omitnil,omitempty" name:"DiskBackupQuota"`
}

func NewDescribeDiskDiscountRequest

func NewDescribeDiskDiscountRequest() (request *DescribeDiskDiscountRequest)

func (*DescribeDiskDiscountRequest) FromJsonString

func (r *DescribeDiskDiscountRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDiskDiscountRequest) ToJsonString

func (r *DescribeDiskDiscountRequest) ToJsonString() string

type DescribeDiskDiscountRequestParams

type DescribeDiskDiscountRequestParams struct {
	// Cloud disk type. Valid values: "CLOUD_PREMIUM".
	DiskType *string `json:"DiskType,omitnil,omitempty" name:"DiskType"`

	// Cloud disk size.
	DiskSize *int64 `json:"DiskSize,omitnil,omitempty" name:"DiskSize"`

	// Specify the quota of disk backups. No quota if it’s left empty. Only one quota is allowed.
	DiskBackupQuota *int64 `json:"DiskBackupQuota,omitnil,omitempty" name:"DiskBackupQuota"`
}

Predefined struct for user

type DescribeDiskDiscountResponse

type DescribeDiskDiscountResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDiskDiscountResponseParams `json:"Response"`
}

func NewDescribeDiskDiscountResponse

func NewDescribeDiskDiscountResponse() (response *DescribeDiskDiscountResponse)

func (*DescribeDiskDiscountResponse) FromJsonString

func (r *DescribeDiskDiscountResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDiskDiscountResponse) ToJsonString

func (r *DescribeDiskDiscountResponse) ToJsonString() string

type DescribeDiskDiscountResponseParams

type DescribeDiskDiscountResponseParams struct {
	// Currency: CNY, USD.
	Currency *string `json:"Currency,omitnil,omitempty" name:"Currency"`

	// Discount tier details. The information of each tier includes the duration, discounted quantity, total price, discounted price, and discount details (user discount, official website discount, or final discount).
	DiscountDetail []*DiscountDetail `json:"DiscountDetail,omitnil,omitempty" name:"DiscountDetail"`

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

Predefined struct for user

type DescribeDisksDeniedActionsRequest

type DescribeDisksDeniedActionsRequest struct {
	*tchttp.BaseRequest

	// List of cloud disk IDs.
	DiskIds []*string `json:"DiskIds,omitnil,omitempty" name:"DiskIds"`
}

func NewDescribeDisksDeniedActionsRequest

func NewDescribeDisksDeniedActionsRequest() (request *DescribeDisksDeniedActionsRequest)

func (*DescribeDisksDeniedActionsRequest) FromJsonString

func (r *DescribeDisksDeniedActionsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDisksDeniedActionsRequest) ToJsonString

func (r *DescribeDisksDeniedActionsRequest) ToJsonString() string

type DescribeDisksDeniedActionsRequestParams

type DescribeDisksDeniedActionsRequestParams struct {
	// List of cloud disk IDs.
	DiskIds []*string `json:"DiskIds,omitnil,omitempty" name:"DiskIds"`
}

Predefined struct for user

type DescribeDisksDeniedActionsResponse

type DescribeDisksDeniedActionsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDisksDeniedActionsResponseParams `json:"Response"`
}

func NewDescribeDisksDeniedActionsResponse

func NewDescribeDisksDeniedActionsResponse() (response *DescribeDisksDeniedActionsResponse)

func (*DescribeDisksDeniedActionsResponse) FromJsonString

func (r *DescribeDisksDeniedActionsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDisksDeniedActionsResponse) ToJsonString

func (r *DescribeDisksDeniedActionsResponse) ToJsonString() string

type DescribeDisksDeniedActionsResponseParams

type DescribeDisksDeniedActionsResponseParams struct {
	// List of operation limits of cloud disks.
	DiskDeniedActionSet []*DiskDeniedActions `json:"DiskDeniedActionSet,omitnil,omitempty" name:"DiskDeniedActionSet"`

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

Predefined struct for user

type DescribeDisksRequest

type DescribeDisksRequest struct {
	*tchttp.BaseRequest

	// List of cloud disk IDs.
	DiskIds []*string `json:"DiskIds,omitnil,omitempty" name:"DiskIds"`

	// Filter list
	// disk-id
	// Filter by **cloud disk ID**.
	// Type: String
	// Required: No
	// instance-id
	// Filter by **instance ID**.
	// Type: String
	// Required: No
	// disk-name
	// Filter by **cloud disk name**.
	// Type: String
	// Required: No
	// zone
	// Filter by **availability zone**.
	// Type: String
	// Required: No
	// disk-usage
	// Filter by **cloud disk type**.
	// Type: String
	// Required: No
	// Values: `SYSTEM_DISK` and `DATA_DISK`
	// disk-state
	// Filter by **cloud disk status**.
	// Type: String
	// Required: No
	// Values: See `DiskState` in [Disk](https://intl.cloud.tencent.com/document/api/1207/47576?from_cn_redirect=1#Disk)
	// Each request can contain up to 10 `Filters` and 100 `Filter.Values`. `DiskIds` and `Filters` cannot be specified at the same time.
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// Number of returned results. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// The field by which the cloud disks are sorted. Valid values: "CREATED_TIME" (creation time), "EXPIRED_TIME" (expiration time), "DISK_SIZE" (size of cloud disks). Default value: "CREATED_TIME".
	OrderField *string `json:"OrderField,omitnil,omitempty" name:"OrderField"`

	// Sorting order of the output cloud disks. Valid values: "ASC" (ascending order), "DESC" (descending order). Default value: "DESC".
	Order *string `json:"Order,omitnil,omitempty" name:"Order"`
}

func NewDescribeDisksRequest

func NewDescribeDisksRequest() (request *DescribeDisksRequest)

func (*DescribeDisksRequest) FromJsonString

func (r *DescribeDisksRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDisksRequest) ToJsonString

func (r *DescribeDisksRequest) ToJsonString() string

type DescribeDisksRequestParams

type DescribeDisksRequestParams struct {
	// List of cloud disk IDs.
	DiskIds []*string `json:"DiskIds,omitnil,omitempty" name:"DiskIds"`

	// Filter list
	// disk-id
	// Filter by **cloud disk ID**.
	// Type: String
	// Required: No
	// instance-id
	// Filter by **instance ID**.
	// Type: String
	// Required: No
	// disk-name
	// Filter by **cloud disk name**.
	// Type: String
	// Required: No
	// zone
	// Filter by **availability zone**.
	// Type: String
	// Required: No
	// disk-usage
	// Filter by **cloud disk type**.
	// Type: String
	// Required: No
	// Values: `SYSTEM_DISK` and `DATA_DISK`
	// disk-state
	// Filter by **cloud disk status**.
	// Type: String
	// Required: No
	// Values: See `DiskState` in [Disk](https://intl.cloud.tencent.com/document/api/1207/47576?from_cn_redirect=1#Disk)
	// Each request can contain up to 10 `Filters` and 100 `Filter.Values`. `DiskIds` and `Filters` cannot be specified at the same time.
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// Number of returned results. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// The field by which the cloud disks are sorted. Valid values: "CREATED_TIME" (creation time), "EXPIRED_TIME" (expiration time), "DISK_SIZE" (size of cloud disks). Default value: "CREATED_TIME".
	OrderField *string `json:"OrderField,omitnil,omitempty" name:"OrderField"`

	// Sorting order of the output cloud disks. Valid values: "ASC" (ascending order), "DESC" (descending order). Default value: "DESC".
	Order *string `json:"Order,omitnil,omitempty" name:"Order"`
}

Predefined struct for user

type DescribeDisksResponse

type DescribeDisksResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDisksResponseParams `json:"Response"`
}

func NewDescribeDisksResponse

func NewDescribeDisksResponse() (response *DescribeDisksResponse)

func (*DescribeDisksResponse) FromJsonString

func (r *DescribeDisksResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDisksResponse) ToJsonString

func (r *DescribeDisksResponse) ToJsonString() string

type DescribeDisksResponseParams

type DescribeDisksResponseParams struct {
	// List of cloud disk information.
	DiskSet []*Disk `json:"DiskSet,omitnil,omitempty" name:"DiskSet"`

	// Number of eligible cloud disks.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

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

Predefined struct for user

type DescribeDisksReturnableRequest

type DescribeDisksReturnableRequest struct {
	*tchttp.BaseRequest

	// List of cloud disk IDs.
	DiskIds []*string `json:"DiskIds,omitnil,omitempty" name:"DiskIds"`

	// Number of returned results. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

func NewDescribeDisksReturnableRequest

func NewDescribeDisksReturnableRequest() (request *DescribeDisksReturnableRequest)

func (*DescribeDisksReturnableRequest) FromJsonString

func (r *DescribeDisksReturnableRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDisksReturnableRequest) ToJsonString

func (r *DescribeDisksReturnableRequest) ToJsonString() string

type DescribeDisksReturnableRequestParams

type DescribeDisksReturnableRequestParams struct {
	// List of cloud disk IDs.
	DiskIds []*string `json:"DiskIds,omitnil,omitempty" name:"DiskIds"`

	// Number of returned results. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

Predefined struct for user

type DescribeDisksReturnableResponse

type DescribeDisksReturnableResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDisksReturnableResponseParams `json:"Response"`
}

func NewDescribeDisksReturnableResponse

func NewDescribeDisksReturnableResponse() (response *DescribeDisksReturnableResponse)

func (*DescribeDisksReturnableResponse) FromJsonString

func (r *DescribeDisksReturnableResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDisksReturnableResponse) ToJsonString

func (r *DescribeDisksReturnableResponse) ToJsonString() string

type DescribeDisksReturnableResponseParams

type DescribeDisksReturnableResponseParams struct {
	// List of returnable cloud disks.
	DiskReturnableSet []*DiskReturnable `json:"DiskReturnableSet,omitnil,omitempty" name:"DiskReturnableSet"`

	// Number of eligible cloud disks.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

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

Predefined struct for user

type DescribeFirewallRulesRequest

type DescribeFirewallRulesRequest struct {
	*tchttp.BaseRequest

	// Instance ID.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of returned results. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewDescribeFirewallRulesRequest

func NewDescribeFirewallRulesRequest() (request *DescribeFirewallRulesRequest)

func (*DescribeFirewallRulesRequest) FromJsonString

func (r *DescribeFirewallRulesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeFirewallRulesRequest) ToJsonString

func (r *DescribeFirewallRulesRequest) ToJsonString() string

type DescribeFirewallRulesRequestParams

type DescribeFirewallRulesRequestParams struct {
	// Instance ID.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of returned results. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribeFirewallRulesResponse

type DescribeFirewallRulesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeFirewallRulesResponseParams `json:"Response"`
}

func NewDescribeFirewallRulesResponse

func NewDescribeFirewallRulesResponse() (response *DescribeFirewallRulesResponse)

func (*DescribeFirewallRulesResponse) FromJsonString

func (r *DescribeFirewallRulesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeFirewallRulesResponse) ToJsonString

func (r *DescribeFirewallRulesResponse) ToJsonString() string

type DescribeFirewallRulesResponseParams

type DescribeFirewallRulesResponseParams struct {
	// Number of eligible firewall rules.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Firewall rule details list.
	FirewallRuleSet []*FirewallRuleInfo `json:"FirewallRuleSet,omitnil,omitempty" name:"FirewallRuleSet"`

	// Firewall version number.
	FirewallVersion *uint64 `json:"FirewallVersion,omitnil,omitempty" name:"FirewallVersion"`

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

Predefined struct for user

type DescribeFirewallRulesTemplateRequest

type DescribeFirewallRulesTemplateRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeFirewallRulesTemplateRequest

func NewDescribeFirewallRulesTemplateRequest() (request *DescribeFirewallRulesTemplateRequest)

func (*DescribeFirewallRulesTemplateRequest) FromJsonString

func (r *DescribeFirewallRulesTemplateRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeFirewallRulesTemplateRequest) ToJsonString

func (r *DescribeFirewallRulesTemplateRequest) ToJsonString() string

type DescribeFirewallRulesTemplateRequestParams

type DescribeFirewallRulesTemplateRequestParams struct {
}

Predefined struct for user

type DescribeFirewallRulesTemplateResponse

type DescribeFirewallRulesTemplateResponse struct {
	*tchttp.BaseResponse
	Response *DescribeFirewallRulesTemplateResponseParams `json:"Response"`
}

func NewDescribeFirewallRulesTemplateResponse

func NewDescribeFirewallRulesTemplateResponse() (response *DescribeFirewallRulesTemplateResponse)

func (*DescribeFirewallRulesTemplateResponse) FromJsonString

func (r *DescribeFirewallRulesTemplateResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeFirewallRulesTemplateResponse) ToJsonString

type DescribeFirewallRulesTemplateResponseParams

type DescribeFirewallRulesTemplateResponseParams struct {
	// Number of eligible firewall rules.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Firewall rule details list.
	FirewallRuleSet []*FirewallRuleInfo `json:"FirewallRuleSet,omitnil,omitempty" name:"FirewallRuleSet"`

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

Predefined struct for user

type DescribeGeneralResourceQuotasRequest

type DescribeGeneralResourceQuotasRequest struct {
	*tchttp.BaseRequest

	// Resource name list. Values:
	// - `GENERAL_BUNDLE_INSTANCE`: General bundle
	// - `STORAGE_BUNDLE_INSTANCE`:  Storage bundle
	// - `ENTERPRISE_BUNDLE_INSTANCE`: Enterprise bundle
	// - `EXCLUSIVE_BUNDLE_INSTANCE`: Dedicated bundle
	// - `BEFAST_BUNDLE_INSTANCE`: BeFast bundle
	// - `USER_KEY_PAIR`: Key pair
	// - `SNAPSHOT`: Snapshot
	// - `BLUEPRINT`: Custom image
	// - `FREE_BLUEPRINT`: Free custom image
	// - `DATA_DISK`: Data disk
	// - `FIREWALL_RULE`: Firewall rules
	ResourceNames []*string `json:"ResourceNames,omitnil,omitempty" name:"ResourceNames"`
}

func NewDescribeGeneralResourceQuotasRequest

func NewDescribeGeneralResourceQuotasRequest() (request *DescribeGeneralResourceQuotasRequest)

func (*DescribeGeneralResourceQuotasRequest) FromJsonString

func (r *DescribeGeneralResourceQuotasRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeGeneralResourceQuotasRequest) ToJsonString

func (r *DescribeGeneralResourceQuotasRequest) ToJsonString() string

type DescribeGeneralResourceQuotasRequestParams

type DescribeGeneralResourceQuotasRequestParams struct {
	// Resource name list. Values:
	// - `GENERAL_BUNDLE_INSTANCE`: General bundle
	// - `STORAGE_BUNDLE_INSTANCE`:  Storage bundle
	// - `ENTERPRISE_BUNDLE_INSTANCE`: Enterprise bundle
	// - `EXCLUSIVE_BUNDLE_INSTANCE`: Dedicated bundle
	// - `BEFAST_BUNDLE_INSTANCE`: BeFast bundle
	// - `USER_KEY_PAIR`: Key pair
	// - `SNAPSHOT`: Snapshot
	// - `BLUEPRINT`: Custom image
	// - `FREE_BLUEPRINT`: Free custom image
	// - `DATA_DISK`: Data disk
	// - `FIREWALL_RULE`: Firewall rules
	ResourceNames []*string `json:"ResourceNames,omitnil,omitempty" name:"ResourceNames"`
}

Predefined struct for user

type DescribeGeneralResourceQuotasResponse

type DescribeGeneralResourceQuotasResponse struct {
	*tchttp.BaseResponse
	Response *DescribeGeneralResourceQuotasResponseParams `json:"Response"`
}

func NewDescribeGeneralResourceQuotasResponse

func NewDescribeGeneralResourceQuotasResponse() (response *DescribeGeneralResourceQuotasResponse)

func (*DescribeGeneralResourceQuotasResponse) FromJsonString

func (r *DescribeGeneralResourceQuotasResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeGeneralResourceQuotasResponse) ToJsonString

type DescribeGeneralResourceQuotasResponseParams

type DescribeGeneralResourceQuotasResponseParams struct {
	// List of general resource quota details.
	GeneralResourceQuotaSet []*GeneralResourceQuota `json:"GeneralResourceQuotaSet,omitnil,omitempty" name:"GeneralResourceQuotaSet"`

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

Predefined struct for user

type DescribeInstanceLoginKeyPairAttributeRequest

type DescribeInstanceLoginKeyPairAttributeRequest struct {
	*tchttp.BaseRequest

	// Instance ID.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

func NewDescribeInstanceLoginKeyPairAttributeRequest

func NewDescribeInstanceLoginKeyPairAttributeRequest() (request *DescribeInstanceLoginKeyPairAttributeRequest)

func (*DescribeInstanceLoginKeyPairAttributeRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstanceLoginKeyPairAttributeRequest) ToJsonString

type DescribeInstanceLoginKeyPairAttributeRequestParams

type DescribeInstanceLoginKeyPairAttributeRequestParams struct {
	// Instance ID.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

Predefined struct for user

type DescribeInstanceLoginKeyPairAttributeResponse

type DescribeInstanceLoginKeyPairAttributeResponse struct {
	*tchttp.BaseResponse
	Response *DescribeInstanceLoginKeyPairAttributeResponseParams `json:"Response"`
}

func NewDescribeInstanceLoginKeyPairAttributeResponse

func NewDescribeInstanceLoginKeyPairAttributeResponse() (response *DescribeInstanceLoginKeyPairAttributeResponse)

func (*DescribeInstanceLoginKeyPairAttributeResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstanceLoginKeyPairAttributeResponse) ToJsonString

type DescribeInstanceLoginKeyPairAttributeResponseParams

type DescribeInstanceLoginKeyPairAttributeResponseParams struct {
	// Whether to allow login with the default key pair. Valid values: YES, NO.
	PermitLogin *string `json:"PermitLogin,omitnil,omitempty" name:"PermitLogin"`

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

Predefined struct for user

type DescribeInstanceVncUrlRequest

type DescribeInstanceVncUrlRequest struct {
	*tchttp.BaseRequest

	// Instance ID, which can be obtained from the `InstanceId` returned by the [DescribeInstances](https://intl.cloud.tencent.com/document/api/1207/47573?from_cn_redirect=1) API.
	InstanceId *string `json:"InstanceId,omitnil,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 DescribeInstanceVncUrlRequestParams

type DescribeInstanceVncUrlRequestParams struct {
	// Instance ID, which can be obtained from the `InstanceId` returned by the [DescribeInstances](https://intl.cloud.tencent.com/document/api/1207/47573?from_cn_redirect=1) API.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

Predefined struct for user

type DescribeInstanceVncUrlResponse

type DescribeInstanceVncUrlResponse struct {
	*tchttp.BaseResponse
	Response *DescribeInstanceVncUrlResponseParams `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 DescribeInstanceVncUrlResponseParams

type DescribeInstanceVncUrlResponseParams struct {
	// Instance VNC URL.
	InstanceVncUrl *string `json:"InstanceVncUrl,omitnil,omitempty" name:"InstanceVncUrl"`

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

Predefined struct for user

type DescribeInstancesDeniedActionsRequest

type DescribeInstancesDeniedActionsRequest struct {
	*tchttp.BaseRequest

	// Instance ID list. Each request can contain up to 100 instances at a time. You can get an instance ID from the `InstanceId` returned by the [DescribeInstances](https://intl.cloud.tencent.com/document/api/1207/47573?from_cn_redirect=1) API.
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`
}

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 DescribeInstancesDeniedActionsRequestParams

type DescribeInstancesDeniedActionsRequestParams struct {
	// Instance ID list. Each request can contain up to 100 instances at a time. You can get an instance ID from the `InstanceId` returned by the [DescribeInstances](https://intl.cloud.tencent.com/document/api/1207/47573?from_cn_redirect=1) API.
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`
}

Predefined struct for user

type DescribeInstancesDeniedActionsResponse

type DescribeInstancesDeniedActionsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeInstancesDeniedActionsResponseParams `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 DescribeInstancesDeniedActionsResponseParams

type DescribeInstancesDeniedActionsResponseParams struct {
	// List of instance operation limit details.
	InstanceDeniedActionSet []*InstanceDeniedActions `json:"InstanceDeniedActionSet,omitnil,omitempty" name:"InstanceDeniedActionSet"`

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

Predefined struct for user

type DescribeInstancesDiskNumRequest

type DescribeInstancesDiskNumRequest struct {
	*tchttp.BaseRequest

	// List of instance IDs.
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`
}

func NewDescribeInstancesDiskNumRequest

func NewDescribeInstancesDiskNumRequest() (request *DescribeInstancesDiskNumRequest)

func (*DescribeInstancesDiskNumRequest) FromJsonString

func (r *DescribeInstancesDiskNumRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstancesDiskNumRequest) ToJsonString

func (r *DescribeInstancesDiskNumRequest) ToJsonString() string

type DescribeInstancesDiskNumRequestParams

type DescribeInstancesDiskNumRequestParams struct {
	// List of instance IDs.
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`
}

Predefined struct for user

type DescribeInstancesDiskNumResponse

type DescribeInstancesDiskNumResponse struct {
	*tchttp.BaseResponse
	Response *DescribeInstancesDiskNumResponseParams `json:"Response"`
}

func NewDescribeInstancesDiskNumResponse

func NewDescribeInstancesDiskNumResponse() (response *DescribeInstancesDiskNumResponse)

func (*DescribeInstancesDiskNumResponse) FromJsonString

func (r *DescribeInstancesDiskNumResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstancesDiskNumResponse) ToJsonString

func (r *DescribeInstancesDiskNumResponse) ToJsonString() string

type DescribeInstancesDiskNumResponseParams

type DescribeInstancesDiskNumResponseParams struct {
	// Information of all attached disks
	AttachDetailSet []*AttachDetail `json:"AttachDetailSet,omitnil,omitempty" name:"AttachDetailSet"`

	// Number of attached cloud disks
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

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

Predefined struct for user

type DescribeInstancesRequest

type DescribeInstancesRequest struct {
	*tchttp.BaseRequest

	// Instance ID list. Each request can contain up to 100 instances at a time.
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`

	// Filter list.
	// <li>instance-name</li>Filter by the **instance name**.
	// Type: String
	// Required: No
	// <li>private-ip-address</li>Filter by the **private IP of instance primary ENI**.
	// Type: String
	// Required: No
	// <li>public-ip-address</li>Filter by the **public IP of instance primary ENI**.
	// Type: String
	// Required: No
	// <li>zone</li>Filter by the availability zone.
	// Type: String
	// Required: No
	// <li>instance-state</li>Filter by the **instance status**.
	// Type: String
	// Required: No
	// <li>tag-key</li>Filter by the **tag key**.
	// Type: String
	// Required: No
	// <li>tag-value</li>Filter by the **tag value**.
	// Type: String
	// Required: No
	// <li> tag:tag-key</li>Filter by tag key-value pair. The `tag-key` should be replaced with a specific tag key.
	// Type: String
	// Required: No
	// Each request can contain up to 10 `Filters` and 100 `Filter.Values`. You cannot specify both `InstanceIds` and `Filters` at the same time.
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// Offset. Default value: 0. For more information on `Offset`, please see the relevant section in [Overview](https://intl.cloud.tencent.com/document/product/1207/47578?from_cn_redirect=1).
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of returned results. Default value: 20. Maximum value: 100. For more information on `Limit`, please see the relevant section in the API [Overview](https://intl.cloud.tencent.com/document/product/1207/47578?from_cn_redirect=1).
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

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 DescribeInstancesRequestParams

type DescribeInstancesRequestParams struct {
	// Instance ID list. Each request can contain up to 100 instances at a time.
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`

	// Filter list.
	// <li>instance-name</li>Filter by the **instance name**.
	// Type: String
	// Required: No
	// <li>private-ip-address</li>Filter by the **private IP of instance primary ENI**.
	// Type: String
	// Required: No
	// <li>public-ip-address</li>Filter by the **public IP of instance primary ENI**.
	// Type: String
	// Required: No
	// <li>zone</li>Filter by the availability zone.
	// Type: String
	// Required: No
	// <li>instance-state</li>Filter by the **instance status**.
	// Type: String
	// Required: No
	// <li>tag-key</li>Filter by the **tag key**.
	// Type: String
	// Required: No
	// <li>tag-value</li>Filter by the **tag value**.
	// Type: String
	// Required: No
	// <li> tag:tag-key</li>Filter by tag key-value pair. The `tag-key` should be replaced with a specific tag key.
	// Type: String
	// Required: No
	// Each request can contain up to 10 `Filters` and 100 `Filter.Values`. You cannot specify both `InstanceIds` and `Filters` at the same time.
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// Offset. Default value: 0. For more information on `Offset`, please see the relevant section in [Overview](https://intl.cloud.tencent.com/document/product/1207/47578?from_cn_redirect=1).
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of returned results. Default value: 20. Maximum value: 100. For more information on `Limit`, please see the relevant section in the API [Overview](https://intl.cloud.tencent.com/document/product/1207/47578?from_cn_redirect=1).
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribeInstancesResponse

type DescribeInstancesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeInstancesResponseParams `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 DescribeInstancesResponseParams

type DescribeInstancesResponseParams struct {
	// Number of eligible instances.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// List of instance details
	InstanceSet []*Instance `json:"InstanceSet,omitnil,omitempty" name:"InstanceSet"`

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

Predefined struct for user

type DescribeInstancesReturnableRequest

type DescribeInstancesReturnableRequest struct {
	*tchttp.BaseRequest

	// Instance ID list. Each request can contain up to 100 instances at a time. You can get an instance ID from the `InstanceId` returned by the [DescribeInstances](https://intl.cloud.tencent.com/document/api/1207/47573?from_cn_redirect=1) API.
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of returned results. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewDescribeInstancesReturnableRequest

func NewDescribeInstancesReturnableRequest() (request *DescribeInstancesReturnableRequest)

func (*DescribeInstancesReturnableRequest) FromJsonString

func (r *DescribeInstancesReturnableRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstancesReturnableRequest) ToJsonString

func (r *DescribeInstancesReturnableRequest) ToJsonString() string

type DescribeInstancesReturnableRequestParams

type DescribeInstancesReturnableRequestParams struct {
	// Instance ID list. Each request can contain up to 100 instances at a time. You can get an instance ID from the `InstanceId` returned by the [DescribeInstances](https://intl.cloud.tencent.com/document/api/1207/47573?from_cn_redirect=1) API.
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of returned results. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribeInstancesReturnableResponse

type DescribeInstancesReturnableResponse struct {
	*tchttp.BaseResponse
	Response *DescribeInstancesReturnableResponseParams `json:"Response"`
}

func NewDescribeInstancesReturnableResponse

func NewDescribeInstancesReturnableResponse() (response *DescribeInstancesReturnableResponse)

func (*DescribeInstancesReturnableResponse) FromJsonString

func (r *DescribeInstancesReturnableResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstancesReturnableResponse) ToJsonString

func (r *DescribeInstancesReturnableResponse) ToJsonString() string

type DescribeInstancesReturnableResponseParams

type DescribeInstancesReturnableResponseParams struct {
	// Number of eligible instances.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// List of returnable instance details.
	InstanceReturnableSet []*InstanceReturnable `json:"InstanceReturnableSet,omitnil,omitempty" name:"InstanceReturnableSet"`

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

Predefined struct for user

type DescribeInstancesTrafficPackagesRequest

type DescribeInstancesTrafficPackagesRequest struct {
	*tchttp.BaseRequest

	// Instance ID list. Each request can contain up to 100 instances at a time. You can get an instance ID from the `InstanceId` returned by the [DescribeInstances](https://intl.cloud.tencent.com/document/api/1207/47573?from_cn_redirect=1) API.
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of returned results. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewDescribeInstancesTrafficPackagesRequest

func NewDescribeInstancesTrafficPackagesRequest() (request *DescribeInstancesTrafficPackagesRequest)

func (*DescribeInstancesTrafficPackagesRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstancesTrafficPackagesRequest) ToJsonString

type DescribeInstancesTrafficPackagesRequestParams

type DescribeInstancesTrafficPackagesRequestParams struct {
	// Instance ID list. Each request can contain up to 100 instances at a time. You can get an instance ID from the `InstanceId` returned by the [DescribeInstances](https://intl.cloud.tencent.com/document/api/1207/47573?from_cn_redirect=1) API.
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of returned results. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribeInstancesTrafficPackagesResponse

type DescribeInstancesTrafficPackagesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeInstancesTrafficPackagesResponseParams `json:"Response"`
}

func NewDescribeInstancesTrafficPackagesResponse

func NewDescribeInstancesTrafficPackagesResponse() (response *DescribeInstancesTrafficPackagesResponse)

func (*DescribeInstancesTrafficPackagesResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstancesTrafficPackagesResponse) ToJsonString

type DescribeInstancesTrafficPackagesResponseParams

type DescribeInstancesTrafficPackagesResponseParams struct {
	// Number of eligible instance traffic package details.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// List of instance traffic package details.
	InstanceTrafficPackageSet []*InstanceTrafficPackage `json:"InstanceTrafficPackageSet,omitnil,omitempty" name:"InstanceTrafficPackageSet"`

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

Predefined struct for user

type DescribeKeyPairsRequest

type DescribeKeyPairsRequest struct {
	*tchttp.BaseRequest

	// Key pair ID list.
	KeyIds []*string `json:"KeyIds,omitnil,omitempty" name:"KeyIds"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of returned results. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Filter list.
	// <li>key-id</li>Filter by **key pair ID**.
	// Type: String
	// Required: no
	// <li>key-name</li>Filter by the **key pair name**. Fuzzy match is supported.
	// Type: String
	// Required: no
	// Each request can contain up to 10 `Filters` and up to 5 `Filter.Values` for each filter. `KeyIds` and `Filters` cannot be specified at the same time.
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

func NewDescribeKeyPairsRequest

func NewDescribeKeyPairsRequest() (request *DescribeKeyPairsRequest)

func (*DescribeKeyPairsRequest) FromJsonString

func (r *DescribeKeyPairsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeKeyPairsRequest) ToJsonString

func (r *DescribeKeyPairsRequest) ToJsonString() string

type DescribeKeyPairsRequestParams

type DescribeKeyPairsRequestParams struct {
	// Key pair ID list.
	KeyIds []*string `json:"KeyIds,omitnil,omitempty" name:"KeyIds"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of returned results. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Filter list.
	// <li>key-id</li>Filter by **key pair ID**.
	// Type: String
	// Required: no
	// <li>key-name</li>Filter by the **key pair name**. Fuzzy match is supported.
	// Type: String
	// Required: no
	// Each request can contain up to 10 `Filters` and up to 5 `Filter.Values` for each filter. `KeyIds` and `Filters` cannot be specified at the same time.
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribeKeyPairsResponse

type DescribeKeyPairsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeKeyPairsResponseParams `json:"Response"`
}

func NewDescribeKeyPairsResponse

func NewDescribeKeyPairsResponse() (response *DescribeKeyPairsResponse)

func (*DescribeKeyPairsResponse) FromJsonString

func (r *DescribeKeyPairsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeKeyPairsResponse) ToJsonString

func (r *DescribeKeyPairsResponse) ToJsonString() string

type DescribeKeyPairsResponseParams

type DescribeKeyPairsResponseParams struct {
	// Number of eligible key pairs.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// List of key pair details.
	KeyPairSet []*KeyPair `json:"KeyPairSet,omitnil,omitempty" name:"KeyPairSet"`

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

Predefined struct for user

type DescribeModifyInstanceBundlesRequest

type DescribeModifyInstanceBundlesRequest struct {
	*tchttp.BaseRequest

	// Instance ID.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Filter list
	// <li>bundle-id</li>Filter by the **bundle ID**.
	// Type: String
	// Required: No
	// <li>support-platform-type</li>Filter by the **OS type**.
	// Valid values: `LINUX_UNIX` (Linux or Unix), `WINDOWS` (Windows)
	// Type: String
	// Required: No
	// <li>bundle-type</li>Filter by the **bundle type**.
	// Valid values: `GENERAL_BUNDLE` (General bundle), `STORAGE_BUNDLE` (Storage bundle), `ENTERPRISE_BUNDLE` (Enterprise bundle), `EXCLUSIVE_BUNDLE` (Dedicated bundle), `BEFAST_BUNDLE` (BeFast bundle)
	// Type: String
	// Required: No
	// <li>bundle-state</li>Filter by the **bundle status**.
	// Valid values: `ONLINE`, `OFFLINE`
	// Type: String
	// Required: No
	// Each request can contain up to 10 `Filters`, and each filter can have up to 5 `Filter.Values`.
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// Offset. Default value: 0. For more information on `Offset`, please see the relevant section in [Overview](https://intl.cloud.tencent.com/document/product/1207/47578?from_cn_redirect=1).
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of returned results. Default value: 20. Maximum value: 100. For more information on `Limit`, please see the relevant section in the API [Overview](https://intl.cloud.tencent.com/document/product/1207/47578?from_cn_redirect=1).
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewDescribeModifyInstanceBundlesRequest

func NewDescribeModifyInstanceBundlesRequest() (request *DescribeModifyInstanceBundlesRequest)

func (*DescribeModifyInstanceBundlesRequest) FromJsonString

func (r *DescribeModifyInstanceBundlesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeModifyInstanceBundlesRequest) ToJsonString

func (r *DescribeModifyInstanceBundlesRequest) ToJsonString() string

type DescribeModifyInstanceBundlesRequestParams

type DescribeModifyInstanceBundlesRequestParams struct {
	// Instance ID.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Filter list
	// <li>bundle-id</li>Filter by the **bundle ID**.
	// Type: String
	// Required: No
	// <li>support-platform-type</li>Filter by the **OS type**.
	// Valid values: `LINUX_UNIX` (Linux or Unix), `WINDOWS` (Windows)
	// Type: String
	// Required: No
	// <li>bundle-type</li>Filter by the **bundle type**.
	// Valid values: `GENERAL_BUNDLE` (General bundle), `STORAGE_BUNDLE` (Storage bundle), `ENTERPRISE_BUNDLE` (Enterprise bundle), `EXCLUSIVE_BUNDLE` (Dedicated bundle), `BEFAST_BUNDLE` (BeFast bundle)
	// Type: String
	// Required: No
	// <li>bundle-state</li>Filter by the **bundle status**.
	// Valid values: `ONLINE`, `OFFLINE`
	// Type: String
	// Required: No
	// Each request can contain up to 10 `Filters`, and each filter can have up to 5 `Filter.Values`.
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// Offset. Default value: 0. For more information on `Offset`, please see the relevant section in [Overview](https://intl.cloud.tencent.com/document/product/1207/47578?from_cn_redirect=1).
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of returned results. Default value: 20. Maximum value: 100. For more information on `Limit`, please see the relevant section in the API [Overview](https://intl.cloud.tencent.com/document/product/1207/47578?from_cn_redirect=1).
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribeModifyInstanceBundlesResponse

type DescribeModifyInstanceBundlesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeModifyInstanceBundlesResponseParams `json:"Response"`
}

func NewDescribeModifyInstanceBundlesResponse

func NewDescribeModifyInstanceBundlesResponse() (response *DescribeModifyInstanceBundlesResponse)

func (*DescribeModifyInstanceBundlesResponse) FromJsonString

func (r *DescribeModifyInstanceBundlesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeModifyInstanceBundlesResponse) ToJsonString

type DescribeModifyInstanceBundlesResponseParams

type DescribeModifyInstanceBundlesResponseParams struct {
	// Number of matched instances.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// New package details
	ModifyBundleSet []*ModifyBundle `json:"ModifyBundleSet,omitnil,omitempty" name:"ModifyBundleSet"`

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

Predefined struct for user

type DescribeRegionsRequest

type DescribeRegionsRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeRegionsRequest

func NewDescribeRegionsRequest() (request *DescribeRegionsRequest)

func (*DescribeRegionsRequest) FromJsonString

func (r *DescribeRegionsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeRegionsRequest) ToJsonString

func (r *DescribeRegionsRequest) ToJsonString() string

type DescribeRegionsRequestParams

type DescribeRegionsRequestParams struct {
}

Predefined struct for user

type DescribeRegionsResponse

type DescribeRegionsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeRegionsResponseParams `json:"Response"`
}

func NewDescribeRegionsResponse

func NewDescribeRegionsResponse() (response *DescribeRegionsResponse)

func (*DescribeRegionsResponse) FromJsonString

func (r *DescribeRegionsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeRegionsResponse) ToJsonString

func (r *DescribeRegionsResponse) ToJsonString() string

type DescribeRegionsResponseParams

type DescribeRegionsResponseParams struct {
	// Number of regions.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Region information list.
	RegionSet []*RegionInfo `json:"RegionSet,omitnil,omitempty" name:"RegionSet"`

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

Predefined struct for user

type DescribeResetInstanceBlueprintsRequest

type DescribeResetInstanceBlueprintsRequest struct {
	*tchttp.BaseRequest

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Offset. Default value: 0. For more information on `Offset`, please see the relevant section in [Overview](https://intl.cloud.tencent.com/document/product/1207/47578?from_cn_redirect=1).
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of returned results. Default value: 20. Maximum value: 100. For more information on `Limit`, please see the relevant section in the API [Overview](https://intl.cloud.tencent.com/document/product/1207/47578?from_cn_redirect=1).
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Filter list
	// <li>blueprint-id</li>Filter by **image ID**.
	// Type: String
	// Required: no
	// <li>blueprint-type</li>Filter by **image type**.
	// Valid values: `APP_OS`: application image; `PURE_OS`: system image; `PRIVATE`: custom image
	// Type: String
	// Required: no
	// <li>platform-type</li>Filter by **image platform type**.
	// Valid values: `LINUX_UNIX`: Linux or Unix; `WINDOWS`: Windows
	// Type: String
	// Required: no
	// <li>blueprint-name</li>Filter by **image name**.
	// Type: String
	// Required: no
	// <li>blueprint-state</li>Filter by **image status**.
	// Type: String
	// Required: no
	//
	// Each request can contain up to 10 `Filters` and 5 `Filter.Values`. `BlueprintIds` and `Filters` cannot be specified at the same time.
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

func NewDescribeResetInstanceBlueprintsRequest

func NewDescribeResetInstanceBlueprintsRequest() (request *DescribeResetInstanceBlueprintsRequest)

func (*DescribeResetInstanceBlueprintsRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeResetInstanceBlueprintsRequest) ToJsonString

type DescribeResetInstanceBlueprintsRequestParams

type DescribeResetInstanceBlueprintsRequestParams struct {
	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Offset. Default value: 0. For more information on `Offset`, please see the relevant section in [Overview](https://intl.cloud.tencent.com/document/product/1207/47578?from_cn_redirect=1).
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of returned results. Default value: 20. Maximum value: 100. For more information on `Limit`, please see the relevant section in the API [Overview](https://intl.cloud.tencent.com/document/product/1207/47578?from_cn_redirect=1).
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Filter list
	// <li>blueprint-id</li>Filter by **image ID**.
	// Type: String
	// Required: no
	// <li>blueprint-type</li>Filter by **image type**.
	// Valid values: `APP_OS`: application image; `PURE_OS`: system image; `PRIVATE`: custom image
	// Type: String
	// Required: no
	// <li>platform-type</li>Filter by **image platform type**.
	// Valid values: `LINUX_UNIX`: Linux or Unix; `WINDOWS`: Windows
	// Type: String
	// Required: no
	// <li>blueprint-name</li>Filter by **image name**.
	// Type: String
	// Required: no
	// <li>blueprint-state</li>Filter by **image status**.
	// Type: String
	// Required: no
	//
	// Each request can contain up to 10 `Filters` and 5 `Filter.Values`. `BlueprintIds` and `Filters` cannot be specified at the same time.
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribeResetInstanceBlueprintsResponse

type DescribeResetInstanceBlueprintsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeResetInstanceBlueprintsResponseParams `json:"Response"`
}

func NewDescribeResetInstanceBlueprintsResponse

func NewDescribeResetInstanceBlueprintsResponse() (response *DescribeResetInstanceBlueprintsResponse)

func (*DescribeResetInstanceBlueprintsResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeResetInstanceBlueprintsResponse) ToJsonString

type DescribeResetInstanceBlueprintsResponseParams

type DescribeResetInstanceBlueprintsResponseParams struct {
	// Number of eligible images.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Image reset information list
	ResetInstanceBlueprintSet []*ResetInstanceBlueprint `json:"ResetInstanceBlueprintSet,omitnil,omitempty" name:"ResetInstanceBlueprintSet"`

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

Predefined struct for user

type DescribeScenesRequest

type DescribeScenesRequest struct {
	*tchttp.BaseRequest

	// List of scene IDs
	SceneIds []*string `json:"SceneIds,omitnil,omitempty" name:"SceneIds"`

	// Offset. Default value: 0
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of returned results. Default value: 20. Maximum value: 100
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewDescribeScenesRequest

func NewDescribeScenesRequest() (request *DescribeScenesRequest)

func (*DescribeScenesRequest) FromJsonString

func (r *DescribeScenesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeScenesRequest) ToJsonString

func (r *DescribeScenesRequest) ToJsonString() string

type DescribeScenesRequestParams

type DescribeScenesRequestParams struct {
	// List of scene IDs
	SceneIds []*string `json:"SceneIds,omitnil,omitempty" name:"SceneIds"`

	// Offset. Default value: 0
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of returned results. Default value: 20. Maximum value: 100
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribeScenesResponse

type DescribeScenesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeScenesResponseParams `json:"Response"`
}

func NewDescribeScenesResponse

func NewDescribeScenesResponse() (response *DescribeScenesResponse)

func (*DescribeScenesResponse) FromJsonString

func (r *DescribeScenesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeScenesResponse) ToJsonString

func (r *DescribeScenesResponse) ToJsonString() string

type DescribeScenesResponseParams

type DescribeScenesResponseParams struct {
	// List of scenes
	SceneSet []*Scene `json:"SceneSet,omitnil,omitempty" name:"SceneSet"`

	// Total number of scenes
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

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

Predefined struct for user

type DescribeSnapshotsDeniedActionsRequest

type DescribeSnapshotsDeniedActionsRequest struct {
	*tchttp.BaseRequest

	// Snapshot ID list, which can be queried through `DescribeSnapshots`.
	SnapshotIds []*string `json:"SnapshotIds,omitnil,omitempty" name:"SnapshotIds"`
}

func NewDescribeSnapshotsDeniedActionsRequest

func NewDescribeSnapshotsDeniedActionsRequest() (request *DescribeSnapshotsDeniedActionsRequest)

func (*DescribeSnapshotsDeniedActionsRequest) FromJsonString

func (r *DescribeSnapshotsDeniedActionsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeSnapshotsDeniedActionsRequest) ToJsonString

type DescribeSnapshotsDeniedActionsRequestParams

type DescribeSnapshotsDeniedActionsRequestParams struct {
	// Snapshot ID list, which can be queried through `DescribeSnapshots`.
	SnapshotIds []*string `json:"SnapshotIds,omitnil,omitempty" name:"SnapshotIds"`
}

Predefined struct for user

type DescribeSnapshotsDeniedActionsResponse

type DescribeSnapshotsDeniedActionsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeSnapshotsDeniedActionsResponseParams `json:"Response"`
}

func NewDescribeSnapshotsDeniedActionsResponse

func NewDescribeSnapshotsDeniedActionsResponse() (response *DescribeSnapshotsDeniedActionsResponse)

func (*DescribeSnapshotsDeniedActionsResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeSnapshotsDeniedActionsResponse) ToJsonString

type DescribeSnapshotsDeniedActionsResponseParams

type DescribeSnapshotsDeniedActionsResponseParams struct {
	// List of snapshot operation limit details.
	SnapshotDeniedActionSet []*SnapshotDeniedActions `json:"SnapshotDeniedActionSet,omitnil,omitempty" name:"SnapshotDeniedActionSet"`

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

Predefined struct for user

type DescribeSnapshotsRequest

type DescribeSnapshotsRequest struct {
	*tchttp.BaseRequest

	// List of IDs of snapshots to be queried.
	// You cannot specify `SnapshotIds` and `Filters` at the same time.
	SnapshotIds []*string `json:"SnapshotIds,omitnil,omitempty" name:"SnapshotIds"`

	// Filter list.
	// <li>snapshot-id</li>Filter by **snapshot ID**.
	// Type: String
	// Required: no
	// <li>disk-id</li>Filter by **disk ID**.
	// Type: String
	// Required: no
	// <li>snapshot-name</li>Filter by **snapshot name**.
	// Type: String
	// Required: no
	// <li>instance-id</li>Filter by **instance ID**.
	// Type: String
	// Required: no
	// Each request can contain up to 10 `Filters` and 5 `Filter.Values`. You cannot specify both `SnapshotIds` and `Filters` at the same time.
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of returned results. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

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 DescribeSnapshotsRequestParams

type DescribeSnapshotsRequestParams struct {
	// List of IDs of snapshots to be queried.
	// You cannot specify `SnapshotIds` and `Filters` at the same time.
	SnapshotIds []*string `json:"SnapshotIds,omitnil,omitempty" name:"SnapshotIds"`

	// Filter list.
	// <li>snapshot-id</li>Filter by **snapshot ID**.
	// Type: String
	// Required: no
	// <li>disk-id</li>Filter by **disk ID**.
	// Type: String
	// Required: no
	// <li>snapshot-name</li>Filter by **snapshot name**.
	// Type: String
	// Required: no
	// <li>instance-id</li>Filter by **instance ID**.
	// Type: String
	// Required: no
	// Each request can contain up to 10 `Filters` and 5 `Filter.Values`. You cannot specify both `SnapshotIds` and `Filters` at the same time.
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// Offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of returned results. Default value: 20. Maximum value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribeSnapshotsResponse

type DescribeSnapshotsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeSnapshotsResponseParams `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 DescribeSnapshotsResponseParams

type DescribeSnapshotsResponseParams struct {
	// Number of snapshots.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// List of snapshot details.
	SnapshotSet []*Snapshot `json:"SnapshotSet,omitnil,omitempty" name:"SnapshotSet"`

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

Predefined struct for user

type DescribeZonesRequest

type DescribeZonesRequest struct {
	*tchttp.BaseRequest

	// Sorting field. Valid values:
	// <li>`ZONE`: Sort by the availability zone.
	// <li>`INSTANCE_DISPLAY_LABEL`: Sort by visibility labels (`HIDDEN`, `NORMAL` and `SELECTED`). Default: ['HIDDEN', 'NORMAL', 'SELECTED'].
	// The default value is `ZONE`.
	OrderField *string `json:"OrderField,omitnil,omitempty" name:"OrderField"`

	// Specifies how availability zones are listed. Valid values:
	// <li>ASC: Ascending sort.
	// <li>DESC: Descending sort.
	// The default value is `ASC`.
	Order *string `json:"Order,omitnil,omitempty" name:"Order"`
}

func NewDescribeZonesRequest

func NewDescribeZonesRequest() (request *DescribeZonesRequest)

func (*DescribeZonesRequest) FromJsonString

func (r *DescribeZonesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeZonesRequest) ToJsonString

func (r *DescribeZonesRequest) ToJsonString() string

type DescribeZonesRequestParams

type DescribeZonesRequestParams struct {
	// Sorting field. Valid values:
	// <li>`ZONE`: Sort by the availability zone.
	// <li>`INSTANCE_DISPLAY_LABEL`: Sort by visibility labels (`HIDDEN`, `NORMAL` and `SELECTED`). Default: ['HIDDEN', 'NORMAL', 'SELECTED'].
	// The default value is `ZONE`.
	OrderField *string `json:"OrderField,omitnil,omitempty" name:"OrderField"`

	// Specifies how availability zones are listed. Valid values:
	// <li>ASC: Ascending sort.
	// <li>DESC: Descending sort.
	// The default value is `ASC`.
	Order *string `json:"Order,omitnil,omitempty" name:"Order"`
}

Predefined struct for user

type DescribeZonesResponse

type DescribeZonesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeZonesResponseParams `json:"Response"`
}

func NewDescribeZonesResponse

func NewDescribeZonesResponse() (response *DescribeZonesResponse)

func (*DescribeZonesResponse) FromJsonString

func (r *DescribeZonesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeZonesResponse) ToJsonString

func (r *DescribeZonesResponse) ToJsonString() string

type DescribeZonesResponseParams

type DescribeZonesResponseParams struct {
	// Number of AZs
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// List of AZ details
	ZoneInfoSet []*ZoneInfo `json:"ZoneInfoSet,omitnil,omitempty" name:"ZoneInfoSet"`

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

Predefined struct for user

type DetachCcnRequest

type DetachCcnRequest struct {
	*tchttp.BaseRequest

	// CCN instance ID.
	CcnId *string `json:"CcnId,omitnil,omitempty" name:"CcnId"`
}

func NewDetachCcnRequest

func NewDetachCcnRequest() (request *DetachCcnRequest)

func (*DetachCcnRequest) FromJsonString

func (r *DetachCcnRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DetachCcnRequest) ToJsonString

func (r *DetachCcnRequest) ToJsonString() string

type DetachCcnRequestParams

type DetachCcnRequestParams struct {
	// CCN instance ID.
	CcnId *string `json:"CcnId,omitnil,omitempty" name:"CcnId"`
}

Predefined struct for user

type DetachCcnResponse

type DetachCcnResponse struct {
	*tchttp.BaseResponse
	Response *DetachCcnResponseParams `json:"Response"`
}

func NewDetachCcnResponse

func NewDetachCcnResponse() (response *DetachCcnResponse)

func (*DetachCcnResponse) FromJsonString

func (r *DetachCcnResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DetachCcnResponse) ToJsonString

func (r *DetachCcnResponse) ToJsonString() string

type DetachCcnResponseParams

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

Predefined struct for user

type DetachDisksRequest

type DetachDisksRequest struct {
	*tchttp.BaseRequest

	// List of cloud disk IDs.
	DiskIds []*string `json:"DiskIds,omitnil,omitempty" name:"DiskIds"`
}

func NewDetachDisksRequest

func NewDetachDisksRequest() (request *DetachDisksRequest)

func (*DetachDisksRequest) FromJsonString

func (r *DetachDisksRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DetachDisksRequest) ToJsonString

func (r *DetachDisksRequest) ToJsonString() string

type DetachDisksRequestParams

type DetachDisksRequestParams struct {
	// List of cloud disk IDs.
	DiskIds []*string `json:"DiskIds,omitnil,omitempty" name:"DiskIds"`
}

Predefined struct for user

type DetachDisksResponse

type DetachDisksResponse struct {
	*tchttp.BaseResponse
	Response *DetachDisksResponseParams `json:"Response"`
}

func NewDetachDisksResponse

func NewDetachDisksResponse() (response *DetachDisksResponse)

func (*DetachDisksResponse) FromJsonString

func (r *DetachDisksResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DetachDisksResponse) ToJsonString

func (r *DetachDisksResponse) ToJsonString() string

type DetachDisksResponseParams

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

Predefined struct for user

type DetailPrice

type DetailPrice struct {
	// Values:
	// <li>"DiskSpace": Cloud disk space</li>
	// <li>"DiskBackupQuota": Cloud disk backups</li>
	PriceName *string `json:"PriceName,omitnil,omitempty" name:"PriceName"`

	// Official unit price of the billable item
	OriginUnitPrice *float64 `json:"OriginUnitPrice,omitnil,omitempty" name:"OriginUnitPrice"`

	// Official total price of the billable item
	OriginalPrice *float64 `json:"OriginalPrice,omitnil,omitempty" name:"OriginalPrice"`

	// Discount of the billable item
	Discount *float64 `json:"Discount,omitnil,omitempty" name:"Discount"`

	// Discounted total price of the billable item
	DiscountPrice *float64 `json:"DiscountPrice,omitnil,omitempty" name:"DiscountPrice"`
}

type DisassociateInstancesKeyPairsRequest

type DisassociateInstancesKeyPairsRequest struct {
	*tchttp.BaseRequest

	// Key pair ID list. Each request can contain up to 100 key pairs.
	KeyIds []*string `json:"KeyIds,omitnil,omitempty" name:"KeyIds"`

	// Instance ID list. Each request can contain up to 100 instances at a time. You can get an instance ID from the `InstanceId` returned by the [DescribeInstances](https://intl.cloud.tencent.com/document/api/1207/47573?from_cn_redirect=1) API.
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`
}

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 DisassociateInstancesKeyPairsRequestParams

type DisassociateInstancesKeyPairsRequestParams struct {
	// Key pair ID list. Each request can contain up to 100 key pairs.
	KeyIds []*string `json:"KeyIds,omitnil,omitempty" name:"KeyIds"`

	// Instance ID list. Each request can contain up to 100 instances at a time. You can get an instance ID from the `InstanceId` returned by the [DescribeInstances](https://intl.cloud.tencent.com/document/api/1207/47573?from_cn_redirect=1) API.
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`
}

Predefined struct for user

type DisassociateInstancesKeyPairsResponse

type DisassociateInstancesKeyPairsResponse struct {
	*tchttp.BaseResponse
	Response *DisassociateInstancesKeyPairsResponseParams `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 DisassociateInstancesKeyPairsResponseParams

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

Predefined struct for user

type DiscountDetail

type DiscountDetail struct {
	// Billing duration.
	TimeSpan *int64 `json:"TimeSpan,omitnil,omitempty" name:"TimeSpan"`

	// Billing unit.
	TimeUnit *string `json:"TimeUnit,omitnil,omitempty" name:"TimeUnit"`

	// Total price.
	TotalCost *float64 `json:"TotalCost,omitnil,omitempty" name:"TotalCost"`

	// Discounted total price.
	RealTotalCost *float64 `json:"RealTotalCost,omitnil,omitempty" name:"RealTotalCost"`

	// Discount.
	Discount *int64 `json:"Discount,omitnil,omitempty" name:"Discount"`

	// Discount details.
	PolicyDetail *PolicyDetail `json:"PolicyDetail,omitnil,omitempty" name:"PolicyDetail"`
}

type Disk

type Disk struct {
	// Disk ID
	DiskId *string `json:"DiskId,omitnil,omitempty" name:"DiskId"`

	// Instance ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Availability zone
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// Disk name
	DiskName *string `json:"DiskName,omitnil,omitempty" name:"DiskName"`

	// Disk type
	DiskUsage *string `json:"DiskUsage,omitnil,omitempty" name:"DiskUsage"`

	// Disk media type
	DiskType *string `json:"DiskType,omitnil,omitempty" name:"DiskType"`

	// Disk payment type
	DiskChargeType *string `json:"DiskChargeType,omitnil,omitempty" name:"DiskChargeType"`

	// Disk size
	DiskSize *int64 `json:"DiskSize,omitnil,omitempty" name:"DiskSize"`

	// Renewal flag
	RenewFlag *string `json:"RenewFlag,omitnil,omitempty" name:"RenewFlag"`

	// Disk status. Values:
	// <li>`PENDING`: Creating</li>
	// <li>`UNATTACHED`: Not attached</li>
	// <li>`ATTACHING`: Attaching</li>
	// <li>`ATTACHED`: Attached</li>
	// <li>`DETACHING`: Detaching</li>
	// <li>`SHUTDOWN`: Isolated</li>
	// <li>`CREATED_FAILED`: Failed to create</li>
	// <li>`TERMINATING`: Terminating</li>
	// <li>`DELETING`: Deleting</li>
	// <li>`FREEZING`: Freezing</li>
	DiskState *string `json:"DiskState,omitnil,omitempty" name:"DiskState"`

	// Whether the disk is attached to an instance
	Attached *bool `json:"Attached,omitnil,omitempty" name:"Attached"`

	// Whether to release the disk along with the instance
	DeleteWithInstance *bool `json:"DeleteWithInstance,omitnil,omitempty" name:"DeleteWithInstance"`

	// Last operation
	LatestOperation *string `json:"LatestOperation,omitnil,omitempty" name:"LatestOperation"`

	// Last operation status
	LatestOperationState *string `json:"LatestOperationState,omitnil,omitempty" name:"LatestOperationState"`

	// Last request ID
	LatestOperationRequestId *string `json:"LatestOperationRequestId,omitnil,omitempty" name:"LatestOperationRequestId"`

	// Creation time according to ISO 8601 standard. UTC time is used.
	// Format: YYYY-MM-DDThh:mm:ssZ.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	CreatedTime *string `json:"CreatedTime,omitnil,omitempty" name:"CreatedTime"`

	// Expiration time according to ISO 8601 standard. UTC time is used.
	// Format: YYYY-MM-DDThh:mm:ssZ.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ExpiredTime *string `json:"ExpiredTime,omitnil,omitempty" name:"ExpiredTime"`

	// Isolation time according to ISO 8601 standard. UTC time is used.
	// Format: YYYY-MM-DDThh:mm:ssZ.
	// Note: This field may return null, indicating that no valid values can be obtained.
	IsolatedTime *string `json:"IsolatedTime,omitnil,omitempty" name:"IsolatedTime"`

	// Total disk backups
	DiskBackupCount *int64 `json:"DiskBackupCount,omitnil,omitempty" name:"DiskBackupCount"`

	// Disk backup quota
	DiskBackupQuota *int64 `json:"DiskBackupQuota,omitnil,omitempty" name:"DiskBackupQuota"`
}

type DiskChargePrepaid

type DiskChargePrepaid struct {
	// Purchase duration.
	Period *int64 `json:"Period,omitnil,omitempty" name:"Period"`

	// Auto-Renewal flag. Valid values:
	//
	// `NOTIFY_AND_AUTO_RENEW`: Trigger expiration notification and renew automatically
	// `NOTIFY_AND_MANUAL_RENEW`: Trigger expiration notification but do not renew
	// `u200cDISABLE_NOTIFY_AND_AUTO_RENEW`: Neither trigger expiration notification nor renew
	//
	// Default: `NOTIFY_AND_MANUAL_RENEW`. If `NOTIFY_AND_AUTO_RENEW` is specified, the instance is automatically renewed on a monthly basis when the account balance is sufficient.
	RenewFlag *string `json:"RenewFlag,omitnil,omitempty" name:"RenewFlag"`

	// Purchase duration unit. Default value: "m" (month)
	TimeUnit *string `json:"TimeUnit,omitnil,omitempty" name:"TimeUnit"`
}

type DiskConfig

type DiskConfig struct {
	// Availability zone.
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// Cloud disk type.
	DiskType *string `json:"DiskType,omitnil,omitempty" name:"DiskType"`

	// Cloud disk sale status.
	DiskSalesState *string `json:"DiskSalesState,omitnil,omitempty" name:"DiskSalesState"`

	// Maximum cloud disk size.
	MaxDiskSize *int64 `json:"MaxDiskSize,omitnil,omitempty" name:"MaxDiskSize"`

	// Minimum cloud disk size.
	MinDiskSize *int64 `json:"MinDiskSize,omitnil,omitempty" name:"MinDiskSize"`

	// Cloud disk increment.
	DiskStepSize *int64 `json:"DiskStepSize,omitnil,omitempty" name:"DiskStepSize"`
}

type DiskDeniedActions

type DiskDeniedActions struct {
	// Cloud disk ID.
	DiskId *string `json:"DiskId,omitnil,omitempty" name:"DiskId"`

	// List of operation limits.
	DeniedActions []*DeniedAction `json:"DeniedActions,omitnil,omitempty" name:"DeniedActions"`
}

type DiskPrice

type DiskPrice struct {
	// Cloud disk unit price.
	OriginalDiskPrice *float64 `json:"OriginalDiskPrice,omitnil,omitempty" name:"OriginalDiskPrice"`

	// Total cloud disk price.
	OriginalPrice *float64 `json:"OriginalPrice,omitnil,omitempty" name:"OriginalPrice"`

	// Discount.
	Discount *float64 `json:"Discount,omitnil,omitempty" name:"Discount"`

	// Discounted total price.
	DiscountPrice *float64 `json:"DiscountPrice,omitnil,omitempty" name:"DiscountPrice"`

	// Detailed billing items
	DetailPrices []*DetailPrice `json:"DetailPrices,omitnil,omitempty" name:"DetailPrices"`
}

type DiskReturnable

type DiskReturnable struct {
	// Cloud disk ID.
	DiskId *string `json:"DiskId,omitnil,omitempty" name:"DiskId"`

	// Whether the cloud disk can be returned.
	IsReturnable *bool `json:"IsReturnable,omitnil,omitempty" name:"IsReturnable"`

	// Error code of cloud disk return failure.
	ReturnFailCode *int64 `json:"ReturnFailCode,omitnil,omitempty" name:"ReturnFailCode"`

	// Error message of cloud disk return failure.
	ReturnFailMessage *string `json:"ReturnFailMessage,omitnil,omitempty" name:"ReturnFailMessage"`
}

type DockerContainerConfiguration

type DockerContainerConfiguration struct {
	// Container image address
	ContainerImage *string `json:"ContainerImage,omitnil,omitempty" name:"ContainerImage"`

	// Container name
	ContainerName *string `json:"ContainerName,omitnil,omitempty" name:"ContainerName"`

	// List of environment variables
	Envs []*ContainerEnv `json:"Envs,omitnil,omitempty" name:"Envs"`

	// List of mappings of container ports and host ports
	PublishPorts []*DockerContainerPublishPort `json:"PublishPorts,omitnil,omitempty" name:"PublishPorts"`

	// List of container mount volumes
	Volumes []*DockerContainerVolume `json:"Volumes,omitnil,omitempty" name:"Volumes"`

	// The command to run
	Command *string `json:"Command,omitnil,omitempty" name:"Command"`
}

type DockerContainerPublishPort

type DockerContainerPublishPort struct {
	// Host port
	HostPort *int64 `json:"HostPort,omitnil,omitempty" name:"HostPort"`

	// Container port
	ContainerPort *int64 `json:"ContainerPort,omitnil,omitempty" name:"ContainerPort"`

	// External IP. It defaults to 0.0.0.0.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"`

	// The protocol defaults to `tcp`. Valid values: `tcp`, `udp` and `sctp`.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"`
}

type DockerContainerVolume

type DockerContainerVolume struct {
	// Container path
	ContainerPath *string `json:"ContainerPath,omitnil,omitempty" name:"ContainerPath"`

	// Host path
	HostPath *string `json:"HostPath,omitnil,omitempty" name:"HostPath"`
}

type Filter

type Filter struct {
	// Field to be filtered.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Filter value of field.
	Values []*string `json:"Values,omitnil,omitempty" name:"Values"`
}

type FirewallRule

type FirewallRule struct {
	// Protocol. Valid values: TCP, UDP, ICMP, ALL.
	Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"`

	// Port. Valid values: ALL, one single port, multiple ports separated by commas, or port range indicated by a minus sign
	Port *string `json:"Port,omitnil,omitempty" name:"Port"`

	// IP range or IP (mutually exclusive). Default value: 0.0.0.0/0, which indicates all sources.
	CidrBlock *string `json:"CidrBlock,omitnil,omitempty" name:"CidrBlock"`

	// Valid values: ACCEPT, DROP. Default value: ACCEPT.
	Action *string `json:"Action,omitnil,omitempty" name:"Action"`

	// Firewall rule description.
	FirewallRuleDescription *string `json:"FirewallRuleDescription,omitnil,omitempty" name:"FirewallRuleDescription"`
}

type FirewallRuleInfo

type FirewallRuleInfo struct {
	// Application type. Valid values: custom, HTTP (80), HTTPS (443), Linux login (22), Windows login (3389), MySQL (3306), SQL Server (1433), all TCP ports, all UDP ports, Ping-ICMP, ALL.
	AppType *string `json:"AppType,omitnil,omitempty" name:"AppType"`

	// Protocol. Valid values: TCP, UDP, ICMP, ALL.
	Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"`

	// Port. Valid values: ALL, one single port, multiple ports separated by commas, or port range indicated by a minus sign
	Port *string `json:"Port,omitnil,omitempty" name:"Port"`

	// IP range or IP (mutually exclusive). Default value: 0.0.0.0/0, which indicates all sources.
	CidrBlock *string `json:"CidrBlock,omitnil,omitempty" name:"CidrBlock"`

	// Valid values: ACCEPT, DROP. Default value: ACCEPT.
	Action *string `json:"Action,omitnil,omitempty" name:"Action"`

	// Firewall rule description.
	FirewallRuleDescription *string `json:"FirewallRuleDescription,omitnil,omitempty" name:"FirewallRuleDescription"`
}

type GeneralResourceQuota

type GeneralResourceQuota struct {
	// Resource name.
	ResourceName *string `json:"ResourceName,omitnil,omitempty" name:"ResourceName"`

	// Number of available resources.
	ResourceQuotaAvailable *int64 `json:"ResourceQuotaAvailable,omitnil,omitempty" name:"ResourceQuotaAvailable"`

	// Total number of resources.
	ResourceQuotaTotal *int64 `json:"ResourceQuotaTotal,omitnil,omitempty" name:"ResourceQuotaTotal"`
}

type ImportKeyPairRequest

type ImportKeyPairRequest struct {
	*tchttp.BaseRequest

	// Key pair name, which can contain up to 25 digits, letters, and underscores.
	KeyName *string `json:"KeyName,omitnil,omitempty" name:"KeyName"`

	// Public key content of the key pair, which is in the OpenSSH RSA format.
	PublicKey *string `json:"PublicKey,omitnil,omitempty" name:"PublicKey"`
}

func NewImportKeyPairRequest

func NewImportKeyPairRequest() (request *ImportKeyPairRequest)

func (*ImportKeyPairRequest) FromJsonString

func (r *ImportKeyPairRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ImportKeyPairRequest) ToJsonString

func (r *ImportKeyPairRequest) ToJsonString() string

type ImportKeyPairRequestParams

type ImportKeyPairRequestParams struct {
	// Key pair name, which can contain up to 25 digits, letters, and underscores.
	KeyName *string `json:"KeyName,omitnil,omitempty" name:"KeyName"`

	// Public key content of the key pair, which is in the OpenSSH RSA format.
	PublicKey *string `json:"PublicKey,omitnil,omitempty" name:"PublicKey"`
}

Predefined struct for user

type ImportKeyPairResponse

type ImportKeyPairResponse struct {
	*tchttp.BaseResponse
	Response *ImportKeyPairResponseParams `json:"Response"`
}

func NewImportKeyPairResponse

func NewImportKeyPairResponse() (response *ImportKeyPairResponse)

func (*ImportKeyPairResponse) FromJsonString

func (r *ImportKeyPairResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ImportKeyPairResponse) ToJsonString

func (r *ImportKeyPairResponse) ToJsonString() string

type ImportKeyPairResponseParams

type ImportKeyPairResponseParams struct {
	// Key pair ID.
	KeyId *string `json:"KeyId,omitnil,omitempty" name:"KeyId"`

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

Predefined struct for user

type InquirePriceCreateBlueprintRequest

type InquirePriceCreateBlueprintRequest struct {
	*tchttp.BaseRequest

	// Number of custom images. Default value: 1.
	BlueprintCount *int64 `json:"BlueprintCount,omitnil,omitempty" name:"BlueprintCount"`
}

func NewInquirePriceCreateBlueprintRequest

func NewInquirePriceCreateBlueprintRequest() (request *InquirePriceCreateBlueprintRequest)

func (*InquirePriceCreateBlueprintRequest) FromJsonString

func (r *InquirePriceCreateBlueprintRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*InquirePriceCreateBlueprintRequest) ToJsonString

func (r *InquirePriceCreateBlueprintRequest) ToJsonString() string

type InquirePriceCreateBlueprintRequestParams

type InquirePriceCreateBlueprintRequestParams struct {
	// Number of custom images. Default value: 1.
	BlueprintCount *int64 `json:"BlueprintCount,omitnil,omitempty" name:"BlueprintCount"`
}

Predefined struct for user

type InquirePriceCreateBlueprintResponse

type InquirePriceCreateBlueprintResponse struct {
	*tchttp.BaseResponse
	Response *InquirePriceCreateBlueprintResponseParams `json:"Response"`
}

func NewInquirePriceCreateBlueprintResponse

func NewInquirePriceCreateBlueprintResponse() (response *InquirePriceCreateBlueprintResponse)

func (*InquirePriceCreateBlueprintResponse) FromJsonString

func (r *InquirePriceCreateBlueprintResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*InquirePriceCreateBlueprintResponse) ToJsonString

func (r *InquirePriceCreateBlueprintResponse) ToJsonString() string

type InquirePriceCreateBlueprintResponseParams

type InquirePriceCreateBlueprintResponseParams struct {
	// Custom image price.
	BlueprintPrice *BlueprintPrice `json:"BlueprintPrice,omitnil,omitempty" name:"BlueprintPrice"`

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

Predefined struct for user

type InquirePriceCreateDisksRequest

type InquirePriceCreateDisksRequest struct {
	*tchttp.BaseRequest

	// Cloud disk size in GB.
	DiskSize *int64 `json:"DiskSize,omitnil,omitempty" name:"DiskSize"`

	// Cloud disk media type. Valid values: "CLOUD_PREMIUM" (premium cloud storage), "CLOUD_SSD" (SSD cloud disk).
	DiskType *string `json:"DiskType,omitnil,omitempty" name:"DiskType"`

	// Parameter settings for purchasing the monthly subscribed cloud disk.
	DiskChargePrepaid *DiskChargePrepaid `json:"DiskChargePrepaid,omitnil,omitempty" name:"DiskChargePrepaid"`

	// Number of cloud disks. Default value: 1.
	DiskCount *int64 `json:"DiskCount,omitnil,omitempty" name:"DiskCount"`

	// Specify the quota of disk backups. No quota if it’s left empty. Only one quota is allowed.
	DiskBackupQuota *int64 `json:"DiskBackupQuota,omitnil,omitempty" name:"DiskBackupQuota"`
}

func NewInquirePriceCreateDisksRequest

func NewInquirePriceCreateDisksRequest() (request *InquirePriceCreateDisksRequest)

func (*InquirePriceCreateDisksRequest) FromJsonString

func (r *InquirePriceCreateDisksRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*InquirePriceCreateDisksRequest) ToJsonString

func (r *InquirePriceCreateDisksRequest) ToJsonString() string

type InquirePriceCreateDisksRequestParams

type InquirePriceCreateDisksRequestParams struct {
	// Cloud disk size in GB.
	DiskSize *int64 `json:"DiskSize,omitnil,omitempty" name:"DiskSize"`

	// Cloud disk media type. Valid values: "CLOUD_PREMIUM" (premium cloud storage), "CLOUD_SSD" (SSD cloud disk).
	DiskType *string `json:"DiskType,omitnil,omitempty" name:"DiskType"`

	// Parameter settings for purchasing the monthly subscribed cloud disk.
	DiskChargePrepaid *DiskChargePrepaid `json:"DiskChargePrepaid,omitnil,omitempty" name:"DiskChargePrepaid"`

	// Number of cloud disks. Default value: 1.
	DiskCount *int64 `json:"DiskCount,omitnil,omitempty" name:"DiskCount"`

	// Specify the quota of disk backups. No quota if it’s left empty. Only one quota is allowed.
	DiskBackupQuota *int64 `json:"DiskBackupQuota,omitnil,omitempty" name:"DiskBackupQuota"`
}

Predefined struct for user

type InquirePriceCreateDisksResponse

type InquirePriceCreateDisksResponse struct {
	*tchttp.BaseResponse
	Response *InquirePriceCreateDisksResponseParams `json:"Response"`
}

func NewInquirePriceCreateDisksResponse

func NewInquirePriceCreateDisksResponse() (response *InquirePriceCreateDisksResponse)

func (*InquirePriceCreateDisksResponse) FromJsonString

func (r *InquirePriceCreateDisksResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*InquirePriceCreateDisksResponse) ToJsonString

func (r *InquirePriceCreateDisksResponse) ToJsonString() string

type InquirePriceCreateDisksResponseParams

type InquirePriceCreateDisksResponseParams struct {
	// Cloud disk price.
	DiskPrice *DiskPrice `json:"DiskPrice,omitnil,omitempty" name:"DiskPrice"`

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

Predefined struct for user

type InquirePriceCreateInstancesRequest

type InquirePriceCreateInstancesRequest struct {
	*tchttp.BaseRequest

	// Instance package ID.
	BundleId *string `json:"BundleId,omitnil,omitempty" name:"BundleId"`

	// Parameter setting for prepaid mode. This parameter can specify the purchase period, whether to enable auto-renewal, and other attributes of the monthly subscribed instances.
	InstanceChargePrepaid *InstanceChargePrepaid `json:"InstanceChargePrepaid,omitnil,omitempty" name:"InstanceChargePrepaid"`

	// Number of instances to be created. Default value: 1.
	InstanceCount *int64 `json:"InstanceCount,omitnil,omitempty" name:"InstanceCount"`

	// Application image ID, which is required if a paid application image is used and can be obtained from the `BlueprintId` returned by the [DescribeBlueprints](https://intl.cloud.tencent.com/document/product/1207/47689?from_cn_redirect=1) API.
	BlueprintId *string `json:"BlueprintId,omitnil,omitempty" name:"BlueprintId"`
}

func NewInquirePriceCreateInstancesRequest

func NewInquirePriceCreateInstancesRequest() (request *InquirePriceCreateInstancesRequest)

func (*InquirePriceCreateInstancesRequest) FromJsonString

func (r *InquirePriceCreateInstancesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*InquirePriceCreateInstancesRequest) ToJsonString

func (r *InquirePriceCreateInstancesRequest) ToJsonString() string

type InquirePriceCreateInstancesRequestParams

type InquirePriceCreateInstancesRequestParams struct {
	// Instance package ID.
	BundleId *string `json:"BundleId,omitnil,omitempty" name:"BundleId"`

	// Parameter setting for prepaid mode. This parameter can specify the purchase period, whether to enable auto-renewal, and other attributes of the monthly subscribed instances.
	InstanceChargePrepaid *InstanceChargePrepaid `json:"InstanceChargePrepaid,omitnil,omitempty" name:"InstanceChargePrepaid"`

	// Number of instances to be created. Default value: 1.
	InstanceCount *int64 `json:"InstanceCount,omitnil,omitempty" name:"InstanceCount"`

	// Application image ID, which is required if a paid application image is used and can be obtained from the `BlueprintId` returned by the [DescribeBlueprints](https://intl.cloud.tencent.com/document/product/1207/47689?from_cn_redirect=1) API.
	BlueprintId *string `json:"BlueprintId,omitnil,omitempty" name:"BlueprintId"`
}

Predefined struct for user

type InquirePriceCreateInstancesResponse

type InquirePriceCreateInstancesResponse struct {
	*tchttp.BaseResponse
	Response *InquirePriceCreateInstancesResponseParams `json:"Response"`
}

func NewInquirePriceCreateInstancesResponse

func NewInquirePriceCreateInstancesResponse() (response *InquirePriceCreateInstancesResponse)

func (*InquirePriceCreateInstancesResponse) FromJsonString

func (r *InquirePriceCreateInstancesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*InquirePriceCreateInstancesResponse) ToJsonString

func (r *InquirePriceCreateInstancesResponse) ToJsonString() string

type InquirePriceCreateInstancesResponseParams

type InquirePriceCreateInstancesResponseParams struct {
	// Price query information.
	Price *Price `json:"Price,omitnil,omitempty" name:"Price"`

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

Predefined struct for user

type InquirePriceRenewDisksRequest

type InquirePriceRenewDisksRequest struct {
	*tchttp.BaseRequest

	// List of cloud disk IDs.
	DiskIds []*string `json:"DiskIds,omitnil,omitempty" name:"DiskIds"`

	// Parameter settings for renewing the monthly subscribed cloud disk.
	RenewDiskChargePrepaid *RenewDiskChargePrepaid `json:"RenewDiskChargePrepaid,omitnil,omitempty" name:"RenewDiskChargePrepaid"`
}

func NewInquirePriceRenewDisksRequest

func NewInquirePriceRenewDisksRequest() (request *InquirePriceRenewDisksRequest)

func (*InquirePriceRenewDisksRequest) FromJsonString

func (r *InquirePriceRenewDisksRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*InquirePriceRenewDisksRequest) ToJsonString

func (r *InquirePriceRenewDisksRequest) ToJsonString() string

type InquirePriceRenewDisksRequestParams

type InquirePriceRenewDisksRequestParams struct {
	// List of cloud disk IDs.
	DiskIds []*string `json:"DiskIds,omitnil,omitempty" name:"DiskIds"`

	// Parameter settings for renewing the monthly subscribed cloud disk.
	RenewDiskChargePrepaid *RenewDiskChargePrepaid `json:"RenewDiskChargePrepaid,omitnil,omitempty" name:"RenewDiskChargePrepaid"`
}

Predefined struct for user

type InquirePriceRenewDisksResponse

type InquirePriceRenewDisksResponse struct {
	*tchttp.BaseResponse
	Response *InquirePriceRenewDisksResponseParams `json:"Response"`
}

func NewInquirePriceRenewDisksResponse

func NewInquirePriceRenewDisksResponse() (response *InquirePriceRenewDisksResponse)

func (*InquirePriceRenewDisksResponse) FromJsonString

func (r *InquirePriceRenewDisksResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*InquirePriceRenewDisksResponse) ToJsonString

func (r *InquirePriceRenewDisksResponse) ToJsonString() string

type InquirePriceRenewDisksResponseParams

type InquirePriceRenewDisksResponseParams struct {
	// Cloud disk price.
	DiskPrice *DiskPrice `json:"DiskPrice,omitnil,omitempty" name:"DiskPrice"`

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

Predefined struct for user

type InquirePriceRenewInstancesRequest

type InquirePriceRenewInstancesRequest struct {
	*tchttp.BaseRequest

	// IDs of the instances to be renewed. Each request can contain up to 50 instances at a time. You can get an instance ID from the `InstanceId` returned by the [DescribeInstances](https://intl.cloud.tencent.com/document/api/1207/47573?from_cn_redirect=1) API.
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`

	// Parameter setting for prepaid mode. This parameter can specify the renewal period, whether to enable auto-renewal, and other attributes of the monthly subscribed instances.
	InstanceChargePrepaid *InstanceChargePrepaid `json:"InstanceChargePrepaid,omitnil,omitempty" name:"InstanceChargePrepaid"`

	// Whether to renew the data disk. Default: `false`.
	RenewDataDisk *bool `json:"RenewDataDisk,omitnil,omitempty" name:"RenewDataDisk"`

	// Whether to align the data disk expiration with the instance expiration time. Default: `false`.
	AlignInstanceExpiredTime *bool `json:"AlignInstanceExpiredTime,omitnil,omitempty" name:"AlignInstanceExpiredTime"`
}

func NewInquirePriceRenewInstancesRequest

func NewInquirePriceRenewInstancesRequest() (request *InquirePriceRenewInstancesRequest)

func (*InquirePriceRenewInstancesRequest) FromJsonString

func (r *InquirePriceRenewInstancesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*InquirePriceRenewInstancesRequest) ToJsonString

func (r *InquirePriceRenewInstancesRequest) ToJsonString() string

type InquirePriceRenewInstancesRequestParams

type InquirePriceRenewInstancesRequestParams struct {
	// IDs of the instances to be renewed. Each request can contain up to 50 instances at a time. You can get an instance ID from the `InstanceId` returned by the [DescribeInstances](https://intl.cloud.tencent.com/document/api/1207/47573?from_cn_redirect=1) API.
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`

	// Parameter setting for prepaid mode. This parameter can specify the renewal period, whether to enable auto-renewal, and other attributes of the monthly subscribed instances.
	InstanceChargePrepaid *InstanceChargePrepaid `json:"InstanceChargePrepaid,omitnil,omitempty" name:"InstanceChargePrepaid"`

	// Whether to renew the data disk. Default: `false`.
	RenewDataDisk *bool `json:"RenewDataDisk,omitnil,omitempty" name:"RenewDataDisk"`

	// Whether to align the data disk expiration with the instance expiration time. Default: `false`.
	AlignInstanceExpiredTime *bool `json:"AlignInstanceExpiredTime,omitnil,omitempty" name:"AlignInstanceExpiredTime"`
}

Predefined struct for user

type InquirePriceRenewInstancesResponse

type InquirePriceRenewInstancesResponse struct {
	*tchttp.BaseResponse
	Response *InquirePriceRenewInstancesResponseParams `json:"Response"`
}

func NewInquirePriceRenewInstancesResponse

func NewInquirePriceRenewInstancesResponse() (response *InquirePriceRenewInstancesResponse)

func (*InquirePriceRenewInstancesResponse) FromJsonString

func (r *InquirePriceRenewInstancesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*InquirePriceRenewInstancesResponse) ToJsonString

func (r *InquirePriceRenewInstancesResponse) ToJsonString() string

type InquirePriceRenewInstancesResponseParams

type InquirePriceRenewInstancesResponseParams struct {
	// Price information. It defaults to the price information of the first instance in the list.
	Price *Price `json:"Price,omitnil,omitempty" name:"Price"`

	// List of data disk price information.
	// Note: This field may return null, indicating that no valid values can be obtained.
	DataDiskPriceSet []*DataDiskPrice `json:"DataDiskPriceSet,omitnil,omitempty" name:"DataDiskPriceSet"`

	// Price list of the instances to be renewed.
	// Note: This field may return `null`, indicating that no valid value was found.
	InstancePriceDetailSet []*InstancePriceDetail `json:"InstancePriceDetailSet,omitnil,omitempty" name:"InstancePriceDetailSet"`

	// Total price
	TotalPrice *TotalPrice `json:"TotalPrice,omitnil,omitempty" name:"TotalPrice"`

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

Predefined struct for user

type Instance

type Instance struct {
	// Instance ID.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Package ID.
	BundleId *string `json:"BundleId,omitnil,omitempty" name:"BundleId"`

	// Image ID.
	BlueprintId *string `json:"BlueprintId,omitnil,omitempty" name:"BlueprintId"`

	// Number of instance CPU cores.
	CPU *int64 `json:"CPU,omitnil,omitempty" name:"CPU"`

	// Instance memory capacity in GB.
	Memory *int64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// Instance name.
	InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"`

	// Instance billing mode. Valid values:
	// PREPAID: prepaid (i.e., monthly subscription).
	InstanceChargeType *string `json:"InstanceChargeType,omitnil,omitempty" name:"InstanceChargeType"`

	// Instance system disk information.
	SystemDisk *SystemDisk `json:"SystemDisk,omitnil,omitempty" name:"SystemDisk"`

	// Private IP of instance primary ENI.
	// Note: this field may return null, indicating that no valid values can be obtained.
	PrivateAddresses []*string `json:"PrivateAddresses,omitnil,omitempty" name:"PrivateAddresses"`

	// Public IP of instance primary ENI.
	// Note: this field may return null, indicating that no valid values can be obtained.
	PublicAddresses []*string `json:"PublicAddresses,omitnil,omitempty" name:"PublicAddresses"`

	// Instance bandwidth information.
	InternetAccessible *InternetAccessible `json:"InternetAccessible,omitnil,omitempty" name:"InternetAccessible"`

	// Auto-Renewal flag. Valid values:
	// NOTIFY_AND_MANUAL_RENEW: notify upon expiration but do not renew automatically
	// NOTIFY_AND_AUTO_RENEW: notify upon expiration and renew automatically.
	RenewFlag *string `json:"RenewFlag,omitnil,omitempty" name:"RenewFlag"`

	// Instance login settings.
	LoginSettings *LoginSettings `json:"LoginSettings,omitnil,omitempty" name:"LoginSettings"`

	// Instance status. Valid values:
	// <li>PENDING: Creating</li><li>LAUNCH_FAILED: Failed to create</li><li>RUNNING: Running</li><li>STOPPED: Shut down</li><li>STARTING: Starting up</li><li>STOPPING: Shutting down</li><li>REBOOTING: Restarting</li><li>SHUTDOWN: Shutdown and to be terminated</li><li>TERMINATING: Terminating</li><li>DELETING: Deleting</li><li>FREEZING: Frozen</li><li>ENTER_RESCUE_MODE: Entering the rescue mode</li><li>RESCUE_MODE: Rescue mode</li><li>EXIT_RESCUE_MODE: Exiting from the rescue mode</li>
	InstanceState *string `json:"InstanceState,omitnil,omitempty" name:"InstanceState"`

	// Globally unique ID of instance.
	Uuid *string `json:"Uuid,omitnil,omitempty" name:"Uuid"`

	// Last instance operation, such as `StopInstances` and `ResetInstance`. Note: this field may return null, indicating that no valid values can be obtained.
	LatestOperation *string `json:"LatestOperation,omitnil,omitempty" name:"LatestOperation"`

	// Last instance operation status. Valid values:
	// SUCCESS: operation succeeded
	// OPERATING: the operation is being executed
	// FAILED: operation failed
	// Note: this field may return null, indicating that no valid values can be obtained.
	LatestOperationState *string `json:"LatestOperationState,omitnil,omitempty" name:"LatestOperationState"`

	// Unique request ID for the last operation of the instance.
	// Note: this field may return null, indicating that no valid values can be obtained.
	LatestOperationRequestId *string `json:"LatestOperationRequestId,omitnil,omitempty" name:"LatestOperationRequestId"`

	// Isolation time according to ISO 8601 standard. UTC time is used.
	// Format: YYYY-MM-DDThh:mm:ssZ.
	// Note: this field may return null, indicating that no valid values can be obtained.
	IsolatedTime *string `json:"IsolatedTime,omitnil,omitempty" name:"IsolatedTime"`

	// Creation time according to ISO 8601 standard. UTC time is used.
	// Format: YYYY-MM-DDThh:mm:ssZ.
	// Note: this field may return null, indicating that no valid values can be obtained.
	CreatedTime *string `json:"CreatedTime,omitnil,omitempty" name:"CreatedTime"`

	// Expiration time according to ISO 8601 standard. UTC time is used.
	// Format: YYYY-MM-DDThh:mm:ssZ.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ExpiredTime *string `json:"ExpiredTime,omitnil,omitempty" name:"ExpiredTime"`

	// OS type, such as LINUX_UNIX and WINDOWS.
	PlatformType *string `json:"PlatformType,omitnil,omitempty" name:"PlatformType"`

	// OS type.
	Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"`

	// OS name.
	OsName *string `json:"OsName,omitnil,omitempty" name:"OsName"`

	// AZ.
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// The list of tags associated with the instance
	Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"`

	// Obtain instance status
	// <li>NORMAL: The instance is normal</li><li>NETWORK_RESTRICT: The instance is blocked from the network.</li>
	InstanceRestrictState *string `json:"InstanceRestrictState,omitnil,omitempty" name:"InstanceRestrictState"`
}

type InstanceChargePrepaid

type InstanceChargePrepaid struct {
	// Subscription period in months. Valid values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36, 48, 60.
	Period *int64 `json:"Period,omitnil,omitempty" name:"Period"`

	// Auto-Renewal flag. Valid values: <br><li>NOTIFY_AND_AUTO_RENEW: notify upon expiration and renew automatically <br><li>NOTIFY_AND_MANUAL_RENEW: notify upon expiration but do not renew automatically. You need to manually renew <br><li>DISABLE_NOTIFY_AND_AUTO_RENEW: neither notify upon expiration nor renew automatically<br><br>Default value: NOTIFY_AND_MANUAL_RENEW. If this parameter is specified as `NOTIFY_AND_AUTO_RENEW`, the instance will be automatically renewed monthly if the account balance is sufficient.
	RenewFlag *string `json:"RenewFlag,omitnil,omitempty" name:"RenewFlag"`
}

type InstanceDeniedActions

type InstanceDeniedActions struct {
	// Instance ID.
	// Note: this field may return null, indicating that no valid values can be obtained.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// List of operation limits.
	DeniedActions []*DeniedAction `json:"DeniedActions,omitnil,omitempty" name:"DeniedActions"`
}

type InstancePrice

type InstancePrice struct {
	// Original package unit price.
	OriginalBundlePrice *float64 `json:"OriginalBundlePrice,omitnil,omitempty" name:"OriginalBundlePrice"`

	// Original price.
	OriginalPrice *float64 `json:"OriginalPrice,omitnil,omitempty" name:"OriginalPrice"`

	// Discount.
	Discount *int64 `json:"Discount,omitnil,omitempty" name:"Discount"`

	// Discounted price.
	DiscountPrice *float64 `json:"DiscountPrice,omitnil,omitempty" name:"DiscountPrice"`

	// Currency unit. Valid values: `CNY` and `USD`.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	Currency *string `json:"Currency,omitnil,omitempty" name:"Currency"`
}

type InstancePriceDetail

type InstancePriceDetail struct {
	// Instance ID.
	// Note: This field may return `null`, indicating that no valid value was found.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Price query information.
	// Note: This field may return `null`, indicating that no valid value was found.
	InstancePrice *InstancePrice `json:"InstancePrice,omitnil,omitempty" name:"InstancePrice"`

	// Tiered-pricing details. The information of each tier includes the billable period, discount percentage, total price, discounted price, and discount details (`UserDiscount`, `CommonDiscount` and `FinalDiscount`).
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	DiscountDetail []*DiscountDetail `json:"DiscountDetail,omitnil,omitempty" name:"DiscountDetail"`
}

type InstanceReturnable

type InstanceReturnable struct {
	// Instance ID.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Whether the instance can be returned.
	IsReturnable *bool `json:"IsReturnable,omitnil,omitempty" name:"IsReturnable"`

	// Error code of instance return failure.
	ReturnFailCode *int64 `json:"ReturnFailCode,omitnil,omitempty" name:"ReturnFailCode"`

	// Error message of instance return failure.
	ReturnFailMessage *string `json:"ReturnFailMessage,omitnil,omitempty" name:"ReturnFailMessage"`
}

type InstanceTrafficPackage

type InstanceTrafficPackage struct {
	// Instance ID.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// List of traffic package details.
	TrafficPackageSet []*TrafficPackage `json:"TrafficPackageSet,omitnil,omitempty" name:"TrafficPackageSet"`
}

type InternetAccessible

type InternetAccessible struct {
	// Network billing mode. Valid values:
	// <li>Bill by traffic package: TRAFFIC_POSTPAID_BY_HOUR</li>
	// <li>Bill by bandwidth: BANDWIDTH_POSTPAID_BY_HOUR</li>
	InternetChargeType *string `json:"InternetChargeType,omitnil,omitempty" name:"InternetChargeType"`

	// Public network outbound bandwidth cap in Mbps.
	InternetMaxBandwidthOut *int64 `json:"InternetMaxBandwidthOut,omitnil,omitempty" name:"InternetMaxBandwidthOut"`

	// Whether to assign a public IP.
	PublicIpAssigned *bool `json:"PublicIpAssigned,omitnil,omitempty" name:"PublicIpAssigned"`
}

type IsolateDisksRequest

type IsolateDisksRequest struct {
	*tchttp.BaseRequest

	// IDs of cloud disks. The value can be obtained from the `InstanceId` parameter returned by the [DescribeDisks](https://intl.cloud.tencent.com/document/product/1207/66093?from_cn_redirect=1) API. Up to 20 disks can be processed at a time.
	DiskIds []*string `json:"DiskIds,omitnil,omitempty" name:"DiskIds"`
}

func NewIsolateDisksRequest

func NewIsolateDisksRequest() (request *IsolateDisksRequest)

func (*IsolateDisksRequest) FromJsonString

func (r *IsolateDisksRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*IsolateDisksRequest) ToJsonString

func (r *IsolateDisksRequest) ToJsonString() string

type IsolateDisksRequestParams

type IsolateDisksRequestParams struct {
	// IDs of cloud disks. The value can be obtained from the `InstanceId` parameter returned by the [DescribeDisks](https://intl.cloud.tencent.com/document/product/1207/66093?from_cn_redirect=1) API. Up to 20 disks can be processed at a time.
	DiskIds []*string `json:"DiskIds,omitnil,omitempty" name:"DiskIds"`
}

Predefined struct for user

type IsolateDisksResponse

type IsolateDisksResponse struct {
	*tchttp.BaseResponse
	Response *IsolateDisksResponseParams `json:"Response"`
}

func NewIsolateDisksResponse

func NewIsolateDisksResponse() (response *IsolateDisksResponse)

func (*IsolateDisksResponse) FromJsonString

func (r *IsolateDisksResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*IsolateDisksResponse) ToJsonString

func (r *IsolateDisksResponse) ToJsonString() string

type IsolateDisksResponseParams

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

Predefined struct for user

type IsolateInstancesRequest

type IsolateInstancesRequest struct {
	*tchttp.BaseRequest

	// IDs of target instances. You can get the IDs from the `InstanceId` parameter returned by the `DescribeInstances` API. Up to 20 instances can be specified at the same time.
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`

	// Whether to return data disks mounted on the instance together with the instance. Valid values:
	// `TRUE`: Return the mounted data disks at the same time
	// `FALSE`: Do not return the mounted data disks at the same time
	// Default value: `TRUE`.
	IsolateDataDisk *bool `json:"IsolateDataDisk,omitnil,omitempty" name:"IsolateDataDisk"`
}

func NewIsolateInstancesRequest

func NewIsolateInstancesRequest() (request *IsolateInstancesRequest)

func (*IsolateInstancesRequest) FromJsonString

func (r *IsolateInstancesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*IsolateInstancesRequest) ToJsonString

func (r *IsolateInstancesRequest) ToJsonString() string

type IsolateInstancesRequestParams

type IsolateInstancesRequestParams struct {
	// IDs of target instances. You can get the IDs from the `InstanceId` parameter returned by the `DescribeInstances` API. Up to 20 instances can be specified at the same time.
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`

	// Whether to return data disks mounted on the instance together with the instance. Valid values:
	// `TRUE`: Return the mounted data disks at the same time
	// `FALSE`: Do not return the mounted data disks at the same time
	// Default value: `TRUE`.
	IsolateDataDisk *bool `json:"IsolateDataDisk,omitnil,omitempty" name:"IsolateDataDisk"`
}

Predefined struct for user

type IsolateInstancesResponse

type IsolateInstancesResponse struct {
	*tchttp.BaseResponse
	Response *IsolateInstancesResponseParams `json:"Response"`
}

func NewIsolateInstancesResponse

func NewIsolateInstancesResponse() (response *IsolateInstancesResponse)

func (*IsolateInstancesResponse) FromJsonString

func (r *IsolateInstancesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*IsolateInstancesResponse) ToJsonString

func (r *IsolateInstancesResponse) ToJsonString() string

type IsolateInstancesResponseParams

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

Predefined struct for user

type KeyPair

type KeyPair struct {
	// Key pair ID, which is the unique identifier of a key pair.
	KeyId *string `json:"KeyId,omitnil,omitempty" name:"KeyId"`

	// Key pair name.
	KeyName *string `json:"KeyName,omitnil,omitempty" name:"KeyName"`

	// Public key (in plain text) of key pair.
	PublicKey *string `json:"PublicKey,omitnil,omitempty" name:"PublicKey"`

	// List of IDs of instances associated with the key pair.
	// Note: this field may return null, indicating that no valid values can be obtained.
	AssociatedInstanceIds []*string `json:"AssociatedInstanceIds,omitnil,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,omitnil,omitempty" name:"CreatedTime"`

	// Private key of key pair.
	// Note: this field may return null, indicating that no valid values can be obtained.
	PrivateKey *string `json:"PrivateKey,omitnil,omitempty" name:"PrivateKey"`
}

type LoginConfiguration

type LoginConfiguration struct {
	// <li>`YES`: Random password. In this case, `Password` cannot be specified. </li>
	// <li>`No`: Custom. `Password` must be specified. </li>
	AutoGeneratePassword *string `json:"AutoGeneratePassword,omitnil,omitempty" name:"AutoGeneratePassword"`

	// Instance login password.
	// For Windows instances, the password must contain 12 to 30 characters of the following types. It cannot start with “/” and cannot include the username.
	// <li>Lowercase letters: [a–z]</li>
	// <li>Uppercase letters: [A–Z]</li>
	// <li>Digits: 0-9</li>
	// <li>Symbols: ()`~!@#$%^&*-+=_|{}[]:;'<>,.?/</li>
	Password *string `json:"Password,omitnil,omitempty" name:"Password"`

	KeyIds []*string `json:"KeyIds,omitnil,omitempty" name:"KeyIds"`
}

type LoginSettings

type LoginSettings struct {
	// Key ID list. After a key is associated, you can use it to access the instance. Note: this field may return [], indicating that no valid values can be obtained.
	KeyIds []*string `json:"KeyIds,omitnil,omitempty" name:"KeyIds"`
}

type ModifyBlueprintAttributeRequest

type ModifyBlueprintAttributeRequest struct {
	*tchttp.BaseRequest

	// Image ID, which can be obtained from the `BlueprintId` returned by the [DescribeBlueprints](https://intl.cloud.tencent.com/document/product/1207/47689?from_cn_redirect=1) API.
	BlueprintId *string `json:"BlueprintId,omitnil,omitempty" name:"BlueprintId"`

	// New image name, which can contain up to 60 characters.
	BlueprintName *string `json:"BlueprintName,omitnil,omitempty" name:"BlueprintName"`

	// New image description, which can contain up to 60 characters.
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}

func NewModifyBlueprintAttributeRequest

func NewModifyBlueprintAttributeRequest() (request *ModifyBlueprintAttributeRequest)

func (*ModifyBlueprintAttributeRequest) FromJsonString

func (r *ModifyBlueprintAttributeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyBlueprintAttributeRequest) ToJsonString

func (r *ModifyBlueprintAttributeRequest) ToJsonString() string

type ModifyBlueprintAttributeRequestParams

type ModifyBlueprintAttributeRequestParams struct {
	// Image ID, which can be obtained from the `BlueprintId` returned by the [DescribeBlueprints](https://intl.cloud.tencent.com/document/product/1207/47689?from_cn_redirect=1) API.
	BlueprintId *string `json:"BlueprintId,omitnil,omitempty" name:"BlueprintId"`

	// New image name, which can contain up to 60 characters.
	BlueprintName *string `json:"BlueprintName,omitnil,omitempty" name:"BlueprintName"`

	// New image description, which can contain up to 60 characters.
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}

Predefined struct for user

type ModifyBlueprintAttributeResponse

type ModifyBlueprintAttributeResponse struct {
	*tchttp.BaseResponse
	Response *ModifyBlueprintAttributeResponseParams `json:"Response"`
}

func NewModifyBlueprintAttributeResponse

func NewModifyBlueprintAttributeResponse() (response *ModifyBlueprintAttributeResponse)

func (*ModifyBlueprintAttributeResponse) FromJsonString

func (r *ModifyBlueprintAttributeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyBlueprintAttributeResponse) ToJsonString

func (r *ModifyBlueprintAttributeResponse) ToJsonString() string

type ModifyBlueprintAttributeResponseParams

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

Predefined struct for user

type ModifyBundle

type ModifyBundle struct {
	// Price difference that you need to pay for the new instance package after change.
	ModifyPrice *Price `json:"ModifyPrice,omitnil,omitempty" name:"ModifyPrice"`

	// Package change status. Valid values:
	// <li>SOLD_OUT: packages are sold out</li>
	// <li>AVAILABLE: packages can be changed</li>
	// <li>UNAVAILABLE: packages cannot be changed currently</li>
	ModifyBundleState *string `json:"ModifyBundleState,omitnil,omitempty" name:"ModifyBundleState"`

	// Package information.
	Bundle *Bundle `json:"Bundle,omitnil,omitempty" name:"Bundle"`

	// The reason of package changing failure. It’s empty if the package change status is `AVAILABLE`.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	NotSupportModifyMessage *string `json:"NotSupportModifyMessage,omitnil,omitempty" name:"NotSupportModifyMessage"`
}

type ModifyDisksAttributeRequest

type ModifyDisksAttributeRequest struct {
	*tchttp.BaseRequest

	// List of cloud disk IDs.
	DiskIds []*string `json:"DiskIds,omitnil,omitempty" name:"DiskIds"`

	// Cloud disk name.
	DiskName *string `json:"DiskName,omitnil,omitempty" name:"DiskName"`
}

func NewModifyDisksAttributeRequest

func NewModifyDisksAttributeRequest() (request *ModifyDisksAttributeRequest)

func (*ModifyDisksAttributeRequest) FromJsonString

func (r *ModifyDisksAttributeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDisksAttributeRequest) ToJsonString

func (r *ModifyDisksAttributeRequest) ToJsonString() string

type ModifyDisksAttributeRequestParams

type ModifyDisksAttributeRequestParams struct {
	// List of cloud disk IDs.
	DiskIds []*string `json:"DiskIds,omitnil,omitempty" name:"DiskIds"`

	// Cloud disk name.
	DiskName *string `json:"DiskName,omitnil,omitempty" name:"DiskName"`
}

Predefined struct for user

type ModifyDisksAttributeResponse

type ModifyDisksAttributeResponse struct {
	*tchttp.BaseResponse
	Response *ModifyDisksAttributeResponseParams `json:"Response"`
}

func NewModifyDisksAttributeResponse

func NewModifyDisksAttributeResponse() (response *ModifyDisksAttributeResponse)

func (*ModifyDisksAttributeResponse) FromJsonString

func (r *ModifyDisksAttributeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDisksAttributeResponse) ToJsonString

func (r *ModifyDisksAttributeResponse) ToJsonString() string

type ModifyDisksAttributeResponseParams

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

Predefined struct for user

type ModifyDisksRenewFlagRequest

type ModifyDisksRenewFlagRequest struct {
	*tchttp.BaseRequest

	// List of cloud disk IDs.
	DiskIds []*string `json:"DiskIds,omitnil,omitempty" name:"DiskIds"`

	// Whether Auto-Renewal is enabled
	RenewFlag *string `json:"RenewFlag,omitnil,omitempty" name:"RenewFlag"`
}

func NewModifyDisksRenewFlagRequest

func NewModifyDisksRenewFlagRequest() (request *ModifyDisksRenewFlagRequest)

func (*ModifyDisksRenewFlagRequest) FromJsonString

func (r *ModifyDisksRenewFlagRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDisksRenewFlagRequest) ToJsonString

func (r *ModifyDisksRenewFlagRequest) ToJsonString() string

type ModifyDisksRenewFlagRequestParams

type ModifyDisksRenewFlagRequestParams struct {
	// List of cloud disk IDs.
	DiskIds []*string `json:"DiskIds,omitnil,omitempty" name:"DiskIds"`

	// Whether Auto-Renewal is enabled
	RenewFlag *string `json:"RenewFlag,omitnil,omitempty" name:"RenewFlag"`
}

Predefined struct for user

type ModifyDisksRenewFlagResponse

type ModifyDisksRenewFlagResponse struct {
	*tchttp.BaseResponse
	Response *ModifyDisksRenewFlagResponseParams `json:"Response"`
}

func NewModifyDisksRenewFlagResponse

func NewModifyDisksRenewFlagResponse() (response *ModifyDisksRenewFlagResponse)

func (*ModifyDisksRenewFlagResponse) FromJsonString

func (r *ModifyDisksRenewFlagResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDisksRenewFlagResponse) ToJsonString

func (r *ModifyDisksRenewFlagResponse) ToJsonString() string

type ModifyDisksRenewFlagResponseParams

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

Predefined struct for user

type ModifyFirewallRuleDescriptionRequest

type ModifyFirewallRuleDescriptionRequest struct {
	*tchttp.BaseRequest

	// Instance ID.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Firewall rule.
	FirewallRule *FirewallRule `json:"FirewallRule,omitnil,omitempty" name:"FirewallRule"`

	// Current firewall version number. Every time you update the firewall rule version, it will be automatically increased by 1 to prevent the rule from expiring. If it is left empty, conflicts will not be considered.
	FirewallVersion *uint64 `json:"FirewallVersion,omitnil,omitempty" name:"FirewallVersion"`
}

func NewModifyFirewallRuleDescriptionRequest

func NewModifyFirewallRuleDescriptionRequest() (request *ModifyFirewallRuleDescriptionRequest)

func (*ModifyFirewallRuleDescriptionRequest) FromJsonString

func (r *ModifyFirewallRuleDescriptionRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyFirewallRuleDescriptionRequest) ToJsonString

func (r *ModifyFirewallRuleDescriptionRequest) ToJsonString() string

type ModifyFirewallRuleDescriptionRequestParams

type ModifyFirewallRuleDescriptionRequestParams struct {
	// Instance ID.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Firewall rule.
	FirewallRule *FirewallRule `json:"FirewallRule,omitnil,omitempty" name:"FirewallRule"`

	// Current firewall version number. Every time you update the firewall rule version, it will be automatically increased by 1 to prevent the rule from expiring. If it is left empty, conflicts will not be considered.
	FirewallVersion *uint64 `json:"FirewallVersion,omitnil,omitempty" name:"FirewallVersion"`
}

Predefined struct for user

type ModifyFirewallRuleDescriptionResponse

type ModifyFirewallRuleDescriptionResponse struct {
	*tchttp.BaseResponse
	Response *ModifyFirewallRuleDescriptionResponseParams `json:"Response"`
}

func NewModifyFirewallRuleDescriptionResponse

func NewModifyFirewallRuleDescriptionResponse() (response *ModifyFirewallRuleDescriptionResponse)

func (*ModifyFirewallRuleDescriptionResponse) FromJsonString

func (r *ModifyFirewallRuleDescriptionResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyFirewallRuleDescriptionResponse) ToJsonString

type ModifyFirewallRuleDescriptionResponseParams

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

Predefined struct for user

type ModifyFirewallRulesRequest

type ModifyFirewallRulesRequest struct {
	*tchttp.BaseRequest

	// Instance ID.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Firewall rule list.
	FirewallRules []*FirewallRule `json:"FirewallRules,omitnil,omitempty" name:"FirewallRules"`

	// Current firewall version number. Every time you update the firewall rule version, it will be automatically increased by 1 to prevent the rule from expiring. If it is left empty, conflicts will not be considered.
	FirewallVersion *uint64 `json:"FirewallVersion,omitnil,omitempty" name:"FirewallVersion"`
}

func NewModifyFirewallRulesRequest

func NewModifyFirewallRulesRequest() (request *ModifyFirewallRulesRequest)

func (*ModifyFirewallRulesRequest) FromJsonString

func (r *ModifyFirewallRulesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyFirewallRulesRequest) ToJsonString

func (r *ModifyFirewallRulesRequest) ToJsonString() string

type ModifyFirewallRulesRequestParams

type ModifyFirewallRulesRequestParams struct {
	// Instance ID.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Firewall rule list.
	FirewallRules []*FirewallRule `json:"FirewallRules,omitnil,omitempty" name:"FirewallRules"`

	// Current firewall version number. Every time you update the firewall rule version, it will be automatically increased by 1 to prevent the rule from expiring. If it is left empty, conflicts will not be considered.
	FirewallVersion *uint64 `json:"FirewallVersion,omitnil,omitempty" name:"FirewallVersion"`
}

Predefined struct for user

type ModifyFirewallRulesResponse

type ModifyFirewallRulesResponse struct {
	*tchttp.BaseResponse
	Response *ModifyFirewallRulesResponseParams `json:"Response"`
}

func NewModifyFirewallRulesResponse

func NewModifyFirewallRulesResponse() (response *ModifyFirewallRulesResponse)

func (*ModifyFirewallRulesResponse) FromJsonString

func (r *ModifyFirewallRulesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyFirewallRulesResponse) ToJsonString

func (r *ModifyFirewallRulesResponse) ToJsonString() string

type ModifyFirewallRulesResponseParams

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

Predefined struct for user

type ModifyInstancesAttributeRequest

type ModifyInstancesAttributeRequest struct {
	*tchttp.BaseRequest

	// Instance ID list. Each request can contain up to 100 instances at a time. You can get an instance ID from the `InstanceId` returned by the [DescribeInstances](https://intl.cloud.tencent.com/document/api/1207/47573?from_cn_redirect=1) API.
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`

	// Instance name, which is customizable and can contain up to 60 characters.
	InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"`
}

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 ModifyInstancesAttributeRequestParams

type ModifyInstancesAttributeRequestParams struct {
	// Instance ID list. Each request can contain up to 100 instances at a time. You can get an instance ID from the `InstanceId` returned by the [DescribeInstances](https://intl.cloud.tencent.com/document/api/1207/47573?from_cn_redirect=1) API.
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`

	// Instance name, which is customizable and can contain up to 60 characters.
	InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"`
}

Predefined struct for user

type ModifyInstancesAttributeResponse

type ModifyInstancesAttributeResponse struct {
	*tchttp.BaseResponse
	Response *ModifyInstancesAttributeResponseParams `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 ModifyInstancesAttributeResponseParams

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

Predefined struct for user

type ModifyInstancesBundleRequest

type ModifyInstancesBundleRequest struct {
	*tchttp.BaseRequest

	// IDs of target instances. You can get the IDs from the `InstanceId` parameter returned by the `DescribeInstances` API. Up to 15 instances can be specified at the same time.
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`

	// ID of bundles to change. You can get the IDs from the `BundleId` returned by the [DescribeBundles](https://intl.cloud.tencent.com/document/api/1207/47575?from_cn_redirect=1).
	BundleId *string `json:"BundleId,omitnil,omitempty" name:"BundleId"`

	// Whether to use existing vouchers under the current account automatically. Valid values:
	// `true`: Deduct from existing vouchers automatically
	// `false`: Do not deduct from existing vouchers automatically
	// Default value: `false`.
	AutoVoucher *bool `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"`
}

func NewModifyInstancesBundleRequest

func NewModifyInstancesBundleRequest() (request *ModifyInstancesBundleRequest)

func (*ModifyInstancesBundleRequest) FromJsonString

func (r *ModifyInstancesBundleRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyInstancesBundleRequest) ToJsonString

func (r *ModifyInstancesBundleRequest) ToJsonString() string

type ModifyInstancesBundleRequestParams

type ModifyInstancesBundleRequestParams struct {
	// IDs of target instances. You can get the IDs from the `InstanceId` parameter returned by the `DescribeInstances` API. Up to 15 instances can be specified at the same time.
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`

	// ID of bundles to change. You can get the IDs from the `BundleId` returned by the [DescribeBundles](https://intl.cloud.tencent.com/document/api/1207/47575?from_cn_redirect=1).
	BundleId *string `json:"BundleId,omitnil,omitempty" name:"BundleId"`

	// Whether to use existing vouchers under the current account automatically. Valid values:
	// `true`: Deduct from existing vouchers automatically
	// `false`: Do not deduct from existing vouchers automatically
	// Default value: `false`.
	AutoVoucher *bool `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"`
}

Predefined struct for user

type ModifyInstancesBundleResponse

type ModifyInstancesBundleResponse struct {
	*tchttp.BaseResponse
	Response *ModifyInstancesBundleResponseParams `json:"Response"`
}

func NewModifyInstancesBundleResponse

func NewModifyInstancesBundleResponse() (response *ModifyInstancesBundleResponse)

func (*ModifyInstancesBundleResponse) FromJsonString

func (r *ModifyInstancesBundleResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyInstancesBundleResponse) ToJsonString

func (r *ModifyInstancesBundleResponse) ToJsonString() string

type ModifyInstancesBundleResponseParams

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

Predefined struct for user

type ModifyInstancesLoginKeyPairAttributeRequest

type ModifyInstancesLoginKeyPairAttributeRequest struct {
	*tchttp.BaseRequest

	// Instance ID list. Each request can contain up to 100 instances at a time.
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`

	// Whether to allow login with the default key pair. Valid values: YES: yes; NO: no.
	PermitLogin *string `json:"PermitLogin,omitnil,omitempty" name:"PermitLogin"`
}

func NewModifyInstancesLoginKeyPairAttributeRequest

func NewModifyInstancesLoginKeyPairAttributeRequest() (request *ModifyInstancesLoginKeyPairAttributeRequest)

func (*ModifyInstancesLoginKeyPairAttributeRequest) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyInstancesLoginKeyPairAttributeRequest) ToJsonString

type ModifyInstancesLoginKeyPairAttributeRequestParams

type ModifyInstancesLoginKeyPairAttributeRequestParams struct {
	// Instance ID list. Each request can contain up to 100 instances at a time.
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`

	// Whether to allow login with the default key pair. Valid values: YES: yes; NO: no.
	PermitLogin *string `json:"PermitLogin,omitnil,omitempty" name:"PermitLogin"`
}

Predefined struct for user

type ModifyInstancesLoginKeyPairAttributeResponse

type ModifyInstancesLoginKeyPairAttributeResponse struct {
	*tchttp.BaseResponse
	Response *ModifyInstancesLoginKeyPairAttributeResponseParams `json:"Response"`
}

func NewModifyInstancesLoginKeyPairAttributeResponse

func NewModifyInstancesLoginKeyPairAttributeResponse() (response *ModifyInstancesLoginKeyPairAttributeResponse)

func (*ModifyInstancesLoginKeyPairAttributeResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyInstancesLoginKeyPairAttributeResponse) ToJsonString

type ModifyInstancesLoginKeyPairAttributeResponseParams

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

Predefined struct for user

type ModifyInstancesRenewFlagRequest

type ModifyInstancesRenewFlagRequest struct {
	*tchttp.BaseRequest

	// Instance ID list. Each request can contain up to 100 instances at a time. You can get an instance ID from the `InstanceId` returned by the [DescribeInstances](https://intl.cloud.tencent.com/document/api/1207/47573?from_cn_redirect=1) API.
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`

	// Auto-Renewal flag. Valid values: <br><li>NOTIFY_AND_AUTO_RENEW: notify upon expiration and renew automatically <br><li>NOTIFY_AND_MANUAL_RENEW: notify upon expiration but do not renew automatically <br><li>DISABLE_NOTIFY_AND_MANUAL_RENEW: neither notify upon expiration nor renew automatically <br><br>If this parameter is specified as `NOTIFY_AND_AUTO_RENEW`, the instance will be automatically renewed monthly if the account balance is sufficient.
	RenewFlag *string `json:"RenewFlag,omitnil,omitempty" name:"RenewFlag"`
}

func NewModifyInstancesRenewFlagRequest

func NewModifyInstancesRenewFlagRequest() (request *ModifyInstancesRenewFlagRequest)

func (*ModifyInstancesRenewFlagRequest) FromJsonString

func (r *ModifyInstancesRenewFlagRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyInstancesRenewFlagRequest) ToJsonString

func (r *ModifyInstancesRenewFlagRequest) ToJsonString() string

type ModifyInstancesRenewFlagRequestParams

type ModifyInstancesRenewFlagRequestParams struct {
	// Instance ID list. Each request can contain up to 100 instances at a time. You can get an instance ID from the `InstanceId` returned by the [DescribeInstances](https://intl.cloud.tencent.com/document/api/1207/47573?from_cn_redirect=1) API.
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`

	// Auto-Renewal flag. Valid values: <br><li>NOTIFY_AND_AUTO_RENEW: notify upon expiration and renew automatically <br><li>NOTIFY_AND_MANUAL_RENEW: notify upon expiration but do not renew automatically <br><li>DISABLE_NOTIFY_AND_MANUAL_RENEW: neither notify upon expiration nor renew automatically <br><br>If this parameter is specified as `NOTIFY_AND_AUTO_RENEW`, the instance will be automatically renewed monthly if the account balance is sufficient.
	RenewFlag *string `json:"RenewFlag,omitnil,omitempty" name:"RenewFlag"`
}

Predefined struct for user

type ModifyInstancesRenewFlagResponse

type ModifyInstancesRenewFlagResponse struct {
	*tchttp.BaseResponse
	Response *ModifyInstancesRenewFlagResponseParams `json:"Response"`
}

func NewModifyInstancesRenewFlagResponse

func NewModifyInstancesRenewFlagResponse() (response *ModifyInstancesRenewFlagResponse)

func (*ModifyInstancesRenewFlagResponse) FromJsonString

func (r *ModifyInstancesRenewFlagResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyInstancesRenewFlagResponse) ToJsonString

func (r *ModifyInstancesRenewFlagResponse) ToJsonString() string

type ModifyInstancesRenewFlagResponseParams

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

Predefined struct for user

type ModifySnapshotAttributeRequest

type ModifySnapshotAttributeRequest struct {
	*tchttp.BaseRequest

	// Snapshot ID, which can be queried through `DescribeSnapshots`.
	SnapshotId *string `json:"SnapshotId,omitnil,omitempty" name:"SnapshotId"`

	// New snapshot name, which can contain up to 60 characters.
	SnapshotName *string `json:"SnapshotName,omitnil,omitempty" name:"SnapshotName"`
}

func NewModifySnapshotAttributeRequest

func NewModifySnapshotAttributeRequest() (request *ModifySnapshotAttributeRequest)

func (*ModifySnapshotAttributeRequest) FromJsonString

func (r *ModifySnapshotAttributeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifySnapshotAttributeRequest) ToJsonString

func (r *ModifySnapshotAttributeRequest) ToJsonString() string

type ModifySnapshotAttributeRequestParams

type ModifySnapshotAttributeRequestParams struct {
	// Snapshot ID, which can be queried through `DescribeSnapshots`.
	SnapshotId *string `json:"SnapshotId,omitnil,omitempty" name:"SnapshotId"`

	// New snapshot name, which can contain up to 60 characters.
	SnapshotName *string `json:"SnapshotName,omitnil,omitempty" name:"SnapshotName"`
}

Predefined struct for user

type ModifySnapshotAttributeResponse

type ModifySnapshotAttributeResponse struct {
	*tchttp.BaseResponse
	Response *ModifySnapshotAttributeResponseParams `json:"Response"`
}

func NewModifySnapshotAttributeResponse

func NewModifySnapshotAttributeResponse() (response *ModifySnapshotAttributeResponse)

func (*ModifySnapshotAttributeResponse) FromJsonString

func (r *ModifySnapshotAttributeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifySnapshotAttributeResponse) ToJsonString

func (r *ModifySnapshotAttributeResponse) ToJsonString() string

type ModifySnapshotAttributeResponseParams

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

Predefined struct for user

type PolicyDetail

type PolicyDetail struct {
	// User discount.
	UserDiscount *int64 `json:"UserDiscount,omitnil,omitempty" name:"UserDiscount"`

	// Public discount.
	CommonDiscount *int64 `json:"CommonDiscount,omitnil,omitempty" name:"CommonDiscount"`

	// Final discount.
	FinalDiscount *int64 `json:"FinalDiscount,omitnil,omitempty" name:"FinalDiscount"`

	// Activity discount. The value `null` indicates no discount.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	ActivityDiscount *float64 `json:"ActivityDiscount,omitnil,omitempty" name:"ActivityDiscount"`

	// Discount type.
	// Valid values: `user` (user discount), `common` (discount displayed on the official website), `activity` (activity discount), `null` (no discount).
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	DiscountType *string `json:"DiscountType,omitnil,omitempty" name:"DiscountType"`
}

type Price

type Price struct {
	// Instance price.
	InstancePrice *InstancePrice `json:"InstancePrice,omitnil,omitempty" name:"InstancePrice"`
}

type RebootInstancesRequest

type RebootInstancesRequest struct {
	*tchttp.BaseRequest

	// Instance ID list. Each request can contain up to 100 instances at a time. You can get an instance ID from the `InstanceId` returned by the [DescribeInstances](https://intl.cloud.tencent.com/document/api/1207/47573?from_cn_redirect=1) API.
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`
}

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 RebootInstancesRequestParams

type RebootInstancesRequestParams struct {
	// Instance ID list. Each request can contain up to 100 instances at a time. You can get an instance ID from the `InstanceId` returned by the [DescribeInstances](https://intl.cloud.tencent.com/document/api/1207/47573?from_cn_redirect=1) API.
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`
}

Predefined struct for user

type RebootInstancesResponse

type RebootInstancesResponse struct {
	*tchttp.BaseResponse
	Response *RebootInstancesResponseParams `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 RebootInstancesResponseParams

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

Predefined struct for user

type RegionInfo

type RegionInfo struct {
	// Region name, such as `ap-guangzhou`.
	Region *string `json:"Region,omitnil,omitempty" name:"Region"`

	// Region description, such as South China (Guangzhou).
	RegionName *string `json:"RegionName,omitnil,omitempty" name:"RegionName"`

	// Region availability status. Its value can only be `AVAILABLE`.
	RegionState *string `json:"RegionState,omitnil,omitempty" name:"RegionState"`

	// Whether the region is in the Chinese mainland
	IsChinaMainland *bool `json:"IsChinaMainland,omitnil,omitempty" name:"IsChinaMainland"`
}

type RenewDiskChargePrepaid

type RenewDiskChargePrepaid struct {
	// Renewal period
	Period *int64 `json:"Period,omitnil,omitempty" name:"Period"`

	// Whether to renew the disk automatically. Values:
	//
	// `NOTIFY_AND_AUTO_RENEW`: Trigger expiration notification and renew automatically; `NOTIFY_AND_MANUAL_RENEW`: Trigger expiration notification but do not renew; `DISABLE_NOTIFY_AND_MANUAL_RENEW`: Do not trigger the notification and do not renew.
	//
	// Default: `NOTIFY_AND_MANUAL_RENEW`. If `NOTIFY_AND_AUTO_RENEW` is specified, the instance is automatically renewed on a monthly basis when the account balance is sufficient.
	RenewFlag *string `json:"RenewFlag,omitnil,omitempty" name:"RenewFlag"`

	// Unit of the period. Values: `m` (month).
	TimeUnit *string `json:"TimeUnit,omitnil,omitempty" name:"TimeUnit"`

	// Expiration time of the current instance, such as "2018-01-01 00:00:00". Specify this parameter to align the expiration time of the instance and attached cloud disks. `CurInstanceDeadline` and `Period` cannot be both specified.
	CurInstanceDeadline *string `json:"CurInstanceDeadline,omitnil,omitempty" name:"CurInstanceDeadline"`
}

type RenewDisksRequest

type RenewDisksRequest struct {
	*tchttp.BaseRequest

	// IDs of cloud disks. The value can be obtained from the `DiskId` parameter returned by the [DescribeDisks](https://intl.cloud.tencent.com/document/product/1207/66093?from_cn_redirect=1) API. Up to 50 disks can be requested at a time.
	DiskIds []*string `json:"DiskIds,omitnil,omitempty" name:"DiskIds"`

	// Parameter settings for renewing the monthly subscribed cloud disk.
	RenewDiskChargePrepaid *RenewDiskChargePrepaid `json:"RenewDiskChargePrepaid,omitnil,omitempty" name:"RenewDiskChargePrepaid"`

	// Whether to use the vouchers automatically. It defaults to No.
	AutoVoucher *bool `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"`
}

func NewRenewDisksRequest

func NewRenewDisksRequest() (request *RenewDisksRequest)

func (*RenewDisksRequest) FromJsonString

func (r *RenewDisksRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RenewDisksRequest) ToJsonString

func (r *RenewDisksRequest) ToJsonString() string

type RenewDisksRequestParams

type RenewDisksRequestParams struct {
	// IDs of cloud disks. The value can be obtained from the `DiskId` parameter returned by the [DescribeDisks](https://intl.cloud.tencent.com/document/product/1207/66093?from_cn_redirect=1) API. Up to 50 disks can be requested at a time.
	DiskIds []*string `json:"DiskIds,omitnil,omitempty" name:"DiskIds"`

	// Parameter settings for renewing the monthly subscribed cloud disk.
	RenewDiskChargePrepaid *RenewDiskChargePrepaid `json:"RenewDiskChargePrepaid,omitnil,omitempty" name:"RenewDiskChargePrepaid"`

	// Whether to use the vouchers automatically. It defaults to No.
	AutoVoucher *bool `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"`
}

Predefined struct for user

type RenewDisksResponse

type RenewDisksResponse struct {
	*tchttp.BaseResponse
	Response *RenewDisksResponseParams `json:"Response"`
}

func NewRenewDisksResponse

func NewRenewDisksResponse() (response *RenewDisksResponse)

func (*RenewDisksResponse) FromJsonString

func (r *RenewDisksResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RenewDisksResponse) ToJsonString

func (r *RenewDisksResponse) ToJsonString() string

type RenewDisksResponseParams

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

Predefined struct for user

type RenewInstancesRequest

type RenewInstancesRequest struct {
	*tchttp.BaseRequest

	// IDs of one or more instances to be operated. The value can be obtained from the `InstanceId` parameter returned by the [DescribeInstances](https://intl.cloud.tencent.com/document/api/1207/47573?from_cn_redirect=1) API. Up to 100 instances can be requested at a time.
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`

	// Prepaid mode, i.e., monthly subscription. This parameter can specify the purchase period and other attributes such as auto-renewal. It is required for prepaid instances.
	InstanceChargePrepaid *InstanceChargePrepaid `json:"InstanceChargePrepaid,omitnil,omitempty" name:"InstanceChargePrepaid"`

	// Whether to renew elastic data disks. Values:
	// `TRUE`: Renew the elastic data disks attached to the instance as well when the related instance is renewed.
	// `FALSE`: Do not renew the elastic data disks attached to the instance as well when the related instance is renewed.
	// Default: `TRUE`
	RenewDataDisk *bool `json:"RenewDataDisk,omitnil,omitempty" name:"RenewDataDisk"`

	// Whether to automatically use vouchers. Values:
	// `TRUE`: Use vouchers for payment automatically.
	// `FALSE`: Do not use vouchers for payment automatically.
	// Default: `FALSE`.
	AutoVoucher *bool `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"`
}

func NewRenewInstancesRequest

func NewRenewInstancesRequest() (request *RenewInstancesRequest)

func (*RenewInstancesRequest) FromJsonString

func (r *RenewInstancesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RenewInstancesRequest) ToJsonString

func (r *RenewInstancesRequest) ToJsonString() string

type RenewInstancesRequestParams

type RenewInstancesRequestParams struct {
	// IDs of one or more instances to be operated. The value can be obtained from the `InstanceId` parameter returned by the [DescribeInstances](https://intl.cloud.tencent.com/document/api/1207/47573?from_cn_redirect=1) API. Up to 100 instances can be requested at a time.
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`

	// Prepaid mode, i.e., monthly subscription. This parameter can specify the purchase period and other attributes such as auto-renewal. It is required for prepaid instances.
	InstanceChargePrepaid *InstanceChargePrepaid `json:"InstanceChargePrepaid,omitnil,omitempty" name:"InstanceChargePrepaid"`

	// Whether to renew elastic data disks. Values:
	// `TRUE`: Renew the elastic data disks attached to the instance as well when the related instance is renewed.
	// `FALSE`: Do not renew the elastic data disks attached to the instance as well when the related instance is renewed.
	// Default: `TRUE`
	RenewDataDisk *bool `json:"RenewDataDisk,omitnil,omitempty" name:"RenewDataDisk"`

	// Whether to automatically use vouchers. Values:
	// `TRUE`: Use vouchers for payment automatically.
	// `FALSE`: Do not use vouchers for payment automatically.
	// Default: `FALSE`.
	AutoVoucher *bool `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"`
}

Predefined struct for user

type RenewInstancesResponse

type RenewInstancesResponse struct {
	*tchttp.BaseResponse
	Response *RenewInstancesResponseParams `json:"Response"`
}

func NewRenewInstancesResponse

func NewRenewInstancesResponse() (response *RenewInstancesResponse)

func (*RenewInstancesResponse) FromJsonString

func (r *RenewInstancesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RenewInstancesResponse) ToJsonString

func (r *RenewInstancesResponse) ToJsonString() string

type RenewInstancesResponseParams

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

Predefined struct for user

type ResetAttachCcnRequest

type ResetAttachCcnRequest struct {
	*tchttp.BaseRequest

	// CCN instance ID.
	CcnId *string `json:"CcnId,omitnil,omitempty" name:"CcnId"`
}

func NewResetAttachCcnRequest

func NewResetAttachCcnRequest() (request *ResetAttachCcnRequest)

func (*ResetAttachCcnRequest) FromJsonString

func (r *ResetAttachCcnRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ResetAttachCcnRequest) ToJsonString

func (r *ResetAttachCcnRequest) ToJsonString() string

type ResetAttachCcnRequestParams

type ResetAttachCcnRequestParams struct {
	// CCN instance ID.
	CcnId *string `json:"CcnId,omitnil,omitempty" name:"CcnId"`
}

Predefined struct for user

type ResetAttachCcnResponse

type ResetAttachCcnResponse struct {
	*tchttp.BaseResponse
	Response *ResetAttachCcnResponseParams `json:"Response"`
}

func NewResetAttachCcnResponse

func NewResetAttachCcnResponse() (response *ResetAttachCcnResponse)

func (*ResetAttachCcnResponse) FromJsonString

func (r *ResetAttachCcnResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ResetAttachCcnResponse) ToJsonString

func (r *ResetAttachCcnResponse) ToJsonString() string

type ResetAttachCcnResponseParams

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

Predefined struct for user

type ResetInstanceBlueprint

type ResetInstanceBlueprint struct {
	// Image details
	BlueprintInfo *Blueprint `json:"BlueprintInfo,omitnil,omitempty" name:"BlueprintInfo"`

	// Whether the image can be reset as the target image
	IsResettable *bool `json:"IsResettable,omitnil,omitempty" name:"IsResettable"`

	// Non-Resettable flag. If the image is resettable, it will be ""
	NonResettableMessage *string `json:"NonResettableMessage,omitnil,omitempty" name:"NonResettableMessage"`
}

type ResetInstanceRequest

type ResetInstanceRequest struct {
	*tchttp.BaseRequest

	// Instance ID, which can be obtained from the `InstanceId` returned by the [DescribeInstances](https://intl.cloud.tencent.com/document/api/1207/47573?from_cn_redirect=1) API.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Image ID, which can be obtained from the `BlueprintId` returned by the [DescribeBlueprints](https://intl.cloud.tencent.com/document/product/1207/47689?from_cn_redirect=1) API.
	BlueprintId *string `json:"BlueprintId,omitnil,omitempty" name:"BlueprintId"`
}

func NewResetInstanceRequest

func NewResetInstanceRequest() (request *ResetInstanceRequest)

func (*ResetInstanceRequest) FromJsonString

func (r *ResetInstanceRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ResetInstanceRequest) ToJsonString

func (r *ResetInstanceRequest) ToJsonString() string

type ResetInstanceRequestParams

type ResetInstanceRequestParams struct {
	// Instance ID, which can be obtained from the `InstanceId` returned by the [DescribeInstances](https://intl.cloud.tencent.com/document/api/1207/47573?from_cn_redirect=1) API.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Image ID, which can be obtained from the `BlueprintId` returned by the [DescribeBlueprints](https://intl.cloud.tencent.com/document/product/1207/47689?from_cn_redirect=1) API.
	BlueprintId *string `json:"BlueprintId,omitnil,omitempty" name:"BlueprintId"`
}

Predefined struct for user

type ResetInstanceResponse

type ResetInstanceResponse struct {
	*tchttp.BaseResponse
	Response *ResetInstanceResponseParams `json:"Response"`
}

func NewResetInstanceResponse

func NewResetInstanceResponse() (response *ResetInstanceResponse)

func (*ResetInstanceResponse) FromJsonString

func (r *ResetInstanceResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ResetInstanceResponse) ToJsonString

func (r *ResetInstanceResponse) ToJsonString() string

type ResetInstanceResponseParams

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

Predefined struct for user

type ResetInstancesPasswordRequest

type ResetInstancesPasswordRequest struct {
	*tchttp.BaseRequest

	// Instance ID list. Each request can contain up to 100 instances at a time.
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`

	// Login password of the instance(s). The password requirements vary among different operating systems:
	// The password of a `LINUX_UNIX` instance must contain 8–30 characters (above 12 characters preferably) in at least three of the following types and cannot begin with "/": <br><li>Lowercase letters: [a–z]<br><li>Uppercase letters: [A–Z]<br><li>Digits: 0–9<br><li>Special symbols: ()\`~!@#$%^&\*-+=\_|{}[]:;'<>,.?/</li>
	// The password of a `WINDOWS` instance must contain 12–30 characters in at least three of the following types and cannot begin with "/" or include the username: <br><li>Lowercase letters: [a–z]<br><li>Uppercase letters: [A–Z]<br><li>Digits: 0–9<br><li>Special symbols: ()\`~!@#$%^&\*-+=\_|{}[]:;' <>,.?/<br><li>If both `LINUX_UNIX` and `WINDOWS` instances exist, the requirements for password complexity of `WINDOWS` instances shall prevail.
	Password *string `json:"Password,omitnil,omitempty" name:"Password"`

	// OS username of the instance for which you want to reset the password, which can contain up to 64 characters.
	UserName *string `json:"UserName,omitnil,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 ResetInstancesPasswordRequestParams

type ResetInstancesPasswordRequestParams struct {
	// Instance ID list. Each request can contain up to 100 instances at a time.
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`

	// Login password of the instance(s). The password requirements vary among different operating systems:
	// The password of a `LINUX_UNIX` instance must contain 8–30 characters (above 12 characters preferably) in at least three of the following types and cannot begin with "/": <br><li>Lowercase letters: [a–z]<br><li>Uppercase letters: [A–Z]<br><li>Digits: 0–9<br><li>Special symbols: ()\`~!@#$%^&\*-+=\_|{}[]:;'<>,.?/</li>
	// The password of a `WINDOWS` instance must contain 12–30 characters in at least three of the following types and cannot begin with "/" or include the username: <br><li>Lowercase letters: [a–z]<br><li>Uppercase letters: [A–Z]<br><li>Digits: 0–9<br><li>Special symbols: ()\`~!@#$%^&\*-+=\_|{}[]:;' <>,.?/<br><li>If both `LINUX_UNIX` and `WINDOWS` instances exist, the requirements for password complexity of `WINDOWS` instances shall prevail.
	Password *string `json:"Password,omitnil,omitempty" name:"Password"`

	// OS username of the instance for which you want to reset the password, which can contain up to 64 characters.
	UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`
}

Predefined struct for user

type ResetInstancesPasswordResponse

type ResetInstancesPasswordResponse struct {
	*tchttp.BaseResponse
	Response *ResetInstancesPasswordResponseParams `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 ResetInstancesPasswordResponseParams

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

Predefined struct for user

type Scene

type Scene struct {
	// Scene ID
	SceneId *string `json:"SceneId,omitnil,omitempty" name:"SceneId"`

	// Display name of the scene
	DisplayName *string `json:"DisplayName,omitnil,omitempty" name:"DisplayName"`

	// Scene description
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}

type SceneInfo

type SceneInfo struct {
	// Scene ID
	SceneId *string `json:"SceneId,omitnil,omitempty" name:"SceneId"`

	// Display name of the scene
	DisplayName *string `json:"DisplayName,omitnil,omitempty" name:"DisplayName"`

	// Scene description
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}

type Snapshot

type Snapshot struct {
	// Snapshot ID.
	SnapshotId *string `json:"SnapshotId,omitnil,omitempty" name:"SnapshotId"`

	// Type of the disk for which the snapshot is created. Valid values: <li>SYSTEM_DISK: system disk</li>
	DiskUsage *string `json:"DiskUsage,omitnil,omitempty" name:"DiskUsage"`

	// ID of the disk for which the snapshot is created.
	DiskId *string `json:"DiskId,omitnil,omitempty" name:"DiskId"`

	// Size of the disk in GB for which the snapshot is created.
	DiskSize *int64 `json:"DiskSize,omitnil,omitempty" name:"DiskSize"`

	// Snapshot name, which is a custom snapshot alias.
	SnapshotName *string `json:"SnapshotName,omitnil,omitempty" name:"SnapshotName"`

	// Snapshot status. Valid values:
	// <li>NORMAL: normal </li>
	// <li>CREATING: creating</li>
	// <li>ROLLBACKING: rolling back</li>
	SnapshotState *string `json:"SnapshotState,omitnil,omitempty" name:"SnapshotState"`

	// Snapshot creation or rollback progress in percentage. After success, the value of this field will become 100.
	Percent *int64 `json:"Percent,omitnil,omitempty" name:"Percent"`

	// Last snapshot operation. It is recorded only during snapshot creation and rollback.
	// Example values: CreateInstanceSnapshot, RollbackInstanceSnapshot.
	// Note: this field may return null, indicating that no valid values can be obtained.
	LatestOperation *string `json:"LatestOperation,omitnil,omitempty" name:"LatestOperation"`

	// Last snapshot operation status. It is recorded only during snapshot creation and rollback.
	// Valid values:
	// <li>SUCCESS: operation succeeded</li>
	// <li>OPERATING: the operation is being executed</li>
	// <li>FAILED: operation failed</li>
	// Note: this field may return null, indicating that no valid values can be obtained.
	LatestOperationState *string `json:"LatestOperationState,omitnil,omitempty" name:"LatestOperationState"`

	// Unique request ID for the last snapshot operation. It is recorded only during snapshot creation and rollback.
	// Note: this field may return null, indicating that no valid values can be obtained.
	LatestOperationRequestId *string `json:"LatestOperationRequestId,omitnil,omitempty" name:"LatestOperationRequestId"`

	// Snapshot creation time.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	CreatedTime *string `json:"CreatedTime,omitnil,omitempty" name:"CreatedTime"`
}

type SnapshotDeniedActions

type SnapshotDeniedActions struct {
	// Snapshot ID.
	SnapshotId *string `json:"SnapshotId,omitnil,omitempty" name:"SnapshotId"`

	// List of operation limits.
	DeniedActions []*DeniedAction `json:"DeniedActions,omitnil,omitempty" name:"DeniedActions"`
}

type Software

type Software struct {
	// Software name.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Software version.
	Version *string `json:"Version,omitnil,omitempty" name:"Version"`

	// Software picture URL.
	ImageUrl *string `json:"ImageUrl,omitnil,omitempty" name:"ImageUrl"`

	// Software installation directory.
	InstallDir *string `json:"InstallDir,omitnil,omitempty" name:"InstallDir"`

	// List of software details.
	DetailSet []*SoftwareDetail `json:"DetailSet,omitnil,omitempty" name:"DetailSet"`
}

type SoftwareDetail

type SoftwareDetail struct {
	// Unique detail key
	Key *string `json:"Key,omitnil,omitempty" name:"Key"`

	// Detail title.
	Title *string `json:"Title,omitnil,omitempty" name:"Title"`

	// Detail value.
	Value *string `json:"Value,omitnil,omitempty" name:"Value"`
}

type StartInstancesRequest

type StartInstancesRequest struct {
	*tchttp.BaseRequest

	// Instance ID list. Each request can contain up to 100 instances at a time. You can get an instance ID from the `InstanceId` returned by the [DescribeInstances](https://intl.cloud.tencent.com/document/api/1207/47573?from_cn_redirect=1) API.
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`
}

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 StartInstancesRequestParams

type StartInstancesRequestParams struct {
	// Instance ID list. Each request can contain up to 100 instances at a time. You can get an instance ID from the `InstanceId` returned by the [DescribeInstances](https://intl.cloud.tencent.com/document/api/1207/47573?from_cn_redirect=1) API.
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`
}

Predefined struct for user

type StartInstancesResponse

type StartInstancesResponse struct {
	*tchttp.BaseResponse
	Response *StartInstancesResponseParams `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 StartInstancesResponseParams

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

Predefined struct for user

type StopInstancesRequest

type StopInstancesRequest struct {
	*tchttp.BaseRequest

	// Instance ID list. Each request can contain up to 100 instances at a time. You can get an instance ID from the `InstanceId` returned by the [DescribeInstances](https://intl.cloud.tencent.com/document/api/1207/47573?from_cn_redirect=1) API.
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`
}

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 StopInstancesRequestParams

type StopInstancesRequestParams struct {
	// Instance ID list. Each request can contain up to 100 instances at a time. You can get an instance ID from the `InstanceId` returned by the [DescribeInstances](https://intl.cloud.tencent.com/document/api/1207/47573?from_cn_redirect=1) API.
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`
}

Predefined struct for user

type StopInstancesResponse

type StopInstancesResponse struct {
	*tchttp.BaseResponse
	Response *StopInstancesResponseParams `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 StopInstancesResponseParams

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

Predefined struct for user

type SystemDisk

type SystemDisk struct {
	// System disk type.
	// Valid values:
	// <li> LOCAL_BASIC: local disk</li><li> LOCAL_SSD: local SSD disk</li><li> CLOUD_BASIC: HDD cloud disk</li><li> CLOUD_SSD: SSD cloud disk</li><li> CLOUD_PREMIUM: Premium Cloud Storage</li>
	DiskType *string `json:"DiskType,omitnil,omitempty" name:"DiskType"`

	// System disk size in GB.
	DiskSize *int64 `json:"DiskSize,omitnil,omitempty" name:"DiskSize"`

	// System disk ID.
	// Note: this field may return null, indicating that no valid values can be obtained.
	DiskId *string `json:"DiskId,omitnil,omitempty" name:"DiskId"`
}

type Tag

type Tag struct {
	// Tag key
	Key *string `json:"Key,omitnil,omitempty" name:"Key"`

	// Tag value
	Value *string `json:"Value,omitnil,omitempty" name:"Value"`
}

type TerminateDisksRequest

type TerminateDisksRequest struct {
	*tchttp.BaseRequest

	// List of cloud disk IDs.
	DiskIds []*string `json:"DiskIds,omitnil,omitempty" name:"DiskIds"`
}

func NewTerminateDisksRequest

func NewTerminateDisksRequest() (request *TerminateDisksRequest)

func (*TerminateDisksRequest) FromJsonString

func (r *TerminateDisksRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*TerminateDisksRequest) ToJsonString

func (r *TerminateDisksRequest) ToJsonString() string

type TerminateDisksRequestParams

type TerminateDisksRequestParams struct {
	// List of cloud disk IDs.
	DiskIds []*string `json:"DiskIds,omitnil,omitempty" name:"DiskIds"`
}

Predefined struct for user

type TerminateDisksResponse

type TerminateDisksResponse struct {
	*tchttp.BaseResponse
	Response *TerminateDisksResponseParams `json:"Response"`
}

func NewTerminateDisksResponse

func NewTerminateDisksResponse() (response *TerminateDisksResponse)

func (*TerminateDisksResponse) FromJsonString

func (r *TerminateDisksResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*TerminateDisksResponse) ToJsonString

func (r *TerminateDisksResponse) ToJsonString() string

type TerminateDisksResponseParams

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

Predefined struct for user

type TerminateInstancesRequest

type TerminateInstancesRequest struct {
	*tchttp.BaseRequest

	// Instance ID list, which can be obtained from the `InstanceId` returned by the [DescribeInstances](https://intl.cloud.tencent.com/document/api/1207/47573?from_cn_redirect=1) API.
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`
}

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 TerminateInstancesRequestParams

type TerminateInstancesRequestParams struct {
	// Instance ID list, which can be obtained from the `InstanceId` returned by the [DescribeInstances](https://intl.cloud.tencent.com/document/api/1207/47573?from_cn_redirect=1) API.
	InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`
}

Predefined struct for user

type TerminateInstancesResponse

type TerminateInstancesResponse struct {
	*tchttp.BaseResponse
	Response *TerminateInstancesResponseParams `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 TerminateInstancesResponseParams

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

Predefined struct for user

type TotalPrice

type TotalPrice struct {
	// Total original price
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	OriginalPrice *float64 `json:"OriginalPrice,omitnil,omitempty" name:"OriginalPrice"`

	// Total discounted price
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	DiscountPrice *float64 `json:"DiscountPrice,omitnil,omitempty" name:"DiscountPrice"`
}

type TrafficPackage

type TrafficPackage struct {
	// Traffic package ID.
	TrafficPackageId *string `json:"TrafficPackageId,omitnil,omitempty" name:"TrafficPackageId"`

	// Used traffic in bytes during traffic package validity period.
	TrafficUsed *int64 `json:"TrafficUsed,omitnil,omitempty" name:"TrafficUsed"`

	// Total traffic in bytes during traffic package validity period.
	TrafficPackageTotal *int64 `json:"TrafficPackageTotal,omitnil,omitempty" name:"TrafficPackageTotal"`

	// Remaining traffic in bytes during traffic package validity period.
	TrafficPackageRemaining *int64 `json:"TrafficPackageRemaining,omitnil,omitempty" name:"TrafficPackageRemaining"`

	// Traffic exceeding package amount in bytes during traffic package validity period.
	TrafficOverflow *int64 `json:"TrafficOverflow,omitnil,omitempty" name:"TrafficOverflow"`

	// Start time of traffic package validity period according to ISO 8601 standard. UTC time is used.
	// Format: YYYY-MM-DDThh:mm:ssZ.
	// Note: this field may return null, indicating that no valid values can be obtained.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// End time of traffic package validity period according to ISO 8601 standard. UTC time is used.
	// Format: YYYY-MM-DDThh:mm:ssZ.
	// Note: this field may return null, indicating that no valid values can be obtained.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Traffic package expiration time according to ISO 8601 standard. UTC time is used.
	// Format: YYYY-MM-DDThh:mm:ssZ.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Deadline *string `json:"Deadline,omitnil,omitempty" name:"Deadline"`

	// Traffic package status:
	// <li>NETWORK_NORMAL: normal</li>
	// <li>OVERDUE_NETWORK_DISABLED: the network is disconnected due to overdue payments</li>
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`
}

type ZoneInfo

type ZoneInfo struct {
	// AZ
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// Chinese name of AZ
	ZoneName *string `json:"ZoneName,omitnil,omitempty" name:"ZoneName"`

	// AZ tags on instance purchase page
	InstanceDisplayLabel *string `json:"InstanceDisplayLabel,omitnil,omitempty" name:"InstanceDisplayLabel"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL