1. Packages
  2. Cloudamqp Provider
  3. API Docs
  4. UpgradeLavinmq
CloudAMQP v3.21.0 published on Tuesday, Apr 8, 2025 by Pulumi

cloudamqp.UpgradeLavinmq

Explore with Pulumi AI

Import

Not possible to import this resource.

Create UpgradeLavinmq Resource

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

Constructor syntax

new UpgradeLavinmq(name: string, args: UpgradeLavinmqArgs, opts?: CustomResourceOptions);
@overload
def UpgradeLavinmq(resource_name: str,
                   args: UpgradeLavinmqArgs,
                   opts: Optional[ResourceOptions] = None)

@overload
def UpgradeLavinmq(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   instance_id: Optional[int] = None,
                   new_version: Optional[str] = None)
func NewUpgradeLavinmq(ctx *Context, name string, args UpgradeLavinmqArgs, opts ...ResourceOption) (*UpgradeLavinmq, error)
public UpgradeLavinmq(string name, UpgradeLavinmqArgs args, CustomResourceOptions? opts = null)
public UpgradeLavinmq(String name, UpgradeLavinmqArgs args)
public UpgradeLavinmq(String name, UpgradeLavinmqArgs args, CustomResourceOptions options)
type: cloudamqp:UpgradeLavinmq
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. UpgradeLavinmqArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. UpgradeLavinmqArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. UpgradeLavinmqArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. UpgradeLavinmqArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. UpgradeLavinmqArgs
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 upgradeLavinmqResource = new CloudAmqp.UpgradeLavinmq("upgradeLavinmqResource", new()
{
    InstanceId = 0,
    NewVersion = "string",
});
Copy
example, err := cloudamqp.NewUpgradeLavinmq(ctx, "upgradeLavinmqResource", &cloudamqp.UpgradeLavinmqArgs{
	InstanceId: pulumi.Int(0),
	NewVersion: pulumi.String("string"),
})
Copy
var upgradeLavinmqResource = new UpgradeLavinmq("upgradeLavinmqResource", UpgradeLavinmqArgs.builder()
    .instanceId(0)
    .newVersion("string")
    .build());
Copy
upgrade_lavinmq_resource = cloudamqp.UpgradeLavinmq("upgradeLavinmqResource",
    instance_id=0,
    new_version="string")
Copy
const upgradeLavinmqResource = new cloudamqp.UpgradeLavinmq("upgradeLavinmqResource", {
    instanceId: 0,
    newVersion: "string",
});
Copy
type: cloudamqp:UpgradeLavinmq
properties:
    instanceId: 0
    newVersion: string
Copy

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

InstanceId This property is required. int
The CloudAMQP instance identifier
NewVersion Changes to this property will trigger replacement. string
The new version to upgrade to
InstanceId This property is required. int
The CloudAMQP instance identifier
NewVersion Changes to this property will trigger replacement. string
The new version to upgrade to
instanceId This property is required. Integer
The CloudAMQP instance identifier
newVersion Changes to this property will trigger replacement. String
The new version to upgrade to
instanceId This property is required. number
The CloudAMQP instance identifier
newVersion Changes to this property will trigger replacement. string
The new version to upgrade to
instance_id This property is required. int
The CloudAMQP instance identifier
new_version Changes to this property will trigger replacement. str
The new version to upgrade to
instanceId This property is required. Number
The CloudAMQP instance identifier
newVersion Changes to this property will trigger replacement. String
The new version to upgrade to

Outputs

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

Get an existing UpgradeLavinmq 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?: UpgradeLavinmqState, opts?: CustomResourceOptions): UpgradeLavinmq
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        instance_id: Optional[int] = None,
        new_version: Optional[str] = None) -> UpgradeLavinmq
func GetUpgradeLavinmq(ctx *Context, name string, id IDInput, state *UpgradeLavinmqState, opts ...ResourceOption) (*UpgradeLavinmq, error)
public static UpgradeLavinmq Get(string name, Input<string> id, UpgradeLavinmqState? state, CustomResourceOptions? opts = null)
public static UpgradeLavinmq get(String name, Output<String> id, UpgradeLavinmqState state, CustomResourceOptions options)
resources:  _:    type: cloudamqp:UpgradeLavinmq    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
InstanceId int
The CloudAMQP instance identifier
NewVersion Changes to this property will trigger replacement. string
The new version to upgrade to
InstanceId int
The CloudAMQP instance identifier
NewVersion Changes to this property will trigger replacement. string
The new version to upgrade to
instanceId Integer
The CloudAMQP instance identifier
newVersion Changes to this property will trigger replacement. String
The new version to upgrade to
instanceId number
The CloudAMQP instance identifier
newVersion Changes to this property will trigger replacement. string
The new version to upgrade to
instance_id int
The CloudAMQP instance identifier
new_version Changes to this property will trigger replacement. str
The new version to upgrade to
instanceId Number
The CloudAMQP instance identifier
newVersion Changes to this property will trigger replacement. String
The new version to upgrade to

Package Details

Repository
CloudAMQP pulumi/pulumi-cloudamqp
License
Apache-2.0
Notes
This Pulumi package is based on the cloudamqp Terraform Provider.