cloudamqp.PluginCommunity
Explore with Pulumi AI
Import
cloudamqp_plugin_community
can be imported if it’s has already been installed by using the name
argument of the resource together with CloudAMQP instance identifier (CSV separated). To retrieve
list of available community plugins, use [CloudAMQP API list community plugins].
From Terraform v1.5.0, the import
block can be used to import this resource:
hcl
import {
to = cloudamqp_plugin_community.rabbitmq_delayed_message_exchange
id = format(“rabbitmq_delayed_message_exchange,%s”, cloudamqp_instance.instance.id)
}
Or use Terraform CLI:
$ pulumi import cloudamqp:index/pluginCommunity:PluginCommunity rabbitmq_delayed_message_exchange <plugin_name>,<instance_id>`
Create PluginCommunity Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PluginCommunity(name: string, args: PluginCommunityArgs, opts?: CustomResourceOptions);
@overload
def PluginCommunity(resource_name: str,
args: PluginCommunityArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PluginCommunity(resource_name: str,
opts: Optional[ResourceOptions] = None,
enabled: Optional[bool] = None,
instance_id: Optional[int] = None,
name: Optional[str] = None,
sleep: Optional[int] = None,
timeout: Optional[int] = None)
func NewPluginCommunity(ctx *Context, name string, args PluginCommunityArgs, opts ...ResourceOption) (*PluginCommunity, error)
public PluginCommunity(string name, PluginCommunityArgs args, CustomResourceOptions? opts = null)
public PluginCommunity(String name, PluginCommunityArgs args)
public PluginCommunity(String name, PluginCommunityArgs args, CustomResourceOptions options)
type: cloudamqp:PluginCommunity
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 PluginCommunityArgs
- 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 PluginCommunityArgs
- 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 PluginCommunityArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PluginCommunityArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PluginCommunityArgs
- 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 pluginCommunityResource = new CloudAmqp.PluginCommunity("pluginCommunityResource", new()
{
Enabled = false,
InstanceId = 0,
Name = "string",
Sleep = 0,
Timeout = 0,
});
example, err := cloudamqp.NewPluginCommunity(ctx, "pluginCommunityResource", &cloudamqp.PluginCommunityArgs{
Enabled: pulumi.Bool(false),
InstanceId: pulumi.Int(0),
Name: pulumi.String("string"),
Sleep: pulumi.Int(0),
Timeout: pulumi.Int(0),
})
var pluginCommunityResource = new PluginCommunity("pluginCommunityResource", PluginCommunityArgs.builder()
.enabled(false)
.instanceId(0)
.name("string")
.sleep(0)
.timeout(0)
.build());
plugin_community_resource = cloudamqp.PluginCommunity("pluginCommunityResource",
enabled=False,
instance_id=0,
name="string",
sleep=0,
timeout=0)
const pluginCommunityResource = new cloudamqp.PluginCommunity("pluginCommunityResource", {
enabled: false,
instanceId: 0,
name: "string",
sleep: 0,
timeout: 0,
});
type: cloudamqp:PluginCommunity
properties:
enabled: false
instanceId: 0
name: string
sleep: 0
timeout: 0
PluginCommunity 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 PluginCommunity resource accepts the following input properties:
- Enabled bool
- Enable or disable the plugins.
- Instance
Id int - The CloudAMQP instance ID.
- Name string
- The name of the Rabbit MQ community plugin.
- Sleep int
Configurable sleep time (seconds) for retries when requesting information about community plugins. Default set to 10 seconds.
Note: Available from [v1.29.0]
- Timeout int
Configurable timeout time (seconds) for retries when requesting information about community plugins. Default set to 1800 seconds.
Note: Available from [v1.29.0]
- Enabled bool
- Enable or disable the plugins.
- Instance
Id int - The CloudAMQP instance ID.
- Name string
- The name of the Rabbit MQ community plugin.
- Sleep int
Configurable sleep time (seconds) for retries when requesting information about community plugins. Default set to 10 seconds.
Note: Available from [v1.29.0]
- Timeout int
Configurable timeout time (seconds) for retries when requesting information about community plugins. Default set to 1800 seconds.
Note: Available from [v1.29.0]
- enabled Boolean
- Enable or disable the plugins.
- instance
Id Integer - The CloudAMQP instance ID.
- name String
- The name of the Rabbit MQ community plugin.
- sleep Integer
Configurable sleep time (seconds) for retries when requesting information about community plugins. Default set to 10 seconds.
Note: Available from [v1.29.0]
- timeout Integer
Configurable timeout time (seconds) for retries when requesting information about community plugins. Default set to 1800 seconds.
Note: Available from [v1.29.0]
- enabled boolean
- Enable or disable the plugins.
- instance
Id number - The CloudAMQP instance ID.
- name string
- The name of the Rabbit MQ community plugin.
- sleep number
Configurable sleep time (seconds) for retries when requesting information about community plugins. Default set to 10 seconds.
Note: Available from [v1.29.0]
- timeout number
Configurable timeout time (seconds) for retries when requesting information about community plugins. Default set to 1800 seconds.
Note: Available from [v1.29.0]
- enabled bool
- Enable or disable the plugins.
- instance_
id int - The CloudAMQP instance ID.
- name str
- The name of the Rabbit MQ community plugin.
- sleep int
Configurable sleep time (seconds) for retries when requesting information about community plugins. Default set to 10 seconds.
Note: Available from [v1.29.0]
- timeout int
Configurable timeout time (seconds) for retries when requesting information about community plugins. Default set to 1800 seconds.
Note: Available from [v1.29.0]
- enabled Boolean
- Enable or disable the plugins.
- instance
Id Number - The CloudAMQP instance ID.
- name String
- The name of the Rabbit MQ community plugin.
- sleep Number
Configurable sleep time (seconds) for retries when requesting information about community plugins. Default set to 10 seconds.
Note: Available from [v1.29.0]
- timeout Number
Configurable timeout time (seconds) for retries when requesting information about community plugins. Default set to 1800 seconds.
Note: Available from [v1.29.0]
Outputs
All input properties are implicitly available as output properties. Additionally, the PluginCommunity resource produces the following output properties:
- Description string
- The description of the plugin.
- Id string
- The provider-assigned unique ID for this managed resource.
- Require string
- Required version of RabbitMQ.
- Description string
- The description of the plugin.
- Id string
- The provider-assigned unique ID for this managed resource.
- Require string
- Required version of RabbitMQ.
- description String
- The description of the plugin.
- id String
- The provider-assigned unique ID for this managed resource.
- require String
- Required version of RabbitMQ.
- description string
- The description of the plugin.
- id string
- The provider-assigned unique ID for this managed resource.
- require string
- Required version of RabbitMQ.
- description str
- The description of the plugin.
- id str
- The provider-assigned unique ID for this managed resource.
- require str
- Required version of RabbitMQ.
- description String
- The description of the plugin.
- id String
- The provider-assigned unique ID for this managed resource.
- require String
- Required version of RabbitMQ.
Look up Existing PluginCommunity Resource
Get an existing PluginCommunity 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?: PluginCommunityState, opts?: CustomResourceOptions): PluginCommunity
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
enabled: Optional[bool] = None,
instance_id: Optional[int] = None,
name: Optional[str] = None,
require: Optional[str] = None,
sleep: Optional[int] = None,
timeout: Optional[int] = None) -> PluginCommunity
func GetPluginCommunity(ctx *Context, name string, id IDInput, state *PluginCommunityState, opts ...ResourceOption) (*PluginCommunity, error)
public static PluginCommunity Get(string name, Input<string> id, PluginCommunityState? state, CustomResourceOptions? opts = null)
public static PluginCommunity get(String name, Output<String> id, PluginCommunityState state, CustomResourceOptions options)
resources: _: type: cloudamqp:PluginCommunity 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.
- Description string
- The description of the plugin.
- Enabled bool
- Enable or disable the plugins.
- Instance
Id int - The CloudAMQP instance ID.
- Name string
- The name of the Rabbit MQ community plugin.
- Require string
- Required version of RabbitMQ.
- Sleep int
Configurable sleep time (seconds) for retries when requesting information about community plugins. Default set to 10 seconds.
Note: Available from [v1.29.0]
- Timeout int
Configurable timeout time (seconds) for retries when requesting information about community plugins. Default set to 1800 seconds.
Note: Available from [v1.29.0]
- Description string
- The description of the plugin.
- Enabled bool
- Enable or disable the plugins.
- Instance
Id int - The CloudAMQP instance ID.
- Name string
- The name of the Rabbit MQ community plugin.
- Require string
- Required version of RabbitMQ.
- Sleep int
Configurable sleep time (seconds) for retries when requesting information about community plugins. Default set to 10 seconds.
Note: Available from [v1.29.0]
- Timeout int
Configurable timeout time (seconds) for retries when requesting information about community plugins. Default set to 1800 seconds.
Note: Available from [v1.29.0]
- description String
- The description of the plugin.
- enabled Boolean
- Enable or disable the plugins.
- instance
Id Integer - The CloudAMQP instance ID.
- name String
- The name of the Rabbit MQ community plugin.
- require String
- Required version of RabbitMQ.
- sleep Integer
Configurable sleep time (seconds) for retries when requesting information about community plugins. Default set to 10 seconds.
Note: Available from [v1.29.0]
- timeout Integer
Configurable timeout time (seconds) for retries when requesting information about community plugins. Default set to 1800 seconds.
Note: Available from [v1.29.0]
- description string
- The description of the plugin.
- enabled boolean
- Enable or disable the plugins.
- instance
Id number - The CloudAMQP instance ID.
- name string
- The name of the Rabbit MQ community plugin.
- require string
- Required version of RabbitMQ.
- sleep number
Configurable sleep time (seconds) for retries when requesting information about community plugins. Default set to 10 seconds.
Note: Available from [v1.29.0]
- timeout number
Configurable timeout time (seconds) for retries when requesting information about community plugins. Default set to 1800 seconds.
Note: Available from [v1.29.0]
- description str
- The description of the plugin.
- enabled bool
- Enable or disable the plugins.
- instance_
id int - The CloudAMQP instance ID.
- name str
- The name of the Rabbit MQ community plugin.
- require str
- Required version of RabbitMQ.
- sleep int
Configurable sleep time (seconds) for retries when requesting information about community plugins. Default set to 10 seconds.
Note: Available from [v1.29.0]
- timeout int
Configurable timeout time (seconds) for retries when requesting information about community plugins. Default set to 1800 seconds.
Note: Available from [v1.29.0]
- description String
- The description of the plugin.
- enabled Boolean
- Enable or disable the plugins.
- instance
Id Number - The CloudAMQP instance ID.
- name String
- The name of the Rabbit MQ community plugin.
- require String
- Required version of RabbitMQ.
- sleep Number
Configurable sleep time (seconds) for retries when requesting information about community plugins. Default set to 10 seconds.
Note: Available from [v1.29.0]
- timeout Number
Configurable timeout time (seconds) for retries when requesting information about community plugins. Default set to 1800 seconds.
Note: Available from [v1.29.0]
Package Details
- Repository
- CloudAMQP pulumi/pulumi-cloudamqp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudamqp
Terraform Provider.