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

cloudamqp.UpgradeRabbitmq

Explore with Pulumi AI

cloudamqp logo
CloudAMQP v3.21.0 published on Tuesday, Apr 8, 2025 by Pulumi

    Import

    Not possible to import this resource.

    Create UpgradeRabbitmq Resource

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

    Constructor syntax

    new UpgradeRabbitmq(name: string, args: UpgradeRabbitmqArgs, opts?: CustomResourceOptions);
    @overload
    def UpgradeRabbitmq(resource_name: str,
                        args: UpgradeRabbitmqArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def UpgradeRabbitmq(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        instance_id: Optional[int] = None,
                        current_version: Optional[str] = None,
                        new_version: Optional[str] = None)
    func NewUpgradeRabbitmq(ctx *Context, name string, args UpgradeRabbitmqArgs, opts ...ResourceOption) (*UpgradeRabbitmq, error)
    public UpgradeRabbitmq(string name, UpgradeRabbitmqArgs args, CustomResourceOptions? opts = null)
    public UpgradeRabbitmq(String name, UpgradeRabbitmqArgs args)
    public UpgradeRabbitmq(String name, UpgradeRabbitmqArgs args, CustomResourceOptions options)
    
    type: cloudamqp:UpgradeRabbitmq
    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 UpgradeRabbitmqArgs
    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 UpgradeRabbitmqArgs
    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 UpgradeRabbitmqArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args UpgradeRabbitmqArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args UpgradeRabbitmqArgs
    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 upgradeRabbitmqResource = new CloudAmqp.UpgradeRabbitmq("upgradeRabbitmqResource", new()
    {
        InstanceId = 0,
        CurrentVersion = "string",
        NewVersion = "string",
    });
    
    example, err := cloudamqp.NewUpgradeRabbitmq(ctx, "upgradeRabbitmqResource", &cloudamqp.UpgradeRabbitmqArgs{
    	InstanceId:     pulumi.Int(0),
    	CurrentVersion: pulumi.String("string"),
    	NewVersion:     pulumi.String("string"),
    })
    
    var upgradeRabbitmqResource = new UpgradeRabbitmq("upgradeRabbitmqResource", UpgradeRabbitmqArgs.builder()
        .instanceId(0)
        .currentVersion("string")
        .newVersion("string")
        .build());
    
    upgrade_rabbitmq_resource = cloudamqp.UpgradeRabbitmq("upgradeRabbitmqResource",
        instance_id=0,
        current_version="string",
        new_version="string")
    
    const upgradeRabbitmqResource = new cloudamqp.UpgradeRabbitmq("upgradeRabbitmqResource", {
        instanceId: 0,
        currentVersion: "string",
        newVersion: "string",
    });
    
    type: cloudamqp:UpgradeRabbitmq
    properties:
        currentVersion: string
        instanceId: 0
        newVersion: string
    

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

    InstanceId int
    The CloudAMQP instance identifier
    CurrentVersion string
    Helper argument to change upgrade behaviour to latest possible version
    NewVersion string
    The new version to upgrade to
    InstanceId int
    The CloudAMQP instance identifier
    CurrentVersion string
    Helper argument to change upgrade behaviour to latest possible version
    NewVersion string
    The new version to upgrade to
    instanceId Integer
    The CloudAMQP instance identifier
    currentVersion String
    Helper argument to change upgrade behaviour to latest possible version
    newVersion String
    The new version to upgrade to
    instanceId number
    The CloudAMQP instance identifier
    currentVersion string
    Helper argument to change upgrade behaviour to latest possible version
    newVersion string
    The new version to upgrade to
    instance_id int
    The CloudAMQP instance identifier
    current_version str
    Helper argument to change upgrade behaviour to latest possible version
    new_version str
    The new version to upgrade to
    instanceId Number
    The CloudAMQP instance identifier
    currentVersion String
    Helper argument to change upgrade behaviour to latest possible version
    newVersion String
    The new version to upgrade to

    Outputs

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

    Get an existing UpgradeRabbitmq 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?: UpgradeRabbitmqState, opts?: CustomResourceOptions): UpgradeRabbitmq
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            current_version: Optional[str] = None,
            instance_id: Optional[int] = None,
            new_version: Optional[str] = None) -> UpgradeRabbitmq
    func GetUpgradeRabbitmq(ctx *Context, name string, id IDInput, state *UpgradeRabbitmqState, opts ...ResourceOption) (*UpgradeRabbitmq, error)
    public static UpgradeRabbitmq Get(string name, Input<string> id, UpgradeRabbitmqState? state, CustomResourceOptions? opts = null)
    public static UpgradeRabbitmq get(String name, Output<String> id, UpgradeRabbitmqState state, CustomResourceOptions options)
    resources:  _:    type: cloudamqp:UpgradeRabbitmq    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.
    The following state arguments are supported:
    CurrentVersion string
    Helper argument to change upgrade behaviour to latest possible version
    InstanceId int
    The CloudAMQP instance identifier
    NewVersion string
    The new version to upgrade to
    CurrentVersion string
    Helper argument to change upgrade behaviour to latest possible version
    InstanceId int
    The CloudAMQP instance identifier
    NewVersion string
    The new version to upgrade to
    currentVersion String
    Helper argument to change upgrade behaviour to latest possible version
    instanceId Integer
    The CloudAMQP instance identifier
    newVersion String
    The new version to upgrade to
    currentVersion string
    Helper argument to change upgrade behaviour to latest possible version
    instanceId number
    The CloudAMQP instance identifier
    newVersion string
    The new version to upgrade to
    current_version str
    Helper argument to change upgrade behaviour to latest possible version
    instance_id int
    The CloudAMQP instance identifier
    new_version str
    The new version to upgrade to
    currentVersion String
    Helper argument to change upgrade behaviour to latest possible version
    instanceId Number
    The CloudAMQP instance identifier
    newVersion 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.
    cloudamqp logo
    CloudAMQP v3.21.0 published on Tuesday, Apr 8, 2025 by Pulumi