v20190103

package
v3.0.342+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// Operation failed.
	FAILEDOPERATION = "FailedOperation"

	// Duplicate order. Please check the EMR console.
	FAILEDOPERATION_DUPLICATEORDERNOTALLOWED = "FailedOperation.DuplicateOrderNotAllowed"

	// Internal error.
	INTERNALERROR = "InternalError"

	// An error occurred while calling another service API.
	INTERNALERROR_ACCOUNTCGWERROR = "InternalError.AccountCgwError"

	// An error occurred while calling another service API.
	INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError"

	// An error occurred while calling another service API.
	INTERNALERROR_CAMERROR = "InternalError.CamError"

	// An error occurred while calling another service API.
	INTERNALERROR_CBSCGWERROR = "InternalError.CbsCgwError"

	// An error occurred while calling another service API.
	INTERNALERROR_CBSERROR = "InternalError.CbsError"

	// An error occurred while calling another service API.
	INTERNALERROR_CDBCGWERROR = "InternalError.CdbCgwError"

	// An error occurred while calling another service API.
	INTERNALERROR_CDBERROR = "InternalError.CdbError"

	// CVM or CBS resources are insufficient, or the software is invalid.
	INTERNALERROR_CHECKQUOTAERR = "InternalError.CheckQuotaErr"

	// An error occurred while calling another service API.
	INTERNALERROR_CONFIGCGWERROR = "InternalError.ConfigCgwError"

	// An error occurred while calling another service API.
	INTERNALERROR_CVMERROR = "InternalError.CvmError"

	// An error occurred while calling another service API.
	INTERNALERROR_KMSERROR = "InternalError.KmsError"

	// An error occurred while calling another service API.
	INTERNALERROR_PROJECTCGWERROR = "InternalError.ProjectCgwError"

	// An error occurred when calling a security group API.
	INTERNALERROR_SGERROR = "InternalError.SgError"

	// An error occurred while calling TKE.
	INTERNALERROR_TKEERROR = "InternalError.TKEError"

	// An error occurred while calling another service API.
	INTERNALERROR_TAGERROR = "InternalError.TagError"

	// An error occurred while calling another service API.
	INTERNALERROR_TRADECGWERROR = "InternalError.TradeCgwError"

	// An error occurred while calling another service API.
	INTERNALERROR_VPCCGWERROR = "InternalError.VpcCgwError"

	// An error occurred while calling another service API.
	INTERNALERROR_VPCERROR = "InternalError.VpcError"

	// An error occurred when calling the Woodpecker server.
	INTERNALERROR_WOODSERVERERROR = "InternalError.WoodServerError"

	// Invalid parameter.
	INVALIDPARAMETER = "InvalidParameter"

	// Incorrect display policy.
	INVALIDPARAMETER_DISPLAYSTRATEGYNOTMATCH = "InvalidParameter.DisplayStrategyNotMatch"

	// The number of common nodes is invalid.
	INVALIDPARAMETER_INCORRECTCOMMONCOUNT = "InvalidParameter.IncorrectCommonCount"

	// The number of master nodes is invalid.
	INVALIDPARAMETER_INCORRECTMASTERCOUNT = "InvalidParameter.IncorrectMasterCount"

	// The number of core nodes cannot exceed 20.
	INVALIDPARAMETER_INVAILDCORECOUNT = "InvalidParameter.InvaildCoreCount"

	// Invalid `AppId`.
	INVALIDPARAMETER_INVALIDAPPID = "InvalidParameter.InvalidAppId"

	// Invalid auto-renewal flag.
	INVALIDPARAMETER_INVALIDAUTORENEW = "InvalidParameter.InvalidAutoRenew"

	// Invalid `ClientToken`.
	INVALIDPARAMETER_INVALIDCLIENTTOKEN = "InvalidParameter.InvalidClientToken"

	// Invalid parameter: ClusterId.
	INVALIDPARAMETER_INVALIDCLUSTERID = "InvalidParameter.InvalidClusterId"

	// Invalid component.
	INVALIDPARAMETER_INVALIDCOMPONENT = "InvalidParameter.InvalidComponent"

	// The number of core nodes is invalid.
	INVALIDPARAMETER_INVALIDCORECOUNT = "InvalidParameter.InvalidCoreCount"

	// The number of nodes for scaling-out must be greater than 0.
	INVALIDPARAMETER_INVALIDCOUNT = "InvalidParameter.InvalidCount"

	// An individual scaling-out request only applies to task nodes or core nodes.
	INVALIDPARAMETER_INVALIDCOUNTNUM = "InvalidParameter.InvalidCountNum"

	// Container account or container parameter verification error.
	INVALIDPARAMETER_INVALIDCUSTOMIZEDPODPARAM = "InvalidParameter.InvalidCustomizedPodParam"

	// Invalid disk size.
	INVALIDPARAMETER_INVALIDDISKSIZE = "InvalidParameter.InvalidDiskSize"

	// Invalid EKS instance.
	INVALIDPARAMETER_INVALIDEKSINSTANCE = "InvalidParameter.InvalidEksInstance"

	// Invalid `CustomConfig`.
	INVALIDPARAMETER_INVALIDEXTENDFIELD = "InvalidParameter.InvalidExtendField"

	// Invalid cluster name.
	INVALIDPARAMETER_INVALIDINSTANCENAME = "InvalidParameter.InvalidInstanceName"

	// Invalid login settings.
	INVALIDPARAMETER_INVALIDLOGINSETTING = "InvalidParameter.InvalidLoginSetting"

	// Invalid metadata table type.
	INVALIDPARAMETER_INVALIDMETATYPE = "InvalidParameter.InvalidMetaType"

	// Invalid target specification.
	INVALIDPARAMETER_INVALIDMODIFYSPEC = "InvalidParameter.InvalidModifySpec"

	// Invalid `NodeType`.
	INVALIDPARAMETER_INVALIDNODETYPE = "InvalidParameter.InvalidNodeType"

	// Invalid password.
	INVALIDPARAMETER_INVALIDPASSWORD = "InvalidParameter.InvalidPassword"

	// Invalid billing mode.
	INVALIDPARAMETER_INVALIDPAYMODE = "InvalidParameter.InvalidPaymode"

	// Invalid bootstrap script.
	INVALIDPARAMETER_INVALIDPREEXECUTEDFILE = "InvalidParameter.InvalidPreExecutedFile"

	// Invalid product ID.
	INVALIDPARAMETER_INVALIDPRODUCTID = "InvalidParameter.InvalidProductId"

	// Invalid project ID.
	INVALIDPARAMETER_INVALIDPROJECTID = "InvalidParameter.InvalidProjectId"

	// Invalid resource ID.
	INVALIDPARAMETER_INVALIDRESOURCEIDS = "InvalidParameter.InvalidResourceIds"

	// Invalid resource specification.
	INVALIDPARAMETER_INVALIDRESOURCESPEC = "InvalidParameter.InvalidResourceSpec"

	// Invalid security group ID.
	INVALIDPARAMETER_INVALIDSERCURITYGRPUPID = "InvalidParameter.InvalidSercurityGrpupId"

	// The service name is invalid.
	INVALIDPARAMETER_INVALIDSERVICENAME = "InvalidParameter.InvalidServiceName"

	// The `ServiceNodeInfo` parameter is invalid or incorrect.
	INVALIDPARAMETER_INVALIDSERVICENODEINFO = "InvalidParameter.InvalidServiceNodeInfo"

	// The `InvalidSoftDeployInfo` parameter is invalid or incorrect.
	INVALIDPARAMETER_INVALIDSOFTDEPLOYINFO = "InvalidParameter.InvalidSoftDeployInfo"

	// Invalid `SoftInfo`.
	INVALIDPARAMETER_INVALIDSOFTINFO = "InvalidParameter.InvalidSoftInfo"

	// Incorrect parameter.
	INVALIDPARAMETER_INVALIDSOFTWARE = "InvalidParameter.InvalidSoftWare"

	// The software name is invalid.
	INVALIDPARAMETER_INVALIDSOFTWARENAME = "InvalidParameter.InvalidSoftWareName"

	// The software version is invalid.
	INVALIDPARAMETER_INVALIDSOFTWAREVERSION = "InvalidParameter.InvalidSoftWareVersion"

	// Invalid subnet ID.
	INVALIDPARAMETER_INVALIDSUBNETID = "InvalidParameter.InvalidSubnetId"

	// Invalid high availability parameter.
	INVALIDPARAMETER_INVALIDSUPPORTHA = "InvalidParameter.InvalidSupportHA"

	// The number of task nodes cannot exceed 20.
	INVALIDPARAMETER_INVALIDTASKCOUNT = "InvalidParameter.InvalidTaskCount"

	// Invalid `timespan`.
	INVALIDPARAMETER_INVALIDTIMESPAN = "InvalidParameter.InvalidTimeSpan"

	// Invalid `TimeUnit`.
	INVALIDPARAMETER_INVALIDTIMEUNIT = "InvalidParameter.InvalidTimeUnit"

	// TKE cluster ID is invalid or TKE cluster does not meet the requirements.
	INVALIDPARAMETER_INVALIDTKEINSTANCE = "InvalidParameter.InvalidTkeInstance"

	// Invalid unified metadatabase.
	INVALIDPARAMETER_INVALIDUNIFYMETA = "InvalidParameter.InvalidUnifyMeta"

	// Invalid VPC ID.
	INVALIDPARAMETER_INVALIDVPCID = "InvalidParameter.InvalidVpcId"

	// Invalid AZ.
	INVALIDPARAMETER_INVALIDZONE = "InvalidParameter.InvalidZone"

	// Invalid parameter. Necessary components are missing.
	INVALIDPARAMETER_NOTCONTAINMUSTSELECTSOFTWARE = "InvalidParameter.NotContainMustSelectSoftware"

	// Invalid sorting field.
	INVALIDPARAMETER_ORDERFIELDNOTMATCH = "InvalidParameter.OrderFieldNotMatch"

	// The billing mode and resource do not match.
	INVALIDPARAMETER_PAYMODERESOURCENOTMATCH = "InvalidParameter.PayModeResourceNotMatch"

	// The project does not match the resource.
	INVALIDPARAMETER_PROJECTRESOURCENOTMATCH = "InvalidParameter.ProjectResourceNotMatch"

	// There is an invalid product component.
	INVALIDPARAMETER_SOFTWARENOTINPRODUCT = "InvalidParameter.SoftwareNotInProduct"

	// The policy is not authorized.
	INVALIDPARAMETER_UNGRANTEDPOLICY = "InvalidParameter.UngrantedPolicy"

	// The role is not authorized.
	INVALIDPARAMETER_UNGRANTEDROLE = "InvalidParameter.UngrantedRole"

	// The AZ and resource do not match.
	INVALIDPARAMETER_ZONERESOURCENOTMATCH = "InvalidParameter.ZoneResourceNotMatch"

	// Incorrect parameter value.
	INVALIDPARAMETERVALUE = "InvalidParameterValue"

	// The TKE cluster ID is invalid, or the TKE cluster is not eligible.
	INVALIDPARAMETERVALUE_INVALIDTKEINSTANCE = "InvalidParameterValue.InvalidTkeInstance"

	// Missing parameter.
	MISSINGPARAMETER = "MissingParameter"

	// The instance is under workflow.
	RESOURCEINUSE_INSTANCEINPROCESS = "ResourceInUse.InstanceInProcess"

	// The disk specification is insufficient.
	RESOURCEINSUFFICIENT_DISKINSUFFICIENT = "ResourceInsufficient.DiskInsufficient"

	// The node specification is unsupported or has been sold out.
	RESOURCEINSUFFICIENT_INSTANCEINSUFFICIENT = "ResourceInsufficient.InstanceInsufficient"

	// The instance was not found.
	RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"

	// No hardware information found.
	RESOURCENOTFOUND_HARDWAREINFONOTFOUND = "ResourceNotFound.HardwareInfoNotFound"

	// The instance was not found.
	RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"

	// Unable to find the monitoring metadata.
	RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound"

	// No corresponding subnet found.
	RESOURCENOTFOUND_SUBNETNOTFOUND = "ResourceNotFound.SubnetNotFound"

	// A preset component of the TKE cluster has not been deployed.
	RESOURCENOTFOUND_TKEPRECONDITIONNOTFOUND = "ResourceNotFound.TKEPreconditionNotFound"

	// No specified tag found.
	RESOURCENOTFOUND_TAGSNOTFOUND = "ResourceNotFound.TagsNotFound"

	// There is no default specification for the current resource specification.
	RESOURCEUNAVAILABLE_RESOURCESPEC_NOTDEFAULTSPEC = "ResourceUnavailable.ResourceSpec_NotDefaultSpec"

	// The resources have been sold out.
	RESOURCESSOLDOUT_ = "ResourcesSoldOut."

	// The CBS resources have been sold out.
	RESOURCESSOLDOUT_CBSSOLDOUT = "ResourcesSoldOut.CbsSoldOut"

	// CVM instances have been sold out.
	RESOURCESSOLDOUT_CVMSOLDOUT = "ResourcesSoldOut.CvmSoldOut"

	// Unknown parameter.
	UNKNOWNPARAMETER = "UnknownParameter"

	// Unsupported operation.
	UNSUPPORTEDOPERATION = "UnsupportedOperation"
)
View Source
const APIVersion = "2019-01-03"

Variables

This section is empty.

Functions

This section is empty.

Types

type COSSettings

type COSSettings struct {

	// COS `SecretId`
	CosSecretId *string `json:"CosSecretId,omitempty" name:"CosSecretId"`

	// COS `SecrectKey`
	CosSecretKey *string `json:"CosSecretKey,omitempty" name:"CosSecretKey"`

	// COS path to log
	LogOnCosPath *string `json:"LogOnCosPath,omitempty" name:"LogOnCosPath"`
}

type CdbInfo

type CdbInfo struct {

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

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

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

	// Database memory specification
	// Note: this field may return null, indicating that no valid values can be obtained.
	MemSize *int64 `json:"MemSize,omitempty" name:"MemSize"`

	// Database disk specification
	// Note: this field may return null, indicating that no valid values can be obtained.
	Volume *int64 `json:"Volume,omitempty" name:"Volume"`

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

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

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

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

	// Expiration flag
	// Note: this field may return null, indicating that no valid values can be obtained.
	ExpireFlag *bool `json:"ExpireFlag,omitempty" name:"ExpireFlag"`

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

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

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

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

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

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

func (c *Client) CreateInstance(request *CreateInstanceRequest) (response *CreateInstanceResponse, err error)

CreateInstance This API is used to create an EMR cluster instance.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DUPLICATEORDERNOTALLOWED = "FailedOperation.DuplicateOrderNotAllowed"
INTERNALERROR = "InternalError"
INTERNALERROR_ACCOUNTCGWERROR = "InternalError.AccountCgwError"
INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError"
INTERNALERROR_CAMERROR = "InternalError.CamError"
INTERNALERROR_CBSCGWERROR = "InternalError.CbsCgwError"
INTERNALERROR_CBSERROR = "InternalError.CbsError"
INTERNALERROR_CDBCGWERROR = "InternalError.CdbCgwError"
INTERNALERROR_CDBERROR = "InternalError.CdbError"
INTERNALERROR_CHECKQUOTAERR = "InternalError.CheckQuotaErr"
INTERNALERROR_CONFIGCGWERROR = "InternalError.ConfigCgwError"
INTERNALERROR_CVMERROR = "InternalError.CvmError"
INTERNALERROR_KMSERROR = "InternalError.KmsError"
INTERNALERROR_PROJECTCGWERROR = "InternalError.ProjectCgwError"
INTERNALERROR_SGERROR = "InternalError.SgError"
INTERNALERROR_TAGERROR = "InternalError.TagError"
INTERNALERROR_TRADECGWERROR = "InternalError.TradeCgwError"
INTERNALERROR_VPCCGWERROR = "InternalError.VpcCgwError"
INTERNALERROR_VPCERROR = "InternalError.VpcError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INCORRECTCOMMONCOUNT = "InvalidParameter.IncorrectCommonCount"
INVALIDPARAMETER_INCORRECTMASTERCOUNT = "InvalidParameter.IncorrectMasterCount"
INVALIDPARAMETER_INVAILDCORECOUNT = "InvalidParameter.InvaildCoreCount"
INVALIDPARAMETER_INVALIDAUTORENEW = "InvalidParameter.InvalidAutoRenew"
INVALIDPARAMETER_INVALIDCLIENTTOKEN = "InvalidParameter.InvalidClientToken"
INVALIDPARAMETER_INVALIDCOMPONENT = "InvalidParameter.InvalidComponent"
INVALIDPARAMETER_INVALIDCORECOUNT = "InvalidParameter.InvalidCoreCount"
INVALIDPARAMETER_INVALIDDISKSIZE = "InvalidParameter.InvalidDiskSize"
INVALIDPARAMETER_INVALIDEXTENDFIELD = "InvalidParameter.InvalidExtendField"
INVALIDPARAMETER_INVALIDINSTANCENAME = "InvalidParameter.InvalidInstanceName"
INVALIDPARAMETER_INVALIDLOGINSETTING = "InvalidParameter.InvalidLoginSetting"
INVALIDPARAMETER_INVALIDMETATYPE = "InvalidParameter.InvalidMetaType"
INVALIDPARAMETER_INVALIDPASSWORD = "InvalidParameter.InvalidPassword"
INVALIDPARAMETER_INVALIDPAYMODE = "InvalidParameter.InvalidPaymode"
INVALIDPARAMETER_INVALIDPREEXECUTEDFILE = "InvalidParameter.InvalidPreExecutedFile"
INVALIDPARAMETER_INVALIDPRODUCTID = "InvalidParameter.InvalidProductId"
INVALIDPARAMETER_INVALIDPROJECTID = "InvalidParameter.InvalidProjectId"
INVALIDPARAMETER_INVALIDRESOURCESPEC = "InvalidParameter.InvalidResourceSpec"
INVALIDPARAMETER_INVALIDSERCURITYGRPUPID = "InvalidParameter.InvalidSercurityGrpupId"
INVALIDPARAMETER_INVALIDSERVICENAME = "InvalidParameter.InvalidServiceName"
INVALIDPARAMETER_INVALIDSOFTDEPLOYINFO = "InvalidParameter.InvalidSoftDeployInfo"
INVALIDPARAMETER_INVALIDSOFTINFO = "InvalidParameter.InvalidSoftInfo"
INVALIDPARAMETER_INVALIDSOFTWARE = "InvalidParameter.InvalidSoftWare"
INVALIDPARAMETER_INVALIDSOFTWAREVERSION = "InvalidParameter.InvalidSoftWareVersion"
INVALIDPARAMETER_INVALIDSUBNETID = "InvalidParameter.InvalidSubnetId"
INVALIDPARAMETER_INVALIDSUPPORTHA = "InvalidParameter.InvalidSupportHA"
INVALIDPARAMETER_INVALIDTIMESPAN = "InvalidParameter.InvalidTimeSpan"
INVALIDPARAMETER_INVALIDTIMEUNIT = "InvalidParameter.InvalidTimeUnit"
INVALIDPARAMETER_INVALIDVPCID = "InvalidParameter.InvalidVpcId"
INVALIDPARAMETER_INVALIDZONE = "InvalidParameter.InvalidZone"
INVALIDPARAMETER_NOTCONTAINMUSTSELECTSOFTWARE = "InvalidParameter.NotContainMustSelectSoftware"
INVALIDPARAMETER_PAYMODERESOURCENOTMATCH = "InvalidParameter.PayModeResourceNotMatch"
INVALIDPARAMETER_SOFTWARENOTINPRODUCT = "InvalidParameter.SoftwareNotInProduct"
INVALIDPARAMETER_UNGRANTEDPOLICY = "InvalidParameter.UngrantedPolicy"
INVALIDPARAMETER_UNGRANTEDROLE = "InvalidParameter.UngrantedRole"
INVALIDPARAMETER_ZONERESOURCENOTMATCH = "InvalidParameter.ZoneResourceNotMatch"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINSUFFICIENT_DISKINSUFFICIENT = "ResourceInsufficient.DiskInsufficient"
RESOURCEINSUFFICIENT_INSTANCEINSUFFICIENT = "ResourceInsufficient.InstanceInsufficient"
RESOURCENOTFOUND_TAGSNOTFOUND = "ResourceNotFound.TagsNotFound"
RESOURCESSOLDOUT_ = "ResourcesSoldOut."
RESOURCESSOLDOUT_CBSSOLDOUT = "ResourcesSoldOut.CbsSoldOut"
RESOURCESSOLDOUT_CVMSOLDOUT = "ResourcesSoldOut.CvmSoldOut"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeClusterNodes

func (c *Client) DescribeClusterNodes(request *DescribeClusterNodesRequest) (response *DescribeClusterNodesResponse, err error)

DescribeClusterNodes This API is used to query the information of a hardware node.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_ACCOUNTCGWERROR = "InternalError.AccountCgwError"
INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError"
INTERNALERROR_CAMERROR = "InternalError.CamError"
INTERNALERROR_CBSCGWERROR = "InternalError.CbsCgwError"
INTERNALERROR_CBSERROR = "InternalError.CbsError"
INTERNALERROR_CDBCGWERROR = "InternalError.CdbCgwError"
INTERNALERROR_CDBERROR = "InternalError.CdbError"
INTERNALERROR_CONFIGCGWERROR = "InternalError.ConfigCgwError"
INTERNALERROR_CVMERROR = "InternalError.CvmError"
INTERNALERROR_KMSERROR = "InternalError.KmsError"
INTERNALERROR_PROJECTCGWERROR = "InternalError.ProjectCgwError"
INTERNALERROR_SGERROR = "InternalError.SgError"
INTERNALERROR_TAGERROR = "InternalError.TagError"
INTERNALERROR_TRADECGWERROR = "InternalError.TradeCgwError"
INTERNALERROR_VPCCGWERROR = "InternalError.VpcCgwError"
INTERNALERROR_VPCERROR = "InternalError.VpcError"
INTERNALERROR_WOODSERVERERROR = "InternalError.WoodServerError"
INVALIDPARAMETER_INVALIDAPPID = "InvalidParameter.InvalidAppId"
INVALIDPARAMETER_INVALIDINSTANCENAME = "InvalidParameter.InvalidInstanceName"
INVALIDPARAMETER_INVALIDNODETYPE = "InvalidParameter.InvalidNodeType"
RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeInstances

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

DescribeInstances This API is used to query EMR instances.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_ACCOUNTCGWERROR = "InternalError.AccountCgwError"
INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError"
INTERNALERROR_CAMERROR = "InternalError.CamError"
INTERNALERROR_CBSCGWERROR = "InternalError.CbsCgwError"
INTERNALERROR_CBSERROR = "InternalError.CbsError"
INTERNALERROR_CDBCGWERROR = "InternalError.CdbCgwError"
INTERNALERROR_CDBERROR = "InternalError.CdbError"
INTERNALERROR_CONFIGCGWERROR = "InternalError.ConfigCgwError"
INTERNALERROR_CVMERROR = "InternalError.CvmError"
INTERNALERROR_KMSERROR = "InternalError.KmsError"
INTERNALERROR_PROJECTCGWERROR = "InternalError.ProjectCgwError"
INTERNALERROR_SGERROR = "InternalError.SgError"
INTERNALERROR_TAGERROR = "InternalError.TagError"
INTERNALERROR_TRADECGWERROR = "InternalError.TradeCgwError"
INTERNALERROR_VPCCGWERROR = "InternalError.VpcCgwError"
INTERNALERROR_VPCERROR = "InternalError.VpcError"
INTERNALERROR_WOODSERVERERROR = "InternalError.WoodServerError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_DISPLAYSTRATEGYNOTMATCH = "InvalidParameter.DisplayStrategyNotMatch"
INVALIDPARAMETER_INVALIDCLUSTERID = "InvalidParameter.InvalidClusterId"
INVALIDPARAMETER_ORDERFIELDNOTMATCH = "InvalidParameter.OrderFieldNotMatch"
RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"
RESOURCENOTFOUND_HARDWAREINFONOTFOUND = "ResourceNotFound.HardwareInfoNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"

func (*Client) InquiryPriceCreateInstance

func (c *Client) InquiryPriceCreateInstance(request *InquiryPriceCreateInstanceRequest) (response *InquiryPriceCreateInstanceResponse, err error)

InquiryPriceCreateInstance This API is used to query price of instance creation.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR_ACCOUNTCGWERROR = "InternalError.AccountCgwError"
INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError"
INTERNALERROR_CAMERROR = "InternalError.CamError"
INTERNALERROR_CBSCGWERROR = "InternalError.CbsCgwError"
INTERNALERROR_CBSERROR = "InternalError.CbsError"
INTERNALERROR_CDBCGWERROR = "InternalError.CdbCgwError"
INTERNALERROR_CDBERROR = "InternalError.CdbError"
INTERNALERROR_CONFIGCGWERROR = "InternalError.ConfigCgwError"
INTERNALERROR_CVMERROR = "InternalError.CvmError"
INTERNALERROR_KMSERROR = "InternalError.KmsError"
INTERNALERROR_PROJECTCGWERROR = "InternalError.ProjectCgwError"
INTERNALERROR_SGERROR = "InternalError.SgError"
INTERNALERROR_TAGERROR = "InternalError.TagError"
INTERNALERROR_TRADECGWERROR = "InternalError.TradeCgwError"
INTERNALERROR_VPCCGWERROR = "InternalError.VpcCgwError"
INTERNALERROR_VPCERROR = "InternalError.VpcError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDRESOURCESPEC = "InvalidParameter.InvalidResourceSpec"
INVALIDPARAMETER_INVALIDSOFTWARENAME = "InvalidParameter.InvalidSoftWareName"
INVALIDPARAMETER_INVALIDUNIFYMETA = "InvalidParameter.InvalidUnifyMeta"
INVALIDPARAMETER_INVALIDZONE = "InvalidParameter.InvalidZone"
INVALIDPARAMETER_SOFTWARENOTINPRODUCT = "InvalidParameter.SoftwareNotInProduct"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCEINSUFFICIENT_DISKINSUFFICIENT = "ResourceInsufficient.DiskInsufficient"
RESOURCEINSUFFICIENT_INSTANCEINSUFFICIENT = "ResourceInsufficient.InstanceInsufficient"
RESOURCENOTFOUND_SUBNETNOTFOUND = "ResourceNotFound.SubnetNotFound"
RESOURCESSOLDOUT_ = "ResourcesSoldOut."
RESOURCESSOLDOUT_CBSSOLDOUT = "ResourcesSoldOut.CbsSoldOut"
RESOURCESSOLDOUT_CVMSOLDOUT = "ResourcesSoldOut.CvmSoldOut"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) InquiryPriceRenewInstance

func (c *Client) InquiryPriceRenewInstance(request *InquiryPriceRenewInstanceRequest) (response *InquiryPriceRenewInstanceResponse, err error)

InquiryPriceRenewInstance This API is used to query the price for renewal.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_ACCOUNTCGWERROR = "InternalError.AccountCgwError"
INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError"
INTERNALERROR_CAMERROR = "InternalError.CamError"
INTERNALERROR_CBSCGWERROR = "InternalError.CbsCgwError"
INTERNALERROR_CBSERROR = "InternalError.CbsError"
INTERNALERROR_CDBCGWERROR = "InternalError.CdbCgwError"
INTERNALERROR_CDBERROR = "InternalError.CdbError"
INTERNALERROR_CHECKQUOTAERR = "InternalError.CheckQuotaErr"
INTERNALERROR_CONFIGCGWERROR = "InternalError.ConfigCgwError"
INTERNALERROR_CVMERROR = "InternalError.CvmError"
INTERNALERROR_KMSERROR = "InternalError.KmsError"
INTERNALERROR_PROJECTCGWERROR = "InternalError.ProjectCgwError"
INTERNALERROR_SGERROR = "InternalError.SgError"
INTERNALERROR_TAGERROR = "InternalError.TagError"
INTERNALERROR_TRADECGWERROR = "InternalError.TradeCgwError"
INTERNALERROR_VPCCGWERROR = "InternalError.VpcCgwError"
INTERNALERROR_VPCERROR = "InternalError.VpcError"
INVALIDPARAMETER_INVALIDRESOURCEIDS = "InvalidParameter.InvalidResourceIds"
INVALIDPARAMETER_INVALIDTIMESPAN = "InvalidParameter.InvalidTimeSpan"
INVALIDPARAMETER_INVALIDTIMEUNIT = "InvalidParameter.InvalidTimeUnit"
INVALIDPARAMETER_PAYMODERESOURCENOTMATCH = "InvalidParameter.PayModeResourceNotMatch"
INVALIDPARAMETER_PROJECTRESOURCENOTMATCH = "InvalidParameter.ProjectResourceNotMatch"
INVALIDPARAMETER_ZONERESOURCENOTMATCH = "InvalidParameter.ZoneResourceNotMatch"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound"

func (*Client) InquiryPriceScaleOutInstance

func (c *Client) InquiryPriceScaleOutInstance(request *InquiryPriceScaleOutInstanceRequest) (response *InquiryPriceScaleOutInstanceResponse, err error)

InquiryPriceScaleOutInstance This API is used to query price of scale-out.

error code that may be returned:

INTERNALERROR_ACCOUNTCGWERROR = "InternalError.AccountCgwError"
INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError"
INTERNALERROR_CAMERROR = "InternalError.CamError"
INTERNALERROR_CBSCGWERROR = "InternalError.CbsCgwError"
INTERNALERROR_CBSERROR = "InternalError.CbsError"
INTERNALERROR_CDBCGWERROR = "InternalError.CdbCgwError"
INTERNALERROR_CDBERROR = "InternalError.CdbError"
INTERNALERROR_CHECKQUOTAERR = "InternalError.CheckQuotaErr"
INTERNALERROR_CONFIGCGWERROR = "InternalError.ConfigCgwError"
INTERNALERROR_CVMERROR = "InternalError.CvmError"
INTERNALERROR_KMSERROR = "InternalError.KmsError"
INTERNALERROR_PROJECTCGWERROR = "InternalError.ProjectCgwError"
INTERNALERROR_SGERROR = "InternalError.SgError"
INTERNALERROR_TAGERROR = "InternalError.TagError"
INTERNALERROR_TRADECGWERROR = "InternalError.TradeCgwError"
INTERNALERROR_VPCCGWERROR = "InternalError.VpcCgwError"
INTERNALERROR_VPCERROR = "InternalError.VpcError"
INVALIDPARAMETER_INVAILDCORECOUNT = "InvalidParameter.InvaildCoreCount"
INVALIDPARAMETER_INVALIDAPPID = "InvalidParameter.InvalidAppId"
INVALIDPARAMETER_INVALIDCOUNTNUM = "InvalidParameter.InvalidCountNum"
INVALIDPARAMETER_INVALIDMODIFYSPEC = "InvalidParameter.InvalidModifySpec"
INVALIDPARAMETER_INVALIDPAYMODE = "InvalidParameter.InvalidPaymode"
INVALIDPARAMETER_INVALIDRESOURCESPEC = "InvalidParameter.InvalidResourceSpec"
INVALIDPARAMETER_INVALIDTIMESPAN = "InvalidParameter.InvalidTimeSpan"
INVALIDPARAMETER_INVALIDTIMEUNIT = "InvalidParameter.InvalidTimeUnit"
INVALIDPARAMETER_INVALIDVPCID = "InvalidParameter.InvalidVpcId"
RESOURCEINSUFFICIENT_INSTANCEINSUFFICIENT = "ResourceInsufficient.InstanceInsufficient"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCEUNAVAILABLE_RESOURCESPEC_NOTDEFAULTSPEC = "ResourceUnavailable.ResourceSpec_NotDefaultSpec"
RESOURCESSOLDOUT_CVMSOLDOUT = "ResourcesSoldOut.CvmSoldOut"

func (*Client) InquiryPriceUpdateInstance

func (c *Client) InquiryPriceUpdateInstance(request *InquiryPriceUpdateInstanceRequest) (response *InquiryPriceUpdateInstanceResponse, err error)

InquiryPriceUpdateInstance This API is used to query price of scaling.

error code that may be returned:

INTERNALERROR_ACCOUNTCGWERROR = "InternalError.AccountCgwError"
INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError"
INTERNALERROR_CAMERROR = "InternalError.CamError"
INTERNALERROR_CBSCGWERROR = "InternalError.CbsCgwError"
INTERNALERROR_CBSERROR = "InternalError.CbsError"
INTERNALERROR_CDBCGWERROR = "InternalError.CdbCgwError"
INTERNALERROR_CDBERROR = "InternalError.CdbError"
INTERNALERROR_CHECKQUOTAERR = "InternalError.CheckQuotaErr"
INTERNALERROR_CONFIGCGWERROR = "InternalError.ConfigCgwError"
INTERNALERROR_CVMERROR = "InternalError.CvmError"
INTERNALERROR_KMSERROR = "InternalError.KmsError"
INTERNALERROR_PROJECTCGWERROR = "InternalError.ProjectCgwError"
INTERNALERROR_SGERROR = "InternalError.SgError"
INTERNALERROR_TAGERROR = "InternalError.TagError"
INTERNALERROR_TRADECGWERROR = "InternalError.TradeCgwError"
INTERNALERROR_VPCCGWERROR = "InternalError.VpcCgwError"
INTERNALERROR_VPCERROR = "InternalError.VpcError"
INVALIDPARAMETER_INVALIDAPPID = "InvalidParameter.InvalidAppId"
INVALIDPARAMETER_INVALIDCLUSTERID = "InvalidParameter.InvalidClusterId"
INVALIDPARAMETER_INVALIDMODIFYSPEC = "InvalidParameter.InvalidModifySpec"
INVALIDPARAMETER_INVALIDRESOURCESPEC = "InvalidParameter.InvalidResourceSpec"
INVALIDPARAMETER_INVALIDTIMESPAN = "InvalidParameter.InvalidTimeSpan"
INVALIDPARAMETER_INVALIDTIMEUNIT = "InvalidParameter.InvalidTimeUnit"
INVALIDPARAMETER_INVALIDZONE = "InvalidParameter.InvalidZone"
INVALIDPARAMETER_ZONERESOURCENOTMATCH = "InvalidParameter.ZoneResourceNotMatch"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound"

func (*Client) ScaleOutInstance

func (c *Client) ScaleOutInstance(request *ScaleOutInstanceRequest) (response *ScaleOutInstanceResponse, err error)

ScaleOutInstance This API is used to scale out instance.

error code that may be returned:

FAILEDOPERATION_DUPLICATEORDERNOTALLOWED = "FailedOperation.DuplicateOrderNotAllowed"
INTERNALERROR = "InternalError"
INTERNALERROR_ACCOUNTCGWERROR = "InternalError.AccountCgwError"
INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError"
INTERNALERROR_CAMERROR = "InternalError.CamError"
INTERNALERROR_CBSCGWERROR = "InternalError.CbsCgwError"
INTERNALERROR_CBSERROR = "InternalError.CbsError"
INTERNALERROR_CDBCGWERROR = "InternalError.CdbCgwError"
INTERNALERROR_CDBERROR = "InternalError.CdbError"
INTERNALERROR_CONFIGCGWERROR = "InternalError.ConfigCgwError"
INTERNALERROR_CVMERROR = "InternalError.CvmError"
INTERNALERROR_KMSERROR = "InternalError.KmsError"
INTERNALERROR_PROJECTCGWERROR = "InternalError.ProjectCgwError"
INTERNALERROR_SGERROR = "InternalError.SgError"
INTERNALERROR_TKEERROR = "InternalError.TKEError"
INTERNALERROR_TAGERROR = "InternalError.TagError"
INTERNALERROR_TRADECGWERROR = "InternalError.TradeCgwError"
INTERNALERROR_VPCCGWERROR = "InternalError.VpcCgwError"
INTERNALERROR_VPCERROR = "InternalError.VpcError"
INTERNALERROR_WOODSERVERERROR = "InternalError.WoodServerError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVAILDCORECOUNT = "InvalidParameter.InvaildCoreCount"
INVALIDPARAMETER_INVALIDAPPID = "InvalidParameter.InvalidAppId"
INVALIDPARAMETER_INVALIDCLIENTTOKEN = "InvalidParameter.InvalidClientToken"
INVALIDPARAMETER_INVALIDCLUSTERID = "InvalidParameter.InvalidClusterId"
INVALIDPARAMETER_INVALIDCOUNT = "InvalidParameter.InvalidCount"
INVALIDPARAMETER_INVALIDCOUNTNUM = "InvalidParameter.InvalidCountNum"
INVALIDPARAMETER_INVALIDCUSTOMIZEDPODPARAM = "InvalidParameter.InvalidCustomizedPodParam"
INVALIDPARAMETER_INVALIDEKSINSTANCE = "InvalidParameter.InvalidEksInstance"
INVALIDPARAMETER_INVALIDPAYMODE = "InvalidParameter.InvalidPaymode"
INVALIDPARAMETER_INVALIDSERVICENODEINFO = "InvalidParameter.InvalidServiceNodeInfo"
INVALIDPARAMETER_INVALIDSOFTDEPLOYINFO = "InvalidParameter.InvalidSoftDeployInfo"
INVALIDPARAMETER_INVALIDTASKCOUNT = "InvalidParameter.InvalidTaskCount"
INVALIDPARAMETER_INVALIDTIMESPAN = "InvalidParameter.InvalidTimeSpan"
INVALIDPARAMETER_INVALIDTIMEUNIT = "InvalidParameter.InvalidTimeUnit"
INVALIDPARAMETER_INVALIDTKEINSTANCE = "InvalidParameter.InvalidTkeInstance"
INVALIDPARAMETERVALUE_INVALIDTKEINSTANCE = "InvalidParameterValue.InvalidTkeInstance"
RESOURCEINUSE_INSTANCEINPROCESS = "ResourceInUse.InstanceInProcess"
RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCENOTFOUND_TKEPRECONDITIONNOTFOUND = "ResourceNotFound.TKEPreconditionNotFound"
RESOURCENOTFOUND_TAGSNOTFOUND = "ResourceNotFound.TagsNotFound"
RESOURCESSOLDOUT_ = "ResourcesSoldOut."
RESOURCESSOLDOUT_CBSSOLDOUT = "ResourcesSoldOut.CbsSoldOut"
RESOURCESSOLDOUT_CVMSOLDOUT = "ResourcesSoldOut.CvmSoldOut"

func (*Client) TerminateInstance

func (c *Client) TerminateInstance(request *TerminateInstanceRequest) (response *TerminateInstanceResponse, err error)

TerminateInstance This API is used to terminate an EMR instance. It is only supported in the official paid edition of EMR.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError"
INTERNALERROR_CVMERROR = "InternalError.CvmError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDAPPID = "InvalidParameter.InvalidAppId"
INVALIDPARAMETER_INVALIDCLUSTERID = "InvalidParameter.InvalidClusterId"
INVALIDPARAMETER_INVALIDINSTANCENAME = "InvalidParameter.InvalidInstanceName"
RESOURCEINUSE_INSTANCEINPROCESS = "ResourceInUse.InstanceInProcess"
RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"

func (*Client) TerminateTasks

func (c *Client) TerminateTasks(request *TerminateTasksRequest) (response *TerminateTasksResponse, err error)

TerminateTasks This API is used to terminate a task node.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_ACCOUNTCGWERROR = "InternalError.AccountCgwError"
INTERNALERROR_CAMCGWERROR = "InternalError.CamCgwError"
INTERNALERROR_CAMERROR = "InternalError.CamError"
INTERNALERROR_CBSCGWERROR = "InternalError.CbsCgwError"
INTERNALERROR_CBSERROR = "InternalError.CbsError"
INTERNALERROR_CDBCGWERROR = "InternalError.CdbCgwError"
INTERNALERROR_CDBERROR = "InternalError.CdbError"
INTERNALERROR_CONFIGCGWERROR = "InternalError.ConfigCgwError"
INTERNALERROR_CVMERROR = "InternalError.CvmError"
INTERNALERROR_KMSERROR = "InternalError.KmsError"
INTERNALERROR_PROJECTCGWERROR = "InternalError.ProjectCgwError"
INTERNALERROR_SGERROR = "InternalError.SgError"
INTERNALERROR_TAGERROR = "InternalError.TagError"
INTERNALERROR_TRADECGWERROR = "InternalError.TradeCgwError"
INTERNALERROR_VPCCGWERROR = "InternalError.VpcCgwError"
INTERNALERROR_VPCERROR = "InternalError.VpcError"
INTERNALERROR_WOODSERVERERROR = "InternalError.WoodServerError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDAPPID = "InvalidParameter.InvalidAppId"
INVALIDPARAMETER_INVALIDINSTANCENAME = "InvalidParameter.InvalidInstanceName"
INVALIDPARAMETER_INVALIDRESOURCEIDS = "InvalidParameter.InvalidResourceIds"
RESOURCEINUSE_INSTANCEINPROCESS = "ResourceInUse.InstanceInProcess"
RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound"
RESOURCENOTFOUND_INSTANCENOTFOUND = "ResourceNotFound.InstanceNotFound"
RESOURCENOTFOUND_RESOURCENOTFOUND = "ResourceNotFound.ResourceNotFound"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

type ClusterInstancesInfo

type ClusterInstancesInfo struct {

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

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

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

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

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

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

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

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

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

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

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

	// Instance status code. Value range:
	// <li>2: cluster running</li>
	// <li>3: creating cluster.</li>
	// <li>4: scaling out cluster.</li>
	// <li>5: adding router node in cluster.</li>
	// <li>6: installing component in cluster.</li>
	// <li>7: cluster executing command.</li>
	// <li>8: restarting service.</li>
	// <li>9: entering maintenance.</li>
	// <li>10: suspending service.</li>
	// <li>11: exiting maintenance.</li>
	// <li>12: exiting suspension.</li>
	// <li>13: delivering configuration.</li>
	// <li>14: terminating cluster.</li>
	// <li>15: terminating core node.</li>
	// <li>16: terminating task node.</li>
	// <li>17: terminating router node.</li>
	// <li>18: changing webproxy password.</li>
	// <li>19: isolating cluster.</li>
	// <li>20: resuming cluster.</li>
	// <li>21: repossessing cluster.</li>
	// <li>22: waiting for configuration adjustment.</li>
	// <li>23: cluster isolated.</li>
	// <li>24: removing node.</li>
	// <li>33: waiting for refund.</li>
	// <li>34: refunded.</li>
	// <li>301: creation failed.</li>
	// <li>302: scale-out failed.</li>
	// Note: this field may return null, indicating that no valid values can be obtained.
	Status *int64 `json:"Status,omitempty" name:"Status"`

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

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

	// Cluster product configuration information
	// Note: this field may return null, indicating that no valid values can be obtained.
	Config *EmrProductConfigOutter `json:"Config,omitempty" name:"Config"`

	// Public IP of master node
	// Note: this field may return null, indicating that no valid values can be obtained.
	MasterIp *string `json:"MasterIp,omitempty" name:"MasterIp"`

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

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

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

	// Resource order ID
	// Note: this field may return null, indicating that no valid values can be obtained.
	ResourceOrderId *int64 `json:"ResourceOrderId,omitempty" name:"ResourceOrderId"`

	// Whether this is a paid cluster
	// Note: this field may return null, indicating that no valid values can be obtained.
	IsTradeCluster *int64 `json:"IsTradeCluster,omitempty" name:"IsTradeCluster"`

	// Alarm information for cluster error
	// Note: this field may return null, indicating that no valid values can be obtained.
	AlarmInfo *string `json:"AlarmInfo,omitempty" name:"AlarmInfo"`

	// Whether the new architecture is used
	// Note: this field may return null, indicating that no valid values can be obtained.
	IsWoodpeckerCluster *int64 `json:"IsWoodpeckerCluster,omitempty" name:"IsWoodpeckerCluster"`

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

	// Tag information
	// Note: this field may return null, indicating that no valid values can be obtained.
	Tags []*Tag `json:"Tags,omitempty" name:"Tags"`

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

	// Cluster type: EMR, CLICKHOUSE, DRUID
	// Note: this field may return null, indicating that no valid values can be obtained.
	ServiceClass *string `json:"ServiceClass,omitempty" name:"ServiceClass"`

	// Alias serialization of all nodes in cluster
	// Note: this field may return null, indicating that no valid values can be obtained.
	AliasInfo *string `json:"AliasInfo,omitempty" name:"AliasInfo"`

	// Cluster version ID
	// Note: this field may return null, indicating that no valid values can be obtained.
	ProductId *int64 `json:"ProductId,omitempty" name:"ProductId"`

	// Availability zone
	// Note: this field may return `null`, indicating that no valid value can be obtained.
	Zone *string `json:"Zone,omitempty" name:"Zone"`
}

type CreateInstanceRequest

type CreateInstanceRequest struct {
	*tchttp.BaseRequest

	// Product ID. Different product IDs represent different EMR product versions. Valid values:
	// <li>1: EMR v1.3.1</li>
	// <li>2: EMR v2.0.1</li>
	// <li>4: EMR v2.1.0</li>
	// <li>7: EMR v3.0.0</li>
	// <li>9: EMR v2.2.0</li>
	// <li>11: ClickHouse v1.0.0</li>
	// <li>13: Druid v1.0.0</li>
	// <li>15: EMR v2.2.1</li>
	// <li>16: EMR v2.3.0</li>
	// <li>17: ClickHouse v1.1.0</li>
	// <li>19: EMR v2.4.0</li>
	// <li>20: EMR v2.5.0</li>
	// <li>22: ClickHouse v1.2.0</li>
	// <li>24: EMR TianQiong v1.0.0</li>
	// <li>25: EMR v3.1.0</li>
	// <li>26: Doris v1.0.0</li>
	// <li>27: Kafka v1.0.0</li>
	// <li>28: EMR v3.2.0</li>
	// <li>29: EMR v2.5.1</li>
	// <li>30: EMR v2.6.0</li>
	ProductId *uint64 `json:"ProductId,omitempty" name:"ProductId"`

	// Configuration information of VPC. This parameter is used to specify the VPC ID, subnet ID, etc.
	VPCSettings *VPCSettings `json:"VPCSettings,omitempty" name:"VPCSettings"`

	// List of deployed components. The list of component options varies by EMR product ID (i.e., `ProductId`; for specific meanings, please see the `ProductId` input parameter). For more information, please see [Component Version](https://intl.cloud.tencent.com/document/product/589/20279?from_cn_redirect=1).
	// Enter an instance value: `hive` or `flink`.
	Software []*string `json:"Software,omitempty" name:"Software"`

	// Node resource specification.
	ResourceSpec *NewResourceSpec `json:"ResourceSpec,omitempty" name:"ResourceSpec"`

	// Whether to enable high node availability. Valid values:
	// <li>0: does not enable high availability of node.</li>
	// <li>1: enables high availability of node.</li>
	SupportHA *uint64 `json:"SupportHA,omitempty" name:"SupportHA"`

	// Instance name.
	// <li>Length limit: 6-36 characters.</li>
	// <li>Only letters, numbers, dashes (-), and underscores (_) are supported.</li>
	InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"`

	// Instance billing mode. Valid values:
	// <li>0: pay-as-you-go.</li>
	PayMode *uint64 `json:"PayMode,omitempty" name:"PayMode"`

	// Instance location. This parameter is used to specify the AZ, project, and other attributes of the instance.
	Placement *Placement `json:"Placement,omitempty" name:"Placement"`

	// Purchase duration of instance, which needs to be used together with `TimeUnit`.
	// <li>When `TimeUnit` is `s`, this parameter can only be filled with 3600, indicating a pay-as-you-go instance.</li>
	// <li>When `TimeUnit` is `m`, the number entered in this parameter indicates the purchase duration of the monthly-subscription instance; for example, 1 means one month</li>
	TimeSpan *uint64 `json:"TimeSpan,omitempty" name:"TimeSpan"`

	// Time unit of instance purchase duration. Valid values:
	// <li>s: seconds. When `PayMode` is 0, `TimeUnit` can only be `s`.</li>
	// <li>m: month. When `PayMode` is 1, `TimeUnit` can only be `m`.</li>
	TimeUnit *string `json:"TimeUnit,omitempty" name:"TimeUnit"`

	// Instance login settings. This parameter allows you to set the login password or key for your purchased node.
	// <li>If the key is set, the password will be only used for login to the native component WebUI.</li>
	// <li>If the key is not set, the password will be used for login to all purchased nodes and the native component WebUI.</li>
	LoginSettings *LoginSettings `json:"LoginSettings,omitempty" name:"LoginSettings"`

	// Parameter required for enabling COS access.
	COSSettings *COSSettings `json:"COSSettings,omitempty" name:"COSSettings"`

	// Security group to which an instance belongs in the format of `sg-xxxxxxxx`. This parameter can be obtained from the `SecurityGroupId` field in the return value of the [DescribeSecurityGroups](https://intl.cloud.tencent.com/document/api/215/15808) API.
	SgId *string `json:"SgId,omitempty" name:"SgId"`

	// [Bootstrap action](https://intl.cloud.tencent.com/document/product/589/35656?from_cn_redirect=1) script settings
	PreExecutedFileSettings []*PreExecuteFileSettings `json:"PreExecutedFileSettings,omitempty" name:"PreExecutedFileSettings"`

	// Whether auto-renewal is enabled. Valid values:
	// <li>0: auto-renewal not enabled.</li>
	// <li>1: auto-renewal enabled.</li>
	AutoRenew *uint64 `json:"AutoRenew,omitempty" name:"AutoRenew"`

	// Client token.
	ClientToken *string `json:"ClientToken,omitempty" name:"ClientToken"`

	// Whether to enable public IP access for master node. Valid values:
	// <li>NEED_MASTER_WAN: enables public IP for master node.</li>
	// <li>NOT_NEED_MASTER_WAN: does not enable.</li>Public IP is enabled for master node by default.
	NeedMasterWan *string `json:"NeedMasterWan,omitempty" name:"NeedMasterWan"`

	// Whether to enable remote public network login, i.e., port 22. When `SgId` is not empty, this parameter does not take effect.
	RemoteLoginAtCreate *int64 `json:"RemoteLoginAtCreate,omitempty" name:"RemoteLoginAtCreate"`

	// Whether to enable secure cluster. 0: no; other values: yes.
	CheckSecurity *int64 `json:"CheckSecurity,omitempty" name:"CheckSecurity"`

	// Accesses to external file system.
	ExtendFsField *string `json:"ExtendFsField,omitempty" name:"ExtendFsField"`

	// Tag description list. This parameter is used to bind a tag to a resource instance.
	Tags []*Tag `json:"Tags,omitempty" name:"Tags"`

	// List of spread placement group IDs. Only one can be specified currently.
	// This parameter can be obtained in the `SecurityGroupId` field in the return value of the [DescribeSecurityGroups](https://intl.cloud.tencent.com/document/product/213/15486?from_cn_redirect=1) API.
	DisasterRecoverGroupIds []*string `json:"DisasterRecoverGroupIds,omitempty" name:"DisasterRecoverGroupIds"`

	// CBS disk encryption at the cluster level. 0: not encrypted, 1: encrypted
	CbsEncrypt *uint64 `json:"CbsEncrypt,omitempty" name:"CbsEncrypt"`

	// Hive-shared metadatabase type. Valid values:
	// <li>EMR_DEFAULT_META: the cluster creates one by default.</li>
	// <li>EMR_EXIST_META: the cluster uses the specified EMR-MetaDB instance.</li>
	// <li>USER_CUSTOM_META: the cluster uses a custom MetaDB instance.</li>
	MetaType *string `json:"MetaType,omitempty" name:"MetaType"`

	// EMR-MetaDB instance
	UnifyMetaInstanceId *string `json:"UnifyMetaInstanceId,omitempty" name:"UnifyMetaInstanceId"`

	// Custom MetaDB instance information
	MetaDBInfo *CustomMetaInfo `json:"MetaDBInfo,omitempty" name:"MetaDBInfo"`

	// Custom application role.
	ApplicationRole *string `json:"ApplicationRole,omitempty" name:"ApplicationRole"`
}

func NewCreateInstanceRequest

func NewCreateInstanceRequest() (request *CreateInstanceRequest)

func (*CreateInstanceRequest) FromJsonString

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

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

func (*CreateInstanceRequest) ToJsonString

func (r *CreateInstanceRequest) ToJsonString() string

type CreateInstanceResponse

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

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

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

func NewCreateInstanceResponse

func NewCreateInstanceResponse() (response *CreateInstanceResponse)

func (*CreateInstanceResponse) FromJsonString

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

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

func (*CreateInstanceResponse) ToJsonString

func (r *CreateInstanceResponse) ToJsonString() string

type CustomMetaInfo

type CustomMetaInfo struct {

	// JDBC connection to custom MetaDB instance beginning with `jdbc:mysql://`
	MetaDataJdbcUrl *string `json:"MetaDataJdbcUrl,omitempty" name:"MetaDataJdbcUrl"`

	// Custom MetaDB instance username
	MetaDataUser *string `json:"MetaDataUser,omitempty" name:"MetaDataUser"`

	// Custom MetaDB instance password
	MetaDataPass *string `json:"MetaDataPass,omitempty" name:"MetaDataPass"`
}

type DescribeClusterNodesRequest

type DescribeClusterNodesRequest struct {
	*tchttp.BaseRequest

	// Cluster instance ID in the format of emr-xxxxxxxx
	InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`

	// Node flag. Valid values:
	// <li>all: gets the information of nodes in all types except TencentDB information.</li>
	// <li>master: gets master node information.</li>
	// <li>core: gets core node information.</li>
	// <li>task: gets task node information.</li>
	// <li>common: gets common node information.</li>
	// <li>router: gets router node information.</li>
	// <li>db: gets TencentDB information in normal status.</li>
	// Note: only the above values are supported for the time being. Entering other values will cause errors.
	NodeFlag *string `json:"NodeFlag,omitempty" name:"NodeFlag"`

	// Page number. Default value: 0, indicating the first page.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Number of returned results per page. Default value: 100. Maximum value: 100
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Resource type. Valid values: all, host, pod. Default value: all
	HardwareResourceType *string `json:"HardwareResourceType,omitempty" name:"HardwareResourceType"`

	// Searchable field
	SearchFields []*SearchItem `json:"SearchFields,omitempty" name:"SearchFields"`
}

func NewDescribeClusterNodesRequest

func NewDescribeClusterNodesRequest() (request *DescribeClusterNodesRequest)

func (*DescribeClusterNodesRequest) FromJsonString

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

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

func (*DescribeClusterNodesRequest) ToJsonString

func (r *DescribeClusterNodesRequest) ToJsonString() string

type DescribeClusterNodesResponse

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

		// Total number of queried nodes
		TotalCnt *int64 `json:"TotalCnt,omitempty" name:"TotalCnt"`

		// List of node details
		// Note: this field may return null, indicating that no valid values can be obtained.
		NodeList []*NodeHardwareInfo `json:"NodeList,omitempty" name:"NodeList"`

		// List of tag keys owned by user
		// Note: this field may return null, indicating that no valid values can be obtained.
		TagKeys []*string `json:"TagKeys,omitempty" name:"TagKeys"`

		// Resource type list
		// Note: this field may return null, indicating that no valid values can be obtained.
		HardwareResourceTypeList []*string `json:"HardwareResourceTypeList,omitempty" name:"HardwareResourceTypeList"`

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

func NewDescribeClusterNodesResponse

func NewDescribeClusterNodesResponse() (response *DescribeClusterNodesResponse)

func (*DescribeClusterNodesResponse) FromJsonString

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

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

func (*DescribeClusterNodesResponse) ToJsonString

func (r *DescribeClusterNodesResponse) ToJsonString() string

type DescribeInstancesRequest

type DescribeInstancesRequest struct {
	*tchttp.BaseRequest

	// Cluster filtering policy. Valid values:
	// <li>clusterList: queries the list of clusters except terminated ones.</li>
	// <li>monitorManage: queries the list of clusters except those that have been terminated, are being created, or failed to be created.</li>
	// <li>cloudHardwareManage/componentManage: reserved fields with the same meaning as `monitorManage`.</li>
	DisplayStrategy *string `json:"DisplayStrategy,omitempty" name:"DisplayStrategy"`

	// Queries by one or more instance IDs in the format of `emr-xxxxxxxx`. For the format of this parameter, please see the `id.N` section in [API Overview](https://intl.cloud.tencent.com/document/api/213/15688). If no instance ID is entered, the list of all instances under this `APPID` will be returned.
	InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"`

	// Page number. Default value: 0, indicating the first page.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of returned results per page. Default value: 10. Maximum value: 100
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// ID of the project to which the instance belongs. This parameter can be obtained from the `projectId` field in the return value of the `DescribeProject` API. If this value is -1, the list of all instances will be returned.
	ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"`

	// Sorting field. Valid values:
	// <li>clusterId: sorts by cluster ID.</li>
	// <li>addTime: sorts by instance creation time.</li>
	// <li>status: sorts by instance status code.</li>
	OrderField *string `json:"OrderField,omitempty" name:"OrderField"`

	// Sorts according to `OrderField` in ascending or descending order. Valid values:
	// <li>0: descending order.</li>
	// <li>1: ascending order.</li>Default value: 0.�
	Asc *int64 `json:"Asc,omitempty" name:"Asc"`
}

func NewDescribeInstancesRequest

func NewDescribeInstancesRequest() (request *DescribeInstancesRequest)

func (*DescribeInstancesRequest) FromJsonString

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

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

func (*DescribeInstancesRequest) ToJsonString

func (r *DescribeInstancesRequest) ToJsonString() string

type DescribeInstancesResponse

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

		// Number of eligible instances.
		TotalCnt *int64 `json:"TotalCnt,omitempty" name:"TotalCnt"`

		// List of EMR instance details.
		// Note: this field may return null, indicating that no valid values can be obtained.
		ClusterList []*ClusterInstancesInfo `json:"ClusterList,omitempty" name:"ClusterList"`

		// List of tag keys associated to an instance.
		// Note: this field may return null, indicating that no valid values can be obtained.
		TagKeys []*string `json:"TagKeys,omitempty" name:"TagKeys"`

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

func NewDescribeInstancesResponse

func NewDescribeInstancesResponse() (response *DescribeInstancesResponse)

func (*DescribeInstancesResponse) FromJsonString

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

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

func (*DescribeInstancesResponse) ToJsonString

func (r *DescribeInstancesResponse) ToJsonString() string

type DynamicPodSpec

type DynamicPodSpec struct {

	// Minimum number of CPU cores
	RequestCpu *float64 `json:"RequestCpu,omitempty" name:"RequestCpu"`

	// Maximum number of CPU cores
	LimitCpu *float64 `json:"LimitCpu,omitempty" name:"LimitCpu"`

	// Minimum memory in MB
	RequestMemory *float64 `json:"RequestMemory,omitempty" name:"RequestMemory"`

	// Maximum memory in MB
	LimitMemory *float64 `json:"LimitMemory,omitempty" name:"LimitMemory"`
}

type EmrProductConfigOutter

type EmrProductConfigOutter struct {

	// Software information
	// Note: this field may return null, indicating that no valid values can be obtained.
	SoftInfo []*string `json:"SoftInfo,omitempty" name:"SoftInfo"`

	// Number of master nodes
	// Note: this field may return null, indicating that no valid values can be obtained.
	MasterNodeSize *int64 `json:"MasterNodeSize,omitempty" name:"MasterNodeSize"`

	// Number of core nodes
	// Note: this field may return null, indicating that no valid values can be obtained.
	CoreNodeSize *int64 `json:"CoreNodeSize,omitempty" name:"CoreNodeSize"`

	// Number of task nodes
	// Note: this field may return null, indicating that no valid values can be obtained.
	TaskNodeSize *int64 `json:"TaskNodeSize,omitempty" name:"TaskNodeSize"`

	// Number of common nodes
	// Note: this field may return null, indicating that no valid values can be obtained.
	ComNodeSize *int64 `json:"ComNodeSize,omitempty" name:"ComNodeSize"`

	// Master node resource
	// Note: this field may return null, indicating that no valid values can be obtained.
	MasterResource *OutterResource `json:"MasterResource,omitempty" name:"MasterResource"`

	// Core node resource
	// Note: this field may return null, indicating that no valid values can be obtained.
	CoreResource *OutterResource `json:"CoreResource,omitempty" name:"CoreResource"`

	// Task node resource
	// Note: this field may return null, indicating that no valid values can be obtained.
	TaskResource *OutterResource `json:"TaskResource,omitempty" name:"TaskResource"`

	// Common node resource
	// Note: this field may return null, indicating that no valid values can be obtained.
	ComResource *OutterResource `json:"ComResource,omitempty" name:"ComResource"`

	// Whether COS is used
	// Note: this field may return null, indicating that no valid values can be obtained.
	OnCos *bool `json:"OnCos,omitempty" name:"OnCos"`

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

	// Number of router nodes
	// Note: this field may return null, indicating that no valid values can be obtained.
	RouterNodeSize *int64 `json:"RouterNodeSize,omitempty" name:"RouterNodeSize"`

	// Whether HA is supported
	// Note: this field may return null, indicating that no valid values can be obtained.
	SupportHA *bool `json:"SupportHA,omitempty" name:"SupportHA"`

	// Whether secure mode is supported
	// Note: this field may return null, indicating that no valid values can be obtained.
	SecurityOn *bool `json:"SecurityOn,omitempty" name:"SecurityOn"`

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

	// Whether to enable CBS encryption
	// Note: this field may return null, indicating that no valid values can be obtained.
	CbsEncrypt *int64 `json:"CbsEncrypt,omitempty" name:"CbsEncrypt"`

	// Custom application role
	// Note: this field may return `null`, indicating that no valid value can be obtained.
	ApplicationRole *string `json:"ApplicationRole,omitempty" name:"ApplicationRole"`

	// Security groups
	// Note: this field may return `null`, indicating that no valid value can be obtained.
	SecurityGroups []*string `json:"SecurityGroups,omitempty" name:"SecurityGroups"`
}

type HostVolumeContext

type HostVolumeContext struct {

	// Directory in the pod for mounting the host, which is the mount point of resources for the host. The specified mount point corresponds to the host path and is used as the data storage directory in the pod.
	// Note: this field may return null, indicating that no valid values can be obtained.
	VolumePath *string `json:"VolumePath,omitempty" name:"VolumePath"`
}

type InquiryPriceCreateInstanceRequest

type InquiryPriceCreateInstanceRequest struct {
	*tchttp.BaseRequest

	// Time unit of instance purchase duration. Valid values:
	// <li>s: seconds. When `PayMode` is 0, `TimeUnit` can only be `s`.</li>
	TimeUnit *string `json:"TimeUnit,omitempty" name:"TimeUnit"`

	// Purchase duration of instance, which needs to be used together with `TimeUnit`.
	// <li>When `TimeUnit` is `s`, this parameter can only be filled with 3600, indicating a pay-as-you-go instance.</li>
	// <li>When `TimeUnit` is `m`, the number entered in this parameter indicates the purchase duration of the monthly-subscription instance; for example, 1 means one month</li>
	TimeSpan *uint64 `json:"TimeSpan,omitempty" name:"TimeSpan"`

	// Node specification queried for price.
	ResourceSpec *NewResourceSpec `json:"ResourceSpec,omitempty" name:"ResourceSpec"`

	// Currency.
	Currency *string `json:"Currency,omitempty" name:"Currency"`

	// Instance billing mode. Valid values:
	// <li>0: pay-as-you-go.</li>
	PayMode *uint64 `json:"PayMode,omitempty" name:"PayMode"`

	// Whether to enable high availability of node. Valid values:
	// <li>0: does not enable high availability of node.</li>
	// <li>1: enables high availability of node.</li>
	SupportHA *uint64 `json:"SupportHA,omitempty" name:"SupportHA"`

	// List of deployed components. Different required components need to be selected for different EMR product IDs (i.e., `ProductId`; for specific meanings, please see the `ProductId` field in the input parameter):
	// <li>When `ProductId` is 1, the required components include hadoop-2.7.3, knox-1.2.0, and zookeeper-3.4.9</li>
	// <li>When `ProductId` is 2, the required components include hadoop-2.7.3, knox-1.2.0, and zookeeper-3.4.9</li>
	// <li>When `ProductId` is 4, the required components include hadoop-2.8.4, knox-1.2.0, and zookeeper-3.4.9</li>
	// <li>When `ProductId` is 7, the required components include hadoop-3.1.2, knox-1.2.0, and zookeeper-3.4.9</li>
	Software []*string `json:"Software,omitempty" name:"Software"`

	// Instance location. This parameter is used to specify the AZ, project, and other attributes of the instance.
	Placement *Placement `json:"Placement,omitempty" name:"Placement"`

	// Configuration information of VPC. This parameter is used to specify the VPC ID, subnet ID, etc.
	VPCSettings *VPCSettings `json:"VPCSettings,omitempty" name:"VPCSettings"`

	// Hive-shared metadatabase type. Valid values:
	// <li>EMR_DEFAULT_META: the cluster creates one by default.</li>
	// <li>EMR_EXIST_META: the cluster uses the specified EMR-MetaDB instance.</li>
	// <li>USER_CUSTOM_META: the cluster uses a custom MetaDB instance.</li>
	MetaType *string `json:"MetaType,omitempty" name:"MetaType"`

	// EMR-MetaDB instance
	UnifyMetaInstanceId *string `json:"UnifyMetaInstanceId,omitempty" name:"UnifyMetaInstanceId"`

	// Custom MetaDB instance information
	MetaDBInfo *CustomMetaInfo `json:"MetaDBInfo,omitempty" name:"MetaDBInfo"`

	// Product ID. Different product IDs represent different EMR product versions. Valid values:
	// <li>1: EMR v1.3.1.</li>
	// <li>2: EMR v2.0.1.</li>
	// <li>4: EMR v2.1.0.</li>
	// <li>7: EMR v3.0.0.</li>
	ProductId *uint64 `json:"ProductId,omitempty" name:"ProductId"`
}

func NewInquiryPriceCreateInstanceRequest

func NewInquiryPriceCreateInstanceRequest() (request *InquiryPriceCreateInstanceRequest)

func (*InquiryPriceCreateInstanceRequest) FromJsonString

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

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

func (*InquiryPriceCreateInstanceRequest) ToJsonString

func (r *InquiryPriceCreateInstanceRequest) ToJsonString() string

type InquiryPriceCreateInstanceResponse

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

		// Original price.
		// Note: this field may return null, indicating that no valid values can be obtained.
		OriginalCost *float64 `json:"OriginalCost,omitempty" name:"OriginalCost"`

		// Discounted price.
		// Note: this field may return null, indicating that no valid values can be obtained.
		DiscountCost *float64 `json:"DiscountCost,omitempty" name:"DiscountCost"`

		// Time unit of instance purchase duration. Valid values:
		// <li>s: seconds.</li>
		// Note: this field may return null, indicating that no valid values can be obtained.
		TimeUnit *string `json:"TimeUnit,omitempty" name:"TimeUnit"`

		// Purchase duration of instance.
		// Note: this field may return null, indicating that no valid values can be obtained.
		TimeSpan *int64 `json:"TimeSpan,omitempty" name:"TimeSpan"`

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

func NewInquiryPriceCreateInstanceResponse

func NewInquiryPriceCreateInstanceResponse() (response *InquiryPriceCreateInstanceResponse)

func (*InquiryPriceCreateInstanceResponse) FromJsonString

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

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

func (*InquiryPriceCreateInstanceResponse) ToJsonString

func (r *InquiryPriceCreateInstanceResponse) ToJsonString() string

type InquiryPriceRenewInstanceRequest

type InquiryPriceRenewInstanceRequest struct {
	*tchttp.BaseRequest

	// How long the instance will be renewed for, which needs to be used together with `TimeUnit`.
	TimeSpan *uint64 `json:"TimeSpan,omitempty" name:"TimeSpan"`

	// List of resource IDs of the node to be renewed. The resource ID is in the format of `emr-vm-xxxxxxxx`. A valid resource ID can be queried in the [console](https://console.cloud.tencent.com/emr/static/hardware).
	ResourceIds []*string `json:"ResourceIds,omitempty" name:"ResourceIds"`

	// Location of the instance. This parameter is used to specify the AZ, project, and other attributes of the instance.
	Placement *Placement `json:"Placement,omitempty" name:"Placement"`

	// Instance billing mode.
	PayMode *int64 `json:"PayMode,omitempty" name:"PayMode"`

	// Unit of time for instance renewal.
	TimeUnit *string `json:"TimeUnit,omitempty" name:"TimeUnit"`

	// Currency.
	Currency *string `json:"Currency,omitempty" name:"Currency"`

	// Whether to change from pay-as-you-go billing to monthly subscription billing. `0`: no; `1`: yes
	ModifyPayMode *int64 `json:"ModifyPayMode,omitempty" name:"ModifyPayMode"`
}

func NewInquiryPriceRenewInstanceRequest

func NewInquiryPriceRenewInstanceRequest() (request *InquiryPriceRenewInstanceRequest)

func (*InquiryPriceRenewInstanceRequest) FromJsonString

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

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

func (*InquiryPriceRenewInstanceRequest) ToJsonString

func (r *InquiryPriceRenewInstanceRequest) ToJsonString() string

type InquiryPriceRenewInstanceResponse

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

		// Original price.
		// Note: this field may return null, indicating that no valid values can be obtained.
		OriginalCost *float64 `json:"OriginalCost,omitempty" name:"OriginalCost"`

		// Discounted price.
		// Note: this field may return null, indicating that no valid values can be obtained.
		DiscountCost *float64 `json:"DiscountCost,omitempty" name:"DiscountCost"`

		// Unit of time for instance renewal.
		// Note: this field may return null, indicating that no valid values can be obtained.
		TimeUnit *string `json:"TimeUnit,omitempty" name:"TimeUnit"`

		// How long the instance will be renewed for.
		// Note: this field may return null, indicating that no valid values can be obtained.
		TimeSpan *int64 `json:"TimeSpan,omitempty" name:"TimeSpan"`

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

func NewInquiryPriceRenewInstanceResponse

func NewInquiryPriceRenewInstanceResponse() (response *InquiryPriceRenewInstanceResponse)

func (*InquiryPriceRenewInstanceResponse) FromJsonString

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

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

func (*InquiryPriceRenewInstanceResponse) ToJsonString

func (r *InquiryPriceRenewInstanceResponse) ToJsonString() string

type InquiryPriceScaleOutInstanceRequest

type InquiryPriceScaleOutInstanceRequest struct {
	*tchttp.BaseRequest

	// Time unit of scale-out. Valid values:
	// <li>s: seconds. When `PayMode` is 0, `TimeUnit` can only be `s`.</li>
	TimeUnit *string `json:"TimeUnit,omitempty" name:"TimeUnit"`

	// Duration of scale-out, which needs to be used together with `TimeUnit`.
	// <li>When `PayMode` is 0, `TimeSpan` can only be 3,600.</li>
	TimeSpan *uint64 `json:"TimeSpan,omitempty" name:"TimeSpan"`

	// ID of the AZ where an instance resides.
	ZoneId *uint64 `json:"ZoneId,omitempty" name:"ZoneId"`

	// Instance billing mode. Valid values:
	// <li>0: pay-as-you-go.</li>
	PayMode *uint64 `json:"PayMode,omitempty" name:"PayMode"`

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

	// Number of core nodes added.
	CoreCount *uint64 `json:"CoreCount,omitempty" name:"CoreCount"`

	// Number of task nodes added.
	TaskCount *uint64 `json:"TaskCount,omitempty" name:"TaskCount"`

	// Currency.
	Currency *string `json:"Currency,omitempty" name:"Currency"`

	// Number of router nodes added.
	RouterCount *uint64 `json:"RouterCount,omitempty" name:"RouterCount"`

	// Number of master nodes to add
	MasterCount *uint64 `json:"MasterCount,omitempty" name:"MasterCount"`
}

func NewInquiryPriceScaleOutInstanceRequest

func NewInquiryPriceScaleOutInstanceRequest() (request *InquiryPriceScaleOutInstanceRequest)

func (*InquiryPriceScaleOutInstanceRequest) FromJsonString

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

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

func (*InquiryPriceScaleOutInstanceRequest) ToJsonString

func (r *InquiryPriceScaleOutInstanceRequest) ToJsonString() string

type InquiryPriceScaleOutInstanceResponse

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

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

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

		// Time unit of scale-out. Valid values:
		// <li>s: seconds.</li>
		// Note: this field may return null, indicating that no valid values can be obtained.
		Unit *string `json:"Unit,omitempty" name:"Unit"`

		// Node specification queried for price.
		// Note: this field may return null, indicating that no valid values can be obtained.
		PriceSpec *PriceResource `json:"PriceSpec,omitempty" name:"PriceSpec"`

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

func NewInquiryPriceScaleOutInstanceResponse

func NewInquiryPriceScaleOutInstanceResponse() (response *InquiryPriceScaleOutInstanceResponse)

func (*InquiryPriceScaleOutInstanceResponse) FromJsonString

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

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

func (*InquiryPriceScaleOutInstanceResponse) ToJsonString

func (r *InquiryPriceScaleOutInstanceResponse) ToJsonString() string

type InquiryPriceUpdateInstanceRequest

type InquiryPriceUpdateInstanceRequest struct {
	*tchttp.BaseRequest

	// Time unit of scaling. Valid values:
	// <li>s: seconds. When `PayMode` is 0, `TimeUnit` can only be `s`.</li>
	TimeUnit *string `json:"TimeUnit,omitempty" name:"TimeUnit"`

	// Duration of scaling, which needs to be used together with `TimeUnit`.
	// <li>When `PayMode` is 0, `TimeSpan` can only be 3,600.</li>
	TimeSpan *uint64 `json:"TimeSpan,omitempty" name:"TimeSpan"`

	// Target node specification.
	UpdateSpec *UpdateInstanceSettings `json:"UpdateSpec,omitempty" name:"UpdateSpec"`

	// Instance billing mode. Valid values:
	// <li>0: pay-as-you-go.</li>
	PayMode *uint64 `json:"PayMode,omitempty" name:"PayMode"`

	// Instance location. This parameter is used to specify the AZ, project, and other attributes of the instance.
	Placement *Placement `json:"Placement,omitempty" name:"Placement"`

	// Currency.
	Currency *string `json:"Currency,omitempty" name:"Currency"`
}

func NewInquiryPriceUpdateInstanceRequest

func NewInquiryPriceUpdateInstanceRequest() (request *InquiryPriceUpdateInstanceRequest)

func (*InquiryPriceUpdateInstanceRequest) FromJsonString

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

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

func (*InquiryPriceUpdateInstanceRequest) ToJsonString

func (r *InquiryPriceUpdateInstanceRequest) ToJsonString() string

type InquiryPriceUpdateInstanceResponse

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

		// Original price.
		// Note: this field may return null, indicating that no valid values can be obtained.
		OriginalCost *float64 `json:"OriginalCost,omitempty" name:"OriginalCost"`

		// Discounted price.
		// Note: this field may return null, indicating that no valid values can be obtained.
		DiscountCost *float64 `json:"DiscountCost,omitempty" name:"DiscountCost"`

		// Time unit of scaling. Valid values:
		// <li>s: seconds.</li>
		// Note: this field may return null, indicating that no valid values can be obtained.
		TimeUnit *string `json:"TimeUnit,omitempty" name:"TimeUnit"`

		// Duration of scaling.
		// Note: this field may return null, indicating that no valid values can be obtained.
		TimeSpan *int64 `json:"TimeSpan,omitempty" name:"TimeSpan"`

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

func NewInquiryPriceUpdateInstanceResponse

func NewInquiryPriceUpdateInstanceResponse() (response *InquiryPriceUpdateInstanceResponse)

func (*InquiryPriceUpdateInstanceResponse) FromJsonString

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

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

func (*InquiryPriceUpdateInstanceResponse) ToJsonString

func (r *InquiryPriceUpdateInstanceResponse) ToJsonString() string

type LoginSettings

type LoginSettings struct {

	// Password
	Password *string `json:"Password,omitempty" name:"Password"`

	// Public Key
	PublicKeyId *string `json:"PublicKeyId,omitempty" name:"PublicKeyId"`
}

type MultiDisk

type MultiDisk struct {

	// Cloud disk type
	// <li>`CLOUD_SSD`: SSD</li>
	// <li>`CLOUD_PREMIUM`: Premium Cloud Storage</li>
	// <li>`CLOUD_HSSD`: Enhanced SSD</li>
	DiskType *string `json:"DiskType,omitempty" name:"DiskType"`

	// Cloud disk size
	Volume *int64 `json:"Volume,omitempty" name:"Volume"`

	// Number of cloud disks of this type
	Count *int64 `json:"Count,omitempty" name:"Count"`
}

type MultiDiskMC

type MultiDiskMC struct {

	// Number of cloud disks in this type
	// Note: this field may return null, indicating that no valid values can be obtained.
	Count *int64 `json:"Count,omitempty" name:"Count"`

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

	// Cloud disk size
	// Note: this field may return null, indicating that no valid values can be obtained.
	Volume *int64 `json:"Volume,omitempty" name:"Volume"`
}

type NewResourceSpec

type NewResourceSpec struct {

	// Describes master node resource
	MasterResourceSpec *Resource `json:"MasterResourceSpec,omitempty" name:"MasterResourceSpec"`

	// Describes core node resource
	CoreResourceSpec *Resource `json:"CoreResourceSpec,omitempty" name:"CoreResourceSpec"`

	// Describes task node resource
	TaskResourceSpec *Resource `json:"TaskResourceSpec,omitempty" name:"TaskResourceSpec"`

	// Number of master nodes
	MasterCount *int64 `json:"MasterCount,omitempty" name:"MasterCount"`

	// Number of core nodes
	CoreCount *int64 `json:"CoreCount,omitempty" name:"CoreCount"`

	// Number of task nodes
	TaskCount *int64 `json:"TaskCount,omitempty" name:"TaskCount"`

	// Describes common node resource
	CommonResourceSpec *Resource `json:"CommonResourceSpec,omitempty" name:"CommonResourceSpec"`

	// Number of common nodes
	CommonCount *int64 `json:"CommonCount,omitempty" name:"CommonCount"`
}

type NodeHardwareInfo

type NodeHardwareInfo struct {

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

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

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

	// Public IP bound to master node
	// Note: this field may return null, indicating that no valid values can be obtained.
	WanIp *string `json:"WanIp,omitempty" name:"WanIp"`

	// Node type. 0: common node; 1: master node;
	// 2: core node; 3: task node
	// Note: this field may return null, indicating that no valid values can be obtained.
	Flag *int64 `json:"Flag,omitempty" name:"Flag"`

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

	// Number of node cores
	// Note: this field may return null, indicating that no valid values can be obtained.
	CpuNum *int64 `json:"CpuNum,omitempty" name:"CpuNum"`

	// Node memory size
	// Note: this field may return null, indicating that no valid values can be obtained.
	MemSize *int64 `json:"MemSize,omitempty" name:"MemSize"`

	// Node memory description
	// Note: this field may return null, indicating that no valid values can be obtained.
	MemDesc *string `json:"MemDesc,omitempty" name:"MemDesc"`

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

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

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

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

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

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

	// Services deployed on node
	// Note: this field may return null, indicating that no valid values can be obtained.
	Services *string `json:"Services,omitempty" name:"Services"`

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

	// System disk size
	// Note: this field may return null, indicating that no valid values can be obtained.
	RootSize *int64 `json:"RootSize,omitempty" name:"RootSize"`

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

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

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

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

	// Disk capacity description
	// Note: this field may return null, indicating that no valid values can be obtained.
	HwDiskSizeDesc *string `json:"HwDiskSizeDesc,omitempty" name:"HwDiskSizeDesc"`

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

	// Memory capacity description
	// Note: this field may return null, indicating that no valid values can be obtained.
	HwMemSizeDesc *string `json:"HwMemSizeDesc,omitempty" name:"HwMemSizeDesc"`

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

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

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

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

	// Support for configuration adjustment
	// Note: this field may return null, indicating that no valid values can be obtained.
	Mutable *int64 `json:"Mutable,omitempty" name:"Mutable"`

	// Multi-cloud disk
	// Note: this field may return null, indicating that no valid values can be obtained.
	MCMultiDisk []*MultiDiskMC `json:"MCMultiDisk,omitempty" name:"MCMultiDisk"`

	// Database information
	// Note: this field may return null, indicating that no valid values can be obtained.
	CdbNodeInfo *CdbInfo `json:"CdbNodeInfo,omitempty" name:"CdbNodeInfo"`

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

	// Whether this node can be terminated. 1: yes, 0: no
	// Note: this field may return null, indicating that no valid values can be obtained.
	Destroyable *int64 `json:"Destroyable,omitempty" name:"Destroyable"`

	// Tags bound to node
	// Note: this field may return null, indicating that no valid values can be obtained.
	Tags []*Tag `json:"Tags,omitempty" name:"Tags"`

	// Wether the node is auto-scaling. 0 means common node. 1 means auto-scaling node.
	AutoFlag *int64 `json:"AutoFlag,omitempty" name:"AutoFlag"`

	// Resource type. Valid values: host, pod
	// Note: this field may return null, indicating that no valid values can be obtained.
	HardwareResourceType *string `json:"HardwareResourceType,omitempty" name:"HardwareResourceType"`

	// Whether floating specification is used. `1`: yes; `0`: no
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	IsDynamicSpec *int64 `json:"IsDynamicSpec,omitempty" name:"IsDynamicSpec"`

	// Floating specification in JSON string
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	DynamicPodSpec *string `json:"DynamicPodSpec,omitempty" name:"DynamicPodSpec"`

	// Whether to support billing mode change. `0`: no; `1`: yes
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	SupportModifyPayMode *int64 `json:"SupportModifyPayMode,omitempty" name:"SupportModifyPayMode"`
}

type OutterResource

type OutterResource struct {

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

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

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

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

	// System disk size
	// Note: this field may return null, indicating that no valid values can be obtained.
	RootSize *int64 `json:"RootSize,omitempty" name:"RootSize"`

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

	// Number of CPUs
	// Note: this field may return null, indicating that no valid values can be obtained.
	Cpu *int64 `json:"Cpu,omitempty" name:"Cpu"`

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

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

type PersistentVolumeContext

type PersistentVolumeContext struct {

	// Disk size in GB
	// Note: this field may return null, indicating that no valid values can be obtained.
	DiskSize *uint64 `json:"DiskSize,omitempty" name:"DiskSize"`

	// Disk type. Valid values: CLOUD_PREMIUM, CLOUD_SSD
	// Note: this field may return null, indicating that no valid values can be obtained.
	DiskType *string `json:"DiskType,omitempty" name:"DiskType"`

	// Number of disks
	// Note: this field may return null, indicating that no valid values can be obtained.
	DiskNum *int64 `json:"DiskNum,omitempty" name:"DiskNum"`
}

type Placement

type Placement struct {

	// ID of the project to which the instance belongs. This parameter can be obtained from the `projectId` field in the return value of the `DescribeProject` API. If 0 is entered, the default project will be used.
	ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"`

	// AZ where the instance resides, such as ap-guangzhou-1. You can call the `DescribeZones` API and see the `Zone` field to get the value of this parameter.
	Zone *string `json:"Zone,omitempty" name:"Zone"`
}

type PodParameter

type PodParameter struct {

	// TKE or EKS cluster ID
	ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"`

	// Custom permission
	// Example:
	// {
	//   "apiVersion": "v1",
	//   "clusters": [
	//     {
	//       "cluster": {
	//         "certificate-authority-data": "xxxxxx==",
	//         "server": "https://xxxxx.com"
	//       },
	//       "name": "cls-xxxxx"
	//     }
	//   ],
	//   "contexts": [
	//     {
	//       "context": {
	//         "cluster": "cls-xxxxx",
	//         "user": "100014xxxxx"
	//       },
	//       "name": "cls-a44yhcxxxxxxxxxx"
	//     }
	//   ],
	//   "current-context": "cls-a4xxxx-context-default",
	//   "kind": "Config",
	//   "preferences": {},
	//   "users": [
	//     {
	//       "name": "100014xxxxx",
	//       "user": {
	//         "client-certificate-data": "xxxxxx",
	//         "client-key-data": "xxxxxx"
	//       }
	//     }
	//   ]
	// }
	Config *string `json:"Config,omitempty" name:"Config"`

	// Custom parameter
	// Example:
	// {
	//     "apiVersion": "apps/v1",
	//     "kind": "Deployment",
	//     "metadata": {
	//       "name": "test-deployment",
	//       "labels": {
	//         "app": "test"
	//       }
	//     },
	//     "spec": {
	//       "replicas": 3,
	//       "selector": {
	//         "matchLabels": {
	//           "app": "test-app"
	//         }
	//       },
	//       "template": {
	//         "metadata": {
	//           "annotations": {
	//             "your-organization.com/department-v1": "test-example-v1",
	//             "your-organization.com/department-v2": "test-example-v2"
	//           },
	//           "labels": {
	//             "app": "test-app",
	//             "environment": "production"
	//           }
	//         },
	//         "spec": {
	//           "nodeSelector": {
	//             "your-organization/node-test": "test-node"
	//           },
	//           "containers": [
	//             {
	//               "name": "nginx",
	//               "image": "nginx:1.14.2",
	//               "ports": [
	//                 {
	//                   "containerPort": 80
	//                 }
	//               ]
	//             }
	//           ],
	//           "affinity": {
	//             "nodeAffinity": {
	//               "requiredDuringSchedulingIgnoredDuringExecution": {
	//                 "nodeSelectorTerms": [
	//                   {
	//                     "matchExpressions": [
	//                       {
	//                         "key": "disk-type",
	//                         "operator": "In",
	//                         "values": [
	//                           "ssd",
	//                           "sas"
	//                         ]
	//                       },
	//                       {
	//                         "key": "cpu-num",
	//                         "operator": "Gt",
	//                         "values": [
	//                           "6"
	//                         ]
	//                       }
	//                     ]
	//                   }
	//                 ]
	//               }
	//             }
	//           }
	//         }
	//       }
	//     }
	//   }
	Parameter *string `json:"Parameter,omitempty" name:"Parameter"`
}

type PodSpec

type PodSpec struct {

	// Identifier of external resource provider, such as "cls-a1cd23fa".
	ResourceProviderIdentifier *string `json:"ResourceProviderIdentifier,omitempty" name:"ResourceProviderIdentifier"`

	// Type of external resource provider, such as "tke". Currently, only "tke" is supported.
	ResourceProviderType *string `json:"ResourceProviderType,omitempty" name:"ResourceProviderType"`

	// Purpose of the resource, i.e., node type, which currently can only be "TASK".
	NodeType *string `json:"NodeType,omitempty" name:"NodeType"`

	// Number of CPU cores.
	Cpu *uint64 `json:"Cpu,omitempty" name:"Cpu"`

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

	// Mount point of resources for the host. The specified mount point corresponds to the host path and is used as the data storage directory in the pod. (This parameter has been disused)
	DataVolumes []*string `json:"DataVolumes,omitempty" name:"DataVolumes"`

	// EKS cluster - CPU type. Valid values: "intel", "amd"
	CpuType *string `json:"CpuType,omitempty" name:"CpuType"`

	// Pod node data directory mounting information.
	PodVolumes []*PodVolume `json:"PodVolumes,omitempty" name:"PodVolumes"`

	// Whether floating specification is used. `1`: yes; `0`: no
	IsDynamicSpec *uint64 `json:"IsDynamicSpec,omitempty" name:"IsDynamicSpec"`

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

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

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

type PodVolume

type PodVolume struct {

	// Storage type. Valid values: "pvc", "hostpath".
	// Note: this field may return null, indicating that no valid values can be obtained.
	VolumeType *string `json:"VolumeType,omitempty" name:"VolumeType"`

	// This field will take effect if `VolumeType` is `pvc`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	PVCVolume *PersistentVolumeContext `json:"PVCVolume,omitempty" name:"PVCVolume"`

	// This field will take effect if `VolumeType` is `hostpath`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	HostVolume *HostVolumeContext `json:"HostVolume,omitempty" name:"HostVolume"`
}

type PreExecuteFileSettings

type PreExecuteFileSettings struct {

	// COS path to script, which has been disused
	Path *string `json:"Path,omitempty" name:"Path"`

	// Execution script parameter
	Args []*string `json:"Args,omitempty" name:"Args"`

	// COS bucket name, which has been disused
	Bucket *string `json:"Bucket,omitempty" name:"Bucket"`

	// COS region name, which has been disused
	Region *string `json:"Region,omitempty" name:"Region"`

	// COS domain data, which has been disused
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Execution sequence
	RunOrder *int64 `json:"RunOrder,omitempty" name:"RunOrder"`

	// `resourceAfter` or `clusterAfter`
	WhenRun *string `json:"WhenRun,omitempty" name:"WhenRun"`

	// Script name, which has been disused
	CosFileName *string `json:"CosFileName,omitempty" name:"CosFileName"`

	// COS address of script
	CosFileURI *string `json:"CosFileURI,omitempty" name:"CosFileURI"`

	// COS `SecretId`
	CosSecretId *string `json:"CosSecretId,omitempty" name:"CosSecretId"`

	// COS `SecretKey`
	CosSecretKey *string `json:"CosSecretKey,omitempty" name:"CosSecretKey"`

	// COS `appid`, which has been disused
	AppId *string `json:"AppId,omitempty" name:"AppId"`
}

type PriceResource

type PriceResource struct {

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

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

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

	// System disk size
	// Note: this field may return null, indicating that no valid values can be obtained.
	RootSize *int64 `json:"RootSize,omitempty" name:"RootSize"`

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

	// Number of cores
	// Note: this field may return null, indicating that no valid values can be obtained.
	Cpu *int64 `json:"Cpu,omitempty" name:"Cpu"`

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

	// List of cloud disks
	// Note: this field may return null, indicating that no valid values can be obtained.
	MultiDisks []*MultiDisk `json:"MultiDisks,omitempty" name:"MultiDisks"`

	// Number of disks
	// Note: this field may return null, indicating that no valid values can be obtained.
	DiskCnt *int64 `json:"DiskCnt,omitempty" name:"DiskCnt"`

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

	// Tag
	// Note: this field may return null, indicating that no valid values can be obtained.
	Tags []*Tag `json:"Tags,omitempty" name:"Tags"`

	// Number of disks
	// Note: this field may return null, indicating that no valid values can be obtained.
	DiskNum *int64 `json:"DiskNum,omitempty" name:"DiskNum"`

	// Number of local disks
	// Note: this field may return null, indicating that no valid values can be obtained.
	LocalDiskNum *int64 `json:"LocalDiskNum,omitempty" name:"LocalDiskNum"`
}

type Resource

type Resource struct {

	// Node specification description, such as CVM.SA2
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Spec *string `json:"Spec,omitempty" name:"Spec"`

	// Storage type
	// Valid values:
	// <li>4: SSD</li>
	// <li>5: Premium Cloud Storage</li>
	// <li>6: Enhanced SSD</li>
	// <li>11: High-Throughput cloud disk</li>
	// <li>12: Tremendous SSD</li>
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	StorageType *int64 `json:"StorageType,omitempty" name:"StorageType"`

	// Disk type
	// Valid values:
	// <li>`CLOUD_SSD`: SSD</li>
	// <li>`CLOUD_PREMIUM`: Premium Cloud Storage</li>
	// <li>`CLOUD_BASIC`: HDD</li>
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	DiskType *string `json:"DiskType,omitempty" name:"DiskType"`

	// Memory capacity in MB
	// Note: this field may return null, indicating that no valid values can be obtained.
	MemSize *int64 `json:"MemSize,omitempty" name:"MemSize"`

	// Number of CPU cores
	// Note: this field may return null, indicating that no valid values can be obtained.
	Cpu *int64 `json:"Cpu,omitempty" name:"Cpu"`

	// Data disk capacity
	// Note: this field may return null, indicating that no valid values can be obtained.
	DiskSize *int64 `json:"DiskSize,omitempty" name:"DiskSize"`

	// System disk capacity
	// Note: this field may return null, indicating that no valid values can be obtained.
	RootSize *int64 `json:"RootSize,omitempty" name:"RootSize"`

	// List of cloud disks. When the data disk is a cloud disk, `DiskType` and `DiskSize` are used directly; `MultiDisks` will be used for the excessive part
	// Note: this field may return null, indicating that no valid values can be obtained.
	MultiDisks []*MultiDisk `json:"MultiDisks,omitempty" name:"MultiDisks"`

	// List of tags to be bound
	// Note: this field may return null, indicating that no valid values can be obtained.
	Tags []*Tag `json:"Tags,omitempty" name:"Tags"`

	// Specification type, such as S2.MEDIUM8
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"`

	// Number of local disks. This field has been disused.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	LocalDiskNum *uint64 `json:"LocalDiskNum,omitempty" name:"LocalDiskNum"`

	// Number of local disks, such as 2
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	DiskNum *uint64 `json:"DiskNum,omitempty" name:"DiskNum"`
}

type ScaleOutInstanceRequest

type ScaleOutInstanceRequest struct {
	*tchttp.BaseRequest

	// Time unit of scale-out. Valid values:
	// <li>s: seconds. When `PayMode` is 0, `TimeUnit` can only be `s`.</li>
	// <li>m: month. When `PayMode` is 1, `TimeUnit` can only be `m`.</li>
	TimeUnit *string `json:"TimeUnit,omitempty" name:"TimeUnit"`

	// Duration of scale-out, which needs to be used together with `TimeUnit`.
	TimeSpan *uint64 `json:"TimeSpan,omitempty" name:"TimeSpan"`

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

	// Instance billing mode. Valid values:
	// <li>0: pay-as-you-go.</li>
	PayMode *uint64 `json:"PayMode,omitempty" name:"PayMode"`

	// Client token.
	ClientToken *string `json:"ClientToken,omitempty" name:"ClientToken"`

	// Bootstrap script settings.
	PreExecutedFileSettings []*PreExecuteFileSettings `json:"PreExecutedFileSettings,omitempty" name:"PreExecutedFileSettings"`

	// Number of task nodes added.
	TaskCount *uint64 `json:"TaskCount,omitempty" name:"TaskCount"`

	// Number of core nodes added.
	CoreCount *uint64 `json:"CoreCount,omitempty" name:"CoreCount"`

	// Process not required during scale-out.
	UnNecessaryNodeList []*uint64 `json:"UnNecessaryNodeList,omitempty" name:"UnNecessaryNodeList"`

	// Number of router nodes added.
	RouterCount *uint64 `json:"RouterCount,omitempty" name:"RouterCount"`

	// Deployed service.
	// <li>`SoftDeployInfo` and `ServiceNodeInfo` are in the same group and mutually exclusive with `UnNecessaryNodeList`.</li>
	// <li>The combination of `SoftDeployInfo` and `ServiceNodeInfo` is recommended.</li>
	SoftDeployInfo []*uint64 `json:"SoftDeployInfo,omitempty" name:"SoftDeployInfo"`

	// Started process.
	ServiceNodeInfo []*uint64 `json:"ServiceNodeInfo,omitempty" name:"ServiceNodeInfo"`

	// List of spread placement group IDs. Only one can be specified currently.
	DisasterRecoverGroupIds []*string `json:"DisasterRecoverGroupIds,omitempty" name:"DisasterRecoverGroupIds"`

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

	// Resource type selected for scaling. Valid values: `host` (general CVM resource), `pod` (resource provided by TKE or EKS cluster)
	HardwareResourceType *string `json:"HardwareResourceType,omitempty" name:"HardwareResourceType"`

	// Specified information such as pod specification and source for expansion with pod resources
	PodSpec *PodSpec `json:"PodSpec,omitempty" name:"PodSpec"`

	// Machine group name selected for ClickHouse cluster scaling-out
	ClickHouseClusterName *string `json:"ClickHouseClusterName,omitempty" name:"ClickHouseClusterName"`

	// Machine group type selected for ClickHouse cluster scaling-out. new: creates a group; old: selects an existing group
	ClickHouseClusterType *string `json:"ClickHouseClusterType,omitempty" name:"ClickHouseClusterType"`

	// YARN node label specified for rule-based scaling-out
	YarnNodeLabel *string `json:"YarnNodeLabel,omitempty" name:"YarnNodeLabel"`

	// Custom pod permission and parameter
	PodParameter *PodParameter `json:"PodParameter,omitempty" name:"PodParameter"`

	// Number of master nodes to be added
	// When a ClickHouse cluster is scaled, this parameter does not take effect.
	// When a Kafka cluster is scaled, this parameter does not take effect.
	// When `HardwareResourceType` is `pod`, this parameter does not take effect.
	MasterCount *uint64 `json:"MasterCount,omitempty" name:"MasterCount"`

	// Whether to start the service after scaling. `true`: yes; `false`: no
	StartServiceAfterScaleOut *string `json:"StartServiceAfterScaleOut,omitempty" name:"StartServiceAfterScaleOut"`
}

func NewScaleOutInstanceRequest

func NewScaleOutInstanceRequest() (request *ScaleOutInstanceRequest)

func (*ScaleOutInstanceRequest) FromJsonString

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

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

func (*ScaleOutInstanceRequest) ToJsonString

func (r *ScaleOutInstanceRequest) ToJsonString() string

type ScaleOutInstanceResponse

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

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

		// Order number.
		// Note: this field may return null, indicating that no valid values can be obtained.
		DealNames []*string `json:"DealNames,omitempty" name:"DealNames"`

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

		// Scaling workflow ID.
		// Note: this field may return null, indicating that no valid values can be obtained.
		FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"`

		// Big order number.
		// Note: this field may return null, indicating that no valid values can be obtained.
		BillId *string `json:"BillId,omitempty" name:"BillId"`

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

func NewScaleOutInstanceResponse

func NewScaleOutInstanceResponse() (response *ScaleOutInstanceResponse)

func (*ScaleOutInstanceResponse) FromJsonString

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

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

func (*ScaleOutInstanceResponse) ToJsonString

func (r *ScaleOutInstanceResponse) ToJsonString() string

type SearchItem

type SearchItem struct {

	// Searchable type
	SearchType *string `json:"SearchType,omitempty" name:"SearchType"`

	// Searchable value
	SearchValue *string `json:"SearchValue,omitempty" name:"SearchValue"`
}

type Tag

type Tag struct {

	// Tag key
	TagKey *string `json:"TagKey,omitempty" name:"TagKey"`

	// Tag value
	TagValue *string `json:"TagValue,omitempty" name:"TagValue"`
}

type TerminateInstanceRequest

type TerminateInstanceRequest struct {
	*tchttp.BaseRequest

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

	// ID of terminated node. This parameter is reserved and does not need to be configured.
	ResourceIds []*string `json:"ResourceIds,omitempty" name:"ResourceIds"`
}

func NewTerminateInstanceRequest

func NewTerminateInstanceRequest() (request *TerminateInstanceRequest)

func (*TerminateInstanceRequest) FromJsonString

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

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

func (*TerminateInstanceRequest) ToJsonString

func (r *TerminateInstanceRequest) ToJsonString() string

type TerminateInstanceResponse

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

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

func NewTerminateInstanceResponse

func NewTerminateInstanceResponse() (response *TerminateInstanceResponse)

func (*TerminateInstanceResponse) FromJsonString

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

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

func (*TerminateInstanceResponse) ToJsonString

func (r *TerminateInstanceResponse) ToJsonString() string

type TerminateTasksRequest

type TerminateTasksRequest struct {
	*tchttp.BaseRequest

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

	// List of resource IDs of the node to be terminated. The resource ID is in the format of `emr-vm-xxxxxxxx`. A valid resource ID can be queried in the [console](https://console.cloud.tencent.com/emr/static/hardware).
	ResourceIds []*string `json:"ResourceIds,omitempty" name:"ResourceIds"`
}

func NewTerminateTasksRequest

func NewTerminateTasksRequest() (request *TerminateTasksRequest)

func (*TerminateTasksRequest) FromJsonString

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

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

func (*TerminateTasksRequest) ToJsonString

func (r *TerminateTasksRequest) ToJsonString() string

type TerminateTasksResponse

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

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

func NewTerminateTasksResponse

func NewTerminateTasksResponse() (response *TerminateTasksResponse)

func (*TerminateTasksResponse) FromJsonString

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

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

func (*TerminateTasksResponse) ToJsonString

func (r *TerminateTasksResponse) ToJsonString() string

type UpdateInstanceSettings

type UpdateInstanceSettings struct {

	// Memory capacity in GB
	Memory *uint64 `json:"Memory,omitempty" name:"Memory"`

	// Number of CPU cores
	CPUCores *uint64 `json:"CPUCores,omitempty" name:"CPUCores"`

	// Machine resource ID (EMR resource identifier)
	ResourceId *string `json:"ResourceId,omitempty" name:"ResourceId"`

	// Target machine specification
	InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"`
}

type VPCSettings

type VPCSettings struct {

	// VPC ID
	VpcId *string `json:"VpcId,omitempty" name:"VpcId"`

	// Subnet ID
	SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL