1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. RtsSoftwareDeploymentV1
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

opentelekomcloud.RtsSoftwareDeploymentV1

Explore with Pulumi AI

opentelekomcloud logo
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

    Up-to-date reference of API arguments for RTS deployment you can get at documentation portal

    Provides an RTS software deployment resource within OpenTelekomCloud.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as opentelekomcloud from "@pulumi/opentelekomcloud";
    
    const config = new pulumi.Config();
    const configId = config.requireObject("configId");
    const serverId = config.requireObject("serverId");
    const mydeployment = new opentelekomcloud.RtsSoftwareDeploymentV1("mydeployment", {
        configId: configId,
        serverId: serverId,
    });
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    config = pulumi.Config()
    config_id = config.require_object("configId")
    server_id = config.require_object("serverId")
    mydeployment = opentelekomcloud.RtsSoftwareDeploymentV1("mydeployment",
        config_id=config_id,
        server_id=server_id)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
    	"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, "")
    		configId := cfg.RequireObject("configId")
    		serverId := cfg.RequireObject("serverId")
    		_, err := opentelekomcloud.NewRtsSoftwareDeploymentV1(ctx, "mydeployment", &opentelekomcloud.RtsSoftwareDeploymentV1Args{
    			ConfigId: pulumi.Any(configId),
    			ServerId: pulumi.Any(serverId),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Opentelekomcloud = Pulumi.Opentelekomcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var configId = config.RequireObject<dynamic>("configId");
        var serverId = config.RequireObject<dynamic>("serverId");
        var mydeployment = new Opentelekomcloud.RtsSoftwareDeploymentV1("mydeployment", new()
        {
            ConfigId = configId,
            ServerId = serverId,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.opentelekomcloud.RtsSoftwareDeploymentV1;
    import com.pulumi.opentelekomcloud.RtsSoftwareDeploymentV1Args;
    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 configId = config.get("configId");
            final var serverId = config.get("serverId");
            var mydeployment = new RtsSoftwareDeploymentV1("mydeployment", RtsSoftwareDeploymentV1Args.builder()
                .configId(configId)
                .serverId(serverId)
                .build());
    
        }
    }
    
    configuration:
      configId:
        type: dynamic
      serverId:
        type: dynamic
    resources:
      mydeployment:
        type: opentelekomcloud:RtsSoftwareDeploymentV1
        properties:
          configId: ${configId}
          serverId: ${serverId}
    

    Create RtsSoftwareDeploymentV1 Resource

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

    Constructor syntax

    new RtsSoftwareDeploymentV1(name: string, args: RtsSoftwareDeploymentV1Args, opts?: CustomResourceOptions);
    @overload
    def RtsSoftwareDeploymentV1(resource_name: str,
                                args: RtsSoftwareDeploymentV1Args,
                                opts: Optional[ResourceOptions] = None)
    
    @overload
    def RtsSoftwareDeploymentV1(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                config_id: Optional[str] = None,
                                server_id: Optional[str] = None,
                                action: Optional[str] = None,
                                input_values: Optional[Mapping[str, str]] = None,
                                output_values: Optional[Mapping[str, str]] = None,
                                region: Optional[str] = None,
                                rts_software_deployment_v1_id: Optional[str] = None,
                                status: Optional[str] = None,
                                status_reason: Optional[str] = None,
                                tenant_id: Optional[str] = None,
                                timeouts: Optional[RtsSoftwareDeploymentV1TimeoutsArgs] = None)
    func NewRtsSoftwareDeploymentV1(ctx *Context, name string, args RtsSoftwareDeploymentV1Args, opts ...ResourceOption) (*RtsSoftwareDeploymentV1, error)
    public RtsSoftwareDeploymentV1(string name, RtsSoftwareDeploymentV1Args args, CustomResourceOptions? opts = null)
    public RtsSoftwareDeploymentV1(String name, RtsSoftwareDeploymentV1Args args)
    public RtsSoftwareDeploymentV1(String name, RtsSoftwareDeploymentV1Args args, CustomResourceOptions options)
    
    type: opentelekomcloud:RtsSoftwareDeploymentV1
    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 RtsSoftwareDeploymentV1Args
    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 RtsSoftwareDeploymentV1Args
    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 RtsSoftwareDeploymentV1Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RtsSoftwareDeploymentV1Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RtsSoftwareDeploymentV1Args
    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 rtsSoftwareDeploymentV1Resource = new Opentelekomcloud.RtsSoftwareDeploymentV1("rtsSoftwareDeploymentV1Resource", new()
    {
        ConfigId = "string",
        ServerId = "string",
        Action = "string",
        InputValues = 
        {
            { "string", "string" },
        },
        OutputValues = 
        {
            { "string", "string" },
        },
        Region = "string",
        RtsSoftwareDeploymentV1Id = "string",
        Status = "string",
        StatusReason = "string",
        TenantId = "string",
        Timeouts = new Opentelekomcloud.Inputs.RtsSoftwareDeploymentV1TimeoutsArgs
        {
            Create = "string",
            Delete = "string",
        },
    });
    
    example, err := opentelekomcloud.NewRtsSoftwareDeploymentV1(ctx, "rtsSoftwareDeploymentV1Resource", &opentelekomcloud.RtsSoftwareDeploymentV1Args{
    	ConfigId: pulumi.String("string"),
    	ServerId: pulumi.String("string"),
    	Action:   pulumi.String("string"),
    	InputValues: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	OutputValues: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Region:                    pulumi.String("string"),
    	RtsSoftwareDeploymentV1Id: pulumi.String("string"),
    	Status:                    pulumi.String("string"),
    	StatusReason:              pulumi.String("string"),
    	TenantId:                  pulumi.String("string"),
    	Timeouts: &opentelekomcloud.RtsSoftwareDeploymentV1TimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    	},
    })
    
    var rtsSoftwareDeploymentV1Resource = new RtsSoftwareDeploymentV1("rtsSoftwareDeploymentV1Resource", RtsSoftwareDeploymentV1Args.builder()
        .configId("string")
        .serverId("string")
        .action("string")
        .inputValues(Map.of("string", "string"))
        .outputValues(Map.of("string", "string"))
        .region("string")
        .rtsSoftwareDeploymentV1Id("string")
        .status("string")
        .statusReason("string")
        .tenantId("string")
        .timeouts(RtsSoftwareDeploymentV1TimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .build())
        .build());
    
    rts_software_deployment_v1_resource = opentelekomcloud.RtsSoftwareDeploymentV1("rtsSoftwareDeploymentV1Resource",
        config_id="string",
        server_id="string",
        action="string",
        input_values={
            "string": "string",
        },
        output_values={
            "string": "string",
        },
        region="string",
        rts_software_deployment_v1_id="string",
        status="string",
        status_reason="string",
        tenant_id="string",
        timeouts={
            "create": "string",
            "delete": "string",
        })
    
    const rtsSoftwareDeploymentV1Resource = new opentelekomcloud.RtsSoftwareDeploymentV1("rtsSoftwareDeploymentV1Resource", {
        configId: "string",
        serverId: "string",
        action: "string",
        inputValues: {
            string: "string",
        },
        outputValues: {
            string: "string",
        },
        region: "string",
        rtsSoftwareDeploymentV1Id: "string",
        status: "string",
        statusReason: "string",
        tenantId: "string",
        timeouts: {
            create: "string",
            "delete": "string",
        },
    });
    
    type: opentelekomcloud:RtsSoftwareDeploymentV1
    properties:
        action: string
        configId: string
        inputValues:
            string: string
        outputValues:
            string: string
        region: string
        rtsSoftwareDeploymentV1Id: string
        serverId: string
        status: string
        statusReason: string
        tenantId: string
        timeouts:
            create: string
            delete: string
    

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

    ConfigId string
    The id of the software configuration resource running on an instance.
    ServerId string
    The id of the instance.
    Action string
    The stack action that triggers this deployment resource.
    InputValues Dictionary<string, string>
    The input data stored in the form of a key-value pair.
    OutputValues Dictionary<string, string>
    The output data stored in the form of a key-value pair.
    Region string
    RtsSoftwareDeploymentV1Id string
    The id of the software deployment.
    Status string
    The current status of deployment resources.
    StatusReason string
    The cause of the current deployment resource status.
    TenantId string
    The id of the authenticated tenant who can perform operations on the deployment resources.
    Timeouts RtsSoftwareDeploymentV1Timeouts
    ConfigId string
    The id of the software configuration resource running on an instance.
    ServerId string
    The id of the instance.
    Action string
    The stack action that triggers this deployment resource.
    InputValues map[string]string
    The input data stored in the form of a key-value pair.
    OutputValues map[string]string
    The output data stored in the form of a key-value pair.
    Region string
    RtsSoftwareDeploymentV1Id string
    The id of the software deployment.
    Status string
    The current status of deployment resources.
    StatusReason string
    The cause of the current deployment resource status.
    TenantId string
    The id of the authenticated tenant who can perform operations on the deployment resources.
    Timeouts RtsSoftwareDeploymentV1TimeoutsArgs
    configId String
    The id of the software configuration resource running on an instance.
    serverId String
    The id of the instance.
    action String
    The stack action that triggers this deployment resource.
    inputValues Map<String,String>
    The input data stored in the form of a key-value pair.
    outputValues Map<String,String>
    The output data stored in the form of a key-value pair.
    region String
    rtsSoftwareDeploymentV1Id String
    The id of the software deployment.
    status String
    The current status of deployment resources.
    statusReason String
    The cause of the current deployment resource status.
    tenantId String
    The id of the authenticated tenant who can perform operations on the deployment resources.
    timeouts RtsSoftwareDeploymentV1Timeouts
    configId string
    The id of the software configuration resource running on an instance.
    serverId string
    The id of the instance.
    action string
    The stack action that triggers this deployment resource.
    inputValues {[key: string]: string}
    The input data stored in the form of a key-value pair.
    outputValues {[key: string]: string}
    The output data stored in the form of a key-value pair.
    region string
    rtsSoftwareDeploymentV1Id string
    The id of the software deployment.
    status string
    The current status of deployment resources.
    statusReason string
    The cause of the current deployment resource status.
    tenantId string
    The id of the authenticated tenant who can perform operations on the deployment resources.
    timeouts RtsSoftwareDeploymentV1Timeouts
    config_id str
    The id of the software configuration resource running on an instance.
    server_id str
    The id of the instance.
    action str
    The stack action that triggers this deployment resource.
    input_values Mapping[str, str]
    The input data stored in the form of a key-value pair.
    output_values Mapping[str, str]
    The output data stored in the form of a key-value pair.
    region str
    rts_software_deployment_v1_id str
    The id of the software deployment.
    status str
    The current status of deployment resources.
    status_reason str
    The cause of the current deployment resource status.
    tenant_id str
    The id of the authenticated tenant who can perform operations on the deployment resources.
    timeouts RtsSoftwareDeploymentV1TimeoutsArgs
    configId String
    The id of the software configuration resource running on an instance.
    serverId String
    The id of the instance.
    action String
    The stack action that triggers this deployment resource.
    inputValues Map<String>
    The input data stored in the form of a key-value pair.
    outputValues Map<String>
    The output data stored in the form of a key-value pair.
    region String
    rtsSoftwareDeploymentV1Id String
    The id of the software deployment.
    status String
    The current status of deployment resources.
    statusReason String
    The cause of the current deployment resource status.
    tenantId String
    The id of the authenticated tenant who can perform operations on the deployment resources.
    timeouts Property Map

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing RtsSoftwareDeploymentV1 Resource

    Get an existing RtsSoftwareDeploymentV1 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?: RtsSoftwareDeploymentV1State, opts?: CustomResourceOptions): RtsSoftwareDeploymentV1
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            action: Optional[str] = None,
            config_id: Optional[str] = None,
            input_values: Optional[Mapping[str, str]] = None,
            output_values: Optional[Mapping[str, str]] = None,
            region: Optional[str] = None,
            rts_software_deployment_v1_id: Optional[str] = None,
            server_id: Optional[str] = None,
            status: Optional[str] = None,
            status_reason: Optional[str] = None,
            tenant_id: Optional[str] = None,
            timeouts: Optional[RtsSoftwareDeploymentV1TimeoutsArgs] = None) -> RtsSoftwareDeploymentV1
    func GetRtsSoftwareDeploymentV1(ctx *Context, name string, id IDInput, state *RtsSoftwareDeploymentV1State, opts ...ResourceOption) (*RtsSoftwareDeploymentV1, error)
    public static RtsSoftwareDeploymentV1 Get(string name, Input<string> id, RtsSoftwareDeploymentV1State? state, CustomResourceOptions? opts = null)
    public static RtsSoftwareDeploymentV1 get(String name, Output<String> id, RtsSoftwareDeploymentV1State state, CustomResourceOptions options)
    resources:  _:    type: opentelekomcloud:RtsSoftwareDeploymentV1    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:
    Action string
    The stack action that triggers this deployment resource.
    ConfigId string
    The id of the software configuration resource running on an instance.
    InputValues Dictionary<string, string>
    The input data stored in the form of a key-value pair.
    OutputValues Dictionary<string, string>
    The output data stored in the form of a key-value pair.
    Region string
    RtsSoftwareDeploymentV1Id string
    The id of the software deployment.
    ServerId string
    The id of the instance.
    Status string
    The current status of deployment resources.
    StatusReason string
    The cause of the current deployment resource status.
    TenantId string
    The id of the authenticated tenant who can perform operations on the deployment resources.
    Timeouts RtsSoftwareDeploymentV1Timeouts
    Action string
    The stack action that triggers this deployment resource.
    ConfigId string
    The id of the software configuration resource running on an instance.
    InputValues map[string]string
    The input data stored in the form of a key-value pair.
    OutputValues map[string]string
    The output data stored in the form of a key-value pair.
    Region string
    RtsSoftwareDeploymentV1Id string
    The id of the software deployment.
    ServerId string
    The id of the instance.
    Status string
    The current status of deployment resources.
    StatusReason string
    The cause of the current deployment resource status.
    TenantId string
    The id of the authenticated tenant who can perform operations on the deployment resources.
    Timeouts RtsSoftwareDeploymentV1TimeoutsArgs
    action String
    The stack action that triggers this deployment resource.
    configId String
    The id of the software configuration resource running on an instance.
    inputValues Map<String,String>
    The input data stored in the form of a key-value pair.
    outputValues Map<String,String>
    The output data stored in the form of a key-value pair.
    region String
    rtsSoftwareDeploymentV1Id String
    The id of the software deployment.
    serverId String
    The id of the instance.
    status String
    The current status of deployment resources.
    statusReason String
    The cause of the current deployment resource status.
    tenantId String
    The id of the authenticated tenant who can perform operations on the deployment resources.
    timeouts RtsSoftwareDeploymentV1Timeouts
    action string
    The stack action that triggers this deployment resource.
    configId string
    The id of the software configuration resource running on an instance.
    inputValues {[key: string]: string}
    The input data stored in the form of a key-value pair.
    outputValues {[key: string]: string}
    The output data stored in the form of a key-value pair.
    region string
    rtsSoftwareDeploymentV1Id string
    The id of the software deployment.
    serverId string
    The id of the instance.
    status string
    The current status of deployment resources.
    statusReason string
    The cause of the current deployment resource status.
    tenantId string
    The id of the authenticated tenant who can perform operations on the deployment resources.
    timeouts RtsSoftwareDeploymentV1Timeouts
    action str
    The stack action that triggers this deployment resource.
    config_id str
    The id of the software configuration resource running on an instance.
    input_values Mapping[str, str]
    The input data stored in the form of a key-value pair.
    output_values Mapping[str, str]
    The output data stored in the form of a key-value pair.
    region str
    rts_software_deployment_v1_id str
    The id of the software deployment.
    server_id str
    The id of the instance.
    status str
    The current status of deployment resources.
    status_reason str
    The cause of the current deployment resource status.
    tenant_id str
    The id of the authenticated tenant who can perform operations on the deployment resources.
    timeouts RtsSoftwareDeploymentV1TimeoutsArgs
    action String
    The stack action that triggers this deployment resource.
    configId String
    The id of the software configuration resource running on an instance.
    inputValues Map<String>
    The input data stored in the form of a key-value pair.
    outputValues Map<String>
    The output data stored in the form of a key-value pair.
    region String
    rtsSoftwareDeploymentV1Id String
    The id of the software deployment.
    serverId String
    The id of the instance.
    status String
    The current status of deployment resources.
    statusReason String
    The cause of the current deployment resource status.
    tenantId String
    The id of the authenticated tenant who can perform operations on the deployment resources.
    timeouts Property Map

    Supporting Types

    RtsSoftwareDeploymentV1Timeouts, RtsSoftwareDeploymentV1TimeoutsArgs

    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

    Software deployment can be imported using the deployment id, e.g.

    $ pulumi import opentelekomcloud:index/rtsSoftwareDeploymentV1:RtsSoftwareDeploymentV1 opentelekomcloud_rts_software_deployment_v1 4779ab1c-7c1a-44b1-a02e-93dfc361b32d
    

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

    Package Details

    Repository
    opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
    License
    Notes
    This Pulumi package is based on the opentelekomcloud Terraform Provider.
    opentelekomcloud logo
    opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud