Up-to-date reference of API arguments for RDS instance minor version upgrade you can get at documentation portal
Manages an RDSv3 instance minor version upgrade resource within OpenTelekomCloud.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const config = new pulumi.Config();
const instanceId = config.requireObject<any>("instanceId");
const test = new opentelekomcloud.RdsInstanceMinorVersionUpgradeV3("test", {instanceId: instanceId});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
config = pulumi.Config()
instance_id = config.require_object("instanceId")
test = opentelekomcloud.RdsInstanceMinorVersionUpgradeV3("test", instance_id=instance_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, "")
instanceId := cfg.RequireObject("instanceId")
_, err := opentelekomcloud.NewRdsInstanceMinorVersionUpgradeV3(ctx, "test", &opentelekomcloud.RdsInstanceMinorVersionUpgradeV3Args{
InstanceId: pulumi.Any(instanceId),
})
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 instanceId = config.RequireObject<dynamic>("instanceId");
var test = new Opentelekomcloud.RdsInstanceMinorVersionUpgradeV3("test", new()
{
InstanceId = instanceId,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.RdsInstanceMinorVersionUpgradeV3;
import com.pulumi.opentelekomcloud.RdsInstanceMinorVersionUpgradeV3Args;
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 instanceId = config.get("instanceId");
var test = new RdsInstanceMinorVersionUpgradeV3("test", RdsInstanceMinorVersionUpgradeV3Args.builder()
.instanceId(instanceId)
.build());
}
}
configuration:
instanceId:
type: dynamic
resources:
test:
type: opentelekomcloud:RdsInstanceMinorVersionUpgradeV3
properties:
instanceId: ${instanceId}
Create RdsInstanceMinorVersionUpgradeV3 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RdsInstanceMinorVersionUpgradeV3(name: string, args: RdsInstanceMinorVersionUpgradeV3Args, opts?: CustomResourceOptions);@overload
def RdsInstanceMinorVersionUpgradeV3(resource_name: str,
args: RdsInstanceMinorVersionUpgradeV3Args,
opts: Optional[ResourceOptions] = None)
@overload
def RdsInstanceMinorVersionUpgradeV3(resource_name: str,
opts: Optional[ResourceOptions] = None,
end_time: Optional[str] = None,
instance_id: Optional[str] = None,
start_time: Optional[str] = None,
rds_instance_minor_version_upgrade_v3_id: Optional[str] = None)func NewRdsInstanceMinorVersionUpgradeV3(ctx *Context, name string, args RdsInstanceMinorVersionUpgradeV3Args, opts ...ResourceOption) (*RdsInstanceMinorVersionUpgradeV3, error)public RdsInstanceMinorVersionUpgradeV3(string name, RdsInstanceMinorVersionUpgradeV3Args args, CustomResourceOptions? opts = null)
public RdsInstanceMinorVersionUpgradeV3(String name, RdsInstanceMinorVersionUpgradeV3Args args)
public RdsInstanceMinorVersionUpgradeV3(String name, RdsInstanceMinorVersionUpgradeV3Args args, CustomResourceOptions options)
type: opentelekomcloud:RdsInstanceMinorVersionUpgradeV3
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 RdsInstanceMinorVersionUpgradeV3Args
- 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 RdsInstanceMinorVersionUpgradeV3Args
- 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 RdsInstanceMinorVersionUpgradeV3Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RdsInstanceMinorVersionUpgradeV3Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RdsInstanceMinorVersionUpgradeV3Args
- 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 rdsInstanceMinorVersionUpgradeV3Resource = new Opentelekomcloud.RdsInstanceMinorVersionUpgradeV3("rdsInstanceMinorVersionUpgradeV3Resource", new()
{
EndTime = "string",
InstanceId = "string",
StartTime = "string",
RdsInstanceMinorVersionUpgradeV3Id = "string",
});
example, err := opentelekomcloud.NewRdsInstanceMinorVersionUpgradeV3(ctx, "rdsInstanceMinorVersionUpgradeV3Resource", &opentelekomcloud.RdsInstanceMinorVersionUpgradeV3Args{
EndTime: pulumi.String("string"),
InstanceId: pulumi.String("string"),
StartTime: pulumi.String("string"),
RdsInstanceMinorVersionUpgradeV3Id: pulumi.String("string"),
})
var rdsInstanceMinorVersionUpgradeV3Resource = new RdsInstanceMinorVersionUpgradeV3("rdsInstanceMinorVersionUpgradeV3Resource", RdsInstanceMinorVersionUpgradeV3Args.builder()
.endTime("string")
.instanceId("string")
.startTime("string")
.rdsInstanceMinorVersionUpgradeV3Id("string")
.build());
rds_instance_minor_version_upgrade_v3_resource = opentelekomcloud.RdsInstanceMinorVersionUpgradeV3("rdsInstanceMinorVersionUpgradeV3Resource",
end_time="string",
instance_id="string",
start_time="string",
rds_instance_minor_version_upgrade_v3_id="string")
const rdsInstanceMinorVersionUpgradeV3Resource = new opentelekomcloud.RdsInstanceMinorVersionUpgradeV3("rdsInstanceMinorVersionUpgradeV3Resource", {
endTime: "string",
instanceId: "string",
startTime: "string",
rdsInstanceMinorVersionUpgradeV3Id: "string",
});
type: opentelekomcloud:RdsInstanceMinorVersionUpgradeV3
properties:
endTime: string
instanceId: string
rdsInstanceMinorVersionUpgradeV3Id: string
startTime: string
RdsInstanceMinorVersionUpgradeV3 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 RdsInstanceMinorVersionUpgradeV3 resource accepts the following input properties:
- End
Time string - Instance
Id string - Specifies the ID of the RDS instance to upgrade.
- Start
Time string - Rds
Instance stringMinor Version Upgrade V3Id - The resource ID, which is the instance ID.
- End
Time string - Instance
Id string - Specifies the ID of the RDS instance to upgrade.
- Start
Time string - Rds
Instance stringMinor Version Upgrade V3Id - The resource ID, which is the instance ID.
- end
Time String - instance
Id String - Specifies the ID of the RDS instance to upgrade.
- start
Time String - rds
Instance StringMinor Version Upgrade V3Id - The resource ID, which is the instance ID.
- end
Time string - instance
Id string - Specifies the ID of the RDS instance to upgrade.
- start
Time string - rds
Instance stringMinor Version Upgrade V3Id - The resource ID, which is the instance ID.
- end_
time str - instance_
id str - Specifies the ID of the RDS instance to upgrade.
- start_
time str - rds_
instance_ strminor_ version_ upgrade_ v3_ id - The resource ID, which is the instance ID.
- end
Time String - instance
Id String - Specifies the ID of the RDS instance to upgrade.
- start
Time String - rds
Instance StringMinor Version Upgrade V3Id - The resource ID, which is the instance ID.
Outputs
All input properties are implicitly available as output properties. Additionally, the RdsInstanceMinorVersionUpgradeV3 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 RdsInstanceMinorVersionUpgradeV3 Resource
Get an existing RdsInstanceMinorVersionUpgradeV3 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?: RdsInstanceMinorVersionUpgradeV3State, opts?: CustomResourceOptions): RdsInstanceMinorVersionUpgradeV3@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
end_time: Optional[str] = None,
instance_id: Optional[str] = None,
rds_instance_minor_version_upgrade_v3_id: Optional[str] = None,
start_time: Optional[str] = None) -> RdsInstanceMinorVersionUpgradeV3func GetRdsInstanceMinorVersionUpgradeV3(ctx *Context, name string, id IDInput, state *RdsInstanceMinorVersionUpgradeV3State, opts ...ResourceOption) (*RdsInstanceMinorVersionUpgradeV3, error)public static RdsInstanceMinorVersionUpgradeV3 Get(string name, Input<string> id, RdsInstanceMinorVersionUpgradeV3State? state, CustomResourceOptions? opts = null)public static RdsInstanceMinorVersionUpgradeV3 get(String name, Output<String> id, RdsInstanceMinorVersionUpgradeV3State state, CustomResourceOptions options)resources: _: type: opentelekomcloud:RdsInstanceMinorVersionUpgradeV3 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.
- End
Time string - Instance
Id string - Specifies the ID of the RDS instance to upgrade.
- Rds
Instance stringMinor Version Upgrade V3Id - The resource ID, which is the instance ID.
- Start
Time string
- End
Time string - Instance
Id string - Specifies the ID of the RDS instance to upgrade.
- Rds
Instance stringMinor Version Upgrade V3Id - The resource ID, which is the instance ID.
- Start
Time string
- end
Time String - instance
Id String - Specifies the ID of the RDS instance to upgrade.
- rds
Instance StringMinor Version Upgrade V3Id - The resource ID, which is the instance ID.
- start
Time String
- end
Time string - instance
Id string - Specifies the ID of the RDS instance to upgrade.
- rds
Instance stringMinor Version Upgrade V3Id - The resource ID, which is the instance ID.
- start
Time string
- end_
time str - instance_
id str - Specifies the ID of the RDS instance to upgrade.
- rds_
instance_ strminor_ version_ upgrade_ v3_ id - The resource ID, which is the instance ID.
- start_
time str
- end
Time String - instance
Id String - Specifies the ID of the RDS instance to upgrade.
- rds
Instance StringMinor Version Upgrade V3Id - The resource ID, which is the instance ID.
- start
Time String
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the
opentelekomcloudTerraform Provider.
