1. Packages
  2. Flexibleengine Provider
  3. API Docs
  4. MlsInstanceV1
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud

flexibleengine.MlsInstanceV1

Explore with Pulumi AI

flexibleengine logo
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud

    Manages mls instance resource within FlexibleEngine

    Example Usage

    Creating A MLS Instance

    import * as pulumi from "@pulumi/pulumi";
    import * as flexibleengine from "@pulumi/flexibleengine";
    
    const exampleVpc = new flexibleengine.VpcV1("exampleVpc", {cidr: "192.168.0.0/16"});
    const exampleSubnet = new flexibleengine.VpcSubnetV1("exampleSubnet", {
        cidr: "192.168.0.0/24",
        gatewayIp: "192.168.0.1",
        vpcId: exampleVpc.vpcV1Id,
    });
    const cluster1 = new flexibleengine.MrsClusterV1("cluster1", {
        clusterName: "mrs-cluster-acc",
        region: "eu-west-0",
        billingType: 12,
        masterNodeNum: 2,
        coreNodeNum: 3,
        masterNodeSize: "s1.4xlarge.linux.mrs",
        coreNodeSize: "s1.xlarge.linux.mrs",
        availableZoneId: "eu-west-0a",
        vpcId: exampleVpc.vpcV1Id,
        subnetId: exampleSubnet.vpcSubnetV1Id,
        clusterVersion: "MRS 1.3.0",
        volumeType: "SATA",
        volumeSize: 100,
        safeMode: 0,
        clusterType: 0,
        nodePublicCertName: "KeyPair-ci",
        clusterAdminSecret: "",
        componentLists: [
            {
                componentName: "Hadoop",
            },
            {
                componentName: "Spark",
            },
            {
                componentName: "Hive",
            },
        ],
    });
    const instance = new flexibleengine.MlsInstanceV1("instance", {
        version: "1.2.0",
        flavor: "mls.c2.2xlarge.common",
        network: {
            vpcId: exampleVpc.vpcV1Id,
            subnetId: exampleSubnet.vpcSubnetV1Id,
            availableZone: "eu-west-0a",
            publicIp: {
                bindType: "not_use",
            },
        },
        mrsCluster: {
            id: cluster1.mrsClusterV1Id,
        },
    });
    
    import pulumi
    import pulumi_flexibleengine as flexibleengine
    
    example_vpc = flexibleengine.VpcV1("exampleVpc", cidr="192.168.0.0/16")
    example_subnet = flexibleengine.VpcSubnetV1("exampleSubnet",
        cidr="192.168.0.0/24",
        gateway_ip="192.168.0.1",
        vpc_id=example_vpc.vpc_v1_id)
    cluster1 = flexibleengine.MrsClusterV1("cluster1",
        cluster_name="mrs-cluster-acc",
        region="eu-west-0",
        billing_type=12,
        master_node_num=2,
        core_node_num=3,
        master_node_size="s1.4xlarge.linux.mrs",
        core_node_size="s1.xlarge.linux.mrs",
        available_zone_id="eu-west-0a",
        vpc_id=example_vpc.vpc_v1_id,
        subnet_id=example_subnet.vpc_subnet_v1_id,
        cluster_version="MRS 1.3.0",
        volume_type="SATA",
        volume_size=100,
        safe_mode=0,
        cluster_type=0,
        node_public_cert_name="KeyPair-ci",
        cluster_admin_secret="",
        component_lists=[
            {
                "component_name": "Hadoop",
            },
            {
                "component_name": "Spark",
            },
            {
                "component_name": "Hive",
            },
        ])
    instance = flexibleengine.MlsInstanceV1("instance",
        version="1.2.0",
        flavor="mls.c2.2xlarge.common",
        network={
            "vpc_id": example_vpc.vpc_v1_id,
            "subnet_id": example_subnet.vpc_subnet_v1_id,
            "available_zone": "eu-west-0a",
            "public_ip": {
                "bind_type": "not_use",
            },
        },
        mrs_cluster={
            "id": cluster1.mrs_cluster_v1_id,
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		exampleVpc, err := flexibleengine.NewVpcV1(ctx, "exampleVpc", &flexibleengine.VpcV1Args{
    			Cidr: pulumi.String("192.168.0.0/16"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleSubnet, err := flexibleengine.NewVpcSubnetV1(ctx, "exampleSubnet", &flexibleengine.VpcSubnetV1Args{
    			Cidr:      pulumi.String("192.168.0.0/24"),
    			GatewayIp: pulumi.String("192.168.0.1"),
    			VpcId:     exampleVpc.VpcV1Id,
    		})
    		if err != nil {
    			return err
    		}
    		cluster1, err := flexibleengine.NewMrsClusterV1(ctx, "cluster1", &flexibleengine.MrsClusterV1Args{
    			ClusterName:        pulumi.String("mrs-cluster-acc"),
    			Region:             pulumi.String("eu-west-0"),
    			BillingType:        pulumi.Float64(12),
    			MasterNodeNum:      pulumi.Float64(2),
    			CoreNodeNum:        pulumi.Float64(3),
    			MasterNodeSize:     pulumi.String("s1.4xlarge.linux.mrs"),
    			CoreNodeSize:       pulumi.String("s1.xlarge.linux.mrs"),
    			AvailableZoneId:    pulumi.String("eu-west-0a"),
    			VpcId:              exampleVpc.VpcV1Id,
    			SubnetId:           exampleSubnet.VpcSubnetV1Id,
    			ClusterVersion:     pulumi.String("MRS 1.3.0"),
    			VolumeType:         pulumi.String("SATA"),
    			VolumeSize:         pulumi.Float64(100),
    			SafeMode:           pulumi.Float64(0),
    			ClusterType:        pulumi.Float64(0),
    			NodePublicCertName: pulumi.String("KeyPair-ci"),
    			ClusterAdminSecret: pulumi.String(""),
    			ComponentLists: flexibleengine.MrsClusterV1ComponentListArray{
    				&flexibleengine.MrsClusterV1ComponentListArgs{
    					ComponentName: pulumi.String("Hadoop"),
    				},
    				&flexibleengine.MrsClusterV1ComponentListArgs{
    					ComponentName: pulumi.String("Spark"),
    				},
    				&flexibleengine.MrsClusterV1ComponentListArgs{
    					ComponentName: pulumi.String("Hive"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = flexibleengine.NewMlsInstanceV1(ctx, "instance", &flexibleengine.MlsInstanceV1Args{
    			Version: pulumi.String("1.2.0"),
    			Flavor:  pulumi.String("mls.c2.2xlarge.common"),
    			Network: &flexibleengine.MlsInstanceV1NetworkArgs{
    				VpcId:         exampleVpc.VpcV1Id,
    				SubnetId:      exampleSubnet.VpcSubnetV1Id,
    				AvailableZone: pulumi.String("eu-west-0a"),
    				PublicIp: &flexibleengine.MlsInstanceV1NetworkPublicIpArgs{
    					BindType: pulumi.String("not_use"),
    				},
    			},
    			MrsCluster: &flexibleengine.MlsInstanceV1MrsClusterArgs{
    				Id: cluster1.MrsClusterV1Id,
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Flexibleengine = Pulumi.Flexibleengine;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleVpc = new Flexibleengine.VpcV1("exampleVpc", new()
        {
            Cidr = "192.168.0.0/16",
        });
    
        var exampleSubnet = new Flexibleengine.VpcSubnetV1("exampleSubnet", new()
        {
            Cidr = "192.168.0.0/24",
            GatewayIp = "192.168.0.1",
            VpcId = exampleVpc.VpcV1Id,
        });
    
        var cluster1 = new Flexibleengine.MrsClusterV1("cluster1", new()
        {
            ClusterName = "mrs-cluster-acc",
            Region = "eu-west-0",
            BillingType = 12,
            MasterNodeNum = 2,
            CoreNodeNum = 3,
            MasterNodeSize = "s1.4xlarge.linux.mrs",
            CoreNodeSize = "s1.xlarge.linux.mrs",
            AvailableZoneId = "eu-west-0a",
            VpcId = exampleVpc.VpcV1Id,
            SubnetId = exampleSubnet.VpcSubnetV1Id,
            ClusterVersion = "MRS 1.3.0",
            VolumeType = "SATA",
            VolumeSize = 100,
            SafeMode = 0,
            ClusterType = 0,
            NodePublicCertName = "KeyPair-ci",
            ClusterAdminSecret = "",
            ComponentLists = new[]
            {
                new Flexibleengine.Inputs.MrsClusterV1ComponentListArgs
                {
                    ComponentName = "Hadoop",
                },
                new Flexibleengine.Inputs.MrsClusterV1ComponentListArgs
                {
                    ComponentName = "Spark",
                },
                new Flexibleengine.Inputs.MrsClusterV1ComponentListArgs
                {
                    ComponentName = "Hive",
                },
            },
        });
    
        var instance = new Flexibleengine.MlsInstanceV1("instance", new()
        {
            Version = "1.2.0",
            Flavor = "mls.c2.2xlarge.common",
            Network = new Flexibleengine.Inputs.MlsInstanceV1NetworkArgs
            {
                VpcId = exampleVpc.VpcV1Id,
                SubnetId = exampleSubnet.VpcSubnetV1Id,
                AvailableZone = "eu-west-0a",
                PublicIp = new Flexibleengine.Inputs.MlsInstanceV1NetworkPublicIpArgs
                {
                    BindType = "not_use",
                },
            },
            MrsCluster = new Flexibleengine.Inputs.MlsInstanceV1MrsClusterArgs
            {
                Id = cluster1.MrsClusterV1Id,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.flexibleengine.VpcV1;
    import com.pulumi.flexibleengine.VpcV1Args;
    import com.pulumi.flexibleengine.VpcSubnetV1;
    import com.pulumi.flexibleengine.VpcSubnetV1Args;
    import com.pulumi.flexibleengine.MrsClusterV1;
    import com.pulumi.flexibleengine.MrsClusterV1Args;
    import com.pulumi.flexibleengine.inputs.MrsClusterV1ComponentListArgs;
    import com.pulumi.flexibleengine.MlsInstanceV1;
    import com.pulumi.flexibleengine.MlsInstanceV1Args;
    import com.pulumi.flexibleengine.inputs.MlsInstanceV1NetworkArgs;
    import com.pulumi.flexibleengine.inputs.MlsInstanceV1NetworkPublicIpArgs;
    import com.pulumi.flexibleengine.inputs.MlsInstanceV1MrsClusterArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var exampleVpc = new VpcV1("exampleVpc", VpcV1Args.builder()
                .cidr("192.168.0.0/16")
                .build());
    
            var exampleSubnet = new VpcSubnetV1("exampleSubnet", VpcSubnetV1Args.builder()
                .cidr("192.168.0.0/24")
                .gatewayIp("192.168.0.1")
                .vpcId(exampleVpc.vpcV1Id())
                .build());
    
            var cluster1 = new MrsClusterV1("cluster1", MrsClusterV1Args.builder()
                .clusterName("mrs-cluster-acc")
                .region("eu-west-0")
                .billingType(12)
                .masterNodeNum(2)
                .coreNodeNum(3)
                .masterNodeSize("s1.4xlarge.linux.mrs")
                .coreNodeSize("s1.xlarge.linux.mrs")
                .availableZoneId("eu-west-0a")
                .vpcId(exampleVpc.vpcV1Id())
                .subnetId(exampleSubnet.vpcSubnetV1Id())
                .clusterVersion("MRS 1.3.0")
                .volumeType("SATA")
                .volumeSize(100)
                .safeMode(0)
                .clusterType(0)
                .nodePublicCertName("KeyPair-ci")
                .clusterAdminSecret("")
                .componentLists(            
                    MrsClusterV1ComponentListArgs.builder()
                        .componentName("Hadoop")
                        .build(),
                    MrsClusterV1ComponentListArgs.builder()
                        .componentName("Spark")
                        .build(),
                    MrsClusterV1ComponentListArgs.builder()
                        .componentName("Hive")
                        .build())
                .build());
    
            var instance = new MlsInstanceV1("instance", MlsInstanceV1Args.builder()
                .version("1.2.0")
                .flavor("mls.c2.2xlarge.common")
                .network(MlsInstanceV1NetworkArgs.builder()
                    .vpcId(exampleVpc.vpcV1Id())
                    .subnetId(exampleSubnet.vpcSubnetV1Id())
                    .availableZone("eu-west-0a")
                    .publicIp(MlsInstanceV1NetworkPublicIpArgs.builder()
                        .bindType("not_use")
                        .build())
                    .build())
                .mrsCluster(MlsInstanceV1MrsClusterArgs.builder()
                    .id(cluster1.mrsClusterV1Id())
                    .build())
                .build());
    
        }
    }
    
    resources:
      exampleVpc:
        type: flexibleengine:VpcV1
        properties:
          cidr: 192.168.0.0/16
      exampleSubnet:
        type: flexibleengine:VpcSubnetV1
        properties:
          cidr: 192.168.0.0/24
          gatewayIp: 192.168.0.1
          vpcId: ${exampleVpc.vpcV1Id}
      cluster1:
        type: flexibleengine:MrsClusterV1
        properties:
          clusterName: mrs-cluster-acc
          region: eu-west-0
          billingType: 12
          masterNodeNum: 2
          coreNodeNum: 3
          masterNodeSize: s1.4xlarge.linux.mrs
          coreNodeSize: s1.xlarge.linux.mrs
          availableZoneId: eu-west-0a
          vpcId: ${exampleVpc.vpcV1Id}
          subnetId: ${exampleSubnet.vpcSubnetV1Id}
          clusterVersion: MRS 1.3.0
          volumeType: SATA
          volumeSize: 100
          safeMode: 0
          clusterType: 0
          nodePublicCertName: KeyPair-ci
          clusterAdminSecret: ""
          componentLists:
            - componentName: Hadoop
            - componentName: Spark
            - componentName: Hive
      instance:
        type: flexibleengine:MlsInstanceV1
        properties:
          version: 1.2.0
          flavor: mls.c2.2xlarge.common
          network:
            vpcId: ${exampleVpc.vpcV1Id}
            subnetId: ${exampleSubnet.vpcSubnetV1Id}
            availableZone: eu-west-0a
            publicIp:
              bindType: not_use
          mrsCluster:
            id: ${cluster1.mrsClusterV1Id}
    

    Create MlsInstanceV1 Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new MlsInstanceV1(name: string, args: MlsInstanceV1Args, opts?: CustomResourceOptions);
    @overload
    def MlsInstanceV1(resource_name: str,
                      args: MlsInstanceV1Args,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def MlsInstanceV1(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      flavor: Optional[str] = None,
                      mrs_cluster: Optional[MlsInstanceV1MrsClusterArgs] = None,
                      network: Optional[MlsInstanceV1NetworkArgs] = None,
                      version: Optional[str] = None,
                      agency: Optional[str] = None,
                      mls_instance_v1_id: Optional[str] = None,
                      name: Optional[str] = None,
                      region: Optional[str] = None,
                      timeouts: Optional[MlsInstanceV1TimeoutsArgs] = None)
    func NewMlsInstanceV1(ctx *Context, name string, args MlsInstanceV1Args, opts ...ResourceOption) (*MlsInstanceV1, error)
    public MlsInstanceV1(string name, MlsInstanceV1Args args, CustomResourceOptions? opts = null)
    public MlsInstanceV1(String name, MlsInstanceV1Args args)
    public MlsInstanceV1(String name, MlsInstanceV1Args args, CustomResourceOptions options)
    
    type: flexibleengine:MlsInstanceV1
    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 MlsInstanceV1Args
    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 MlsInstanceV1Args
    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 MlsInstanceV1Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MlsInstanceV1Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MlsInstanceV1Args
    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 mlsInstanceV1Resource = new Flexibleengine.MlsInstanceV1("mlsInstanceV1Resource", new()
    {
        Flavor = "string",
        MrsCluster = new Flexibleengine.Inputs.MlsInstanceV1MrsClusterArgs
        {
            Id = "string",
            UserName = "string",
            UserPassword = "string",
        },
        Network = new Flexibleengine.Inputs.MlsInstanceV1NetworkArgs
        {
            AvailableZone = "string",
            PublicIp = new Flexibleengine.Inputs.MlsInstanceV1NetworkPublicIpArgs
            {
                BindType = "string",
                EipId = "string",
            },
            SubnetId = "string",
            VpcId = "string",
            SecurityGroup = "string",
        },
        Version = "string",
        Agency = "string",
        MlsInstanceV1Id = "string",
        Name = "string",
        Region = "string",
        Timeouts = new Flexibleengine.Inputs.MlsInstanceV1TimeoutsArgs
        {
            Create = "string",
            Delete = "string",
        },
    });
    
    example, err := flexibleengine.NewMlsInstanceV1(ctx, "mlsInstanceV1Resource", &flexibleengine.MlsInstanceV1Args{
    	Flavor: pulumi.String("string"),
    	MrsCluster: &flexibleengine.MlsInstanceV1MrsClusterArgs{
    		Id:           pulumi.String("string"),
    		UserName:     pulumi.String("string"),
    		UserPassword: pulumi.String("string"),
    	},
    	Network: &flexibleengine.MlsInstanceV1NetworkArgs{
    		AvailableZone: pulumi.String("string"),
    		PublicIp: &flexibleengine.MlsInstanceV1NetworkPublicIpArgs{
    			BindType: pulumi.String("string"),
    			EipId:    pulumi.String("string"),
    		},
    		SubnetId:      pulumi.String("string"),
    		VpcId:         pulumi.String("string"),
    		SecurityGroup: pulumi.String("string"),
    	},
    	Version:         pulumi.String("string"),
    	Agency:          pulumi.String("string"),
    	MlsInstanceV1Id: pulumi.String("string"),
    	Name:            pulumi.String("string"),
    	Region:          pulumi.String("string"),
    	Timeouts: &flexibleengine.MlsInstanceV1TimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    	},
    })
    
    var mlsInstanceV1Resource = new MlsInstanceV1("mlsInstanceV1Resource", MlsInstanceV1Args.builder()
        .flavor("string")
        .mrsCluster(MlsInstanceV1MrsClusterArgs.builder()
            .id("string")
            .userName("string")
            .userPassword("string")
            .build())
        .network(MlsInstanceV1NetworkArgs.builder()
            .availableZone("string")
            .publicIp(MlsInstanceV1NetworkPublicIpArgs.builder()
                .bindType("string")
                .eipId("string")
                .build())
            .subnetId("string")
            .vpcId("string")
            .securityGroup("string")
            .build())
        .version("string")
        .agency("string")
        .mlsInstanceV1Id("string")
        .name("string")
        .region("string")
        .timeouts(MlsInstanceV1TimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .build())
        .build());
    
    mls_instance_v1_resource = flexibleengine.MlsInstanceV1("mlsInstanceV1Resource",
        flavor="string",
        mrs_cluster={
            "id": "string",
            "user_name": "string",
            "user_password": "string",
        },
        network={
            "available_zone": "string",
            "public_ip": {
                "bind_type": "string",
                "eip_id": "string",
            },
            "subnet_id": "string",
            "vpc_id": "string",
            "security_group": "string",
        },
        version="string",
        agency="string",
        mls_instance_v1_id="string",
        name="string",
        region="string",
        timeouts={
            "create": "string",
            "delete": "string",
        })
    
    const mlsInstanceV1Resource = new flexibleengine.MlsInstanceV1("mlsInstanceV1Resource", {
        flavor: "string",
        mrsCluster: {
            id: "string",
            userName: "string",
            userPassword: "string",
        },
        network: {
            availableZone: "string",
            publicIp: {
                bindType: "string",
                eipId: "string",
            },
            subnetId: "string",
            vpcId: "string",
            securityGroup: "string",
        },
        version: "string",
        agency: "string",
        mlsInstanceV1Id: "string",
        name: "string",
        region: "string",
        timeouts: {
            create: "string",
            "delete": "string",
        },
    });
    
    type: flexibleengine:MlsInstanceV1
    properties:
        agency: string
        flavor: string
        mlsInstanceV1Id: string
        mrsCluster:
            id: string
            userName: string
            userPassword: string
        name: string
        network:
            availableZone: string
            publicIp:
                bindType: string
                eipId: string
            securityGroup: string
            subnetId: string
            vpcId: string
        region: string
        timeouts:
            create: string
            delete: string
        version: string
    

    MlsInstanceV1 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 MlsInstanceV1 resource accepts the following input properties:

    Flavor string
    Specifies the instance flavor, only mls.c2.2xlarge.common is supported now. Changing this creates a new instance.
    MrsCluster MlsInstanceV1MrsCluster

    Specifies the MRS cluster information which the instance is associated. The mrs_cluster object structure is documented below. NOTE: The current MRS instance requires an MRS cluster whose version is 1.3.0 and that is configured with the Spark component. MRS clusters whose version is not 1.3.0 or that are not configured with the Spark component cannot be selected. Changing this creates a new instance.

    The network block supports:

    Network MlsInstanceV1Network
    Specifies the instance network information. The network object structure is documented below. Changing this creates a new instance.
    Version string
    Specifies MLS Software version, only 1.2.0 is supported now. Changing this creates a new instance.
    Agency string
    Specifies the agency name. This parameter is mandatory only when you bind an instance to an elastic IP address (EIP). An instance must be bound to an EIP to grant MLS rights to obtain a tenant's token. NOTE: The tenant must create an agency on the Identity and Access Management (IAM) interface in advance. Changing this creates a new instance.
    MlsInstanceV1Id string
    Specifies the ID of the MRS cluster. Changing this creates a new instance.
    Name string
    Specifies the MLS instance name. The DB instance name of the same type is unique in the same tenant. Changing this creates a new instance.
    Region string
    Specifies the region in which to create the MLS instance resource. If omitted, the provider-level region will be used. Changing this will create a new MLS instance resource.
    Timeouts MlsInstanceV1Timeouts
    Flavor string
    Specifies the instance flavor, only mls.c2.2xlarge.common is supported now. Changing this creates a new instance.
    MrsCluster MlsInstanceV1MrsClusterArgs

    Specifies the MRS cluster information which the instance is associated. The mrs_cluster object structure is documented below. NOTE: The current MRS instance requires an MRS cluster whose version is 1.3.0 and that is configured with the Spark component. MRS clusters whose version is not 1.3.0 or that are not configured with the Spark component cannot be selected. Changing this creates a new instance.

    The network block supports:

    Network MlsInstanceV1NetworkArgs
    Specifies the instance network information. The network object structure is documented below. Changing this creates a new instance.
    Version string
    Specifies MLS Software version, only 1.2.0 is supported now. Changing this creates a new instance.
    Agency string
    Specifies the agency name. This parameter is mandatory only when you bind an instance to an elastic IP address (EIP). An instance must be bound to an EIP to grant MLS rights to obtain a tenant's token. NOTE: The tenant must create an agency on the Identity and Access Management (IAM) interface in advance. Changing this creates a new instance.
    MlsInstanceV1Id string
    Specifies the ID of the MRS cluster. Changing this creates a new instance.
    Name string
    Specifies the MLS instance name. The DB instance name of the same type is unique in the same tenant. Changing this creates a new instance.
    Region string
    Specifies the region in which to create the MLS instance resource. If omitted, the provider-level region will be used. Changing this will create a new MLS instance resource.
    Timeouts MlsInstanceV1TimeoutsArgs
    flavor String
    Specifies the instance flavor, only mls.c2.2xlarge.common is supported now. Changing this creates a new instance.
    mrsCluster MlsInstanceV1MrsCluster

    Specifies the MRS cluster information which the instance is associated. The mrs_cluster object structure is documented below. NOTE: The current MRS instance requires an MRS cluster whose version is 1.3.0 and that is configured with the Spark component. MRS clusters whose version is not 1.3.0 or that are not configured with the Spark component cannot be selected. Changing this creates a new instance.

    The network block supports:

    network MlsInstanceV1Network
    Specifies the instance network information. The network object structure is documented below. Changing this creates a new instance.
    version String
    Specifies MLS Software version, only 1.2.0 is supported now. Changing this creates a new instance.
    agency String
    Specifies the agency name. This parameter is mandatory only when you bind an instance to an elastic IP address (EIP). An instance must be bound to an EIP to grant MLS rights to obtain a tenant's token. NOTE: The tenant must create an agency on the Identity and Access Management (IAM) interface in advance. Changing this creates a new instance.
    mlsInstanceV1Id String
    Specifies the ID of the MRS cluster. Changing this creates a new instance.
    name String
    Specifies the MLS instance name. The DB instance name of the same type is unique in the same tenant. Changing this creates a new instance.
    region String
    Specifies the region in which to create the MLS instance resource. If omitted, the provider-level region will be used. Changing this will create a new MLS instance resource.
    timeouts MlsInstanceV1Timeouts
    flavor string
    Specifies the instance flavor, only mls.c2.2xlarge.common is supported now. Changing this creates a new instance.
    mrsCluster MlsInstanceV1MrsCluster

    Specifies the MRS cluster information which the instance is associated. The mrs_cluster object structure is documented below. NOTE: The current MRS instance requires an MRS cluster whose version is 1.3.0 and that is configured with the Spark component. MRS clusters whose version is not 1.3.0 or that are not configured with the Spark component cannot be selected. Changing this creates a new instance.

    The network block supports:

    network MlsInstanceV1Network
    Specifies the instance network information. The network object structure is documented below. Changing this creates a new instance.
    version string
    Specifies MLS Software version, only 1.2.0 is supported now. Changing this creates a new instance.
    agency string
    Specifies the agency name. This parameter is mandatory only when you bind an instance to an elastic IP address (EIP). An instance must be bound to an EIP to grant MLS rights to obtain a tenant's token. NOTE: The tenant must create an agency on the Identity and Access Management (IAM) interface in advance. Changing this creates a new instance.
    mlsInstanceV1Id string
    Specifies the ID of the MRS cluster. Changing this creates a new instance.
    name string
    Specifies the MLS instance name. The DB instance name of the same type is unique in the same tenant. Changing this creates a new instance.
    region string
    Specifies the region in which to create the MLS instance resource. If omitted, the provider-level region will be used. Changing this will create a new MLS instance resource.
    timeouts MlsInstanceV1Timeouts
    flavor str
    Specifies the instance flavor, only mls.c2.2xlarge.common is supported now. Changing this creates a new instance.
    mrs_cluster MlsInstanceV1MrsClusterArgs

    Specifies the MRS cluster information which the instance is associated. The mrs_cluster object structure is documented below. NOTE: The current MRS instance requires an MRS cluster whose version is 1.3.0 and that is configured with the Spark component. MRS clusters whose version is not 1.3.0 or that are not configured with the Spark component cannot be selected. Changing this creates a new instance.

    The network block supports:

    network MlsInstanceV1NetworkArgs
    Specifies the instance network information. The network object structure is documented below. Changing this creates a new instance.
    version str
    Specifies MLS Software version, only 1.2.0 is supported now. Changing this creates a new instance.
    agency str
    Specifies the agency name. This parameter is mandatory only when you bind an instance to an elastic IP address (EIP). An instance must be bound to an EIP to grant MLS rights to obtain a tenant's token. NOTE: The tenant must create an agency on the Identity and Access Management (IAM) interface in advance. Changing this creates a new instance.
    mls_instance_v1_id str
    Specifies the ID of the MRS cluster. Changing this creates a new instance.
    name str
    Specifies the MLS instance name. The DB instance name of the same type is unique in the same tenant. Changing this creates a new instance.
    region str
    Specifies the region in which to create the MLS instance resource. If omitted, the provider-level region will be used. Changing this will create a new MLS instance resource.
    timeouts MlsInstanceV1TimeoutsArgs
    flavor String
    Specifies the instance flavor, only mls.c2.2xlarge.common is supported now. Changing this creates a new instance.
    mrsCluster Property Map

    Specifies the MRS cluster information which the instance is associated. The mrs_cluster object structure is documented below. NOTE: The current MRS instance requires an MRS cluster whose version is 1.3.0 and that is configured with the Spark component. MRS clusters whose version is not 1.3.0 or that are not configured with the Spark component cannot be selected. Changing this creates a new instance.

    The network block supports:

    network Property Map
    Specifies the instance network information. The network object structure is documented below. Changing this creates a new instance.
    version String
    Specifies MLS Software version, only 1.2.0 is supported now. Changing this creates a new instance.
    agency String
    Specifies the agency name. This parameter is mandatory only when you bind an instance to an elastic IP address (EIP). An instance must be bound to an EIP to grant MLS rights to obtain a tenant's token. NOTE: The tenant must create an agency on the Identity and Access Management (IAM) interface in advance. Changing this creates a new instance.
    mlsInstanceV1Id String
    Specifies the ID of the MRS cluster. Changing this creates a new instance.
    name String
    Specifies the MLS instance name. The DB instance name of the same type is unique in the same tenant. Changing this creates a new instance.
    region String
    Specifies the region in which to create the MLS instance resource. If omitted, the provider-level region will be used. Changing this will create a new MLS instance resource.
    timeouts Property Map

    Outputs

    All input properties are implicitly available as output properties. Additionally, the MlsInstanceV1 resource produces the following output properties:

    Created string
    Indicates the creation time in the following format: yyyy-mm-dd Thh:mm:ssZ.
    Id string
    The provider-assigned unique ID for this managed resource.
    InnerEndpoint string
    Indicates the URL for accessing the instance. Only machines in the same VPC and subnet as the instance can access the URL.
    PublicEndpoint string
    Indicates the URL for accessing the instance. The URL can be accessed from the Internet. The URL is created only after the instance is bound to an EIP.
    Status string
    Indicates the MLS instance status.
    Updated string
    Indicates the update time in the following format: yyyy-mm-dd Thh:mm:ssZ.
    Created string
    Indicates the creation time in the following format: yyyy-mm-dd Thh:mm:ssZ.
    Id string
    The provider-assigned unique ID for this managed resource.
    InnerEndpoint string
    Indicates the URL for accessing the instance. Only machines in the same VPC and subnet as the instance can access the URL.
    PublicEndpoint string
    Indicates the URL for accessing the instance. The URL can be accessed from the Internet. The URL is created only after the instance is bound to an EIP.
    Status string
    Indicates the MLS instance status.
    Updated string
    Indicates the update time in the following format: yyyy-mm-dd Thh:mm:ssZ.
    created String
    Indicates the creation time in the following format: yyyy-mm-dd Thh:mm:ssZ.
    id String
    The provider-assigned unique ID for this managed resource.
    innerEndpoint String
    Indicates the URL for accessing the instance. Only machines in the same VPC and subnet as the instance can access the URL.
    publicEndpoint String
    Indicates the URL for accessing the instance. The URL can be accessed from the Internet. The URL is created only after the instance is bound to an EIP.
    status String
    Indicates the MLS instance status.
    updated String
    Indicates the update time in the following format: yyyy-mm-dd Thh:mm:ssZ.
    created string
    Indicates the creation time in the following format: yyyy-mm-dd Thh:mm:ssZ.
    id string
    The provider-assigned unique ID for this managed resource.
    innerEndpoint string
    Indicates the URL for accessing the instance. Only machines in the same VPC and subnet as the instance can access the URL.
    publicEndpoint string
    Indicates the URL for accessing the instance. The URL can be accessed from the Internet. The URL is created only after the instance is bound to an EIP.
    status string
    Indicates the MLS instance status.
    updated string
    Indicates the update time in the following format: yyyy-mm-dd Thh:mm:ssZ.
    created str
    Indicates the creation time in the following format: yyyy-mm-dd Thh:mm:ssZ.
    id str
    The provider-assigned unique ID for this managed resource.
    inner_endpoint str
    Indicates the URL for accessing the instance. Only machines in the same VPC and subnet as the instance can access the URL.
    public_endpoint str
    Indicates the URL for accessing the instance. The URL can be accessed from the Internet. The URL is created only after the instance is bound to an EIP.
    status str
    Indicates the MLS instance status.
    updated str
    Indicates the update time in the following format: yyyy-mm-dd Thh:mm:ssZ.
    created String
    Indicates the creation time in the following format: yyyy-mm-dd Thh:mm:ssZ.
    id String
    The provider-assigned unique ID for this managed resource.
    innerEndpoint String
    Indicates the URL for accessing the instance. Only machines in the same VPC and subnet as the instance can access the URL.
    publicEndpoint String
    Indicates the URL for accessing the instance. The URL can be accessed from the Internet. The URL is created only after the instance is bound to an EIP.
    status String
    Indicates the MLS instance status.
    updated String
    Indicates the update time in the following format: yyyy-mm-dd Thh:mm:ssZ.

    Look up Existing MlsInstanceV1 Resource

    Get an existing MlsInstanceV1 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?: MlsInstanceV1State, opts?: CustomResourceOptions): MlsInstanceV1
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            agency: Optional[str] = None,
            created: Optional[str] = None,
            flavor: Optional[str] = None,
            inner_endpoint: Optional[str] = None,
            mls_instance_v1_id: Optional[str] = None,
            mrs_cluster: Optional[MlsInstanceV1MrsClusterArgs] = None,
            name: Optional[str] = None,
            network: Optional[MlsInstanceV1NetworkArgs] = None,
            public_endpoint: Optional[str] = None,
            region: Optional[str] = None,
            status: Optional[str] = None,
            timeouts: Optional[MlsInstanceV1TimeoutsArgs] = None,
            updated: Optional[str] = None,
            version: Optional[str] = None) -> MlsInstanceV1
    func GetMlsInstanceV1(ctx *Context, name string, id IDInput, state *MlsInstanceV1State, opts ...ResourceOption) (*MlsInstanceV1, error)
    public static MlsInstanceV1 Get(string name, Input<string> id, MlsInstanceV1State? state, CustomResourceOptions? opts = null)
    public static MlsInstanceV1 get(String name, Output<String> id, MlsInstanceV1State state, CustomResourceOptions options)
    resources:  _:    type: flexibleengine:MlsInstanceV1    get:      id: ${id}
    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.
    The following state arguments are supported:
    Agency string
    Specifies the agency name. This parameter is mandatory only when you bind an instance to an elastic IP address (EIP). An instance must be bound to an EIP to grant MLS rights to obtain a tenant's token. NOTE: The tenant must create an agency on the Identity and Access Management (IAM) interface in advance. Changing this creates a new instance.
    Created string
    Indicates the creation time in the following format: yyyy-mm-dd Thh:mm:ssZ.
    Flavor string
    Specifies the instance flavor, only mls.c2.2xlarge.common is supported now. Changing this creates a new instance.
    InnerEndpoint string
    Indicates the URL for accessing the instance. Only machines in the same VPC and subnet as the instance can access the URL.
    MlsInstanceV1Id string
    Specifies the ID of the MRS cluster. Changing this creates a new instance.
    MrsCluster MlsInstanceV1MrsCluster

    Specifies the MRS cluster information which the instance is associated. The mrs_cluster object structure is documented below. NOTE: The current MRS instance requires an MRS cluster whose version is 1.3.0 and that is configured with the Spark component. MRS clusters whose version is not 1.3.0 or that are not configured with the Spark component cannot be selected. Changing this creates a new instance.

    The network block supports:

    Name string
    Specifies the MLS instance name. The DB instance name of the same type is unique in the same tenant. Changing this creates a new instance.
    Network MlsInstanceV1Network
    Specifies the instance network information. The network object structure is documented below. Changing this creates a new instance.
    PublicEndpoint string
    Indicates the URL for accessing the instance. The URL can be accessed from the Internet. The URL is created only after the instance is bound to an EIP.
    Region string
    Specifies the region in which to create the MLS instance resource. If omitted, the provider-level region will be used. Changing this will create a new MLS instance resource.
    Status string
    Indicates the MLS instance status.
    Timeouts MlsInstanceV1Timeouts
    Updated string
    Indicates the update time in the following format: yyyy-mm-dd Thh:mm:ssZ.
    Version string
    Specifies MLS Software version, only 1.2.0 is supported now. Changing this creates a new instance.
    Agency string
    Specifies the agency name. This parameter is mandatory only when you bind an instance to an elastic IP address (EIP). An instance must be bound to an EIP to grant MLS rights to obtain a tenant's token. NOTE: The tenant must create an agency on the Identity and Access Management (IAM) interface in advance. Changing this creates a new instance.
    Created string
    Indicates the creation time in the following format: yyyy-mm-dd Thh:mm:ssZ.
    Flavor string
    Specifies the instance flavor, only mls.c2.2xlarge.common is supported now. Changing this creates a new instance.
    InnerEndpoint string
    Indicates the URL for accessing the instance. Only machines in the same VPC and subnet as the instance can access the URL.
    MlsInstanceV1Id string
    Specifies the ID of the MRS cluster. Changing this creates a new instance.
    MrsCluster MlsInstanceV1MrsClusterArgs

    Specifies the MRS cluster information which the instance is associated. The mrs_cluster object structure is documented below. NOTE: The current MRS instance requires an MRS cluster whose version is 1.3.0 and that is configured with the Spark component. MRS clusters whose version is not 1.3.0 or that are not configured with the Spark component cannot be selected. Changing this creates a new instance.

    The network block supports:

    Name string
    Specifies the MLS instance name. The DB instance name of the same type is unique in the same tenant. Changing this creates a new instance.
    Network MlsInstanceV1NetworkArgs
    Specifies the instance network information. The network object structure is documented below. Changing this creates a new instance.
    PublicEndpoint string
    Indicates the URL for accessing the instance. The URL can be accessed from the Internet. The URL is created only after the instance is bound to an EIP.
    Region string
    Specifies the region in which to create the MLS instance resource. If omitted, the provider-level region will be used. Changing this will create a new MLS instance resource.
    Status string
    Indicates the MLS instance status.
    Timeouts MlsInstanceV1TimeoutsArgs
    Updated string
    Indicates the update time in the following format: yyyy-mm-dd Thh:mm:ssZ.
    Version string
    Specifies MLS Software version, only 1.2.0 is supported now. Changing this creates a new instance.
    agency String
    Specifies the agency name. This parameter is mandatory only when you bind an instance to an elastic IP address (EIP). An instance must be bound to an EIP to grant MLS rights to obtain a tenant's token. NOTE: The tenant must create an agency on the Identity and Access Management (IAM) interface in advance. Changing this creates a new instance.
    created String
    Indicates the creation time in the following format: yyyy-mm-dd Thh:mm:ssZ.
    flavor String
    Specifies the instance flavor, only mls.c2.2xlarge.common is supported now. Changing this creates a new instance.
    innerEndpoint String
    Indicates the URL for accessing the instance. Only machines in the same VPC and subnet as the instance can access the URL.
    mlsInstanceV1Id String
    Specifies the ID of the MRS cluster. Changing this creates a new instance.
    mrsCluster MlsInstanceV1MrsCluster

    Specifies the MRS cluster information which the instance is associated. The mrs_cluster object structure is documented below. NOTE: The current MRS instance requires an MRS cluster whose version is 1.3.0 and that is configured with the Spark component. MRS clusters whose version is not 1.3.0 or that are not configured with the Spark component cannot be selected. Changing this creates a new instance.

    The network block supports:

    name String
    Specifies the MLS instance name. The DB instance name of the same type is unique in the same tenant. Changing this creates a new instance.
    network MlsInstanceV1Network
    Specifies the instance network information. The network object structure is documented below. Changing this creates a new instance.
    publicEndpoint String
    Indicates the URL for accessing the instance. The URL can be accessed from the Internet. The URL is created only after the instance is bound to an EIP.
    region String
    Specifies the region in which to create the MLS instance resource. If omitted, the provider-level region will be used. Changing this will create a new MLS instance resource.
    status String
    Indicates the MLS instance status.
    timeouts MlsInstanceV1Timeouts
    updated String
    Indicates the update time in the following format: yyyy-mm-dd Thh:mm:ssZ.
    version String
    Specifies MLS Software version, only 1.2.0 is supported now. Changing this creates a new instance.
    agency string
    Specifies the agency name. This parameter is mandatory only when you bind an instance to an elastic IP address (EIP). An instance must be bound to an EIP to grant MLS rights to obtain a tenant's token. NOTE: The tenant must create an agency on the Identity and Access Management (IAM) interface in advance. Changing this creates a new instance.
    created string
    Indicates the creation time in the following format: yyyy-mm-dd Thh:mm:ssZ.
    flavor string
    Specifies the instance flavor, only mls.c2.2xlarge.common is supported now. Changing this creates a new instance.
    innerEndpoint string
    Indicates the URL for accessing the instance. Only machines in the same VPC and subnet as the instance can access the URL.
    mlsInstanceV1Id string
    Specifies the ID of the MRS cluster. Changing this creates a new instance.
    mrsCluster MlsInstanceV1MrsCluster

    Specifies the MRS cluster information which the instance is associated. The mrs_cluster object structure is documented below. NOTE: The current MRS instance requires an MRS cluster whose version is 1.3.0 and that is configured with the Spark component. MRS clusters whose version is not 1.3.0 or that are not configured with the Spark component cannot be selected. Changing this creates a new instance.

    The network block supports:

    name string
    Specifies the MLS instance name. The DB instance name of the same type is unique in the same tenant. Changing this creates a new instance.
    network MlsInstanceV1Network
    Specifies the instance network information. The network object structure is documented below. Changing this creates a new instance.
    publicEndpoint string
    Indicates the URL for accessing the instance. The URL can be accessed from the Internet. The URL is created only after the instance is bound to an EIP.
    region string
    Specifies the region in which to create the MLS instance resource. If omitted, the provider-level region will be used. Changing this will create a new MLS instance resource.
    status string
    Indicates the MLS instance status.
    timeouts MlsInstanceV1Timeouts
    updated string
    Indicates the update time in the following format: yyyy-mm-dd Thh:mm:ssZ.
    version string
    Specifies MLS Software version, only 1.2.0 is supported now. Changing this creates a new instance.
    agency str
    Specifies the agency name. This parameter is mandatory only when you bind an instance to an elastic IP address (EIP). An instance must be bound to an EIP to grant MLS rights to obtain a tenant's token. NOTE: The tenant must create an agency on the Identity and Access Management (IAM) interface in advance. Changing this creates a new instance.
    created str
    Indicates the creation time in the following format: yyyy-mm-dd Thh:mm:ssZ.
    flavor str
    Specifies the instance flavor, only mls.c2.2xlarge.common is supported now. Changing this creates a new instance.
    inner_endpoint str
    Indicates the URL for accessing the instance. Only machines in the same VPC and subnet as the instance can access the URL.
    mls_instance_v1_id str
    Specifies the ID of the MRS cluster. Changing this creates a new instance.
    mrs_cluster MlsInstanceV1MrsClusterArgs

    Specifies the MRS cluster information which the instance is associated. The mrs_cluster object structure is documented below. NOTE: The current MRS instance requires an MRS cluster whose version is 1.3.0 and that is configured with the Spark component. MRS clusters whose version is not 1.3.0 or that are not configured with the Spark component cannot be selected. Changing this creates a new instance.

    The network block supports:

    name str
    Specifies the MLS instance name. The DB instance name of the same type is unique in the same tenant. Changing this creates a new instance.
    network MlsInstanceV1NetworkArgs
    Specifies the instance network information. The network object structure is documented below. Changing this creates a new instance.
    public_endpoint str
    Indicates the URL for accessing the instance. The URL can be accessed from the Internet. The URL is created only after the instance is bound to an EIP.
    region str
    Specifies the region in which to create the MLS instance resource. If omitted, the provider-level region will be used. Changing this will create a new MLS instance resource.
    status str
    Indicates the MLS instance status.
    timeouts MlsInstanceV1TimeoutsArgs
    updated str
    Indicates the update time in the following format: yyyy-mm-dd Thh:mm:ssZ.
    version str
    Specifies MLS Software version, only 1.2.0 is supported now. Changing this creates a new instance.
    agency String
    Specifies the agency name. This parameter is mandatory only when you bind an instance to an elastic IP address (EIP). An instance must be bound to an EIP to grant MLS rights to obtain a tenant's token. NOTE: The tenant must create an agency on the Identity and Access Management (IAM) interface in advance. Changing this creates a new instance.
    created String
    Indicates the creation time in the following format: yyyy-mm-dd Thh:mm:ssZ.
    flavor String
    Specifies the instance flavor, only mls.c2.2xlarge.common is supported now. Changing this creates a new instance.
    innerEndpoint String
    Indicates the URL for accessing the instance. Only machines in the same VPC and subnet as the instance can access the URL.
    mlsInstanceV1Id String
    Specifies the ID of the MRS cluster. Changing this creates a new instance.
    mrsCluster Property Map

    Specifies the MRS cluster information which the instance is associated. The mrs_cluster object structure is documented below. NOTE: The current MRS instance requires an MRS cluster whose version is 1.3.0 and that is configured with the Spark component. MRS clusters whose version is not 1.3.0 or that are not configured with the Spark component cannot be selected. Changing this creates a new instance.

    The network block supports:

    name String
    Specifies the MLS instance name. The DB instance name of the same type is unique in the same tenant. Changing this creates a new instance.
    network Property Map
    Specifies the instance network information. The network object structure is documented below. Changing this creates a new instance.
    publicEndpoint String
    Indicates the URL for accessing the instance. The URL can be accessed from the Internet. The URL is created only after the instance is bound to an EIP.
    region String
    Specifies the region in which to create the MLS instance resource. If omitted, the provider-level region will be used. Changing this will create a new MLS instance resource.
    status String
    Indicates the MLS instance status.
    timeouts Property Map
    updated String
    Indicates the update time in the following format: yyyy-mm-dd Thh:mm:ssZ.
    version String
    Specifies MLS Software version, only 1.2.0 is supported now. Changing this creates a new instance.

    Supporting Types

    MlsInstanceV1MrsCluster, MlsInstanceV1MrsClusterArgs

    Id string
    Specifies the ID of the MRS cluster. Changing this creates a new instance.
    UserName string
    Specifies the MRS cluster username. This parameter is mandatory only when the MRS cluster is in the security mode. Changing this creates a new instance.
    UserPassword string
    Specifies the password of the MRS cluster user. The password and username work in a pair. Changing this creates a new instance.
    Id string
    Specifies the ID of the MRS cluster. Changing this creates a new instance.
    UserName string
    Specifies the MRS cluster username. This parameter is mandatory only when the MRS cluster is in the security mode. Changing this creates a new instance.
    UserPassword string
    Specifies the password of the MRS cluster user. The password and username work in a pair. Changing this creates a new instance.
    id String
    Specifies the ID of the MRS cluster. Changing this creates a new instance.
    userName String
    Specifies the MRS cluster username. This parameter is mandatory only when the MRS cluster is in the security mode. Changing this creates a new instance.
    userPassword String
    Specifies the password of the MRS cluster user. The password and username work in a pair. Changing this creates a new instance.
    id string
    Specifies the ID of the MRS cluster. Changing this creates a new instance.
    userName string
    Specifies the MRS cluster username. This parameter is mandatory only when the MRS cluster is in the security mode. Changing this creates a new instance.
    userPassword string
    Specifies the password of the MRS cluster user. The password and username work in a pair. Changing this creates a new instance.
    id str
    Specifies the ID of the MRS cluster. Changing this creates a new instance.
    user_name str
    Specifies the MRS cluster username. This parameter is mandatory only when the MRS cluster is in the security mode. Changing this creates a new instance.
    user_password str
    Specifies the password of the MRS cluster user. The password and username work in a pair. Changing this creates a new instance.
    id String
    Specifies the ID of the MRS cluster. Changing this creates a new instance.
    userName String
    Specifies the MRS cluster username. This parameter is mandatory only when the MRS cluster is in the security mode. Changing this creates a new instance.
    userPassword String
    Specifies the password of the MRS cluster user. The password and username work in a pair. Changing this creates a new instance.

    MlsInstanceV1Network, MlsInstanceV1NetworkArgs

    AvailableZone string
    Specifies the AZ of the instance. Changing this creates a new instance.
    PublicIp MlsInstanceV1NetworkPublicIp

    Specifies the IP address of the instance. The public_ip object structure is documented below. Changing this creates a new instance.

    The public_ip block supports:

    SubnetId string
    Specifies the ID of the VPC Subnet where the instance resides. Changing this creates a new instance.
    VpcId string
    Specifies the ID of the virtual private cloud (VPC) where the instance resides. Changing this creates a new instance.
    SecurityGroup string
    Specifies the ID of the security group of the instance. Changing this creates a new instance.
    AvailableZone string
    Specifies the AZ of the instance. Changing this creates a new instance.
    PublicIp MlsInstanceV1NetworkPublicIp

    Specifies the IP address of the instance. The public_ip object structure is documented below. Changing this creates a new instance.

    The public_ip block supports:

    SubnetId string
    Specifies the ID of the VPC Subnet where the instance resides. Changing this creates a new instance.
    VpcId string
    Specifies the ID of the virtual private cloud (VPC) where the instance resides. Changing this creates a new instance.
    SecurityGroup string
    Specifies the ID of the security group of the instance. Changing this creates a new instance.
    availableZone String
    Specifies the AZ of the instance. Changing this creates a new instance.
    publicIp MlsInstanceV1NetworkPublicIp

    Specifies the IP address of the instance. The public_ip object structure is documented below. Changing this creates a new instance.

    The public_ip block supports:

    subnetId String
    Specifies the ID of the VPC Subnet where the instance resides. Changing this creates a new instance.
    vpcId String
    Specifies the ID of the virtual private cloud (VPC) where the instance resides. Changing this creates a new instance.
    securityGroup String
    Specifies the ID of the security group of the instance. Changing this creates a new instance.
    availableZone string
    Specifies the AZ of the instance. Changing this creates a new instance.
    publicIp MlsInstanceV1NetworkPublicIp

    Specifies the IP address of the instance. The public_ip object structure is documented below. Changing this creates a new instance.

    The public_ip block supports:

    subnetId string
    Specifies the ID of the VPC Subnet where the instance resides. Changing this creates a new instance.
    vpcId string
    Specifies the ID of the virtual private cloud (VPC) where the instance resides. Changing this creates a new instance.
    securityGroup string
    Specifies the ID of the security group of the instance. Changing this creates a new instance.
    available_zone str
    Specifies the AZ of the instance. Changing this creates a new instance.
    public_ip MlsInstanceV1NetworkPublicIp

    Specifies the IP address of the instance. The public_ip object structure is documented below. Changing this creates a new instance.

    The public_ip block supports:

    subnet_id str
    Specifies the ID of the VPC Subnet where the instance resides. Changing this creates a new instance.
    vpc_id str
    Specifies the ID of the virtual private cloud (VPC) where the instance resides. Changing this creates a new instance.
    security_group str
    Specifies the ID of the security group of the instance. Changing this creates a new instance.
    availableZone String
    Specifies the AZ of the instance. Changing this creates a new instance.
    publicIp Property Map

    Specifies the IP address of the instance. The public_ip object structure is documented below. Changing this creates a new instance.

    The public_ip block supports:

    subnetId String
    Specifies the ID of the VPC Subnet where the instance resides. Changing this creates a new instance.
    vpcId String
    Specifies the ID of the virtual private cloud (VPC) where the instance resides. Changing this creates a new instance.
    securityGroup String
    Specifies the ID of the security group of the instance. Changing this creates a new instance.

    MlsInstanceV1NetworkPublicIp, MlsInstanceV1NetworkPublicIpArgs

    BindType string

    Specifies the bind type. Possible values: auto_assign and not_use. Changing this creates a new instance.

    The mrs_cluster block supports:

    EipId string
    Indicates the EIP ID, This is returned only when bind_type is set to auto_assign.
    BindType string

    Specifies the bind type. Possible values: auto_assign and not_use. Changing this creates a new instance.

    The mrs_cluster block supports:

    EipId string
    Indicates the EIP ID, This is returned only when bind_type is set to auto_assign.
    bindType String

    Specifies the bind type. Possible values: auto_assign and not_use. Changing this creates a new instance.

    The mrs_cluster block supports:

    eipId String
    Indicates the EIP ID, This is returned only when bind_type is set to auto_assign.
    bindType string

    Specifies the bind type. Possible values: auto_assign and not_use. Changing this creates a new instance.

    The mrs_cluster block supports:

    eipId string
    Indicates the EIP ID, This is returned only when bind_type is set to auto_assign.
    bind_type str

    Specifies the bind type. Possible values: auto_assign and not_use. Changing this creates a new instance.

    The mrs_cluster block supports:

    eip_id str
    Indicates the EIP ID, This is returned only when bind_type is set to auto_assign.
    bindType String

    Specifies the bind type. Possible values: auto_assign and not_use. Changing this creates a new instance.

    The mrs_cluster block supports:

    eipId String
    Indicates the EIP ID, This is returned only when bind_type is set to auto_assign.

    MlsInstanceV1Timeouts, MlsInstanceV1TimeoutsArgs

    Create string
    Delete string
    Create string
    Delete string
    create String
    delete String
    create string
    delete string
    create str
    delete str
    create String
    delete String

    Import

    MLS Instance can be imported using the id, e.g.

    $ pulumi import flexibleengine:index/mlsInstanceV1:MlsInstanceV1 instance 1a2b3c4d-5e6f-7g8h-9i0j-1k2l3m4n5o6p
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
    License
    Notes
    This Pulumi package is based on the flexibleengine Terraform Provider.
    flexibleengine logo
    flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud