cloudamqp.PluginCommunity
Explore with Pulumi AI
Import
cloudamqp_plugin
can be imported using the name argument of the resource together with CloudAMQP
instance identifier. The name and identifier are CSV separated, see example below.
$ pulumi import cloudamqp:index/pluginCommunity:PluginCommunity <resource_name> <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
The PluginCommunity resource accepts the following input properties:
- Enabled bool
- If the plugin is enabled
- Instance
Id int - Instance identifier
- Name string
- The name of the plugin
- Sleep int
- Configurable sleep time in seconds between retries for plugins
- Timeout int
- Configurable timeout time in seconds for plugins
- Enabled bool
- If the plugin is enabled
- Instance
Id int - Instance identifier
- Name string
- The name of the plugin
- Sleep int
- Configurable sleep time in seconds between retries for plugins
- Timeout int
- Configurable timeout time in seconds for plugins
- enabled Boolean
- If the plugin is enabled
- instance
Id Integer - Instance identifier
- name String
- The name of the plugin
- sleep Integer
- Configurable sleep time in seconds between retries for plugins
- timeout Integer
- Configurable timeout time in seconds for plugins
- enabled boolean
- If the plugin is enabled
- instance
Id number - Instance identifier
- name string
- The name of the plugin
- sleep number
- Configurable sleep time in seconds between retries for plugins
- timeout number
- Configurable timeout time in seconds for plugins
- enabled bool
- If the plugin is enabled
- instance_
id int - Instance identifier
- name str
- The name of the plugin
- sleep int
- Configurable sleep time in seconds between retries for plugins
- timeout int
- Configurable timeout time in seconds for plugins
- enabled Boolean
- If the plugin is enabled
- instance
Id Number - Instance identifier
- name String
- The name of the plugin
- sleep Number
- Configurable sleep time in seconds between retries for plugins
- timeout Number
- Configurable timeout time in seconds for plugins
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)
Resource lookup is not supported in YAML
- 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
- If the plugin is enabled
- Instance
Id int - Instance identifier
- Name string
- The name of the plugin
- Require string
- Required version of RabbitMQ.
- Sleep int
- Configurable sleep time in seconds between retries for plugins
- Timeout int
- Configurable timeout time in seconds for plugins
- Description string
- The description of the plugin.
- Enabled bool
- If the plugin is enabled
- Instance
Id int - Instance identifier
- Name string
- The name of the plugin
- Require string
- Required version of RabbitMQ.
- Sleep int
- Configurable sleep time in seconds between retries for plugins
- Timeout int
- Configurable timeout time in seconds for plugins
- description String
- The description of the plugin.
- enabled Boolean
- If the plugin is enabled
- instance
Id Integer - Instance identifier
- name String
- The name of the plugin
- require String
- Required version of RabbitMQ.
- sleep Integer
- Configurable sleep time in seconds between retries for plugins
- timeout Integer
- Configurable timeout time in seconds for plugins
- description string
- The description of the plugin.
- enabled boolean
- If the plugin is enabled
- instance
Id number - Instance identifier
- name string
- The name of the plugin
- require string
- Required version of RabbitMQ.
- sleep number
- Configurable sleep time in seconds between retries for plugins
- timeout number
- Configurable timeout time in seconds for plugins
- description str
- The description of the plugin.
- enabled bool
- If the plugin is enabled
- instance_
id int - Instance identifier
- name str
- The name of the plugin
- require str
- Required version of RabbitMQ.
- sleep int
- Configurable sleep time in seconds between retries for plugins
- timeout int
- Configurable timeout time in seconds for plugins
- description String
- The description of the plugin.
- enabled Boolean
- If the plugin is enabled
- instance
Id Number - Instance identifier
- name String
- The name of the plugin
- require String
- Required version of RabbitMQ.
- sleep Number
- Configurable sleep time in seconds between retries for plugins
- timeout Number
- Configurable timeout time in seconds for plugins
Package Details
- Repository
- CloudAMQP pulumi/pulumi-cloudamqp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudamqp
Terraform Provider.