Documentation ¶
Index ¶
- type AddJobs
- type AutoScalingPolicy
- type BatchCreateClusterTagsReq
- type BatchCreateClusterTagsReqAction
- type BatchCreateClusterTagsReqActionEnum
- type BatchCreateClusterTagsRequest
- type BatchCreateClusterTagsResponse
- type BatchDeleteClusterTagsReq
- type BatchDeleteClusterTagsReqAction
- type BatchDeleteClusterTagsReqActionEnum
- type BatchDeleteClusterTagsRequest
- type BatchDeleteClusterTagsResponse
- type BootstrapScript
- type BootstrapScriptFailAction
- type BootstrapScriptFailActionEnum
- type ComponentList
- type CreateClusterReq
- type CreateClusterReqBillingType
- type CreateClusterReqBillingTypeEnum
- type CreateClusterReqClusterType
- type CreateClusterReqClusterTypeEnum
- type CreateClusterReqCoreDataVolumeType
- type CreateClusterReqCoreDataVolumeTypeEnum
- type CreateClusterReqLogCollection
- type CreateClusterReqLogCollectionEnum
- type CreateClusterReqLoginMode
- type CreateClusterReqLoginModeEnum
- type CreateClusterReqMasterDataVolumeCount
- type CreateClusterReqMasterDataVolumeCountEnum
- type CreateClusterReqMasterDataVolumeType
- type CreateClusterReqMasterDataVolumeTypeEnum
- type CreateClusterReqMasterNodeNum
- type CreateClusterReqMasterNodeNumEnum
- type CreateClusterReqSafeMode
- type CreateClusterReqSafeModeEnum
- type CreateClusterReqVolumeType
- type CreateClusterReqVolumeTypeEnum
- type CreateClusterRequest
- type CreateClusterResponse
- type CreateClusterTagRequest
- type CreateClusterTagResponse
- type CreateTagReq
- type DeleteClusterRequest
- type DeleteClusterResponse
- type DeleteClusterTagRequest
- type DeleteClusterTagResponse
- type ListAllTagsRequest
- type ListAllTagsResponse
- type ListClusterTagsRequest
- type ListClusterTagsResponse
- type ListClustersByTagsRequest
- type ListClustersByTagsResponse
- type ListResourceReq
- type ListResourceReqAction
- type ListResourceReqActionEnum
- type Match
- type MrsResource
- type ResourcesPlan
- type Rules
- type RulesAdjustmentType
- type RulesAdjustmentTypeEnum
- type ScaleScript
- type ScaleScriptActionStage
- type ScaleScriptActionStageEnum
- type ScaleScriptFailAction
- type ScaleScriptFailActionEnum
- type Tag
- type TagPlain
- type TagWithMultiValue
- type TaskNodeGroups
- type TaskNodeGroupsDataVolumeType
- type TaskNodeGroupsDataVolumeTypeEnum
- type Trigger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddJobs ¶
type AddJobs struct { JobType int32 `json:"job_type"` JobName string `json:"job_name"` JarPath *string `json:"jar_path,omitempty"` Arguments *string `json:"arguments,omitempty"` Input *string `json:"input,omitempty"` Output *string `json:"output,omitempty"` JobLog *string `json:"job_log,omitempty"` HiveScriptPath *string `json:"hive_script_path,omitempty"` Hql *string `json:"hql,omitempty"` ShutdownCluster *bool `json:"shutdown_cluster,omitempty"` SubmitJobOnceClusterRun bool `json:"submit_job_once_cluster_run"` FileAction *string `json:"file_action,omitempty"` }
type AutoScalingPolicy ¶
type AutoScalingPolicy struct { AutoScalingEnable bool `json:"auto_scaling_enable"` MinCapacity int32 `json:"min_capacity"` MaxCapacity int32 `json:"max_capacity"` ResourcesPlans *[]ResourcesPlan `json:"resources_plans,omitempty"` Rules *[]Rules `json:"rules,omitempty"` ExecScripts *[]ScaleScript `json:"exec_scripts,omitempty"` }
func (AutoScalingPolicy) String ¶
func (o AutoScalingPolicy) String() string
type BatchCreateClusterTagsReq ¶
type BatchCreateClusterTagsReq struct { Action BatchCreateClusterTagsReqAction `json:"action"` Tags []Tag `json:"tags"` }
func (BatchCreateClusterTagsReq) String ¶
func (o BatchCreateClusterTagsReq) String() string
type BatchCreateClusterTagsReqAction ¶
type BatchCreateClusterTagsReqAction struct {
// contains filtered or unexported fields
}
func (BatchCreateClusterTagsReqAction) MarshalJSON ¶
func (c BatchCreateClusterTagsReqAction) MarshalJSON() ([]byte, error)
func (*BatchCreateClusterTagsReqAction) UnmarshalJSON ¶
func (c *BatchCreateClusterTagsReqAction) UnmarshalJSON(b []byte) error
type BatchCreateClusterTagsReqActionEnum ¶
type BatchCreateClusterTagsReqActionEnum struct {
CREATE BatchCreateClusterTagsReqAction
}
func GetBatchCreateClusterTagsReqActionEnum ¶
func GetBatchCreateClusterTagsReqActionEnum() BatchCreateClusterTagsReqActionEnum
type BatchCreateClusterTagsRequest ¶
type BatchCreateClusterTagsRequest struct { ClusterId string `json:"cluster_id"` Body *BatchCreateClusterTagsReq `json:"body,omitempty"` }
Request Object
func (BatchCreateClusterTagsRequest) String ¶
func (o BatchCreateClusterTagsRequest) String() string
type BatchCreateClusterTagsResponse ¶
type BatchCreateClusterTagsResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (BatchCreateClusterTagsResponse) String ¶
func (o BatchCreateClusterTagsResponse) String() string
type BatchDeleteClusterTagsReq ¶
type BatchDeleteClusterTagsReq struct { Action BatchDeleteClusterTagsReqAction `json:"action"` Tags []Tag `json:"tags"` }
func (BatchDeleteClusterTagsReq) String ¶
func (o BatchDeleteClusterTagsReq) String() string
type BatchDeleteClusterTagsReqAction ¶
type BatchDeleteClusterTagsReqAction struct {
// contains filtered or unexported fields
}
func (BatchDeleteClusterTagsReqAction) MarshalJSON ¶
func (c BatchDeleteClusterTagsReqAction) MarshalJSON() ([]byte, error)
func (*BatchDeleteClusterTagsReqAction) UnmarshalJSON ¶
func (c *BatchDeleteClusterTagsReqAction) UnmarshalJSON(b []byte) error
type BatchDeleteClusterTagsReqActionEnum ¶
type BatchDeleteClusterTagsReqActionEnum struct {
DELETE BatchDeleteClusterTagsReqAction
}
func GetBatchDeleteClusterTagsReqActionEnum ¶
func GetBatchDeleteClusterTagsReqActionEnum() BatchDeleteClusterTagsReqActionEnum
type BatchDeleteClusterTagsRequest ¶
type BatchDeleteClusterTagsRequest struct { ClusterId string `json:"cluster_id"` Body *BatchDeleteClusterTagsReq `json:"body,omitempty"` }
Request Object
func (BatchDeleteClusterTagsRequest) String ¶
func (o BatchDeleteClusterTagsRequest) String() string
type BatchDeleteClusterTagsResponse ¶
type BatchDeleteClusterTagsResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (BatchDeleteClusterTagsResponse) String ¶
func (o BatchDeleteClusterTagsResponse) String() string
type BootstrapScript ¶
type BootstrapScript struct { Name string `json:"name"` Uri string `json:"uri"` Parameters *string `json:"parameters,omitempty"` Nodes []string `json:"nodes"` ActiveMaster *bool `json:"active_master,omitempty"` FailAction BootstrapScriptFailAction `json:"fail_action"` BeforeComponentStart *bool `json:"before_component_start,omitempty"` }
func (BootstrapScript) String ¶
func (o BootstrapScript) String() string
type BootstrapScriptFailAction ¶
type BootstrapScriptFailAction struct {
// contains filtered or unexported fields
}
func (BootstrapScriptFailAction) MarshalJSON ¶
func (c BootstrapScriptFailAction) MarshalJSON() ([]byte, error)
func (*BootstrapScriptFailAction) UnmarshalJSON ¶
func (c *BootstrapScriptFailAction) UnmarshalJSON(b []byte) error
type BootstrapScriptFailActionEnum ¶
type BootstrapScriptFailActionEnum struct { CONTINUE BootstrapScriptFailAction ERROROUT BootstrapScriptFailAction }
func GetBootstrapScriptFailActionEnum ¶
func GetBootstrapScriptFailActionEnum() BootstrapScriptFailActionEnum
type ComponentList ¶
type ComponentList struct {
ComponentName string `json:"component_name"`
}
func (ComponentList) String ¶
func (o ComponentList) String() string
type CreateClusterReq ¶
type CreateClusterReq struct { ClusterVersion *string `json:"cluster_version,omitempty"` ClusterName string `json:"cluster_name"` MasterNodeNum CreateClusterReqMasterNodeNum `json:"master_node_num"` CoreNodeNum int32 `json:"core_node_num"` BillingType CreateClusterReqBillingType `json:"billing_type"` DataCenter string `json:"data_center"` Vpc string `json:"vpc"` MasterNodeSize string `json:"master_node_size"` CoreNodeSize string `json:"core_node_size"` ComponentList []ComponentList `json:"component_list"` AvailableZoneId string `json:"available_zone_id"` VpcId string `json:"vpc_id"` SubnetId string `json:"subnet_id"` SubnetName string `json:"subnet_name"` SecurityGroupsId *string `json:"security_groups_id,omitempty"` AddJobs *[]AddJobs `json:"add_jobs,omitempty"` VolumeSize *int32 `json:"volume_size,omitempty"` VolumeType *CreateClusterReqVolumeType `json:"volume_type,omitempty"` MasterDataVolumeType *CreateClusterReqMasterDataVolumeType `json:"master_data_volume_type,omitempty"` MasterDataVolumeSize *int32 `json:"master_data_volume_size,omitempty"` MasterDataVolumeCount *CreateClusterReqMasterDataVolumeCount `json:"master_data_volume_count,omitempty"` CoreDataVolumeType *CreateClusterReqCoreDataVolumeType `json:"core_data_volume_type,omitempty"` CoreDataVolumeSize *int32 `json:"core_data_volume_size,omitempty"` CoreDataVolumeCount *int32 `json:"core_data_volume_count,omitempty"` TaskNodeGroups *[]TaskNodeGroups `json:"task_node_groups,omitempty"` BootstrapScripts *[]BootstrapScript `json:"bootstrap_scripts,omitempty"` NodePublicCertName *string `json:"node_public_cert_name,omitempty"` ClusterAdminSecret *string `json:"cluster_admin_secret,omitempty"` ClusterMasterSecret *string `json:"cluster_master_secret,omitempty"` SafeMode CreateClusterReqSafeMode `json:"safe_mode"` ClusterType *CreateClusterReqClusterType `json:"cluster_type,omitempty"` LogCollection *CreateClusterReqLogCollection `json:"log_collection,omitempty"` Tags *[]Tag `json:"tags,omitempty"` LoginMode *CreateClusterReqLoginMode `json:"login_mode,omitempty"` }
func (CreateClusterReq) String ¶
func (o CreateClusterReq) String() string
type CreateClusterReqBillingType ¶
type CreateClusterReqBillingType struct {
// contains filtered or unexported fields
}
func (CreateClusterReqBillingType) MarshalJSON ¶
func (c CreateClusterReqBillingType) MarshalJSON() ([]byte, error)
func (*CreateClusterReqBillingType) UnmarshalJSON ¶
func (c *CreateClusterReqBillingType) UnmarshalJSON(b []byte) error
type CreateClusterReqBillingTypeEnum ¶
type CreateClusterReqBillingTypeEnum struct {
E_12 CreateClusterReqBillingType
}
func GetCreateClusterReqBillingTypeEnum ¶
func GetCreateClusterReqBillingTypeEnum() CreateClusterReqBillingTypeEnum
type CreateClusterReqClusterType ¶
type CreateClusterReqClusterType struct {
// contains filtered or unexported fields
}
func (CreateClusterReqClusterType) MarshalJSON ¶
func (c CreateClusterReqClusterType) MarshalJSON() ([]byte, error)
func (*CreateClusterReqClusterType) UnmarshalJSON ¶
func (c *CreateClusterReqClusterType) UnmarshalJSON(b []byte) error
type CreateClusterReqClusterTypeEnum ¶
type CreateClusterReqClusterTypeEnum struct { E_0 CreateClusterReqClusterType E_1 CreateClusterReqClusterType }
func GetCreateClusterReqClusterTypeEnum ¶
func GetCreateClusterReqClusterTypeEnum() CreateClusterReqClusterTypeEnum
type CreateClusterReqCoreDataVolumeType ¶
type CreateClusterReqCoreDataVolumeType struct {
// contains filtered or unexported fields
}
func (CreateClusterReqCoreDataVolumeType) MarshalJSON ¶
func (c CreateClusterReqCoreDataVolumeType) MarshalJSON() ([]byte, error)
func (*CreateClusterReqCoreDataVolumeType) UnmarshalJSON ¶
func (c *CreateClusterReqCoreDataVolumeType) UnmarshalJSON(b []byte) error
type CreateClusterReqCoreDataVolumeTypeEnum ¶
type CreateClusterReqCoreDataVolumeTypeEnum struct { SATA CreateClusterReqCoreDataVolumeType SAS CreateClusterReqCoreDataVolumeType SSD CreateClusterReqCoreDataVolumeType }
func GetCreateClusterReqCoreDataVolumeTypeEnum ¶
func GetCreateClusterReqCoreDataVolumeTypeEnum() CreateClusterReqCoreDataVolumeTypeEnum
type CreateClusterReqLogCollection ¶
type CreateClusterReqLogCollection struct {
// contains filtered or unexported fields
}
func (CreateClusterReqLogCollection) MarshalJSON ¶
func (c CreateClusterReqLogCollection) MarshalJSON() ([]byte, error)
func (*CreateClusterReqLogCollection) UnmarshalJSON ¶
func (c *CreateClusterReqLogCollection) UnmarshalJSON(b []byte) error
type CreateClusterReqLogCollectionEnum ¶
type CreateClusterReqLogCollectionEnum struct { E_0 CreateClusterReqLogCollection E_1 CreateClusterReqLogCollection }
func GetCreateClusterReqLogCollectionEnum ¶
func GetCreateClusterReqLogCollectionEnum() CreateClusterReqLogCollectionEnum
type CreateClusterReqLoginMode ¶
type CreateClusterReqLoginMode struct {
// contains filtered or unexported fields
}
func (CreateClusterReqLoginMode) MarshalJSON ¶
func (c CreateClusterReqLoginMode) MarshalJSON() ([]byte, error)
func (*CreateClusterReqLoginMode) UnmarshalJSON ¶
func (c *CreateClusterReqLoginMode) UnmarshalJSON(b []byte) error
type CreateClusterReqLoginModeEnum ¶
type CreateClusterReqLoginModeEnum struct { E_0 CreateClusterReqLoginMode E_1 CreateClusterReqLoginMode }
func GetCreateClusterReqLoginModeEnum ¶
func GetCreateClusterReqLoginModeEnum() CreateClusterReqLoginModeEnum
type CreateClusterReqMasterDataVolumeCount ¶
type CreateClusterReqMasterDataVolumeCount struct {
// contains filtered or unexported fields
}
func (CreateClusterReqMasterDataVolumeCount) MarshalJSON ¶
func (c CreateClusterReqMasterDataVolumeCount) MarshalJSON() ([]byte, error)
func (*CreateClusterReqMasterDataVolumeCount) UnmarshalJSON ¶
func (c *CreateClusterReqMasterDataVolumeCount) UnmarshalJSON(b []byte) error
type CreateClusterReqMasterDataVolumeCountEnum ¶
type CreateClusterReqMasterDataVolumeCountEnum struct {
E_1 CreateClusterReqMasterDataVolumeCount
}
func GetCreateClusterReqMasterDataVolumeCountEnum ¶
func GetCreateClusterReqMasterDataVolumeCountEnum() CreateClusterReqMasterDataVolumeCountEnum
type CreateClusterReqMasterDataVolumeType ¶
type CreateClusterReqMasterDataVolumeType struct {
// contains filtered or unexported fields
}
func (CreateClusterReqMasterDataVolumeType) MarshalJSON ¶
func (c CreateClusterReqMasterDataVolumeType) MarshalJSON() ([]byte, error)
func (*CreateClusterReqMasterDataVolumeType) UnmarshalJSON ¶
func (c *CreateClusterReqMasterDataVolumeType) UnmarshalJSON(b []byte) error
type CreateClusterReqMasterDataVolumeTypeEnum ¶
type CreateClusterReqMasterDataVolumeTypeEnum struct { SATA CreateClusterReqMasterDataVolumeType SAS CreateClusterReqMasterDataVolumeType SSD CreateClusterReqMasterDataVolumeType }
func GetCreateClusterReqMasterDataVolumeTypeEnum ¶
func GetCreateClusterReqMasterDataVolumeTypeEnum() CreateClusterReqMasterDataVolumeTypeEnum
type CreateClusterReqMasterNodeNum ¶
type CreateClusterReqMasterNodeNum struct {
// contains filtered or unexported fields
}
func (CreateClusterReqMasterNodeNum) MarshalJSON ¶
func (c CreateClusterReqMasterNodeNum) MarshalJSON() ([]byte, error)
func (*CreateClusterReqMasterNodeNum) UnmarshalJSON ¶
func (c *CreateClusterReqMasterNodeNum) UnmarshalJSON(b []byte) error
type CreateClusterReqMasterNodeNumEnum ¶
type CreateClusterReqMasterNodeNumEnum struct { E_1 CreateClusterReqMasterNodeNum E_2 CreateClusterReqMasterNodeNum }
func GetCreateClusterReqMasterNodeNumEnum ¶
func GetCreateClusterReqMasterNodeNumEnum() CreateClusterReqMasterNodeNumEnum
type CreateClusterReqSafeMode ¶
type CreateClusterReqSafeMode struct {
// contains filtered or unexported fields
}
func (CreateClusterReqSafeMode) MarshalJSON ¶
func (c CreateClusterReqSafeMode) MarshalJSON() ([]byte, error)
func (*CreateClusterReqSafeMode) UnmarshalJSON ¶
func (c *CreateClusterReqSafeMode) UnmarshalJSON(b []byte) error
type CreateClusterReqSafeModeEnum ¶
type CreateClusterReqSafeModeEnum struct { E_0 CreateClusterReqSafeMode E_1 CreateClusterReqSafeMode }
func GetCreateClusterReqSafeModeEnum ¶
func GetCreateClusterReqSafeModeEnum() CreateClusterReqSafeModeEnum
type CreateClusterReqVolumeType ¶
type CreateClusterReqVolumeType struct {
// contains filtered or unexported fields
}
func (CreateClusterReqVolumeType) MarshalJSON ¶
func (c CreateClusterReqVolumeType) MarshalJSON() ([]byte, error)
func (*CreateClusterReqVolumeType) UnmarshalJSON ¶
func (c *CreateClusterReqVolumeType) UnmarshalJSON(b []byte) error
type CreateClusterReqVolumeTypeEnum ¶
type CreateClusterReqVolumeTypeEnum struct { SATA CreateClusterReqVolumeType SAS CreateClusterReqVolumeType SSD CreateClusterReqVolumeType }
func GetCreateClusterReqVolumeTypeEnum ¶
func GetCreateClusterReqVolumeTypeEnum() CreateClusterReqVolumeTypeEnum
type CreateClusterRequest ¶
type CreateClusterRequest struct {
Body *CreateClusterReq `json:"body,omitempty"`
}
Request Object
func (CreateClusterRequest) String ¶
func (o CreateClusterRequest) String() string
type CreateClusterResponse ¶
type CreateClusterResponse struct { Result *bool `json:"result,omitempty"` Msg *string `json:"msg,omitempty"` ClusterId *string `json:"cluster_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateClusterResponse) String ¶
func (o CreateClusterResponse) String() string
type CreateClusterTagRequest ¶
type CreateClusterTagRequest struct { ClusterId string `json:"cluster_id"` Body *CreateTagReq `json:"body,omitempty"` }
Request Object
func (CreateClusterTagRequest) String ¶
func (o CreateClusterTagRequest) String() string
type CreateClusterTagResponse ¶
type CreateClusterTagResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (CreateClusterTagResponse) String ¶
func (o CreateClusterTagResponse) String() string
type CreateTagReq ¶
type CreateTagReq struct {
Tag *Tag `json:"tag"`
}
func (CreateTagReq) String ¶
func (o CreateTagReq) String() string
type DeleteClusterRequest ¶
type DeleteClusterRequest struct {
ClusterId string `json:"cluster_id"`
}
Request Object
func (DeleteClusterRequest) String ¶
func (o DeleteClusterRequest) String() string
type DeleteClusterResponse ¶
type DeleteClusterResponse struct { Body *string `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DeleteClusterResponse) String ¶
func (o DeleteClusterResponse) String() string
type DeleteClusterTagRequest ¶
type DeleteClusterTagRequest struct { ClusterId string `json:"cluster_id"` Key string `json:"key"` }
Request Object
func (DeleteClusterTagRequest) String ¶
func (o DeleteClusterTagRequest) String() string
type DeleteClusterTagResponse ¶
type DeleteClusterTagResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteClusterTagResponse) String ¶
func (o DeleteClusterTagResponse) String() string
type ListAllTagsRequest ¶
type ListAllTagsRequest struct { }
Request Object
func (ListAllTagsRequest) String ¶
func (o ListAllTagsRequest) String() string
type ListAllTagsResponse ¶
type ListAllTagsResponse struct { Tags *[]TagWithMultiValue `json:"tags,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListAllTagsResponse) String ¶
func (o ListAllTagsResponse) String() string
type ListClusterTagsRequest ¶
type ListClusterTagsRequest struct {
ClusterId string `json:"cluster_id"`
}
Request Object
func (ListClusterTagsRequest) String ¶
func (o ListClusterTagsRequest) String() string
type ListClusterTagsResponse ¶
type ListClusterTagsResponse struct { Tags *[]TagPlain `json:"tags,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListClusterTagsResponse) String ¶
func (o ListClusterTagsResponse) String() string
type ListClustersByTagsRequest ¶
type ListClustersByTagsRequest struct {
Body *ListResourceReq `json:"body,omitempty"`
}
Request Object
func (ListClustersByTagsRequest) String ¶
func (o ListClustersByTagsRequest) String() string
type ListClustersByTagsResponse ¶
type ListClustersByTagsResponse struct { Resources *[]MrsResource `json:"resources,omitempty"` TotalCount *int32 `json:"total_count,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListClustersByTagsResponse) String ¶
func (o ListClustersByTagsResponse) String() string
type ListResourceReq ¶
type ListResourceReq struct { Tags *[]TagWithMultiValue `json:"tags,omitempty"` TagsAny *[]TagWithMultiValue `json:"tags_any,omitempty"` NotTags *[]TagWithMultiValue `json:"not_tags,omitempty"` NotTagsAny *[]TagWithMultiValue `json:"not_tags_any,omitempty"` Action ListResourceReqAction `json:"action"` Limit *int32 `json:"limit,omitempty"` Offset *int32 `json:"offset,omitempty"` Matches *[]Match `json:"matches,omitempty"` }
func (ListResourceReq) String ¶
func (o ListResourceReq) String() string
type ListResourceReqAction ¶
type ListResourceReqAction struct {
// contains filtered or unexported fields
}
func (ListResourceReqAction) MarshalJSON ¶
func (c ListResourceReqAction) MarshalJSON() ([]byte, error)
func (*ListResourceReqAction) UnmarshalJSON ¶
func (c *ListResourceReqAction) UnmarshalJSON(b []byte) error
type ListResourceReqActionEnum ¶
type ListResourceReqActionEnum struct { FILTER ListResourceReqAction COUNT ListResourceReqAction }
func GetListResourceReqActionEnum ¶
func GetListResourceReqActionEnum() ListResourceReqActionEnum
type MrsResource ¶
type MrsResource struct { ResourceId *string `json:"resource_id,omitempty"` ResourceDetail *string `json:"resource_detail,omitempty"` Tags *[]TagPlain `json:"tags,omitempty"` ResourceName *string `json:"resource_name,omitempty"` }
func (MrsResource) String ¶
func (o MrsResource) String() string
type ResourcesPlan ¶
type ResourcesPlan struct { PeriodType string `json:"period_type"` StartTime string `json:"start_time"` EndTime string `json:"end_time"` MinCapacity int32 `json:"min_capacity"` MaxCapacity int32 `json:"max_capacity"` }
func (ResourcesPlan) String ¶
func (o ResourcesPlan) String() string
type Rules ¶
type RulesAdjustmentType ¶
type RulesAdjustmentType struct {
// contains filtered or unexported fields
}
func (RulesAdjustmentType) MarshalJSON ¶
func (c RulesAdjustmentType) MarshalJSON() ([]byte, error)
func (*RulesAdjustmentType) UnmarshalJSON ¶
func (c *RulesAdjustmentType) UnmarshalJSON(b []byte) error
type RulesAdjustmentTypeEnum ¶
type RulesAdjustmentTypeEnum struct { SCALE_OUT RulesAdjustmentType SCALE_IN RulesAdjustmentType }
func GetRulesAdjustmentTypeEnum ¶
func GetRulesAdjustmentTypeEnum() RulesAdjustmentTypeEnum
type ScaleScript ¶
type ScaleScript struct { Name string `json:"name"` Uri string `json:"uri"` Parameters *string `json:"parameters,omitempty"` Nodes []string `json:"nodes"` ActiveMaster *bool `json:"active_master,omitempty"` FailAction ScaleScriptFailAction `json:"fail_action"` ActionStage ScaleScriptActionStage `json:"action_stage"` }
func (ScaleScript) String ¶
func (o ScaleScript) String() string
type ScaleScriptActionStage ¶
type ScaleScriptActionStage struct {
// contains filtered or unexported fields
}
func (ScaleScriptActionStage) MarshalJSON ¶
func (c ScaleScriptActionStage) MarshalJSON() ([]byte, error)
func (*ScaleScriptActionStage) UnmarshalJSON ¶
func (c *ScaleScriptActionStage) UnmarshalJSON(b []byte) error
type ScaleScriptActionStageEnum ¶
type ScaleScriptActionStageEnum struct { BEFORE_SCALE_OUT ScaleScriptActionStage BEFORE_SCALE_IN ScaleScriptActionStage AFTER_SCALE_OUT ScaleScriptActionStage AFTER_SCALE_IN ScaleScriptActionStage }
func GetScaleScriptActionStageEnum ¶
func GetScaleScriptActionStageEnum() ScaleScriptActionStageEnum
type ScaleScriptFailAction ¶
type ScaleScriptFailAction struct {
// contains filtered or unexported fields
}
func (ScaleScriptFailAction) MarshalJSON ¶
func (c ScaleScriptFailAction) MarshalJSON() ([]byte, error)
func (*ScaleScriptFailAction) UnmarshalJSON ¶
func (c *ScaleScriptFailAction) UnmarshalJSON(b []byte) error
type ScaleScriptFailActionEnum ¶
type ScaleScriptFailActionEnum struct { CONTINUE ScaleScriptFailAction ERROROUT ScaleScriptFailAction }
func GetScaleScriptFailActionEnum ¶
func GetScaleScriptFailActionEnum() ScaleScriptFailActionEnum
type TagWithMultiValue ¶
type TagWithMultiValue struct { Key *string `json:"key,omitempty"` Values *[]string `json:"values,omitempty"` }
func (TagWithMultiValue) String ¶
func (o TagWithMultiValue) String() string
type TaskNodeGroups ¶
type TaskNodeGroups struct { NodeNum int32 `json:"node_num"` NodeSize string `json:"node_size"` DataVolumeType TaskNodeGroupsDataVolumeType `json:"data_volume_type"` DataVolumeCount int32 `json:"data_volume_count"` DataVolumeSize int32 `json:"data_volume_size"` AutoScalingPolicy *AutoScalingPolicy `json:"auto_scaling_policy,omitempty"` }
func (TaskNodeGroups) String ¶
func (o TaskNodeGroups) String() string
type TaskNodeGroupsDataVolumeType ¶
type TaskNodeGroupsDataVolumeType struct {
// contains filtered or unexported fields
}
func (TaskNodeGroupsDataVolumeType) MarshalJSON ¶
func (c TaskNodeGroupsDataVolumeType) MarshalJSON() ([]byte, error)
func (*TaskNodeGroupsDataVolumeType) UnmarshalJSON ¶
func (c *TaskNodeGroupsDataVolumeType) UnmarshalJSON(b []byte) error
type TaskNodeGroupsDataVolumeTypeEnum ¶
type TaskNodeGroupsDataVolumeTypeEnum struct { SATA TaskNodeGroupsDataVolumeType SAS TaskNodeGroupsDataVolumeType SSD TaskNodeGroupsDataVolumeType }
func GetTaskNodeGroupsDataVolumeTypeEnum ¶
func GetTaskNodeGroupsDataVolumeTypeEnum() TaskNodeGroupsDataVolumeTypeEnum
Source Files ¶
- model_add_jobs.go
- model_auto_scaling_policy.go
- model_batch_create_cluster_tags_req.go
- model_batch_create_cluster_tags_request.go
- model_batch_create_cluster_tags_response.go
- model_batch_delete_cluster_tags_req.go
- model_batch_delete_cluster_tags_request.go
- model_batch_delete_cluster_tags_response.go
- model_bootstrap_script.go
- model_component_list.go
- model_create_cluster_req.go
- model_create_cluster_request.go
- model_create_cluster_response.go
- model_create_cluster_tag_request.go
- model_create_cluster_tag_response.go
- model_create_tag_req.go
- model_delete_cluster_request.go
- model_delete_cluster_response.go
- model_delete_cluster_tag_request.go
- model_delete_cluster_tag_response.go
- model_list_all_tags_request.go
- model_list_all_tags_response.go
- model_list_cluster_tags_request.go
- model_list_cluster_tags_response.go
- model_list_clusters_by_tags_request.go
- model_list_clusters_by_tags_response.go
- model_list_resource_req.go
- model_match.go
- model_mrs_resource.go
- model_resources_plan.go
- model_rules.go
- model_scale_script.go
- model_tag.go
- model_tag_plain.go
- model_tag_with_multi_value.go
- model_task_node_groups.go
- model_trigger.go
Click to show internal directories.
Click to hide internal directories.