Documentation ¶
Index ¶
Constants ¶
const ( // JobFlink is a type of the MRS job, which specifies the use of Flink componment. // The Flink is a unified computing framework that supports both batch processing and stream processing. JobFlink = "Flink" // JobHiveSQL is a type of the MRS job, which specifies the use of Hive componment by a sql command. // The Hive is a data warehouse infrastructure built on Hadoop. JobHiveSQL = "HiveSql" // JobHiveScript is a type of the MRS job, which specifies the use of Hive componment by a sql file. JobHiveScript = "HiveScript" // JobMapReduce is a type of the MRS job, which specifies the use of MapReduce componment. // MapReduce is the core of Hadoop. JobMapReduce = "MapReduce" // JobSparkSubmit is a type of the MRS job, which specifies the use of Spark componment to submit a job to MRS // executor. JobSparkSubmit = "SparkSubmit" // JobSparkSQL is a type of the MRS job, which specifies the use of Spark componment by a sql command. JobSparkSQL = "SparkSql" // JobSparkScript is a type of the MRS job, which specifies the use of Spark componment by a sql file. JobSparkScript = "SparkScript" )
Variables ¶
This section is empty.
Functions ¶
func DataSourceMrsClusters ¶ added in v1.57.0
@API MRS GET /v1.1/{project_id}/cluster_infos
func DataSourceMrsVersions ¶ added in v1.57.0
@API MRS GET /v2/{project_id}/metadata/versions
func ResourceDataConnection ¶ added in v1.53.0
@API MRS GET /v2/{project_id}/data-connectors @API MRS POST /v2/{project_id}/data-connectors @API MRS DELETE /v2/{project_id}/data-connectors/{connector_id} @API MRS PUT /v2/{project_id}/data-connectors/{connector_id}
func ResourceMRSClusterV2 ¶
@API MRS GET /v1.1/{project_id}/clusters/{cluster_id}/hosts @API MRS DELETE /v1.1/{project_id}/clusters/{cluster_id} @API MRS POST /v2/{project_id}/clusters @API MRS PUT /v2/{project_id}/clusters/{cluster_id}/cluster-name @API MRS POST /v1.1/{project_id}/{resourceType}/{id}/tags/action @API MRS GET /v1.1/{project_id}/cluster_infos/{cluster_id} @API MRS PUT /v1.1/{project_id}/cluster_infos/{cluster_id} @API EIP GET /v1/{project_id}/publicips @API VPC GET /v1/{project_id}/vpcs @API VPC GET /v1/{project_id}/subnets @API EPS POST /v1.0/enterprise-projects/{enterprise_project_id}/resources-migrate @API EPS POST /v1.0/enterprise-projects/{enterprise_project_id}/resources/filter
func ResourceMRSJobV2 ¶
ResourceMRSJobV2 is a schema resource to provider the MRS job. @API MRS POST /v2/{project_id}/clusters/{cluster_id}/job-executions/batch-delete @API MRS GET /v2/{project_id}/clusters/{cluster_id}/job-executions/{job_execution_id} @API MRS POST /v2/{project_id}/clusters/{cluster_id}/job-executions
func ResourceScalingPolicy ¶ added in v1.57.0
@API MRS POST /v1.1/{project_id}/autoscaling-policy/{cluster_id} @API MRS GET /v2/{project_id}/autoscaling-policy/{cluster_id}
Types ¶
This section is empty.