flexibleengine.RtsStackV1
Explore with Pulumi AI
Provides a FlexibleEngine Stack.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as flexibleengine from "@pulumi/flexibleengine";
const config = new pulumi.Config();
const name = config.requireObject("name");
const instanceType = config.requireObject("instanceType");
const imageId = config.requireObject("imageId");
const mystack = new flexibleengine.RtsStackV1("mystack", {
disableRollback: true,
timeoutMins: 60,
parameters: {
network_id: flexibleengine_vpc_subnet_v1.example_subnet.id,
instance_type: instanceType,
image_id: imageId,
},
templateBody: ` {
"heat_template_version": "2016-04-08",
"description": "Simple template to deploy",
"parameters": {
"image_id": {
"type": "string",
"description": "Image to be used for compute instance",
"label": "Image ID"
},
"network_id": {
"type": "string",
"description": "The Network to be used",
"label": "Network UUID"
},
"instance_type": {
"type": "string",
"description": "Type of instance (Flavor) to be used",
"label": "Instance Type"
}
},
"resources": {
"my_instance": {
"type": "OS::Nova::Server",
"properties": {
"image": {
"get_param": "image_id"
},
"flavor": {
"get_param": "instance_type"
},
"networks": [{
"network": {
"get_param": "network_id"
}
}]
}
}
},
"outputs": {
"InstanceIP":{
"description": "Instance IP",
"value": { "get_attr": ["my_instance", "first_address"] }
}
}
}
`,
});
import pulumi
import pulumi_flexibleengine as flexibleengine
config = pulumi.Config()
name = config.require_object("name")
instance_type = config.require_object("instanceType")
image_id = config.require_object("imageId")
mystack = flexibleengine.RtsStackV1("mystack",
disable_rollback=True,
timeout_mins=60,
parameters={
"network_id": flexibleengine_vpc_subnet_v1["example_subnet"]["id"],
"instance_type": instance_type,
"image_id": image_id,
},
template_body=""" {
"heat_template_version": "2016-04-08",
"description": "Simple template to deploy",
"parameters": {
"image_id": {
"type": "string",
"description": "Image to be used for compute instance",
"label": "Image ID"
},
"network_id": {
"type": "string",
"description": "The Network to be used",
"label": "Network UUID"
},
"instance_type": {
"type": "string",
"description": "Type of instance (Flavor) to be used",
"label": "Instance Type"
}
},
"resources": {
"my_instance": {
"type": "OS::Nova::Server",
"properties": {
"image": {
"get_param": "image_id"
},
"flavor": {
"get_param": "instance_type"
},
"networks": [{
"network": {
"get_param": "network_id"
}
}]
}
}
},
"outputs": {
"InstanceIP":{
"description": "Instance IP",
"value": { "get_attr": ["my_instance", "first_address"] }
}
}
}
""")
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, "")
name := cfg.RequireObject("name")
instanceType := cfg.RequireObject("instanceType")
imageId := cfg.RequireObject("imageId")
_, err := flexibleengine.NewRtsStackV1(ctx, "mystack", &flexibleengine.RtsStackV1Args{
DisableRollback: pulumi.Bool(true),
TimeoutMins: pulumi.Float64(60),
Parameters: pulumi.StringMap{
"network_id": pulumi.Any(flexibleengine_vpc_subnet_v1.Example_subnet.Id),
"instance_type": pulumi.Any(instanceType),
"image_id": pulumi.Any(imageId),
},
TemplateBody: pulumi.String(` {
"heat_template_version": "2016-04-08",
"description": "Simple template to deploy",
"parameters": {
"image_id": {
"type": "string",
"description": "Image to be used for compute instance",
"label": "Image ID"
},
"network_id": {
"type": "string",
"description": "The Network to be used",
"label": "Network UUID"
},
"instance_type": {
"type": "string",
"description": "Type of instance (Flavor) to be used",
"label": "Instance Type"
}
},
"resources": {
"my_instance": {
"type": "OS::Nova::Server",
"properties": {
"image": {
"get_param": "image_id"
},
"flavor": {
"get_param": "instance_type"
},
"networks": [{
"network": {
"get_param": "network_id"
}
}]
}
}
},
"outputs": {
"InstanceIP":{
"description": "Instance IP",
"value": { "get_attr": ["my_instance", "first_address"] }
}
}
}
`),
})
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 name = config.RequireObject<dynamic>("name");
var instanceType = config.RequireObject<dynamic>("instanceType");
var imageId = config.RequireObject<dynamic>("imageId");
var mystack = new Flexibleengine.RtsStackV1("mystack", new()
{
DisableRollback = true,
TimeoutMins = 60,
Parameters =
{
{ "network_id", flexibleengine_vpc_subnet_v1.Example_subnet.Id },
{ "instance_type", instanceType },
{ "image_id", imageId },
},
TemplateBody = @" {
""heat_template_version"": ""2016-04-08"",
""description"": ""Simple template to deploy"",
""parameters"": {
""image_id"": {
""type"": ""string"",
""description"": ""Image to be used for compute instance"",
""label"": ""Image ID""
},
""network_id"": {
""type"": ""string"",
""description"": ""The Network to be used"",
""label"": ""Network UUID""
},
""instance_type"": {
""type"": ""string"",
""description"": ""Type of instance (Flavor) to be used"",
""label"": ""Instance Type""
}
},
""resources"": {
""my_instance"": {
""type"": ""OS::Nova::Server"",
""properties"": {
""image"": {
""get_param"": ""image_id""
},
""flavor"": {
""get_param"": ""instance_type""
},
""networks"": [{
""network"": {
""get_param"": ""network_id""
}
}]
}
}
},
""outputs"": {
""InstanceIP"":{
""description"": ""Instance IP"",
""value"": { ""get_attr"": [""my_instance"", ""first_address""] }
}
}
}
",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.flexibleengine.RtsStackV1;
import com.pulumi.flexibleengine.RtsStackV1Args;
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");
final var instanceType = config.get("instanceType");
final var imageId = config.get("imageId");
var mystack = new RtsStackV1("mystack", RtsStackV1Args.builder()
.disableRollback(true)
.timeoutMins(60)
.parameters(Map.ofEntries(
Map.entry("network_id", flexibleengine_vpc_subnet_v1.example_subnet().id()),
Map.entry("instance_type", instanceType),
Map.entry("image_id", imageId)
))
.templateBody("""
{
"heat_template_version": "2016-04-08",
"description": "Simple template to deploy",
"parameters": {
"image_id": {
"type": "string",
"description": "Image to be used for compute instance",
"label": "Image ID"
},
"network_id": {
"type": "string",
"description": "The Network to be used",
"label": "Network UUID"
},
"instance_type": {
"type": "string",
"description": "Type of instance (Flavor) to be used",
"label": "Instance Type"
}
},
"resources": {
"my_instance": {
"type": "OS::Nova::Server",
"properties": {
"image": {
"get_param": "image_id"
},
"flavor": {
"get_param": "instance_type"
},
"networks": [{
"network": {
"get_param": "network_id"
}
}]
}
}
},
"outputs": {
"InstanceIP":{
"description": "Instance IP",
"value": { "get_attr": ["my_instance", "first_address"] }
}
}
}
""")
.build());
}
}
configuration:
name:
type: dynamic
instanceType:
type: dynamic
imageId:
type: dynamic
resources:
mystack:
type: flexibleengine:RtsStackV1
properties:
disableRollback: true
timeoutMins: 60
parameters:
network_id: ${flexibleengine_vpc_subnet_v1.example_subnet.id}
instance_type: ${instanceType}
image_id: ${imageId}
templateBody: |2
{
"heat_template_version": "2016-04-08",
"description": "Simple template to deploy",
"parameters": {
"image_id": {
"type": "string",
"description": "Image to be used for compute instance",
"label": "Image ID"
},
"network_id": {
"type": "string",
"description": "The Network to be used",
"label": "Network UUID"
},
"instance_type": {
"type": "string",
"description": "Type of instance (Flavor) to be used",
"label": "Instance Type"
}
},
"resources": {
"my_instance": {
"type": "OS::Nova::Server",
"properties": {
"image": {
"get_param": "image_id"
},
"flavor": {
"get_param": "instance_type"
},
"networks": [{
"network": {
"get_param": "network_id"
}
}]
}
}
},
"outputs": {
"InstanceIP":{
"description": "Instance IP",
"value": { "get_attr": ["my_instance", "first_address"] }
}
}
}
Create RtsStackV1 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RtsStackV1(name: string, args?: RtsStackV1Args, opts?: CustomResourceOptions);
@overload
def RtsStackV1(resource_name: str,
args: Optional[RtsStackV1Args] = None,
opts: Optional[ResourceOptions] = None)
@overload
def RtsStackV1(resource_name: str,
opts: Optional[ResourceOptions] = None,
disable_rollback: Optional[bool] = None,
environment: Optional[str] = None,
files: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
parameters: Optional[Mapping[str, str]] = None,
region: Optional[str] = None,
rts_stack_v1_id: Optional[str] = None,
template_body: Optional[str] = None,
template_url: Optional[str] = None,
timeout_mins: Optional[float] = None,
timeouts: Optional[RtsStackV1TimeoutsArgs] = None)
func NewRtsStackV1(ctx *Context, name string, args *RtsStackV1Args, opts ...ResourceOption) (*RtsStackV1, error)
public RtsStackV1(string name, RtsStackV1Args? args = null, CustomResourceOptions? opts = null)
public RtsStackV1(String name, RtsStackV1Args args)
public RtsStackV1(String name, RtsStackV1Args args, CustomResourceOptions options)
type: flexibleengine:RtsStackV1
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 RtsStackV1Args
- 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 RtsStackV1Args
- 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 RtsStackV1Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RtsStackV1Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RtsStackV1Args
- 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 rtsStackV1Resource = new Flexibleengine.RtsStackV1("rtsStackV1Resource", new()
{
DisableRollback = false,
Environment = "string",
Files =
{
{ "string", "string" },
},
Name = "string",
Parameters =
{
{ "string", "string" },
},
Region = "string",
RtsStackV1Id = "string",
TemplateBody = "string",
TemplateUrl = "string",
TimeoutMins = 0,
Timeouts = new Flexibleengine.Inputs.RtsStackV1TimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
});
example, err := flexibleengine.NewRtsStackV1(ctx, "rtsStackV1Resource", &flexibleengine.RtsStackV1Args{
DisableRollback: pulumi.Bool(false),
Environment: pulumi.String("string"),
Files: pulumi.StringMap{
"string": pulumi.String("string"),
},
Name: pulumi.String("string"),
Parameters: pulumi.StringMap{
"string": pulumi.String("string"),
},
Region: pulumi.String("string"),
RtsStackV1Id: pulumi.String("string"),
TemplateBody: pulumi.String("string"),
TemplateUrl: pulumi.String("string"),
TimeoutMins: pulumi.Float64(0),
Timeouts: &flexibleengine.RtsStackV1TimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
var rtsStackV1Resource = new RtsStackV1("rtsStackV1Resource", RtsStackV1Args.builder()
.disableRollback(false)
.environment("string")
.files(Map.of("string", "string"))
.name("string")
.parameters(Map.of("string", "string"))
.region("string")
.rtsStackV1Id("string")
.templateBody("string")
.templateUrl("string")
.timeoutMins(0)
.timeouts(RtsStackV1TimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.build());
rts_stack_v1_resource = flexibleengine.RtsStackV1("rtsStackV1Resource",
disable_rollback=False,
environment="string",
files={
"string": "string",
},
name="string",
parameters={
"string": "string",
},
region="string",
rts_stack_v1_id="string",
template_body="string",
template_url="string",
timeout_mins=0,
timeouts={
"create": "string",
"delete": "string",
"update": "string",
})
const rtsStackV1Resource = new flexibleengine.RtsStackV1("rtsStackV1Resource", {
disableRollback: false,
environment: "string",
files: {
string: "string",
},
name: "string",
parameters: {
string: "string",
},
region: "string",
rtsStackV1Id: "string",
templateBody: "string",
templateUrl: "string",
timeoutMins: 0,
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
});
type: flexibleengine:RtsStackV1
properties:
disableRollback: false
environment: string
files:
string: string
name: string
parameters:
string: string
region: string
rtsStackV1Id: string
templateBody: string
templateUrl: string
timeoutMins: 0
timeouts:
create: string
delete: string
update: string
RtsStackV1 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 RtsStackV1 resource accepts the following input properties:
- Disable
Rollback bool - Set to true to disable rollback of the stack if stack creation failed.
- Environment string
- The environment information about the stack.
- Files Dictionary<string, string>
- Files used in the environment.
- Name string
- Specifies the name of the resource stack. The valid length is limited from can contain 1 to 64, only letters, digits and hyphens (-) are allowed. The name must start with a lowercase letter and end with a lowercase letter or digit. Changing this creates a new stack.
- Parameters Dictionary<string, string>
- A list of Parameter structures that specify input parameters for the stack.
- Region string
- Specifies the region in which to create the RTS stack resource. If omitted, the provider-level region will be used. Changing this will create a new RTS stack resource.
- Rts
Stack stringV1Id - Template
Body string - Structure containing the template body. The template content must use the yaml
syntax. It is Required if
template_url
is empty. - Template
Url string - Location of a file containing the template body. It is Required if
template_body
is empty - Timeout
Mins double - Specifies the timeout duration.
- Timeouts
Rts
Stack V1Timeouts
- Disable
Rollback bool - Set to true to disable rollback of the stack if stack creation failed.
- Environment string
- The environment information about the stack.
- Files map[string]string
- Files used in the environment.
- Name string
- Specifies the name of the resource stack. The valid length is limited from can contain 1 to 64, only letters, digits and hyphens (-) are allowed. The name must start with a lowercase letter and end with a lowercase letter or digit. Changing this creates a new stack.
- Parameters map[string]string
- A list of Parameter structures that specify input parameters for the stack.
- Region string
- Specifies the region in which to create the RTS stack resource. If omitted, the provider-level region will be used. Changing this will create a new RTS stack resource.
- Rts
Stack stringV1Id - Template
Body string - Structure containing the template body. The template content must use the yaml
syntax. It is Required if
template_url
is empty. - Template
Url string - Location of a file containing the template body. It is Required if
template_body
is empty - Timeout
Mins float64 - Specifies the timeout duration.
- Timeouts
Rts
Stack V1Timeouts Args
- disable
Rollback Boolean - Set to true to disable rollback of the stack if stack creation failed.
- environment String
- The environment information about the stack.
- files Map<String,String>
- Files used in the environment.
- name String
- Specifies the name of the resource stack. The valid length is limited from can contain 1 to 64, only letters, digits and hyphens (-) are allowed. The name must start with a lowercase letter and end with a lowercase letter or digit. Changing this creates a new stack.
- parameters Map<String,String>
- A list of Parameter structures that specify input parameters for the stack.
- region String
- Specifies the region in which to create the RTS stack resource. If omitted, the provider-level region will be used. Changing this will create a new RTS stack resource.
- rts
Stack StringV1Id - template
Body String - Structure containing the template body. The template content must use the yaml
syntax. It is Required if
template_url
is empty. - template
Url String - Location of a file containing the template body. It is Required if
template_body
is empty - timeout
Mins Double - Specifies the timeout duration.
- timeouts
Rts
Stack V1Timeouts
- disable
Rollback boolean - Set to true to disable rollback of the stack if stack creation failed.
- environment string
- The environment information about the stack.
- files {[key: string]: string}
- Files used in the environment.
- name string
- Specifies the name of the resource stack. The valid length is limited from can contain 1 to 64, only letters, digits and hyphens (-) are allowed. The name must start with a lowercase letter and end with a lowercase letter or digit. Changing this creates a new stack.
- parameters {[key: string]: string}
- A list of Parameter structures that specify input parameters for the stack.
- region string
- Specifies the region in which to create the RTS stack resource. If omitted, the provider-level region will be used. Changing this will create a new RTS stack resource.
- rts
Stack stringV1Id - template
Body string - Structure containing the template body. The template content must use the yaml
syntax. It is Required if
template_url
is empty. - template
Url string - Location of a file containing the template body. It is Required if
template_body
is empty - timeout
Mins number - Specifies the timeout duration.
- timeouts
Rts
Stack V1Timeouts
- disable_
rollback bool - Set to true to disable rollback of the stack if stack creation failed.
- environment str
- The environment information about the stack.
- files Mapping[str, str]
- Files used in the environment.
- name str
- Specifies the name of the resource stack. The valid length is limited from can contain 1 to 64, only letters, digits and hyphens (-) are allowed. The name must start with a lowercase letter and end with a lowercase letter or digit. Changing this creates a new stack.
- parameters Mapping[str, str]
- A list of Parameter structures that specify input parameters for the stack.
- region str
- Specifies the region in which to create the RTS stack resource. If omitted, the provider-level region will be used. Changing this will create a new RTS stack resource.
- rts_
stack_ strv1_ id - template_
body str - Structure containing the template body. The template content must use the yaml
syntax. It is Required if
template_url
is empty. - template_
url str - Location of a file containing the template body. It is Required if
template_body
is empty - timeout_
mins float - Specifies the timeout duration.
- timeouts
Rts
Stack V1Timeouts Args
- disable
Rollback Boolean - Set to true to disable rollback of the stack if stack creation failed.
- environment String
- The environment information about the stack.
- files Map<String>
- Files used in the environment.
- name String
- Specifies the name of the resource stack. The valid length is limited from can contain 1 to 64, only letters, digits and hyphens (-) are allowed. The name must start with a lowercase letter and end with a lowercase letter or digit. Changing this creates a new stack.
- parameters Map<String>
- A list of Parameter structures that specify input parameters for the stack.
- region String
- Specifies the region in which to create the RTS stack resource. If omitted, the provider-level region will be used. Changing this will create a new RTS stack resource.
- rts
Stack StringV1Id - template
Body String - Structure containing the template body. The template content must use the yaml
syntax. It is Required if
template_url
is empty. - template
Url String - Location of a file containing the template body. It is Required if
template_body
is empty - timeout
Mins Number - Specifies the timeout duration.
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the RtsStackV1 resource produces the following output properties:
- Capabilities List<string>
- List of stack capabilities for stack.
- Id string
- The provider-assigned unique ID for this managed resource.
- Notification
Topics List<string> - List of notification topics for stack.
- Outputs Dictionary<string, string>
- A map of outputs from the stack.
- Status string
- Specifies the stack status.
- Status
Reason string
- Capabilities []string
- List of stack capabilities for stack.
- Id string
- The provider-assigned unique ID for this managed resource.
- Notification
Topics []string - List of notification topics for stack.
- Outputs map[string]string
- A map of outputs from the stack.
- Status string
- Specifies the stack status.
- Status
Reason string
- capabilities List<String>
- List of stack capabilities for stack.
- id String
- The provider-assigned unique ID for this managed resource.
- notification
Topics List<String> - List of notification topics for stack.
- outputs Map<String,String>
- A map of outputs from the stack.
- status String
- Specifies the stack status.
- status
Reason String
- capabilities string[]
- List of stack capabilities for stack.
- id string
- The provider-assigned unique ID for this managed resource.
- notification
Topics string[] - List of notification topics for stack.
- outputs {[key: string]: string}
- A map of outputs from the stack.
- status string
- Specifies the stack status.
- status
Reason string
- capabilities Sequence[str]
- List of stack capabilities for stack.
- id str
- The provider-assigned unique ID for this managed resource.
- notification_
topics Sequence[str] - List of notification topics for stack.
- outputs Mapping[str, str]
- A map of outputs from the stack.
- status str
- Specifies the stack status.
- status_
reason str
- capabilities List<String>
- List of stack capabilities for stack.
- id String
- The provider-assigned unique ID for this managed resource.
- notification
Topics List<String> - List of notification topics for stack.
- outputs Map<String>
- A map of outputs from the stack.
- status String
- Specifies the stack status.
- status
Reason String
Look up Existing RtsStackV1 Resource
Get an existing RtsStackV1 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?: RtsStackV1State, opts?: CustomResourceOptions): RtsStackV1
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
capabilities: Optional[Sequence[str]] = None,
disable_rollback: Optional[bool] = None,
environment: Optional[str] = None,
files: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
notification_topics: Optional[Sequence[str]] = None,
outputs: Optional[Mapping[str, str]] = None,
parameters: Optional[Mapping[str, str]] = None,
region: Optional[str] = None,
rts_stack_v1_id: Optional[str] = None,
status: Optional[str] = None,
status_reason: Optional[str] = None,
template_body: Optional[str] = None,
template_url: Optional[str] = None,
timeout_mins: Optional[float] = None,
timeouts: Optional[RtsStackV1TimeoutsArgs] = None) -> RtsStackV1
func GetRtsStackV1(ctx *Context, name string, id IDInput, state *RtsStackV1State, opts ...ResourceOption) (*RtsStackV1, error)
public static RtsStackV1 Get(string name, Input<string> id, RtsStackV1State? state, CustomResourceOptions? opts = null)
public static RtsStackV1 get(String name, Output<String> id, RtsStackV1State state, CustomResourceOptions options)
resources: _: type: flexibleengine:RtsStackV1 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.
- Capabilities List<string>
- List of stack capabilities for stack.
- Disable
Rollback bool - Set to true to disable rollback of the stack if stack creation failed.
- Environment string
- The environment information about the stack.
- Files Dictionary<string, string>
- Files used in the environment.
- Name string
- Specifies the name of the resource stack. The valid length is limited from can contain 1 to 64, only letters, digits and hyphens (-) are allowed. The name must start with a lowercase letter and end with a lowercase letter or digit. Changing this creates a new stack.
- Notification
Topics List<string> - List of notification topics for stack.
- Outputs Dictionary<string, string>
- A map of outputs from the stack.
- Parameters Dictionary<string, string>
- A list of Parameter structures that specify input parameters for the stack.
- Region string
- Specifies the region in which to create the RTS stack resource. If omitted, the provider-level region will be used. Changing this will create a new RTS stack resource.
- Rts
Stack stringV1Id - Status string
- Specifies the stack status.
- Status
Reason string - Template
Body string - Structure containing the template body. The template content must use the yaml
syntax. It is Required if
template_url
is empty. - Template
Url string - Location of a file containing the template body. It is Required if
template_body
is empty - Timeout
Mins double - Specifies the timeout duration.
- Timeouts
Rts
Stack V1Timeouts
- Capabilities []string
- List of stack capabilities for stack.
- Disable
Rollback bool - Set to true to disable rollback of the stack if stack creation failed.
- Environment string
- The environment information about the stack.
- Files map[string]string
- Files used in the environment.
- Name string
- Specifies the name of the resource stack. The valid length is limited from can contain 1 to 64, only letters, digits and hyphens (-) are allowed. The name must start with a lowercase letter and end with a lowercase letter or digit. Changing this creates a new stack.
- Notification
Topics []string - List of notification topics for stack.
- Outputs map[string]string
- A map of outputs from the stack.
- Parameters map[string]string
- A list of Parameter structures that specify input parameters for the stack.
- Region string
- Specifies the region in which to create the RTS stack resource. If omitted, the provider-level region will be used. Changing this will create a new RTS stack resource.
- Rts
Stack stringV1Id - Status string
- Specifies the stack status.
- Status
Reason string - Template
Body string - Structure containing the template body. The template content must use the yaml
syntax. It is Required if
template_url
is empty. - Template
Url string - Location of a file containing the template body. It is Required if
template_body
is empty - Timeout
Mins float64 - Specifies the timeout duration.
- Timeouts
Rts
Stack V1Timeouts Args
- capabilities List<String>
- List of stack capabilities for stack.
- disable
Rollback Boolean - Set to true to disable rollback of the stack if stack creation failed.
- environment String
- The environment information about the stack.
- files Map<String,String>
- Files used in the environment.
- name String
- Specifies the name of the resource stack. The valid length is limited from can contain 1 to 64, only letters, digits and hyphens (-) are allowed. The name must start with a lowercase letter and end with a lowercase letter or digit. Changing this creates a new stack.
- notification
Topics List<String> - List of notification topics for stack.
- outputs Map<String,String>
- A map of outputs from the stack.
- parameters Map<String,String>
- A list of Parameter structures that specify input parameters for the stack.
- region String
- Specifies the region in which to create the RTS stack resource. If omitted, the provider-level region will be used. Changing this will create a new RTS stack resource.
- rts
Stack StringV1Id - status String
- Specifies the stack status.
- status
Reason String - template
Body String - Structure containing the template body. The template content must use the yaml
syntax. It is Required if
template_url
is empty. - template
Url String - Location of a file containing the template body. It is Required if
template_body
is empty - timeout
Mins Double - Specifies the timeout duration.
- timeouts
Rts
Stack V1Timeouts
- capabilities string[]
- List of stack capabilities for stack.
- disable
Rollback boolean - Set to true to disable rollback of the stack if stack creation failed.
- environment string
- The environment information about the stack.
- files {[key: string]: string}
- Files used in the environment.
- name string
- Specifies the name of the resource stack. The valid length is limited from can contain 1 to 64, only letters, digits and hyphens (-) are allowed. The name must start with a lowercase letter and end with a lowercase letter or digit. Changing this creates a new stack.
- notification
Topics string[] - List of notification topics for stack.
- outputs {[key: string]: string}
- A map of outputs from the stack.
- parameters {[key: string]: string}
- A list of Parameter structures that specify input parameters for the stack.
- region string
- Specifies the region in which to create the RTS stack resource. If omitted, the provider-level region will be used. Changing this will create a new RTS stack resource.
- rts
Stack stringV1Id - status string
- Specifies the stack status.
- status
Reason string - template
Body string - Structure containing the template body. The template content must use the yaml
syntax. It is Required if
template_url
is empty. - template
Url string - Location of a file containing the template body. It is Required if
template_body
is empty - timeout
Mins number - Specifies the timeout duration.
- timeouts
Rts
Stack V1Timeouts
- capabilities Sequence[str]
- List of stack capabilities for stack.
- disable_
rollback bool - Set to true to disable rollback of the stack if stack creation failed.
- environment str
- The environment information about the stack.
- files Mapping[str, str]
- Files used in the environment.
- name str
- Specifies the name of the resource stack. The valid length is limited from can contain 1 to 64, only letters, digits and hyphens (-) are allowed. The name must start with a lowercase letter and end with a lowercase letter or digit. Changing this creates a new stack.
- notification_
topics Sequence[str] - List of notification topics for stack.
- outputs Mapping[str, str]
- A map of outputs from the stack.
- parameters Mapping[str, str]
- A list of Parameter structures that specify input parameters for the stack.
- region str
- Specifies the region in which to create the RTS stack resource. If omitted, the provider-level region will be used. Changing this will create a new RTS stack resource.
- rts_
stack_ strv1_ id - status str
- Specifies the stack status.
- status_
reason str - template_
body str - Structure containing the template body. The template content must use the yaml
syntax. It is Required if
template_url
is empty. - template_
url str - Location of a file containing the template body. It is Required if
template_body
is empty - timeout_
mins float - Specifies the timeout duration.
- timeouts
Rts
Stack V1Timeouts Args
- capabilities List<String>
- List of stack capabilities for stack.
- disable
Rollback Boolean - Set to true to disable rollback of the stack if stack creation failed.
- environment String
- The environment information about the stack.
- files Map<String>
- Files used in the environment.
- name String
- Specifies the name of the resource stack. The valid length is limited from can contain 1 to 64, only letters, digits and hyphens (-) are allowed. The name must start with a lowercase letter and end with a lowercase letter or digit. Changing this creates a new stack.
- notification
Topics List<String> - List of notification topics for stack.
- outputs Map<String>
- A map of outputs from the stack.
- parameters Map<String>
- A list of Parameter structures that specify input parameters for the stack.
- region String
- Specifies the region in which to create the RTS stack resource. If omitted, the provider-level region will be used. Changing this will create a new RTS stack resource.
- rts
Stack StringV1Id - status String
- Specifies the stack status.
- status
Reason String - template
Body String - Structure containing the template body. The template content must use the yaml
syntax. It is Required if
template_url
is empty. - template
Url String - Location of a file containing the template body. It is Required if
template_body
is empty - timeout
Mins Number - Specifies the timeout duration.
- timeouts Property Map
Supporting Types
RtsStackV1Timeouts, RtsStackV1TimeoutsArgs
Import
RTS Stacks can be imported using the name
, e.g.
$ pulumi import flexibleengine:index/rtsStackV1:RtsStackV1 mystack rts-stack
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.