Instance
Create a Instance Resource
new Instance(name: string, args: InstanceArgs, opts?: CustomResourceOptions);def Instance(resource_name, opts=None, name=None, nodes=None, plan=None, region=None, rmq_version=None, tags=None, vpc_subnet=None, __props__=None);func NewInstance(ctx *Context, name string, args InstanceArgs, opts ...ResourceOption) (*Instance, error)public Instance(string name, InstanceArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args InstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args InstanceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args InstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
Instance Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The Instance resource accepts the following input properties:
- Plan string
Name of the plan, valid options are: lemur, tiger, bunny, rabbit, panda, ape, hippo, lion
- Region string
Name of the region you want to create your instance in
- Name string
Name of the instance
- Nodes int
Number of nodes in cluster (plan must support it)
- Rmq
Version string RabbitMQ version
- List<string>
Tag the instances with optional tags
- Vpc
Subnet string Dedicated VPC subnet, shouldn’t overlap with your current VPC’s subnet
- Plan string
Name of the plan, valid options are: lemur, tiger, bunny, rabbit, panda, ape, hippo, lion
- Region string
Name of the region you want to create your instance in
- Name string
Name of the instance
- Nodes int
Number of nodes in cluster (plan must support it)
- Rmq
Version string RabbitMQ version
- []string
Tag the instances with optional tags
- Vpc
Subnet string Dedicated VPC subnet, shouldn’t overlap with your current VPC’s subnet
- plan string
Name of the plan, valid options are: lemur, tiger, bunny, rabbit, panda, ape, hippo, lion
- region string
Name of the region you want to create your instance in
- name string
Name of the instance
- nodes number
Number of nodes in cluster (plan must support it)
- rmq
Version string RabbitMQ version
- string[]
Tag the instances with optional tags
- vpc
Subnet string Dedicated VPC subnet, shouldn’t overlap with your current VPC’s subnet
- plan str
Name of the plan, valid options are: lemur, tiger, bunny, rabbit, panda, ape, hippo, lion
- region str
Name of the region you want to create your instance in
- name str
Name of the instance
- nodes float
Number of nodes in cluster (plan must support it)
- rmq_
version str RabbitMQ version
- List[str]
Tag the instances with optional tags
- vpc_
subnet str Dedicated VPC subnet, shouldn’t overlap with your current VPC’s subnet
Outputs
All input properties are implicitly available as output properties. Additionally, the Instance resource produces the following output properties:
Look up an Existing Instance Resource
Get an existing Instance 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?: InstanceState, opts?: CustomResourceOptions): Instancestatic get(resource_name, id, opts=None, apikey=None, host=None, name=None, nodes=None, plan=None, ready=None, region=None, rmq_version=None, tags=None, url=None, vhost=None, vpc_subnet=None, __props__=None);func GetInstance(ctx *Context, name string, id IDInput, state *InstanceState, opts ...ResourceOption) (*Instance, error)public static Instance Get(string name, Input<string> id, InstanceState? state, CustomResourceOptions? opts = null)- 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.
The following state arguments are supported:
- Apikey string
API key for the CloudAMQP instance
- Host string
Host name for the CloudAMQP instance
- Name string
Name of the instance
- Nodes int
Number of nodes in cluster (plan must support it)
- Plan string
Name of the plan, valid options are: lemur, tiger, bunny, rabbit, panda, ape, hippo, lion
- Ready bool
Flag describing if the resource is ready
- Region string
Name of the region you want to create your instance in
- Rmq
Version string RabbitMQ version
- List<string>
Tag the instances with optional tags
- Url string
URL of the CloudAMQP instance
- Vhost string
The virtual host
- Vpc
Subnet string Dedicated VPC subnet, shouldn’t overlap with your current VPC’s subnet
- Apikey string
API key for the CloudAMQP instance
- Host string
Host name for the CloudAMQP instance
- Name string
Name of the instance
- Nodes int
Number of nodes in cluster (plan must support it)
- Plan string
Name of the plan, valid options are: lemur, tiger, bunny, rabbit, panda, ape, hippo, lion
- Ready bool
Flag describing if the resource is ready
- Region string
Name of the region you want to create your instance in
- Rmq
Version string RabbitMQ version
- []string
Tag the instances with optional tags
- Url string
URL of the CloudAMQP instance
- Vhost string
The virtual host
- Vpc
Subnet string Dedicated VPC subnet, shouldn’t overlap with your current VPC’s subnet
- apikey string
API key for the CloudAMQP instance
- host string
Host name for the CloudAMQP instance
- name string
Name of the instance
- nodes number
Number of nodes in cluster (plan must support it)
- plan string
Name of the plan, valid options are: lemur, tiger, bunny, rabbit, panda, ape, hippo, lion
- ready boolean
Flag describing if the resource is ready
- region string
Name of the region you want to create your instance in
- rmq
Version string RabbitMQ version
- string[]
Tag the instances with optional tags
- url string
URL of the CloudAMQP instance
- vhost string
The virtual host
- vpc
Subnet string Dedicated VPC subnet, shouldn’t overlap with your current VPC’s subnet
- apikey str
API key for the CloudAMQP instance
- host str
Host name for the CloudAMQP instance
- name str
Name of the instance
- nodes float
Number of nodes in cluster (plan must support it)
- plan str
Name of the plan, valid options are: lemur, tiger, bunny, rabbit, panda, ape, hippo, lion
- ready bool
Flag describing if the resource is ready
- region str
Name of the region you want to create your instance in
- rmq_
version str RabbitMQ version
- List[str]
Tag the instances with optional tags
- url str
URL of the CloudAMQP instance
- vhost str
The virtual host
- vpc_
subnet str Dedicated VPC subnet, shouldn’t overlap with your current VPC’s subnet
Package Details
- Repository
- https://github.com/pulumi/pulumi-cloudamqp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudamqpTerraform Provider.