opentelekomcloud.RtsSoftwareDeploymentV1
Explore with Pulumi AI
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:
- Config
Id string - The id of the software configuration resource running on an instance.
- Server
Id string - The id of the instance.
- Action string
- The stack action that triggers this deployment resource.
- Input
Values Dictionary<string, string> - The input data stored in the form of a key-value pair.
- Output
Values Dictionary<string, string> - The output data stored in the form of a key-value pair.
- Region string
- Rts
Software stringDeployment V1Id - The id of the software deployment.
- Status string
- The current status of deployment resources.
- Status
Reason string - The cause of the current deployment resource status.
- Tenant
Id string - The id of the authenticated tenant who can perform operations on the deployment resources.
- Timeouts
Rts
Software Deployment V1Timeouts
- Config
Id string - The id of the software configuration resource running on an instance.
- Server
Id string - The id of the instance.
- Action string
- The stack action that triggers this deployment resource.
- Input
Values map[string]string - The input data stored in the form of a key-value pair.
- Output
Values map[string]string - The output data stored in the form of a key-value pair.
- Region string
- Rts
Software stringDeployment V1Id - The id of the software deployment.
- Status string
- The current status of deployment resources.
- Status
Reason string - The cause of the current deployment resource status.
- Tenant
Id string - The id of the authenticated tenant who can perform operations on the deployment resources.
- Timeouts
Rts
Software Deployment V1Timeouts Args
- config
Id String - The id of the software configuration resource running on an instance.
- server
Id String - The id of the instance.
- action String
- The stack action that triggers this deployment resource.
- input
Values Map<String,String> - The input data stored in the form of a key-value pair.
- output
Values Map<String,String> - The output data stored in the form of a key-value pair.
- region String
- rts
Software StringDeployment V1Id - The id of the software deployment.
- status String
- The current status of deployment resources.
- status
Reason String - The cause of the current deployment resource status.
- tenant
Id String - The id of the authenticated tenant who can perform operations on the deployment resources.
- timeouts
Rts
Software Deployment V1Timeouts
- config
Id string - The id of the software configuration resource running on an instance.
- server
Id string - The id of the instance.
- action string
- The stack action that triggers this deployment resource.
- input
Values {[key: string]: string} - The input data stored in the form of a key-value pair.
- output
Values {[key: string]: string} - The output data stored in the form of a key-value pair.
- region string
- rts
Software stringDeployment V1Id - The id of the software deployment.
- status string
- The current status of deployment resources.
- status
Reason string - The cause of the current deployment resource status.
- tenant
Id string - The id of the authenticated tenant who can perform operations on the deployment resources.
- timeouts
Rts
Software Deployment V1Timeouts
- 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_ strdeployment_ v1_ id - 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
Rts
Software Deployment V1Timeouts Args
- config
Id String - The id of the software configuration resource running on an instance.
- server
Id String - The id of the instance.
- action String
- The stack action that triggers this deployment resource.
- input
Values Map<String> - The input data stored in the form of a key-value pair.
- output
Values Map<String> - The output data stored in the form of a key-value pair.
- region String
- rts
Software StringDeployment V1Id - The id of the software deployment.
- status String
- The current status of deployment resources.
- status
Reason String - The cause of the current deployment resource status.
- tenant
Id 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.
- Action string
- The stack action that triggers this deployment resource.
- Config
Id string - The id of the software configuration resource running on an instance.
- Input
Values Dictionary<string, string> - The input data stored in the form of a key-value pair.
- Output
Values Dictionary<string, string> - The output data stored in the form of a key-value pair.
- Region string
- Rts
Software stringDeployment V1Id - The id of the software deployment.
- Server
Id string - The id of the instance.
- Status string
- The current status of deployment resources.
- Status
Reason string - The cause of the current deployment resource status.
- Tenant
Id string - The id of the authenticated tenant who can perform operations on the deployment resources.
- Timeouts
Rts
Software Deployment V1Timeouts
- Action string
- The stack action that triggers this deployment resource.
- Config
Id string - The id of the software configuration resource running on an instance.
- Input
Values map[string]string - The input data stored in the form of a key-value pair.
- Output
Values map[string]string - The output data stored in the form of a key-value pair.
- Region string
- Rts
Software stringDeployment V1Id - The id of the software deployment.
- Server
Id string - The id of the instance.
- Status string
- The current status of deployment resources.
- Status
Reason string - The cause of the current deployment resource status.
- Tenant
Id string - The id of the authenticated tenant who can perform operations on the deployment resources.
- Timeouts
Rts
Software Deployment V1Timeouts Args
- action String
- The stack action that triggers this deployment resource.
- config
Id String - The id of the software configuration resource running on an instance.
- input
Values Map<String,String> - The input data stored in the form of a key-value pair.
- output
Values Map<String,String> - The output data stored in the form of a key-value pair.
- region String
- rts
Software StringDeployment V1Id - The id of the software deployment.
- server
Id String - The id of the instance.
- status String
- The current status of deployment resources.
- status
Reason String - The cause of the current deployment resource status.
- tenant
Id String - The id of the authenticated tenant who can perform operations on the deployment resources.
- timeouts
Rts
Software Deployment V1Timeouts
- action string
- The stack action that triggers this deployment resource.
- config
Id string - The id of the software configuration resource running on an instance.
- input
Values {[key: string]: string} - The input data stored in the form of a key-value pair.
- output
Values {[key: string]: string} - The output data stored in the form of a key-value pair.
- region string
- rts
Software stringDeployment V1Id - The id of the software deployment.
- server
Id string - The id of the instance.
- status string
- The current status of deployment resources.
- status
Reason string - The cause of the current deployment resource status.
- tenant
Id string - The id of the authenticated tenant who can perform operations on the deployment resources.
- timeouts
Rts
Software Deployment V1Timeouts
- 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_ strdeployment_ v1_ id - 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
Rts
Software Deployment V1Timeouts Args
- action String
- The stack action that triggers this deployment resource.
- config
Id String - The id of the software configuration resource running on an instance.
- input
Values Map<String> - The input data stored in the form of a key-value pair.
- output
Values Map<String> - The output data stored in the form of a key-value pair.
- region String
- rts
Software StringDeployment V1Id - The id of the software deployment.
- server
Id String - The id of the instance.
- status String
- The current status of deployment resources.
- status
Reason String - The cause of the current deployment resource status.
- tenant
Id String - The id of the authenticated tenant who can perform operations on the deployment resources.
- timeouts Property Map
Supporting Types
RtsSoftwareDeploymentV1Timeouts, RtsSoftwareDeploymentV1TimeoutsArgs
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.