1. Packages
  2. Alicloud Provider
  3. API Docs
  4. ebs
  5. SolutionInstance
Alibaba Cloud v3.62.1 published on Monday, Sep 16, 2024 by Pulumi

alicloud.ebs.SolutionInstance

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.62.1 published on Monday, Sep 16, 2024 by Pulumi

    Provides a EBS Solution Instance resource.

    For information about EBS Solution Instance and how to use it, see What is Solution Instance.

    NOTE: Available since v1.216.0.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    
    const config = new pulumi.Config();
    const name = config.get("name") || "terraform-example";
    const zoneId = config.get("zoneId") || "cn-shanghai-l";
    const regionId = config.get("regionId") || "cn-shanghai";
    const default = alicloud.resourcemanager.getResourceGroups({});
    const defaultSolutionInstance = new alicloud.ebs.SolutionInstance("default", {
        solutionInstanceName: name,
        resourceGroupId: _default.then(_default => _default.ids?.[0]),
        description: "description",
        solutionId: "mysql",
        parameters: [
            {
                parameterKey: "zoneId",
                parameterValue: zoneId,
            },
            {
                parameterKey: "ecsType",
                parameterValue: "ecs.c6.large",
            },
            {
                parameterKey: "ecsImageId",
                parameterValue: "CentOS_7",
            },
            {
                parameterKey: "internetMaxBandwidthOut",
                parameterValue: "100",
            },
            {
                parameterKey: "internetChargeType",
                parameterValue: "PayByTraffic",
            },
            {
                parameterKey: "ecsPassword",
                parameterValue: "Ebs12345",
            },
            {
                parameterKey: "sysDiskType",
                parameterValue: "cloud_essd",
            },
            {
                parameterKey: "sysDiskPerformance",
                parameterValue: "PL0",
            },
            {
                parameterKey: "sysDiskSize",
                parameterValue: "40",
            },
            {
                parameterKey: "dataDiskType",
                parameterValue: "cloud_essd",
            },
            {
                parameterKey: "dataDiskPerformance",
                parameterValue: "PL0",
            },
            {
                parameterKey: "dataDiskSize",
                parameterValue: "40",
            },
            {
                parameterKey: "mysqlVersion",
                parameterValue: "MySQL80",
            },
            {
                parameterKey: "mysqlUser",
                parameterValue: "root",
            },
            {
                parameterKey: "mysqlPassword",
                parameterValue: "Ebs12345",
            },
        ],
    });
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    config = pulumi.Config()
    name = config.get("name")
    if name is None:
        name = "terraform-example"
    zone_id = config.get("zoneId")
    if zone_id is None:
        zone_id = "cn-shanghai-l"
    region_id = config.get("regionId")
    if region_id is None:
        region_id = "cn-shanghai"
    default = alicloud.resourcemanager.get_resource_groups()
    default_solution_instance = alicloud.ebs.SolutionInstance("default",
        solution_instance_name=name,
        resource_group_id=default.ids[0],
        description="description",
        solution_id="mysql",
        parameters=[
            {
                "parameter_key": "zoneId",
                "parameter_value": zone_id,
            },
            {
                "parameter_key": "ecsType",
                "parameter_value": "ecs.c6.large",
            },
            {
                "parameter_key": "ecsImageId",
                "parameter_value": "CentOS_7",
            },
            {
                "parameter_key": "internetMaxBandwidthOut",
                "parameter_value": "100",
            },
            {
                "parameter_key": "internetChargeType",
                "parameter_value": "PayByTraffic",
            },
            {
                "parameter_key": "ecsPassword",
                "parameter_value": "Ebs12345",
            },
            {
                "parameter_key": "sysDiskType",
                "parameter_value": "cloud_essd",
            },
            {
                "parameter_key": "sysDiskPerformance",
                "parameter_value": "PL0",
            },
            {
                "parameter_key": "sysDiskSize",
                "parameter_value": "40",
            },
            {
                "parameter_key": "dataDiskType",
                "parameter_value": "cloud_essd",
            },
            {
                "parameter_key": "dataDiskPerformance",
                "parameter_value": "PL0",
            },
            {
                "parameter_key": "dataDiskSize",
                "parameter_value": "40",
            },
            {
                "parameter_key": "mysqlVersion",
                "parameter_value": "MySQL80",
            },
            {
                "parameter_key": "mysqlUser",
                "parameter_value": "root",
            },
            {
                "parameter_key": "mysqlPassword",
                "parameter_value": "Ebs12345",
            },
        ])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ebs"
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/resourcemanager"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		cfg := config.New(ctx, "")
    		name := "terraform-example"
    		if param := cfg.Get("name"); param != "" {
    			name = param
    		}
    		zoneId := "cn-shanghai-l"
    		if param := cfg.Get("zoneId"); param != "" {
    			zoneId = param
    		}
    		regionId := "cn-shanghai"
    		if param := cfg.Get("regionId"); param != "" {
    			regionId = param
    		}
    		_default, err := resourcemanager.GetResourceGroups(ctx, nil, nil)
    		if err != nil {
    			return err
    		}
    		_, err = ebs.NewSolutionInstance(ctx, "default", &ebs.SolutionInstanceArgs{
    			SolutionInstanceName: pulumi.String(name),
    			ResourceGroupId:      pulumi.String(_default.Ids[0]),
    			Description:          pulumi.String("description"),
    			SolutionId:           pulumi.String("mysql"),
    			Parameters: ebs.SolutionInstanceParameterArray{
    				&ebs.SolutionInstanceParameterArgs{
    					ParameterKey:   pulumi.String("zoneId"),
    					ParameterValue: pulumi.String(zoneId),
    				},
    				&ebs.SolutionInstanceParameterArgs{
    					ParameterKey:   pulumi.String("ecsType"),
    					ParameterValue: pulumi.String("ecs.c6.large"),
    				},
    				&ebs.SolutionInstanceParameterArgs{
    					ParameterKey:   pulumi.String("ecsImageId"),
    					ParameterValue: pulumi.String("CentOS_7"),
    				},
    				&ebs.SolutionInstanceParameterArgs{
    					ParameterKey:   pulumi.String("internetMaxBandwidthOut"),
    					ParameterValue: pulumi.String("100"),
    				},
    				&ebs.SolutionInstanceParameterArgs{
    					ParameterKey:   pulumi.String("internetChargeType"),
    					ParameterValue: pulumi.String("PayByTraffic"),
    				},
    				&ebs.SolutionInstanceParameterArgs{
    					ParameterKey:   pulumi.String("ecsPassword"),
    					ParameterValue: pulumi.String("Ebs12345"),
    				},
    				&ebs.SolutionInstanceParameterArgs{
    					ParameterKey:   pulumi.String("sysDiskType"),
    					ParameterValue: pulumi.String("cloud_essd"),
    				},
    				&ebs.SolutionInstanceParameterArgs{
    					ParameterKey:   pulumi.String("sysDiskPerformance"),
    					ParameterValue: pulumi.String("PL0"),
    				},
    				&ebs.SolutionInstanceParameterArgs{
    					ParameterKey:   pulumi.String("sysDiskSize"),
    					ParameterValue: pulumi.String("40"),
    				},
    				&ebs.SolutionInstanceParameterArgs{
    					ParameterKey:   pulumi.String("dataDiskType"),
    					ParameterValue: pulumi.String("cloud_essd"),
    				},
    				&ebs.SolutionInstanceParameterArgs{
    					ParameterKey:   pulumi.String("dataDiskPerformance"),
    					ParameterValue: pulumi.String("PL0"),
    				},
    				&ebs.SolutionInstanceParameterArgs{
    					ParameterKey:   pulumi.String("dataDiskSize"),
    					ParameterValue: pulumi.String("40"),
    				},
    				&ebs.SolutionInstanceParameterArgs{
    					ParameterKey:   pulumi.String("mysqlVersion"),
    					ParameterValue: pulumi.String("MySQL80"),
    				},
    				&ebs.SolutionInstanceParameterArgs{
    					ParameterKey:   pulumi.String("mysqlUser"),
    					ParameterValue: pulumi.String("root"),
    				},
    				&ebs.SolutionInstanceParameterArgs{
    					ParameterKey:   pulumi.String("mysqlPassword"),
    					ParameterValue: pulumi.String("Ebs12345"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AliCloud = Pulumi.AliCloud;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var name = config.Get("name") ?? "terraform-example";
        var zoneId = config.Get("zoneId") ?? "cn-shanghai-l";
        var regionId = config.Get("regionId") ?? "cn-shanghai";
        var @default = AliCloud.ResourceManager.GetResourceGroups.Invoke();
    
        var defaultSolutionInstance = new AliCloud.Ebs.SolutionInstance("default", new()
        {
            SolutionInstanceName = name,
            ResourceGroupId = @default.Apply(@default => @default.Apply(getResourceGroupsResult => getResourceGroupsResult.Ids[0])),
            Description = "description",
            SolutionId = "mysql",
            Parameters = new[]
            {
                new AliCloud.Ebs.Inputs.SolutionInstanceParameterArgs
                {
                    ParameterKey = "zoneId",
                    ParameterValue = zoneId,
                },
                new AliCloud.Ebs.Inputs.SolutionInstanceParameterArgs
                {
                    ParameterKey = "ecsType",
                    ParameterValue = "ecs.c6.large",
                },
                new AliCloud.Ebs.Inputs.SolutionInstanceParameterArgs
                {
                    ParameterKey = "ecsImageId",
                    ParameterValue = "CentOS_7",
                },
                new AliCloud.Ebs.Inputs.SolutionInstanceParameterArgs
                {
                    ParameterKey = "internetMaxBandwidthOut",
                    ParameterValue = "100",
                },
                new AliCloud.Ebs.Inputs.SolutionInstanceParameterArgs
                {
                    ParameterKey = "internetChargeType",
                    ParameterValue = "PayByTraffic",
                },
                new AliCloud.Ebs.Inputs.SolutionInstanceParameterArgs
                {
                    ParameterKey = "ecsPassword",
                    ParameterValue = "Ebs12345",
                },
                new AliCloud.Ebs.Inputs.SolutionInstanceParameterArgs
                {
                    ParameterKey = "sysDiskType",
                    ParameterValue = "cloud_essd",
                },
                new AliCloud.Ebs.Inputs.SolutionInstanceParameterArgs
                {
                    ParameterKey = "sysDiskPerformance",
                    ParameterValue = "PL0",
                },
                new AliCloud.Ebs.Inputs.SolutionInstanceParameterArgs
                {
                    ParameterKey = "sysDiskSize",
                    ParameterValue = "40",
                },
                new AliCloud.Ebs.Inputs.SolutionInstanceParameterArgs
                {
                    ParameterKey = "dataDiskType",
                    ParameterValue = "cloud_essd",
                },
                new AliCloud.Ebs.Inputs.SolutionInstanceParameterArgs
                {
                    ParameterKey = "dataDiskPerformance",
                    ParameterValue = "PL0",
                },
                new AliCloud.Ebs.Inputs.SolutionInstanceParameterArgs
                {
                    ParameterKey = "dataDiskSize",
                    ParameterValue = "40",
                },
                new AliCloud.Ebs.Inputs.SolutionInstanceParameterArgs
                {
                    ParameterKey = "mysqlVersion",
                    ParameterValue = "MySQL80",
                },
                new AliCloud.Ebs.Inputs.SolutionInstanceParameterArgs
                {
                    ParameterKey = "mysqlUser",
                    ParameterValue = "root",
                },
                new AliCloud.Ebs.Inputs.SolutionInstanceParameterArgs
                {
                    ParameterKey = "mysqlPassword",
                    ParameterValue = "Ebs12345",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.alicloud.resourcemanager.ResourcemanagerFunctions;
    import com.pulumi.alicloud.resourcemanager.inputs.GetResourceGroupsArgs;
    import com.pulumi.alicloud.ebs.SolutionInstance;
    import com.pulumi.alicloud.ebs.SolutionInstanceArgs;
    import com.pulumi.alicloud.ebs.inputs.SolutionInstanceParameterArgs;
    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) {
            final var config = ctx.config();
            final var name = config.get("name").orElse("terraform-example");
            final var zoneId = config.get("zoneId").orElse("cn-shanghai-l");
            final var regionId = config.get("regionId").orElse("cn-shanghai");
            final var default = ResourcemanagerFunctions.getResourceGroups();
    
            var defaultSolutionInstance = new SolutionInstance("defaultSolutionInstance", SolutionInstanceArgs.builder()
                .solutionInstanceName(name)
                .resourceGroupId(default_.ids()[0])
                .description("description")
                .solutionId("mysql")
                .parameters(            
                    SolutionInstanceParameterArgs.builder()
                        .parameterKey("zoneId")
                        .parameterValue(zoneId)
                        .build(),
                    SolutionInstanceParameterArgs.builder()
                        .parameterKey("ecsType")
                        .parameterValue("ecs.c6.large")
                        .build(),
                    SolutionInstanceParameterArgs.builder()
                        .parameterKey("ecsImageId")
                        .parameterValue("CentOS_7")
                        .build(),
                    SolutionInstanceParameterArgs.builder()
                        .parameterKey("internetMaxBandwidthOut")
                        .parameterValue("100")
                        .build(),
                    SolutionInstanceParameterArgs.builder()
                        .parameterKey("internetChargeType")
                        .parameterValue("PayByTraffic")
                        .build(),
                    SolutionInstanceParameterArgs.builder()
                        .parameterKey("ecsPassword")
                        .parameterValue("Ebs12345")
                        .build(),
                    SolutionInstanceParameterArgs.builder()
                        .parameterKey("sysDiskType")
                        .parameterValue("cloud_essd")
                        .build(),
                    SolutionInstanceParameterArgs.builder()
                        .parameterKey("sysDiskPerformance")
                        .parameterValue("PL0")
                        .build(),
                    SolutionInstanceParameterArgs.builder()
                        .parameterKey("sysDiskSize")
                        .parameterValue("40")
                        .build(),
                    SolutionInstanceParameterArgs.builder()
                        .parameterKey("dataDiskType")
                        .parameterValue("cloud_essd")
                        .build(),
                    SolutionInstanceParameterArgs.builder()
                        .parameterKey("dataDiskPerformance")
                        .parameterValue("PL0")
                        .build(),
                    SolutionInstanceParameterArgs.builder()
                        .parameterKey("dataDiskSize")
                        .parameterValue("40")
                        .build(),
                    SolutionInstanceParameterArgs.builder()
                        .parameterKey("mysqlVersion")
                        .parameterValue("MySQL80")
                        .build(),
                    SolutionInstanceParameterArgs.builder()
                        .parameterKey("mysqlUser")
                        .parameterValue("root")
                        .build(),
                    SolutionInstanceParameterArgs.builder()
                        .parameterKey("mysqlPassword")
                        .parameterValue("Ebs12345")
                        .build())
                .build());
    
        }
    }
    
    configuration:
      name:
        type: string
        default: terraform-example
      zoneId:
        type: string
        default: cn-shanghai-l
      regionId:
        type: string
        default: cn-shanghai
    resources:
      defaultSolutionInstance:
        type: alicloud:ebs:SolutionInstance
        name: default
        properties:
          solutionInstanceName: ${name}
          resourceGroupId: ${default.ids[0]}
          description: description
          solutionId: mysql
          parameters:
            - parameterKey: zoneId
              parameterValue: ${zoneId}
            - parameterKey: ecsType
              parameterValue: ecs.c6.large
            - parameterKey: ecsImageId
              parameterValue: CentOS_7
            - parameterKey: internetMaxBandwidthOut
              parameterValue: '100'
            - parameterKey: internetChargeType
              parameterValue: PayByTraffic
            - parameterKey: ecsPassword
              parameterValue: Ebs12345
            - parameterKey: sysDiskType
              parameterValue: cloud_essd
            - parameterKey: sysDiskPerformance
              parameterValue: PL0
            - parameterKey: sysDiskSize
              parameterValue: '40'
            - parameterKey: dataDiskType
              parameterValue: cloud_essd
            - parameterKey: dataDiskPerformance
              parameterValue: PL0
            - parameterKey: dataDiskSize
              parameterValue: '40'
            - parameterKey: mysqlVersion
              parameterValue: MySQL80
            - parameterKey: mysqlUser
              parameterValue: root
            - parameterKey: mysqlPassword
              parameterValue: Ebs12345
    variables:
      default:
        fn::invoke:
          Function: alicloud:resourcemanager:getResourceGroups
          Arguments: {}
    

    Create SolutionInstance Resource

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

    Constructor syntax

    new SolutionInstance(name: string, args: SolutionInstanceArgs, opts?: CustomResourceOptions);
    @overload
    def SolutionInstance(resource_name: str,
                         args: SolutionInstanceArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def SolutionInstance(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         solution_id: Optional[str] = None,
                         description: Optional[str] = None,
                         parameters: Optional[Sequence[SolutionInstanceParameterArgs]] = None,
                         resource_group_id: Optional[str] = None,
                         solution_instance_name: Optional[str] = None)
    func NewSolutionInstance(ctx *Context, name string, args SolutionInstanceArgs, opts ...ResourceOption) (*SolutionInstance, error)
    public SolutionInstance(string name, SolutionInstanceArgs args, CustomResourceOptions? opts = null)
    public SolutionInstance(String name, SolutionInstanceArgs args)
    public SolutionInstance(String name, SolutionInstanceArgs args, CustomResourceOptions options)
    
    type: alicloud:ebs:SolutionInstance
    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 SolutionInstanceArgs
    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 SolutionInstanceArgs
    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 SolutionInstanceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SolutionInstanceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SolutionInstanceArgs
    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 solutionInstanceResource = new AliCloud.Ebs.SolutionInstance("solutionInstanceResource", new()
    {
        SolutionId = "string",
        Description = "string",
        Parameters = new[]
        {
            new AliCloud.Ebs.Inputs.SolutionInstanceParameterArgs
            {
                ParameterKey = "string",
                ParameterValue = "string",
            },
        },
        ResourceGroupId = "string",
        SolutionInstanceName = "string",
    });
    
    example, err := ebs.NewSolutionInstance(ctx, "solutionInstanceResource", &ebs.SolutionInstanceArgs{
    	SolutionId:  pulumi.String("string"),
    	Description: pulumi.String("string"),
    	Parameters: ebs.SolutionInstanceParameterArray{
    		&ebs.SolutionInstanceParameterArgs{
    			ParameterKey:   pulumi.String("string"),
    			ParameterValue: pulumi.String("string"),
    		},
    	},
    	ResourceGroupId:      pulumi.String("string"),
    	SolutionInstanceName: pulumi.String("string"),
    })
    
    var solutionInstanceResource = new SolutionInstance("solutionInstanceResource", SolutionInstanceArgs.builder()
        .solutionId("string")
        .description("string")
        .parameters(SolutionInstanceParameterArgs.builder()
            .parameterKey("string")
            .parameterValue("string")
            .build())
        .resourceGroupId("string")
        .solutionInstanceName("string")
        .build());
    
    solution_instance_resource = alicloud.ebs.SolutionInstance("solutionInstanceResource",
        solution_id="string",
        description="string",
        parameters=[alicloud.ebs.SolutionInstanceParameterArgs(
            parameter_key="string",
            parameter_value="string",
        )],
        resource_group_id="string",
        solution_instance_name="string")
    
    const solutionInstanceResource = new alicloud.ebs.SolutionInstance("solutionInstanceResource", {
        solutionId: "string",
        description: "string",
        parameters: [{
            parameterKey: "string",
            parameterValue: "string",
        }],
        resourceGroupId: "string",
        solutionInstanceName: "string",
    });
    
    type: alicloud:ebs:SolutionInstance
    properties:
        description: string
        parameters:
            - parameterKey: string
              parameterValue: string
        resourceGroupId: string
        solutionId: string
        solutionInstanceName: string
    

    SolutionInstance Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The SolutionInstance resource accepts the following input properties:

    SolutionId string
    Solution ID.
    Description string
    Solution Instance Description.
    Parameters List<Pulumi.AliCloud.Ebs.Inputs.SolutionInstanceParameter>
    Solution Instance Creation Parameters. See parameters below.
    ResourceGroupId string
    The ID of the resource group.
    SolutionInstanceName string
    Solution Instance Name.
    SolutionId string
    Solution ID.
    Description string
    Solution Instance Description.
    Parameters []SolutionInstanceParameterArgs
    Solution Instance Creation Parameters. See parameters below.
    ResourceGroupId string
    The ID of the resource group.
    SolutionInstanceName string
    Solution Instance Name.
    solutionId String
    Solution ID.
    description String
    Solution Instance Description.
    parameters List<SolutionInstanceParameter>
    Solution Instance Creation Parameters. See parameters below.
    resourceGroupId String
    The ID of the resource group.
    solutionInstanceName String
    Solution Instance Name.
    solutionId string
    Solution ID.
    description string
    Solution Instance Description.
    parameters SolutionInstanceParameter[]
    Solution Instance Creation Parameters. See parameters below.
    resourceGroupId string
    The ID of the resource group.
    solutionInstanceName string
    Solution Instance Name.
    solution_id str
    Solution ID.
    description str
    Solution Instance Description.
    parameters Sequence[SolutionInstanceParameterArgs]
    Solution Instance Creation Parameters. See parameters below.
    resource_group_id str
    The ID of the resource group.
    solution_instance_name str
    Solution Instance Name.
    solutionId String
    Solution ID.
    description String
    Solution Instance Description.
    parameters List<Property Map>
    Solution Instance Creation Parameters. See parameters below.
    resourceGroupId String
    The ID of the resource group.
    solutionInstanceName String
    Solution Instance Name.

    Outputs

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

    CreateTime string
    Solution Instance Creation Time.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    The status of the resource.
    CreateTime string
    Solution Instance Creation Time.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    The status of the resource.
    createTime String
    Solution Instance Creation Time.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    The status of the resource.
    createTime string
    Solution Instance Creation Time.
    id string
    The provider-assigned unique ID for this managed resource.
    status string
    The status of the resource.
    create_time str
    Solution Instance Creation Time.
    id str
    The provider-assigned unique ID for this managed resource.
    status str
    The status of the resource.
    createTime String
    Solution Instance Creation Time.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    The status of the resource.

    Look up Existing SolutionInstance Resource

    Get an existing SolutionInstance 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?: SolutionInstanceState, opts?: CustomResourceOptions): SolutionInstance
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            create_time: Optional[str] = None,
            description: Optional[str] = None,
            parameters: Optional[Sequence[SolutionInstanceParameterArgs]] = None,
            resource_group_id: Optional[str] = None,
            solution_id: Optional[str] = None,
            solution_instance_name: Optional[str] = None,
            status: Optional[str] = None) -> SolutionInstance
    func GetSolutionInstance(ctx *Context, name string, id IDInput, state *SolutionInstanceState, opts ...ResourceOption) (*SolutionInstance, error)
    public static SolutionInstance Get(string name, Input<string> id, SolutionInstanceState? state, CustomResourceOptions? opts = null)
    public static SolutionInstance get(String name, Output<String> id, SolutionInstanceState 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.
    The following state arguments are supported:
    CreateTime string
    Solution Instance Creation Time.
    Description string
    Solution Instance Description.
    Parameters List<Pulumi.AliCloud.Ebs.Inputs.SolutionInstanceParameter>
    Solution Instance Creation Parameters. See parameters below.
    ResourceGroupId string
    The ID of the resource group.
    SolutionId string
    Solution ID.
    SolutionInstanceName string
    Solution Instance Name.
    Status string
    The status of the resource.
    CreateTime string
    Solution Instance Creation Time.
    Description string
    Solution Instance Description.
    Parameters []SolutionInstanceParameterArgs
    Solution Instance Creation Parameters. See parameters below.
    ResourceGroupId string
    The ID of the resource group.
    SolutionId string
    Solution ID.
    SolutionInstanceName string
    Solution Instance Name.
    Status string
    The status of the resource.
    createTime String
    Solution Instance Creation Time.
    description String
    Solution Instance Description.
    parameters List<SolutionInstanceParameter>
    Solution Instance Creation Parameters. See parameters below.
    resourceGroupId String
    The ID of the resource group.
    solutionId String
    Solution ID.
    solutionInstanceName String
    Solution Instance Name.
    status String
    The status of the resource.
    createTime string
    Solution Instance Creation Time.
    description string
    Solution Instance Description.
    parameters SolutionInstanceParameter[]
    Solution Instance Creation Parameters. See parameters below.
    resourceGroupId string
    The ID of the resource group.
    solutionId string
    Solution ID.
    solutionInstanceName string
    Solution Instance Name.
    status string
    The status of the resource.
    create_time str
    Solution Instance Creation Time.
    description str
    Solution Instance Description.
    parameters Sequence[SolutionInstanceParameterArgs]
    Solution Instance Creation Parameters. See parameters below.
    resource_group_id str
    The ID of the resource group.
    solution_id str
    Solution ID.
    solution_instance_name str
    Solution Instance Name.
    status str
    The status of the resource.
    createTime String
    Solution Instance Creation Time.
    description String
    Solution Instance Description.
    parameters List<Property Map>
    Solution Instance Creation Parameters. See parameters below.
    resourceGroupId String
    The ID of the resource group.
    solutionId String
    Solution ID.
    solutionInstanceName String
    Solution Instance Name.
    status String
    The status of the resource.

    Supporting Types

    SolutionInstanceParameter, SolutionInstanceParameterArgs

    ParameterKey string
    Create parameter Key.
    ParameterValue string
    Create parameter Value.
    ParameterKey string
    Create parameter Key.
    ParameterValue string
    Create parameter Value.
    parameterKey String
    Create parameter Key.
    parameterValue String
    Create parameter Value.
    parameterKey string
    Create parameter Key.
    parameterValue string
    Create parameter Value.
    parameter_key str
    Create parameter Key.
    parameter_value str
    Create parameter Value.
    parameterKey String
    Create parameter Key.
    parameterValue String
    Create parameter Value.

    Import

    EBS Solution Instance can be imported using the id, e.g.

    $ pulumi import alicloud:ebs/solutionInstance:SolutionInstance example <id>
    

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

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo
    Alibaba Cloud v3.62.1 published on Monday, Sep 16, 2024 by Pulumi