cloudamqp.UpgradeRabbitmq
Explore with Pulumi AI
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:
- Instance
Id int - The CloudAMQP instance identifier
- Current
Version string - Helper argument to change upgrade behaviour to latest possible version
- New
Version string - The new version to upgrade to
- Instance
Id int - The CloudAMQP instance identifier
- Current
Version string - Helper argument to change upgrade behaviour to latest possible version
- New
Version string - The new version to upgrade to
- instance
Id Integer - The CloudAMQP instance identifier
- current
Version String - Helper argument to change upgrade behaviour to latest possible version
- new
Version String - The new version to upgrade to
- instance
Id number - The CloudAMQP instance identifier
- current
Version string - Helper argument to change upgrade behaviour to latest possible version
- new
Version 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
- instance
Id Number - The CloudAMQP instance identifier
- current
Version String - Helper argument to change upgrade behaviour to latest possible version
- new
Version 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.
- Current
Version string - Helper argument to change upgrade behaviour to latest possible version
- Instance
Id int - The CloudAMQP instance identifier
- New
Version string - The new version to upgrade to
- Current
Version string - Helper argument to change upgrade behaviour to latest possible version
- Instance
Id int - The CloudAMQP instance identifier
- New
Version string - The new version to upgrade to
- current
Version String - Helper argument to change upgrade behaviour to latest possible version
- instance
Id Integer - The CloudAMQP instance identifier
- new
Version String - The new version to upgrade to
- current
Version string - Helper argument to change upgrade behaviour to latest possible version
- instance
Id number - The CloudAMQP instance identifier
- new
Version 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
- current
Version String - Helper argument to change upgrade behaviour to latest possible version
- instance
Id Number - The CloudAMQP instance identifier
- new
Version 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.