flexibleengine.RtsSoftwareConfigV1
Explore with Pulumi AI
Provides an RTS software config resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as flexibleengine from "@pulumi/flexibleengine";
const config = new pulumi.Config();
const configName = config.requireObject("configName");
const myconfig = new flexibleengine.RtsSoftwareConfigV1("myconfig", {});
import pulumi
import pulumi_flexibleengine as flexibleengine
config = pulumi.Config()
config_name = config.require_object("configName")
myconfig = flexibleengine.RtsSoftwareConfigV1("myconfig")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
"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 := flexibleengine.NewRtsSoftwareConfigV1(ctx, "myconfig", nil)
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 config = new Config();
var configName = config.RequireObject<dynamic>("configName");
var myconfig = new Flexibleengine.RtsSoftwareConfigV1("myconfig");
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.flexibleengine.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: flexibleengine: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: flexibleengine: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 Flexibleengine.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 Flexibleengine.Inputs.RtsSoftwareConfigV1TimeoutsArgs
{
Create = "string",
Delete = "string",
},
});
example, err := flexibleengine.NewRtsSoftwareConfigV1(ctx, "rtsSoftwareConfigV1Resource", &flexibleengine.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: &flexibleengine.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 = flexibleengine.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 flexibleengine.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: flexibleengine: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. Changing this will create a new RTS software resource.
- Group string
- The namespace that groups this software configuration by when it is delivered to a server. Changing this will create a new RTS software resource.
- Input
Values List<ImmutableDictionary<string, string>> - A list of software configuration inputs. Changing this will create a new RTS software resource.
- Name string
- The name of the software configuration. Changing this will create a new RTS software resource.
- Options Dictionary<string, string>
- The software configuration options. Changing this will create a new RTS software resource.
- Output
Values List<ImmutableDictionary<string, string>> - A list of software configuration outputs. Changing this will create a new RTS software resource.
- Region string
- Specifies the region in which to create the RTS software resource. If omitted, the provider-level region will be used. Changing this will create a new RTS software resource.
- Rts
Software stringConfig V1Id - The id of the software config.
- Timeouts
Rts
Software Config V1Timeouts
- Config string
- The software configuration code. Changing this will create a new RTS software resource.
- Group string
- The namespace that groups this software configuration by when it is delivered to a server. Changing this will create a new RTS software resource.
- Input
Values []map[string]string - A list of software configuration inputs. Changing this will create a new RTS software resource.
- Name string
- The name of the software configuration. Changing this will create a new RTS software resource.
- Options map[string]string
- The software configuration options. Changing this will create a new RTS software resource.
- Output
Values []map[string]string - A list of software configuration outputs. Changing this will create a new RTS software resource.
- Region string
- Specifies the region in which to create the RTS software resource. If omitted, the provider-level region will be used. Changing this will create a new RTS software resource.
- Rts
Software stringConfig V1Id - The id of the software config.
- Timeouts
Rts
Software Config V1Timeouts Args
- config String
- The software configuration code. Changing this will create a new RTS software resource.
- group String
- The namespace that groups this software configuration by when it is delivered to a server. Changing this will create a new RTS software resource.
- input
Values List<Map<String,String>> - A list of software configuration inputs. Changing this will create a new RTS software resource.
- name String
- The name of the software configuration. Changing this will create a new RTS software resource.
- options Map<String,String>
- The software configuration options. Changing this will create a new RTS software resource.
- output
Values List<Map<String,String>> - A list of software configuration outputs. Changing this will create a new RTS software resource.
- region String
- Specifies the region in which to create the RTS software resource. If omitted, the provider-level region will be used. Changing this will create a new RTS software resource.
- rts
Software StringConfig V1Id - The id of the software config.
- timeouts
Rts
Software Config V1Timeouts
- config string
- The software configuration code. Changing this will create a new RTS software resource.
- group string
- The namespace that groups this software configuration by when it is delivered to a server. Changing this will create a new RTS software resource.
- input
Values {[key: string]: string}[] - A list of software configuration inputs. Changing this will create a new RTS software resource.
- name string
- The name of the software configuration. Changing this will create a new RTS software resource.
- options {[key: string]: string}
- The software configuration options. Changing this will create a new RTS software resource.
- output
Values {[key: string]: string}[] - A list of software configuration outputs. Changing this will create a new RTS software resource.
- region string
- Specifies the region in which to create the RTS software resource. If omitted, the provider-level region will be used. Changing this will create a new RTS software resource.
- rts
Software stringConfig V1Id - The id of the software config.
- timeouts
Rts
Software Config V1Timeouts
- config str
- The software configuration code. Changing this will create a new RTS software resource.
- group str
- The namespace that groups this software configuration by when it is delivered to a server. Changing this will create a new RTS software resource.
- input_
values Sequence[Mapping[str, str]] - A list of software configuration inputs. Changing this will create a new RTS software resource.
- name str
- The name of the software configuration. Changing this will create a new RTS software resource.
- options Mapping[str, str]
- The software configuration options. Changing this will create a new RTS software resource.
- output_
values Sequence[Mapping[str, str]] - A list of software configuration outputs. Changing this will create a new RTS software resource.
- region str
- Specifies the region in which to create the RTS software resource. If omitted, the provider-level region will be used. Changing this will create a new RTS software resource.
- rts_
software_ strconfig_ v1_ id - The id of the software config.
- timeouts
Rts
Software Config V1Timeouts Args
- config String
- The software configuration code. Changing this will create a new RTS software resource.
- group String
- The namespace that groups this software configuration by when it is delivered to a server. Changing this will create a new RTS software resource.
- input
Values List<Map<String>> - A list of software configuration inputs. Changing this will create a new RTS software resource.
- name String
- The name of the software configuration. Changing this will create a new RTS software resource.
- options Map<String>
- The software configuration options. Changing this will create a new RTS software resource.
- output
Values List<Map<String>> - A list of software configuration outputs. Changing this will create a new RTS software resource.
- region String
- Specifies the region in which to create the RTS software resource. If omitted, the provider-level region will be used. Changing this will create a new RTS software resource.
- rts
Software StringConfig V1Id - 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: flexibleengine: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.
- Config string
- The software configuration code. Changing this will create a new RTS software resource.
- Group string
- The namespace that groups this software configuration by when it is delivered to a server. Changing this will create a new RTS software resource.
- Input
Values List<ImmutableDictionary<string, string>> - A list of software configuration inputs. Changing this will create a new RTS software resource.
- Name string
- The name of the software configuration. Changing this will create a new RTS software resource.
- Options Dictionary<string, string>
- The software configuration options. Changing this will create a new RTS software resource.
- Output
Values List<ImmutableDictionary<string, string>> - A list of software configuration outputs. Changing this will create a new RTS software resource.
- Region string
- Specifies the region in which to create the RTS software resource. If omitted, the provider-level region will be used. Changing this will create a new RTS software resource.
- Rts
Software stringConfig V1Id - The id of the software config.
- Timeouts
Rts
Software Config V1Timeouts
- Config string
- The software configuration code. Changing this will create a new RTS software resource.
- Group string
- The namespace that groups this software configuration by when it is delivered to a server. Changing this will create a new RTS software resource.
- Input
Values []map[string]string - A list of software configuration inputs. Changing this will create a new RTS software resource.
- Name string
- The name of the software configuration. Changing this will create a new RTS software resource.
- Options map[string]string
- The software configuration options. Changing this will create a new RTS software resource.
- Output
Values []map[string]string - A list of software configuration outputs. Changing this will create a new RTS software resource.
- Region string
- Specifies the region in which to create the RTS software resource. If omitted, the provider-level region will be used. Changing this will create a new RTS software resource.
- Rts
Software stringConfig V1Id - The id of the software config.
- Timeouts
Rts
Software Config V1Timeouts Args
- config String
- The software configuration code. Changing this will create a new RTS software resource.
- group String
- The namespace that groups this software configuration by when it is delivered to a server. Changing this will create a new RTS software resource.
- input
Values List<Map<String,String>> - A list of software configuration inputs. Changing this will create a new RTS software resource.
- name String
- The name of the software configuration. Changing this will create a new RTS software resource.
- options Map<String,String>
- The software configuration options. Changing this will create a new RTS software resource.
- output
Values List<Map<String,String>> - A list of software configuration outputs. Changing this will create a new RTS software resource.
- region String
- Specifies the region in which to create the RTS software resource. If omitted, the provider-level region will be used. Changing this will create a new RTS software resource.
- rts
Software StringConfig V1Id - The id of the software config.
- timeouts
Rts
Software Config V1Timeouts
- config string
- The software configuration code. Changing this will create a new RTS software resource.
- group string
- The namespace that groups this software configuration by when it is delivered to a server. Changing this will create a new RTS software resource.
- input
Values {[key: string]: string}[] - A list of software configuration inputs. Changing this will create a new RTS software resource.
- name string
- The name of the software configuration. Changing this will create a new RTS software resource.
- options {[key: string]: string}
- The software configuration options. Changing this will create a new RTS software resource.
- output
Values {[key: string]: string}[] - A list of software configuration outputs. Changing this will create a new RTS software resource.
- region string
- Specifies the region in which to create the RTS software resource. If omitted, the provider-level region will be used. Changing this will create a new RTS software resource.
- rts
Software stringConfig V1Id - The id of the software config.
- timeouts
Rts
Software Config V1Timeouts
- config str
- The software configuration code. Changing this will create a new RTS software resource.
- group str
- The namespace that groups this software configuration by when it is delivered to a server. Changing this will create a new RTS software resource.
- input_
values Sequence[Mapping[str, str]] - A list of software configuration inputs. Changing this will create a new RTS software resource.
- name str
- The name of the software configuration. Changing this will create a new RTS software resource.
- options Mapping[str, str]
- The software configuration options. Changing this will create a new RTS software resource.
- output_
values Sequence[Mapping[str, str]] - A list of software configuration outputs. Changing this will create a new RTS software resource.
- region str
- Specifies the region in which to create the RTS software resource. If omitted, the provider-level region will be used. Changing this will create a new RTS software resource.
- rts_
software_ strconfig_ v1_ id - The id of the software config.
- timeouts
Rts
Software Config V1Timeouts Args
- config String
- The software configuration code. Changing this will create a new RTS software resource.
- group String
- The namespace that groups this software configuration by when it is delivered to a server. Changing this will create a new RTS software resource.
- input
Values List<Map<String>> - A list of software configuration inputs. Changing this will create a new RTS software resource.
- name String
- The name of the software configuration. Changing this will create a new RTS software resource.
- options Map<String>
- The software configuration options. Changing this will create a new RTS software resource.
- output
Values List<Map<String>> - A list of software configuration outputs. Changing this will create a new RTS software resource.
- region String
- Specifies the region in which to create the RTS software resource. If omitted, the provider-level region will be used. Changing this will create a new RTS software resource.
- rts
Software StringConfig V1Id - The id of the software config.
- timeouts Property Map
Supporting Types
RtsSoftwareConfigV1Timeouts, RtsSoftwareConfigV1TimeoutsArgs
Import
Software Config can be imported using the config id
, e.g.
$ pulumi import flexibleengine:index/rtsSoftwareConfigV1:RtsSoftwareConfigV1 flexibleengine_rts_software_config_v1 4779ab1c-7c1a-44b1-a02e-93dfc361b32d
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.