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

opentelekomcloud.RtsSoftwareConfigV1

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 config you can get at documentation portal

    Provides an RTS software config resource within OpenTelekomCloud.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as opentelekomcloud from "@pulumi/opentelekomcloud";
    
    const config = new pulumi.Config();
    const configName = config.requireObject("configName");
    const myconfig = new opentelekomcloud.RtsSoftwareConfigV1("myconfig", {});
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    config = pulumi.Config()
    config_name = config.require_object("configName")
    myconfig = opentelekomcloud.RtsSoftwareConfigV1("myconfig")
    
    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, "")
    		configName := cfg.RequireObject("configName")
    		_, err := opentelekomcloud.NewRtsSoftwareConfigV1(ctx, "myconfig", nil)
    		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 configName = config.RequireObject<dynamic>("configName");
        var myconfig = new Opentelekomcloud.RtsSoftwareConfigV1("myconfig");
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.opentelekomcloud.RtsSoftwareConfigV1;
    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 configName = config.get("configName");
            var myconfig = new RtsSoftwareConfigV1("myconfig");
    
        }
    }
    
    configuration:
      configName:
        type: dynamic
    resources:
      myconfig:
        type: opentelekomcloud:RtsSoftwareConfigV1
    

    Create RtsSoftwareConfigV1 Resource

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

    Constructor syntax

    new RtsSoftwareConfigV1(name: string, args?: RtsSoftwareConfigV1Args, opts?: CustomResourceOptions);
    @overload
    def RtsSoftwareConfigV1(resource_name: str,
                            args: Optional[RtsSoftwareConfigV1Args] = None,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def RtsSoftwareConfigV1(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            config: Optional[str] = None,
                            group: Optional[str] = None,
                            input_values: Optional[Sequence[Mapping[str, str]]] = None,
                            name: Optional[str] = None,
                            options: Optional[Mapping[str, str]] = None,
                            output_values: Optional[Sequence[Mapping[str, str]]] = None,
                            region: Optional[str] = None,
                            rts_software_config_v1_id: Optional[str] = None,
                            timeouts: Optional[RtsSoftwareConfigV1TimeoutsArgs] = None)
    func NewRtsSoftwareConfigV1(ctx *Context, name string, args *RtsSoftwareConfigV1Args, opts ...ResourceOption) (*RtsSoftwareConfigV1, error)
    public RtsSoftwareConfigV1(string name, RtsSoftwareConfigV1Args? args = null, CustomResourceOptions? opts = null)
    public RtsSoftwareConfigV1(String name, RtsSoftwareConfigV1Args args)
    public RtsSoftwareConfigV1(String name, RtsSoftwareConfigV1Args args, CustomResourceOptions options)
    
    type: opentelekomcloud:RtsSoftwareConfigV1
    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 RtsSoftwareConfigV1Args
    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 RtsSoftwareConfigV1Args
    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 RtsSoftwareConfigV1Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RtsSoftwareConfigV1Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RtsSoftwareConfigV1Args
    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 rtsSoftwareConfigV1Resource = new Opentelekomcloud.RtsSoftwareConfigV1("rtsSoftwareConfigV1Resource", new()
    {
        Config = "string",
        Group = "string",
        InputValues = new[]
        {
            
            {
                { "string", "string" },
            },
        },
        Name = "string",
        Options = 
        {
            { "string", "string" },
        },
        OutputValues = new[]
        {
            
            {
                { "string", "string" },
            },
        },
        Region = "string",
        RtsSoftwareConfigV1Id = "string",
        Timeouts = new Opentelekomcloud.Inputs.RtsSoftwareConfigV1TimeoutsArgs
        {
            Create = "string",
            Delete = "string",
        },
    });
    
    example, err := opentelekomcloud.NewRtsSoftwareConfigV1(ctx, "rtsSoftwareConfigV1Resource", &opentelekomcloud.RtsSoftwareConfigV1Args{
    	Config: pulumi.String("string"),
    	Group:  pulumi.String("string"),
    	InputValues: pulumi.StringMapArray{
    		pulumi.StringMap{
    			"string": pulumi.String("string"),
    		},
    	},
    	Name: pulumi.String("string"),
    	Options: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	OutputValues: pulumi.StringMapArray{
    		pulumi.StringMap{
    			"string": pulumi.String("string"),
    		},
    	},
    	Region:                pulumi.String("string"),
    	RtsSoftwareConfigV1Id: pulumi.String("string"),
    	Timeouts: &opentelekomcloud.RtsSoftwareConfigV1TimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    	},
    })
    
    var rtsSoftwareConfigV1Resource = new RtsSoftwareConfigV1("rtsSoftwareConfigV1Resource", RtsSoftwareConfigV1Args.builder()
        .config("string")
        .group("string")
        .inputValues(Map.of("string", "string"))
        .name("string")
        .options(Map.of("string", "string"))
        .outputValues(Map.of("string", "string"))
        .region("string")
        .rtsSoftwareConfigV1Id("string")
        .timeouts(RtsSoftwareConfigV1TimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .build())
        .build());
    
    rts_software_config_v1_resource = opentelekomcloud.RtsSoftwareConfigV1("rtsSoftwareConfigV1Resource",
        config="string",
        group="string",
        input_values=[{
            "string": "string",
        }],
        name="string",
        options={
            "string": "string",
        },
        output_values=[{
            "string": "string",
        }],
        region="string",
        rts_software_config_v1_id="string",
        timeouts={
            "create": "string",
            "delete": "string",
        })
    
    const rtsSoftwareConfigV1Resource = new opentelekomcloud.RtsSoftwareConfigV1("rtsSoftwareConfigV1Resource", {
        config: "string",
        group: "string",
        inputValues: [{
            string: "string",
        }],
        name: "string",
        options: {
            string: "string",
        },
        outputValues: [{
            string: "string",
        }],
        region: "string",
        rtsSoftwareConfigV1Id: "string",
        timeouts: {
            create: "string",
            "delete": "string",
        },
    });
    
    type: opentelekomcloud:RtsSoftwareConfigV1
    properties:
        config: string
        group: string
        inputValues:
            - string: string
        name: string
        options:
            string: string
        outputValues:
            - string: string
        region: string
        rtsSoftwareConfigV1Id: string
        timeouts:
            create: string
            delete: string
    

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

    Config string
    The software configuration code.
    Group string
    The namespace that groups this software configuration by when it is delivered to a server.
    InputValues List<ImmutableDictionary<string, string>>
    A list of software configuration inputs.
    Name string
    The name of the software configuration.
    Options Dictionary<string, string>
    The software configuration options.
    OutputValues List<ImmutableDictionary<string, string>>
    A list of software configuration outputs.
    Region string
    RtsSoftwareConfigV1Id string
    The id of the software config.
    Timeouts RtsSoftwareConfigV1Timeouts
    Config string
    The software configuration code.
    Group string
    The namespace that groups this software configuration by when it is delivered to a server.
    InputValues []map[string]string
    A list of software configuration inputs.
    Name string
    The name of the software configuration.
    Options map[string]string
    The software configuration options.
    OutputValues []map[string]string
    A list of software configuration outputs.
    Region string
    RtsSoftwareConfigV1Id string
    The id of the software config.
    Timeouts RtsSoftwareConfigV1TimeoutsArgs
    config String
    The software configuration code.
    group String
    The namespace that groups this software configuration by when it is delivered to a server.
    inputValues List<Map<String,String>>
    A list of software configuration inputs.
    name String
    The name of the software configuration.
    options Map<String,String>
    The software configuration options.
    outputValues List<Map<String,String>>
    A list of software configuration outputs.
    region String
    rtsSoftwareConfigV1Id String
    The id of the software config.
    timeouts RtsSoftwareConfigV1Timeouts
    config string
    The software configuration code.
    group string
    The namespace that groups this software configuration by when it is delivered to a server.
    inputValues {[key: string]: string}[]
    A list of software configuration inputs.
    name string
    The name of the software configuration.
    options {[key: string]: string}
    The software configuration options.
    outputValues {[key: string]: string}[]
    A list of software configuration outputs.
    region string
    rtsSoftwareConfigV1Id string
    The id of the software config.
    timeouts RtsSoftwareConfigV1Timeouts
    config str
    The software configuration code.
    group str
    The namespace that groups this software configuration by when it is delivered to a server.
    input_values Sequence[Mapping[str, str]]
    A list of software configuration inputs.
    name str
    The name of the software configuration.
    options Mapping[str, str]
    The software configuration options.
    output_values Sequence[Mapping[str, str]]
    A list of software configuration outputs.
    region str
    rts_software_config_v1_id str
    The id of the software config.
    timeouts RtsSoftwareConfigV1TimeoutsArgs
    config String
    The software configuration code.
    group String
    The namespace that groups this software configuration by when it is delivered to a server.
    inputValues List<Map<String>>
    A list of software configuration inputs.
    name String
    The name of the software configuration.
    options Map<String>
    The software configuration options.
    outputValues List<Map<String>>
    A list of software configuration outputs.
    region String
    rtsSoftwareConfigV1Id String
    The id of the software config.
    timeouts Property Map

    Outputs

    All input properties are implicitly available as output properties. Additionally, the RtsSoftwareConfigV1 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 RtsSoftwareConfigV1 Resource

    Get an existing RtsSoftwareConfigV1 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?: RtsSoftwareConfigV1State, opts?: CustomResourceOptions): RtsSoftwareConfigV1
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            config: Optional[str] = None,
            group: Optional[str] = None,
            input_values: Optional[Sequence[Mapping[str, str]]] = None,
            name: Optional[str] = None,
            options: Optional[Mapping[str, str]] = None,
            output_values: Optional[Sequence[Mapping[str, str]]] = None,
            region: Optional[str] = None,
            rts_software_config_v1_id: Optional[str] = None,
            timeouts: Optional[RtsSoftwareConfigV1TimeoutsArgs] = None) -> RtsSoftwareConfigV1
    func GetRtsSoftwareConfigV1(ctx *Context, name string, id IDInput, state *RtsSoftwareConfigV1State, opts ...ResourceOption) (*RtsSoftwareConfigV1, error)
    public static RtsSoftwareConfigV1 Get(string name, Input<string> id, RtsSoftwareConfigV1State? state, CustomResourceOptions? opts = null)
    public static RtsSoftwareConfigV1 get(String name, Output<String> id, RtsSoftwareConfigV1State state, CustomResourceOptions options)
    resources:  _:    type: opentelekomcloud:RtsSoftwareConfigV1    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:
    Config string
    The software configuration code.
    Group string
    The namespace that groups this software configuration by when it is delivered to a server.
    InputValues List<ImmutableDictionary<string, string>>
    A list of software configuration inputs.
    Name string
    The name of the software configuration.
    Options Dictionary<string, string>
    The software configuration options.
    OutputValues List<ImmutableDictionary<string, string>>
    A list of software configuration outputs.
    Region string
    RtsSoftwareConfigV1Id string
    The id of the software config.
    Timeouts RtsSoftwareConfigV1Timeouts
    Config string
    The software configuration code.
    Group string
    The namespace that groups this software configuration by when it is delivered to a server.
    InputValues []map[string]string
    A list of software configuration inputs.
    Name string
    The name of the software configuration.
    Options map[string]string
    The software configuration options.
    OutputValues []map[string]string
    A list of software configuration outputs.
    Region string
    RtsSoftwareConfigV1Id string
    The id of the software config.
    Timeouts RtsSoftwareConfigV1TimeoutsArgs
    config String
    The software configuration code.
    group String
    The namespace that groups this software configuration by when it is delivered to a server.
    inputValues List<Map<String,String>>
    A list of software configuration inputs.
    name String
    The name of the software configuration.
    options Map<String,String>
    The software configuration options.
    outputValues List<Map<String,String>>
    A list of software configuration outputs.
    region String
    rtsSoftwareConfigV1Id String
    The id of the software config.
    timeouts RtsSoftwareConfigV1Timeouts
    config string
    The software configuration code.
    group string
    The namespace that groups this software configuration by when it is delivered to a server.
    inputValues {[key: string]: string}[]
    A list of software configuration inputs.
    name string
    The name of the software configuration.
    options {[key: string]: string}
    The software configuration options.
    outputValues {[key: string]: string}[]
    A list of software configuration outputs.
    region string
    rtsSoftwareConfigV1Id string
    The id of the software config.
    timeouts RtsSoftwareConfigV1Timeouts
    config str
    The software configuration code.
    group str
    The namespace that groups this software configuration by when it is delivered to a server.
    input_values Sequence[Mapping[str, str]]
    A list of software configuration inputs.
    name str
    The name of the software configuration.
    options Mapping[str, str]
    The software configuration options.
    output_values Sequence[Mapping[str, str]]
    A list of software configuration outputs.
    region str
    rts_software_config_v1_id str
    The id of the software config.
    timeouts RtsSoftwareConfigV1TimeoutsArgs
    config String
    The software configuration code.
    group String
    The namespace that groups this software configuration by when it is delivered to a server.
    inputValues List<Map<String>>
    A list of software configuration inputs.
    name String
    The name of the software configuration.
    options Map<String>
    The software configuration options.
    outputValues List<Map<String>>
    A list of software configuration outputs.
    region String
    rtsSoftwareConfigV1Id String
    The id of the software config.
    timeouts Property Map

    Supporting Types

    RtsSoftwareConfigV1Timeouts, RtsSoftwareConfigV1TimeoutsArgs

    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 Config can be imported using the config id, e.g.

    $ pulumi import opentelekomcloud:index/rtsSoftwareConfigV1:RtsSoftwareConfigV1 opentelekomcloud_rts_software_config_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