alicloud.mse.Cluster
Explore with Pulumi AI
Import
MSE Cluster can be imported using the id, e.g.
$ pulumi import alicloud:mse/cluster:Cluster example mse-cn-0d9xxxx
Create Cluster Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Cluster(name: string, args: ClusterArgs, opts?: CustomResourceOptions);
@overload
def Cluster(resource_name: str,
args: ClusterArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Cluster(resource_name: str,
opts: Optional[ResourceOptions] = None,
pub_network_flow: Optional[str] = None,
instance_count: Optional[int] = None,
net_type: Optional[str] = None,
cluster_type: Optional[str] = None,
cluster_version: Optional[str] = None,
cluster_specification: Optional[str] = None,
vswitch_id: Optional[str] = None,
disk_type: Optional[str] = None,
connection_type: Optional[str] = None,
cluster_alias_name: Optional[str] = None,
private_slb_specification: Optional[str] = None,
payment_type: Optional[str] = None,
acl_entry_lists: Optional[Sequence[str]] = None,
pub_slb_specification: Optional[str] = None,
request_pars: Optional[str] = None,
resource_group_id: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
vpc_id: Optional[str] = None,
mse_version: Optional[str] = None)
func NewCluster(ctx *Context, name string, args ClusterArgs, opts ...ResourceOption) (*Cluster, error)
public Cluster(string name, ClusterArgs args, CustomResourceOptions? opts = null)
public Cluster(String name, ClusterArgs args)
public Cluster(String name, ClusterArgs args, CustomResourceOptions options)
type: alicloud:mse:Cluster
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ClusterArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ClusterArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ClusterArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var exampleclusterResourceResourceFromMsecluster = new AliCloud.Mse.Cluster("exampleclusterResourceResourceFromMsecluster", new()
{
PubNetworkFlow = "string",
InstanceCount = 0,
NetType = "string",
ClusterType = "string",
ClusterVersion = "string",
ClusterSpecification = "string",
VswitchId = "string",
DiskType = "string",
ConnectionType = "string",
ClusterAliasName = "string",
PrivateSlbSpecification = "string",
PaymentType = "string",
AclEntryLists = new[]
{
"string",
},
PubSlbSpecification = "string",
RequestPars = "string",
ResourceGroupId = "string",
Tags =
{
{ "string", "string" },
},
VpcId = "string",
MseVersion = "string",
});
example, err := mse.NewCluster(ctx, "exampleclusterResourceResourceFromMsecluster", &mse.ClusterArgs{
PubNetworkFlow: pulumi.String("string"),
InstanceCount: pulumi.Int(0),
NetType: pulumi.String("string"),
ClusterType: pulumi.String("string"),
ClusterVersion: pulumi.String("string"),
ClusterSpecification: pulumi.String("string"),
VswitchId: pulumi.String("string"),
DiskType: pulumi.String("string"),
ConnectionType: pulumi.String("string"),
ClusterAliasName: pulumi.String("string"),
PrivateSlbSpecification: pulumi.String("string"),
PaymentType: pulumi.String("string"),
AclEntryLists: pulumi.StringArray{
pulumi.String("string"),
},
PubSlbSpecification: pulumi.String("string"),
RequestPars: pulumi.String("string"),
ResourceGroupId: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
VpcId: pulumi.String("string"),
MseVersion: pulumi.String("string"),
})
var exampleclusterResourceResourceFromMsecluster = new Cluster("exampleclusterResourceResourceFromMsecluster", ClusterArgs.builder()
.pubNetworkFlow("string")
.instanceCount(0)
.netType("string")
.clusterType("string")
.clusterVersion("string")
.clusterSpecification("string")
.vswitchId("string")
.diskType("string")
.connectionType("string")
.clusterAliasName("string")
.privateSlbSpecification("string")
.paymentType("string")
.aclEntryLists("string")
.pubSlbSpecification("string")
.requestPars("string")
.resourceGroupId("string")
.tags(Map.of("string", "string"))
.vpcId("string")
.mseVersion("string")
.build());
examplecluster_resource_resource_from_msecluster = alicloud.mse.Cluster("exampleclusterResourceResourceFromMsecluster",
pub_network_flow="string",
instance_count=0,
net_type="string",
cluster_type="string",
cluster_version="string",
cluster_specification="string",
vswitch_id="string",
disk_type="string",
connection_type="string",
cluster_alias_name="string",
private_slb_specification="string",
payment_type="string",
acl_entry_lists=["string"],
pub_slb_specification="string",
request_pars="string",
resource_group_id="string",
tags={
"string": "string",
},
vpc_id="string",
mse_version="string")
const exampleclusterResourceResourceFromMsecluster = new alicloud.mse.Cluster("exampleclusterResourceResourceFromMsecluster", {
pubNetworkFlow: "string",
instanceCount: 0,
netType: "string",
clusterType: "string",
clusterVersion: "string",
clusterSpecification: "string",
vswitchId: "string",
diskType: "string",
connectionType: "string",
clusterAliasName: "string",
privateSlbSpecification: "string",
paymentType: "string",
aclEntryLists: ["string"],
pubSlbSpecification: "string",
requestPars: "string",
resourceGroupId: "string",
tags: {
string: "string",
},
vpcId: "string",
mseVersion: "string",
});
type: alicloud:mse:Cluster
properties:
aclEntryLists:
- string
clusterAliasName: string
clusterSpecification: string
clusterType: string
clusterVersion: string
connectionType: string
diskType: string
instanceCount: 0
mseVersion: string
netType: string
paymentType: string
privateSlbSpecification: string
pubNetworkFlow: string
pubSlbSpecification: string
requestPars: string
resourceGroupId: string
tags:
string: string
vpcId: string
vswitchId: string
Cluster Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Cluster resource accepts the following input properties:
- Cluster
Specification string - The engine specification of MSE Cluster. NOTE: From version 1.188.0,
cluster_specification
can be modified. If you were an international user, please use the specification version ending with_200_c
.Valid values:- Professional Edition
MSE_SC_1_2_60_c
: 1C2GMSE_SC_2_4_60_c
: 2C4GMSE_SC_4_8_60_c
: 4C8GMSE_SC_8_16_60_c
: 8C16GMSE_SC_16_32_60_c
:16C32GMSE_SC_1_2_200_c
: 1C2GMSE_SC_2_4_200_c
: 2C4GMSE_SC_4_8_200_c
: 4C8GMSE_SC_8_16_200_c
: 8C16GMSE_SC_16_32_200_c
:16C32G- Developer Edition
MSE_SC_1_2_60_c
: 1C2GMSE_SC_2_4_60_c
: 2C4GMSE_SC_1_2_200_c
: 1C2GMSE_SC_2_4_200_c
: 2C4G- Serverless Edition
MSE_SC_SERVERLESS
: Available since v1.232.0
- Cluster
Type string - The type of MSE Cluster.
- Cluster
Version string - The version of MSE Cluster. See details
- Instance
Count int - The count of instance. NOTE: From version 1.188.0,
instance_count
can be modified. - Net
Type string - The type of network. Valid values:
privatenet
andpubnet
andboth
(Available since v1.232.0). - Pub
Network stringFlow - The public network bandwidth.
- Acl
Entry List<string>Lists - The whitelist. NOTE: This attribute is invalid when the value of
pub_network_flow
is0
and the value ofnet_type
isprivatenet
. - Cluster
Alias stringName - The alias of MSE Cluster.
- Connection
Type string - The connection type. Valid values:
slb
,single_eni
(Available since v1.232.0). If your region is one ofap-southeast-6、us-west-1、eu-central-1、us-east-1、ap-southeast-1
,and your cluster's mse_version ismse_dev
,please usesingle_eni
. - Disk
Type string - The type of Disk.
- Mse
Version string - The version of MSE. Valid values:
mse_dev
ormse_pro
ormse_serverless
(Available since v1.232.0). - Payment
Type string - Payment type: Subscription (prepaid), PayAsYouGo (postpaid). Default PayAsYouGo.
- Private
Slb stringSpecification - The specification of private network SLB.
- Pub
Slb stringSpecification - The specification of public network SLB. Serverless Instance could ignore this parameter.
- Request
Pars string - The extended request parameters in the JSON format.
- Resource
Group stringId - The resource group of the resource.
- Dictionary<string, string>
- The tag of the resource.
- Vpc
Id string - The id of the VPC.
- Vswitch
Id string - The id of VSwitch.
- Cluster
Specification string - The engine specification of MSE Cluster. NOTE: From version 1.188.0,
cluster_specification
can be modified. If you were an international user, please use the specification version ending with_200_c
.Valid values:- Professional Edition
MSE_SC_1_2_60_c
: 1C2GMSE_SC_2_4_60_c
: 2C4GMSE_SC_4_8_60_c
: 4C8GMSE_SC_8_16_60_c
: 8C16GMSE_SC_16_32_60_c
:16C32GMSE_SC_1_2_200_c
: 1C2GMSE_SC_2_4_200_c
: 2C4GMSE_SC_4_8_200_c
: 4C8GMSE_SC_8_16_200_c
: 8C16GMSE_SC_16_32_200_c
:16C32G- Developer Edition
MSE_SC_1_2_60_c
: 1C2GMSE_SC_2_4_60_c
: 2C4GMSE_SC_1_2_200_c
: 1C2GMSE_SC_2_4_200_c
: 2C4G- Serverless Edition
MSE_SC_SERVERLESS
: Available since v1.232.0
- Cluster
Type string - The type of MSE Cluster.
- Cluster
Version string - The version of MSE Cluster. See details
- Instance
Count int - The count of instance. NOTE: From version 1.188.0,
instance_count
can be modified. - Net
Type string - The type of network. Valid values:
privatenet
andpubnet
andboth
(Available since v1.232.0). - Pub
Network stringFlow - The public network bandwidth.
- Acl
Entry []stringLists - The whitelist. NOTE: This attribute is invalid when the value of
pub_network_flow
is0
and the value ofnet_type
isprivatenet
. - Cluster
Alias stringName - The alias of MSE Cluster.
- Connection
Type string - The connection type. Valid values:
slb
,single_eni
(Available since v1.232.0). If your region is one ofap-southeast-6、us-west-1、eu-central-1、us-east-1、ap-southeast-1
,and your cluster's mse_version ismse_dev
,please usesingle_eni
. - Disk
Type string - The type of Disk.
- Mse
Version string - The version of MSE. Valid values:
mse_dev
ormse_pro
ormse_serverless
(Available since v1.232.0). - Payment
Type string - Payment type: Subscription (prepaid), PayAsYouGo (postpaid). Default PayAsYouGo.
- Private
Slb stringSpecification - The specification of private network SLB.
- Pub
Slb stringSpecification - The specification of public network SLB. Serverless Instance could ignore this parameter.
- Request
Pars string - The extended request parameters in the JSON format.
- Resource
Group stringId - The resource group of the resource.
- map[string]string
- The tag of the resource.
- Vpc
Id string - The id of the VPC.
- Vswitch
Id string - The id of VSwitch.
- cluster
Specification String - The engine specification of MSE Cluster. NOTE: From version 1.188.0,
cluster_specification
can be modified. If you were an international user, please use the specification version ending with_200_c
.Valid values:- Professional Edition
MSE_SC_1_2_60_c
: 1C2GMSE_SC_2_4_60_c
: 2C4GMSE_SC_4_8_60_c
: 4C8GMSE_SC_8_16_60_c
: 8C16GMSE_SC_16_32_60_c
:16C32GMSE_SC_1_2_200_c
: 1C2GMSE_SC_2_4_200_c
: 2C4GMSE_SC_4_8_200_c
: 4C8GMSE_SC_8_16_200_c
: 8C16GMSE_SC_16_32_200_c
:16C32G- Developer Edition
MSE_SC_1_2_60_c
: 1C2GMSE_SC_2_4_60_c
: 2C4GMSE_SC_1_2_200_c
: 1C2GMSE_SC_2_4_200_c
: 2C4G- Serverless Edition
MSE_SC_SERVERLESS
: Available since v1.232.0
- cluster
Type String - The type of MSE Cluster.
- cluster
Version String - The version of MSE Cluster. See details
- instance
Count Integer - The count of instance. NOTE: From version 1.188.0,
instance_count
can be modified. - net
Type String - The type of network. Valid values:
privatenet
andpubnet
andboth
(Available since v1.232.0). - pub
Network StringFlow - The public network bandwidth.
- acl
Entry List<String>Lists - The whitelist. NOTE: This attribute is invalid when the value of
pub_network_flow
is0
and the value ofnet_type
isprivatenet
. - cluster
Alias StringName - The alias of MSE Cluster.
- connection
Type String - The connection type. Valid values:
slb
,single_eni
(Available since v1.232.0). If your region is one ofap-southeast-6、us-west-1、eu-central-1、us-east-1、ap-southeast-1
,and your cluster's mse_version ismse_dev
,please usesingle_eni
. - disk
Type String - The type of Disk.
- mse
Version String - The version of MSE. Valid values:
mse_dev
ormse_pro
ormse_serverless
(Available since v1.232.0). - payment
Type String - Payment type: Subscription (prepaid), PayAsYouGo (postpaid). Default PayAsYouGo.
- private
Slb StringSpecification - The specification of private network SLB.
- pub
Slb StringSpecification - The specification of public network SLB. Serverless Instance could ignore this parameter.
- request
Pars String - The extended request parameters in the JSON format.
- resource
Group StringId - The resource group of the resource.
- Map<String,String>
- The tag of the resource.
- vpc
Id String - The id of the VPC.
- vswitch
Id String - The id of VSwitch.
- cluster
Specification string - The engine specification of MSE Cluster. NOTE: From version 1.188.0,
cluster_specification
can be modified. If you were an international user, please use the specification version ending with_200_c
.Valid values:- Professional Edition
MSE_SC_1_2_60_c
: 1C2GMSE_SC_2_4_60_c
: 2C4GMSE_SC_4_8_60_c
: 4C8GMSE_SC_8_16_60_c
: 8C16GMSE_SC_16_32_60_c
:16C32GMSE_SC_1_2_200_c
: 1C2GMSE_SC_2_4_200_c
: 2C4GMSE_SC_4_8_200_c
: 4C8GMSE_SC_8_16_200_c
: 8C16GMSE_SC_16_32_200_c
:16C32G- Developer Edition
MSE_SC_1_2_60_c
: 1C2GMSE_SC_2_4_60_c
: 2C4GMSE_SC_1_2_200_c
: 1C2GMSE_SC_2_4_200_c
: 2C4G- Serverless Edition
MSE_SC_SERVERLESS
: Available since v1.232.0
- cluster
Type string - The type of MSE Cluster.
- cluster
Version string - The version of MSE Cluster. See details
- instance
Count number - The count of instance. NOTE: From version 1.188.0,
instance_count
can be modified. - net
Type string - The type of network. Valid values:
privatenet
andpubnet
andboth
(Available since v1.232.0). - pub
Network stringFlow - The public network bandwidth.
- acl
Entry string[]Lists - The whitelist. NOTE: This attribute is invalid when the value of
pub_network_flow
is0
and the value ofnet_type
isprivatenet
. - cluster
Alias stringName - The alias of MSE Cluster.
- connection
Type string - The connection type. Valid values:
slb
,single_eni
(Available since v1.232.0). If your region is one ofap-southeast-6、us-west-1、eu-central-1、us-east-1、ap-southeast-1
,and your cluster's mse_version ismse_dev
,please usesingle_eni
. - disk
Type string - The type of Disk.
- mse
Version string - The version of MSE. Valid values:
mse_dev
ormse_pro
ormse_serverless
(Available since v1.232.0). - payment
Type string - Payment type: Subscription (prepaid), PayAsYouGo (postpaid). Default PayAsYouGo.
- private
Slb stringSpecification - The specification of private network SLB.
- pub
Slb stringSpecification - The specification of public network SLB. Serverless Instance could ignore this parameter.
- request
Pars string - The extended request parameters in the JSON format.
- resource
Group stringId - The resource group of the resource.
- {[key: string]: string}
- The tag of the resource.
- vpc
Id string - The id of the VPC.
- vswitch
Id string - The id of VSwitch.
- cluster_
specification str - The engine specification of MSE Cluster. NOTE: From version 1.188.0,
cluster_specification
can be modified. If you were an international user, please use the specification version ending with_200_c
.Valid values:- Professional Edition
MSE_SC_1_2_60_c
: 1C2GMSE_SC_2_4_60_c
: 2C4GMSE_SC_4_8_60_c
: 4C8GMSE_SC_8_16_60_c
: 8C16GMSE_SC_16_32_60_c
:16C32GMSE_SC_1_2_200_c
: 1C2GMSE_SC_2_4_200_c
: 2C4GMSE_SC_4_8_200_c
: 4C8GMSE_SC_8_16_200_c
: 8C16GMSE_SC_16_32_200_c
:16C32G- Developer Edition
MSE_SC_1_2_60_c
: 1C2GMSE_SC_2_4_60_c
: 2C4GMSE_SC_1_2_200_c
: 1C2GMSE_SC_2_4_200_c
: 2C4G- Serverless Edition
MSE_SC_SERVERLESS
: Available since v1.232.0
- cluster_
type str - The type of MSE Cluster.
- cluster_
version str - The version of MSE Cluster. See details
- instance_
count int - The count of instance. NOTE: From version 1.188.0,
instance_count
can be modified. - net_
type str - The type of network. Valid values:
privatenet
andpubnet
andboth
(Available since v1.232.0). - pub_
network_ strflow - The public network bandwidth.
- acl_
entry_ Sequence[str]lists - The whitelist. NOTE: This attribute is invalid when the value of
pub_network_flow
is0
and the value ofnet_type
isprivatenet
. - cluster_
alias_ strname - The alias of MSE Cluster.
- connection_
type str - The connection type. Valid values:
slb
,single_eni
(Available since v1.232.0). If your region is one ofap-southeast-6、us-west-1、eu-central-1、us-east-1、ap-southeast-1
,and your cluster's mse_version ismse_dev
,please usesingle_eni
. - disk_
type str - The type of Disk.
- mse_
version str - The version of MSE. Valid values:
mse_dev
ormse_pro
ormse_serverless
(Available since v1.232.0). - payment_
type str - Payment type: Subscription (prepaid), PayAsYouGo (postpaid). Default PayAsYouGo.
- private_
slb_ strspecification - The specification of private network SLB.
- pub_
slb_ strspecification - The specification of public network SLB. Serverless Instance could ignore this parameter.
- request_
pars str - The extended request parameters in the JSON format.
- resource_
group_ strid - The resource group of the resource.
- Mapping[str, str]
- The tag of the resource.
- vpc_
id str - The id of the VPC.
- vswitch_
id str - The id of VSwitch.
- cluster
Specification String - The engine specification of MSE Cluster. NOTE: From version 1.188.0,
cluster_specification
can be modified. If you were an international user, please use the specification version ending with_200_c
.Valid values:- Professional Edition
MSE_SC_1_2_60_c
: 1C2GMSE_SC_2_4_60_c
: 2C4GMSE_SC_4_8_60_c
: 4C8GMSE_SC_8_16_60_c
: 8C16GMSE_SC_16_32_60_c
:16C32GMSE_SC_1_2_200_c
: 1C2GMSE_SC_2_4_200_c
: 2C4GMSE_SC_4_8_200_c
: 4C8GMSE_SC_8_16_200_c
: 8C16GMSE_SC_16_32_200_c
:16C32G- Developer Edition
MSE_SC_1_2_60_c
: 1C2GMSE_SC_2_4_60_c
: 2C4GMSE_SC_1_2_200_c
: 1C2GMSE_SC_2_4_200_c
: 2C4G- Serverless Edition
MSE_SC_SERVERLESS
: Available since v1.232.0
- cluster
Type String - The type of MSE Cluster.
- cluster
Version String - The version of MSE Cluster. See details
- instance
Count Number - The count of instance. NOTE: From version 1.188.0,
instance_count
can be modified. - net
Type String - The type of network. Valid values:
privatenet
andpubnet
andboth
(Available since v1.232.0). - pub
Network StringFlow - The public network bandwidth.
- acl
Entry List<String>Lists - The whitelist. NOTE: This attribute is invalid when the value of
pub_network_flow
is0
and the value ofnet_type
isprivatenet
. - cluster
Alias StringName - The alias of MSE Cluster.
- connection
Type String - The connection type. Valid values:
slb
,single_eni
(Available since v1.232.0). If your region is one ofap-southeast-6、us-west-1、eu-central-1、us-east-1、ap-southeast-1
,and your cluster's mse_version ismse_dev
,please usesingle_eni
. - disk
Type String - The type of Disk.
- mse
Version String - The version of MSE. Valid values:
mse_dev
ormse_pro
ormse_serverless
(Available since v1.232.0). - payment
Type String - Payment type: Subscription (prepaid), PayAsYouGo (postpaid). Default PayAsYouGo.
- private
Slb StringSpecification - The specification of private network SLB.
- pub
Slb StringSpecification - The specification of public network SLB. Serverless Instance could ignore this parameter.
- request
Pars String - The extended request parameters in the JSON format.
- resource
Group StringId - The resource group of the resource.
- Map<String>
- The tag of the resource.
- vpc
Id String - The id of the VPC.
- vswitch
Id String - The id of VSwitch.
Outputs
All input properties are implicitly available as output properties. Additionally, the Cluster resource produces the following output properties:
- App
Version string - (Available since v1.205.0) The application version.
- Cluster
Id string - (Available since v1.162.0) The cluster id of Cluster.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- The status of MSE Cluster.
- App
Version string - (Available since v1.205.0) The application version.
- Cluster
Id string - (Available since v1.162.0) The cluster id of Cluster.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- The status of MSE Cluster.
- app
Version String - (Available since v1.205.0) The application version.
- cluster
Id String - (Available since v1.162.0) The cluster id of Cluster.
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- The status of MSE Cluster.
- app
Version string - (Available since v1.205.0) The application version.
- cluster
Id string - (Available since v1.162.0) The cluster id of Cluster.
- id string
- The provider-assigned unique ID for this managed resource.
- status string
- The status of MSE Cluster.
- app_
version str - (Available since v1.205.0) The application version.
- cluster_
id str - (Available since v1.162.0) The cluster id of Cluster.
- id str
- The provider-assigned unique ID for this managed resource.
- status str
- The status of MSE Cluster.
- app
Version String - (Available since v1.205.0) The application version.
- cluster
Id String - (Available since v1.162.0) The cluster id of Cluster.
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- The status of MSE Cluster.
Look up Existing Cluster Resource
Get an existing Cluster resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ClusterState, opts?: CustomResourceOptions): Cluster
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
acl_entry_lists: Optional[Sequence[str]] = None,
app_version: Optional[str] = None,
cluster_alias_name: Optional[str] = None,
cluster_id: Optional[str] = None,
cluster_specification: Optional[str] = None,
cluster_type: Optional[str] = None,
cluster_version: Optional[str] = None,
connection_type: Optional[str] = None,
disk_type: Optional[str] = None,
instance_count: Optional[int] = None,
mse_version: Optional[str] = None,
net_type: Optional[str] = None,
payment_type: Optional[str] = None,
private_slb_specification: Optional[str] = None,
pub_network_flow: Optional[str] = None,
pub_slb_specification: Optional[str] = None,
request_pars: Optional[str] = None,
resource_group_id: Optional[str] = None,
status: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
vpc_id: Optional[str] = None,
vswitch_id: Optional[str] = None) -> Cluster
func GetCluster(ctx *Context, name string, id IDInput, state *ClusterState, opts ...ResourceOption) (*Cluster, error)
public static Cluster Get(string name, Input<string> id, ClusterState? state, CustomResourceOptions? opts = null)
public static Cluster get(String name, Output<String> id, ClusterState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Acl
Entry List<string>Lists - The whitelist. NOTE: This attribute is invalid when the value of
pub_network_flow
is0
and the value ofnet_type
isprivatenet
. - App
Version string - (Available since v1.205.0) The application version.
- Cluster
Alias stringName - The alias of MSE Cluster.
- Cluster
Id string - (Available since v1.162.0) The cluster id of Cluster.
- Cluster
Specification string - The engine specification of MSE Cluster. NOTE: From version 1.188.0,
cluster_specification
can be modified. If you were an international user, please use the specification version ending with_200_c
.Valid values:- Professional Edition
MSE_SC_1_2_60_c
: 1C2GMSE_SC_2_4_60_c
: 2C4GMSE_SC_4_8_60_c
: 4C8GMSE_SC_8_16_60_c
: 8C16GMSE_SC_16_32_60_c
:16C32GMSE_SC_1_2_200_c
: 1C2GMSE_SC_2_4_200_c
: 2C4GMSE_SC_4_8_200_c
: 4C8GMSE_SC_8_16_200_c
: 8C16GMSE_SC_16_32_200_c
:16C32G- Developer Edition
MSE_SC_1_2_60_c
: 1C2GMSE_SC_2_4_60_c
: 2C4GMSE_SC_1_2_200_c
: 1C2GMSE_SC_2_4_200_c
: 2C4G- Serverless Edition
MSE_SC_SERVERLESS
: Available since v1.232.0
- Cluster
Type string - The type of MSE Cluster.
- Cluster
Version string - The version of MSE Cluster. See details
- Connection
Type string - The connection type. Valid values:
slb
,single_eni
(Available since v1.232.0). If your region is one ofap-southeast-6、us-west-1、eu-central-1、us-east-1、ap-southeast-1
,and your cluster's mse_version ismse_dev
,please usesingle_eni
. - Disk
Type string - The type of Disk.
- Instance
Count int - The count of instance. NOTE: From version 1.188.0,
instance_count
can be modified. - Mse
Version string - The version of MSE. Valid values:
mse_dev
ormse_pro
ormse_serverless
(Available since v1.232.0). - Net
Type string - The type of network. Valid values:
privatenet
andpubnet
andboth
(Available since v1.232.0). - Payment
Type string - Payment type: Subscription (prepaid), PayAsYouGo (postpaid). Default PayAsYouGo.
- Private
Slb stringSpecification - The specification of private network SLB.
- Pub
Network stringFlow - The public network bandwidth.
- Pub
Slb stringSpecification - The specification of public network SLB. Serverless Instance could ignore this parameter.
- Request
Pars string - The extended request parameters in the JSON format.
- Resource
Group stringId - The resource group of the resource.
- Status string
- The status of MSE Cluster.
- Dictionary<string, string>
- The tag of the resource.
- Vpc
Id string - The id of the VPC.
- Vswitch
Id string - The id of VSwitch.
- Acl
Entry []stringLists - The whitelist. NOTE: This attribute is invalid when the value of
pub_network_flow
is0
and the value ofnet_type
isprivatenet
. - App
Version string - (Available since v1.205.0) The application version.
- Cluster
Alias stringName - The alias of MSE Cluster.
- Cluster
Id string - (Available since v1.162.0) The cluster id of Cluster.
- Cluster
Specification string - The engine specification of MSE Cluster. NOTE: From version 1.188.0,
cluster_specification
can be modified. If you were an international user, please use the specification version ending with_200_c
.Valid values:- Professional Edition
MSE_SC_1_2_60_c
: 1C2GMSE_SC_2_4_60_c
: 2C4GMSE_SC_4_8_60_c
: 4C8GMSE_SC_8_16_60_c
: 8C16GMSE_SC_16_32_60_c
:16C32GMSE_SC_1_2_200_c
: 1C2GMSE_SC_2_4_200_c
: 2C4GMSE_SC_4_8_200_c
: 4C8GMSE_SC_8_16_200_c
: 8C16GMSE_SC_16_32_200_c
:16C32G- Developer Edition
MSE_SC_1_2_60_c
: 1C2GMSE_SC_2_4_60_c
: 2C4GMSE_SC_1_2_200_c
: 1C2GMSE_SC_2_4_200_c
: 2C4G- Serverless Edition
MSE_SC_SERVERLESS
: Available since v1.232.0
- Cluster
Type string - The type of MSE Cluster.
- Cluster
Version string - The version of MSE Cluster. See details
- Connection
Type string - The connection type. Valid values:
slb
,single_eni
(Available since v1.232.0). If your region is one ofap-southeast-6、us-west-1、eu-central-1、us-east-1、ap-southeast-1
,and your cluster's mse_version ismse_dev
,please usesingle_eni
. - Disk
Type string - The type of Disk.
- Instance
Count int - The count of instance. NOTE: From version 1.188.0,
instance_count
can be modified. - Mse
Version string - The version of MSE. Valid values:
mse_dev
ormse_pro
ormse_serverless
(Available since v1.232.0). - Net
Type string - The type of network. Valid values:
privatenet
andpubnet
andboth
(Available since v1.232.0). - Payment
Type string - Payment type: Subscription (prepaid), PayAsYouGo (postpaid). Default PayAsYouGo.
- Private
Slb stringSpecification - The specification of private network SLB.
- Pub
Network stringFlow - The public network bandwidth.
- Pub
Slb stringSpecification - The specification of public network SLB. Serverless Instance could ignore this parameter.
- Request
Pars string - The extended request parameters in the JSON format.
- Resource
Group stringId - The resource group of the resource.
- Status string
- The status of MSE Cluster.
- map[string]string
- The tag of the resource.
- Vpc
Id string - The id of the VPC.
- Vswitch
Id string - The id of VSwitch.
- acl
Entry List<String>Lists - The whitelist. NOTE: This attribute is invalid when the value of
pub_network_flow
is0
and the value ofnet_type
isprivatenet
. - app
Version String - (Available since v1.205.0) The application version.
- cluster
Alias StringName - The alias of MSE Cluster.
- cluster
Id String - (Available since v1.162.0) The cluster id of Cluster.
- cluster
Specification String - The engine specification of MSE Cluster. NOTE: From version 1.188.0,
cluster_specification
can be modified. If you were an international user, please use the specification version ending with_200_c
.Valid values:- Professional Edition
MSE_SC_1_2_60_c
: 1C2GMSE_SC_2_4_60_c
: 2C4GMSE_SC_4_8_60_c
: 4C8GMSE_SC_8_16_60_c
: 8C16GMSE_SC_16_32_60_c
:16C32GMSE_SC_1_2_200_c
: 1C2GMSE_SC_2_4_200_c
: 2C4GMSE_SC_4_8_200_c
: 4C8GMSE_SC_8_16_200_c
: 8C16GMSE_SC_16_32_200_c
:16C32G- Developer Edition
MSE_SC_1_2_60_c
: 1C2GMSE_SC_2_4_60_c
: 2C4GMSE_SC_1_2_200_c
: 1C2GMSE_SC_2_4_200_c
: 2C4G- Serverless Edition
MSE_SC_SERVERLESS
: Available since v1.232.0
- cluster
Type String - The type of MSE Cluster.
- cluster
Version String - The version of MSE Cluster. See details
- connection
Type String - The connection type. Valid values:
slb
,single_eni
(Available since v1.232.0). If your region is one ofap-southeast-6、us-west-1、eu-central-1、us-east-1、ap-southeast-1
,and your cluster's mse_version ismse_dev
,please usesingle_eni
. - disk
Type String - The type of Disk.
- instance
Count Integer - The count of instance. NOTE: From version 1.188.0,
instance_count
can be modified. - mse
Version String - The version of MSE. Valid values:
mse_dev
ormse_pro
ormse_serverless
(Available since v1.232.0). - net
Type String - The type of network. Valid values:
privatenet
andpubnet
andboth
(Available since v1.232.0). - payment
Type String - Payment type: Subscription (prepaid), PayAsYouGo (postpaid). Default PayAsYouGo.
- private
Slb StringSpecification - The specification of private network SLB.
- pub
Network StringFlow - The public network bandwidth.
- pub
Slb StringSpecification - The specification of public network SLB. Serverless Instance could ignore this parameter.
- request
Pars String - The extended request parameters in the JSON format.
- resource
Group StringId - The resource group of the resource.
- status String
- The status of MSE Cluster.
- Map<String,String>
- The tag of the resource.
- vpc
Id String - The id of the VPC.
- vswitch
Id String - The id of VSwitch.
- acl
Entry string[]Lists - The whitelist. NOTE: This attribute is invalid when the value of
pub_network_flow
is0
and the value ofnet_type
isprivatenet
. - app
Version string - (Available since v1.205.0) The application version.
- cluster
Alias stringName - The alias of MSE Cluster.
- cluster
Id string - (Available since v1.162.0) The cluster id of Cluster.
- cluster
Specification string - The engine specification of MSE Cluster. NOTE: From version 1.188.0,
cluster_specification
can be modified. If you were an international user, please use the specification version ending with_200_c
.Valid values:- Professional Edition
MSE_SC_1_2_60_c
: 1C2GMSE_SC_2_4_60_c
: 2C4GMSE_SC_4_8_60_c
: 4C8GMSE_SC_8_16_60_c
: 8C16GMSE_SC_16_32_60_c
:16C32GMSE_SC_1_2_200_c
: 1C2GMSE_SC_2_4_200_c
: 2C4GMSE_SC_4_8_200_c
: 4C8GMSE_SC_8_16_200_c
: 8C16GMSE_SC_16_32_200_c
:16C32G- Developer Edition
MSE_SC_1_2_60_c
: 1C2GMSE_SC_2_4_60_c
: 2C4GMSE_SC_1_2_200_c
: 1C2GMSE_SC_2_4_200_c
: 2C4G- Serverless Edition
MSE_SC_SERVERLESS
: Available since v1.232.0
- cluster
Type string - The type of MSE Cluster.
- cluster
Version string - The version of MSE Cluster. See details
- connection
Type string - The connection type. Valid values:
slb
,single_eni
(Available since v1.232.0). If your region is one ofap-southeast-6、us-west-1、eu-central-1、us-east-1、ap-southeast-1
,and your cluster's mse_version ismse_dev
,please usesingle_eni
. - disk
Type string - The type of Disk.
- instance
Count number - The count of instance. NOTE: From version 1.188.0,
instance_count
can be modified. - mse
Version string - The version of MSE. Valid values:
mse_dev
ormse_pro
ormse_serverless
(Available since v1.232.0). - net
Type string - The type of network. Valid values:
privatenet
andpubnet
andboth
(Available since v1.232.0). - payment
Type string - Payment type: Subscription (prepaid), PayAsYouGo (postpaid). Default PayAsYouGo.
- private
Slb stringSpecification - The specification of private network SLB.
- pub
Network stringFlow - The public network bandwidth.
- pub
Slb stringSpecification - The specification of public network SLB. Serverless Instance could ignore this parameter.
- request
Pars string - The extended request parameters in the JSON format.
- resource
Group stringId - The resource group of the resource.
- status string
- The status of MSE Cluster.
- {[key: string]: string}
- The tag of the resource.
- vpc
Id string - The id of the VPC.
- vswitch
Id string - The id of VSwitch.
- acl_
entry_ Sequence[str]lists - The whitelist. NOTE: This attribute is invalid when the value of
pub_network_flow
is0
and the value ofnet_type
isprivatenet
. - app_
version str - (Available since v1.205.0) The application version.
- cluster_
alias_ strname - The alias of MSE Cluster.
- cluster_
id str - (Available since v1.162.0) The cluster id of Cluster.
- cluster_
specification str - The engine specification of MSE Cluster. NOTE: From version 1.188.0,
cluster_specification
can be modified. If you were an international user, please use the specification version ending with_200_c
.Valid values:- Professional Edition
MSE_SC_1_2_60_c
: 1C2GMSE_SC_2_4_60_c
: 2C4GMSE_SC_4_8_60_c
: 4C8GMSE_SC_8_16_60_c
: 8C16GMSE_SC_16_32_60_c
:16C32GMSE_SC_1_2_200_c
: 1C2GMSE_SC_2_4_200_c
: 2C4GMSE_SC_4_8_200_c
: 4C8GMSE_SC_8_16_200_c
: 8C16GMSE_SC_16_32_200_c
:16C32G- Developer Edition
MSE_SC_1_2_60_c
: 1C2GMSE_SC_2_4_60_c
: 2C4GMSE_SC_1_2_200_c
: 1C2GMSE_SC_2_4_200_c
: 2C4G- Serverless Edition
MSE_SC_SERVERLESS
: Available since v1.232.0
- cluster_
type str - The type of MSE Cluster.
- cluster_
version str - The version of MSE Cluster. See details
- connection_
type str - The connection type. Valid values:
slb
,single_eni
(Available since v1.232.0). If your region is one ofap-southeast-6、us-west-1、eu-central-1、us-east-1、ap-southeast-1
,and your cluster's mse_version ismse_dev
,please usesingle_eni
. - disk_
type str - The type of Disk.
- instance_
count int - The count of instance. NOTE: From version 1.188.0,
instance_count
can be modified. - mse_
version str - The version of MSE. Valid values:
mse_dev
ormse_pro
ormse_serverless
(Available since v1.232.0). - net_
type str - The type of network. Valid values:
privatenet
andpubnet
andboth
(Available since v1.232.0). - payment_
type str - Payment type: Subscription (prepaid), PayAsYouGo (postpaid). Default PayAsYouGo.
- private_
slb_ strspecification - The specification of private network SLB.
- pub_
network_ strflow - The public network bandwidth.
- pub_
slb_ strspecification - The specification of public network SLB. Serverless Instance could ignore this parameter.
- request_
pars str - The extended request parameters in the JSON format.
- resource_
group_ strid - The resource group of the resource.
- status str
- The status of MSE Cluster.
- Mapping[str, str]
- The tag of the resource.
- vpc_
id str - The id of the VPC.
- vswitch_
id str - The id of VSwitch.
- acl
Entry List<String>Lists - The whitelist. NOTE: This attribute is invalid when the value of
pub_network_flow
is0
and the value ofnet_type
isprivatenet
. - app
Version String - (Available since v1.205.0) The application version.
- cluster
Alias StringName - The alias of MSE Cluster.
- cluster
Id String - (Available since v1.162.0) The cluster id of Cluster.
- cluster
Specification String - The engine specification of MSE Cluster. NOTE: From version 1.188.0,
cluster_specification
can be modified. If you were an international user, please use the specification version ending with_200_c
.Valid values:- Professional Edition
MSE_SC_1_2_60_c
: 1C2GMSE_SC_2_4_60_c
: 2C4GMSE_SC_4_8_60_c
: 4C8GMSE_SC_8_16_60_c
: 8C16GMSE_SC_16_32_60_c
:16C32GMSE_SC_1_2_200_c
: 1C2GMSE_SC_2_4_200_c
: 2C4GMSE_SC_4_8_200_c
: 4C8GMSE_SC_8_16_200_c
: 8C16GMSE_SC_16_32_200_c
:16C32G- Developer Edition
MSE_SC_1_2_60_c
: 1C2GMSE_SC_2_4_60_c
: 2C4GMSE_SC_1_2_200_c
: 1C2GMSE_SC_2_4_200_c
: 2C4G- Serverless Edition
MSE_SC_SERVERLESS
: Available since v1.232.0
- cluster
Type String - The type of MSE Cluster.
- cluster
Version String - The version of MSE Cluster. See details
- connection
Type String - The connection type. Valid values:
slb
,single_eni
(Available since v1.232.0). If your region is one ofap-southeast-6、us-west-1、eu-central-1、us-east-1、ap-southeast-1
,and your cluster's mse_version ismse_dev
,please usesingle_eni
. - disk
Type String - The type of Disk.
- instance
Count Number - The count of instance. NOTE: From version 1.188.0,
instance_count
can be modified. - mse
Version String - The version of MSE. Valid values:
mse_dev
ormse_pro
ormse_serverless
(Available since v1.232.0). - net
Type String - The type of network. Valid values:
privatenet
andpubnet
andboth
(Available since v1.232.0). - payment
Type String - Payment type: Subscription (prepaid), PayAsYouGo (postpaid). Default PayAsYouGo.
- private
Slb StringSpecification - The specification of private network SLB.
- pub
Network StringFlow - The public network bandwidth.
- pub
Slb StringSpecification - The specification of public network SLB. Serverless Instance could ignore this parameter.
- request
Pars String - The extended request parameters in the JSON format.
- resource
Group StringId - The resource group of the resource.
- status String
- The status of MSE Cluster.
- Map<String>
- The tag of the resource.
- vpc
Id String - The id of the VPC.
- vswitch
Id String - The id of VSwitch.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.