Documentation ¶
Overview ¶
A Pulumi package for creating and managing CloudAMQP resources.
Index ¶
- func PkgVersion() (semver.Version, error)
- type Alarm
- type AlarmArgs
- type AlarmArray
- type AlarmArrayInput
- type AlarmArrayOutput
- type AlarmInput
- type AlarmMap
- type AlarmMapInput
- type AlarmMapOutput
- type AlarmOutput
- func (AlarmOutput) ElementType() reflect.Type
- func (o AlarmOutput) ToAlarmOutput() AlarmOutput
- func (o AlarmOutput) ToAlarmOutputWithContext(ctx context.Context) AlarmOutput
- func (o AlarmOutput) ToAlarmPtrOutput() AlarmPtrOutput
- func (o AlarmOutput) ToAlarmPtrOutputWithContext(ctx context.Context) AlarmPtrOutput
- type AlarmPtrInput
- type AlarmPtrOutput
- type AlarmState
- type GetCredentialsArgs
- type GetCredentialsResult
- type GetNodesArgs
- type GetNodesNode
- type GetNodesNodeArgs
- type GetNodesNodeArray
- type GetNodesNodeArrayInput
- type GetNodesNodeArrayOutput
- func (GetNodesNodeArrayOutput) ElementType() reflect.Type
- func (o GetNodesNodeArrayOutput) Index(i pulumi.IntInput) GetNodesNodeOutput
- func (o GetNodesNodeArrayOutput) ToGetNodesNodeArrayOutput() GetNodesNodeArrayOutput
- func (o GetNodesNodeArrayOutput) ToGetNodesNodeArrayOutputWithContext(ctx context.Context) GetNodesNodeArrayOutput
- type GetNodesNodeInput
- type GetNodesNodeOutput
- func (GetNodesNodeOutput) ElementType() reflect.Type
- func (o GetNodesNodeOutput) ErlangVersion() pulumi.StringOutput
- func (o GetNodesNodeOutput) Hipe() pulumi.BoolOutput
- func (o GetNodesNodeOutput) Hostname() pulumi.StringOutput
- func (o GetNodesNodeOutput) Name() pulumi.StringOutput
- func (o GetNodesNodeOutput) RabbitmqVersion() pulumi.StringOutput
- func (o GetNodesNodeOutput) Running() pulumi.BoolOutput
- func (o GetNodesNodeOutput) ToGetNodesNodeOutput() GetNodesNodeOutput
- func (o GetNodesNodeOutput) ToGetNodesNodeOutputWithContext(ctx context.Context) GetNodesNodeOutput
- type GetNodesResult
- type GetPluginsArgs
- type GetPluginsCommunityArgs
- type GetPluginsCommunityPlugin
- type GetPluginsCommunityPluginArgs
- func (GetPluginsCommunityPluginArgs) ElementType() reflect.Type
- func (i GetPluginsCommunityPluginArgs) ToGetPluginsCommunityPluginOutput() GetPluginsCommunityPluginOutput
- func (i GetPluginsCommunityPluginArgs) ToGetPluginsCommunityPluginOutputWithContext(ctx context.Context) GetPluginsCommunityPluginOutput
- type GetPluginsCommunityPluginArray
- func (GetPluginsCommunityPluginArray) ElementType() reflect.Type
- func (i GetPluginsCommunityPluginArray) ToGetPluginsCommunityPluginArrayOutput() GetPluginsCommunityPluginArrayOutput
- func (i GetPluginsCommunityPluginArray) ToGetPluginsCommunityPluginArrayOutputWithContext(ctx context.Context) GetPluginsCommunityPluginArrayOutput
- type GetPluginsCommunityPluginArrayInput
- type GetPluginsCommunityPluginArrayOutput
- func (GetPluginsCommunityPluginArrayOutput) ElementType() reflect.Type
- func (o GetPluginsCommunityPluginArrayOutput) Index(i pulumi.IntInput) GetPluginsCommunityPluginOutput
- func (o GetPluginsCommunityPluginArrayOutput) ToGetPluginsCommunityPluginArrayOutput() GetPluginsCommunityPluginArrayOutput
- func (o GetPluginsCommunityPluginArrayOutput) ToGetPluginsCommunityPluginArrayOutputWithContext(ctx context.Context) GetPluginsCommunityPluginArrayOutput
- type GetPluginsCommunityPluginInput
- type GetPluginsCommunityPluginOutput
- func (o GetPluginsCommunityPluginOutput) Description() pulumi.StringPtrOutput
- func (GetPluginsCommunityPluginOutput) ElementType() reflect.Type
- func (o GetPluginsCommunityPluginOutput) Name() pulumi.StringPtrOutput
- func (o GetPluginsCommunityPluginOutput) Require() pulumi.StringPtrOutput
- func (o GetPluginsCommunityPluginOutput) ToGetPluginsCommunityPluginOutput() GetPluginsCommunityPluginOutput
- func (o GetPluginsCommunityPluginOutput) ToGetPluginsCommunityPluginOutputWithContext(ctx context.Context) GetPluginsCommunityPluginOutput
- type GetPluginsCommunityResult
- type GetPluginsPlugin
- type GetPluginsPluginArgs
- type GetPluginsPluginArray
- type GetPluginsPluginArrayInput
- type GetPluginsPluginArrayOutput
- func (GetPluginsPluginArrayOutput) ElementType() reflect.Type
- func (o GetPluginsPluginArrayOutput) Index(i pulumi.IntInput) GetPluginsPluginOutput
- func (o GetPluginsPluginArrayOutput) ToGetPluginsPluginArrayOutput() GetPluginsPluginArrayOutput
- func (o GetPluginsPluginArrayOutput) ToGetPluginsPluginArrayOutputWithContext(ctx context.Context) GetPluginsPluginArrayOutput
- type GetPluginsPluginInput
- type GetPluginsPluginOutput
- func (o GetPluginsPluginOutput) Description() pulumi.StringPtrOutput
- func (GetPluginsPluginOutput) ElementType() reflect.Type
- func (o GetPluginsPluginOutput) Enabled() pulumi.BoolPtrOutput
- func (o GetPluginsPluginOutput) Name() pulumi.StringPtrOutput
- func (o GetPluginsPluginOutput) ToGetPluginsPluginOutput() GetPluginsPluginOutput
- func (o GetPluginsPluginOutput) ToGetPluginsPluginOutputWithContext(ctx context.Context) GetPluginsPluginOutput
- func (o GetPluginsPluginOutput) Version() pulumi.StringPtrOutput
- type GetPluginsResult
- type GetVpcInfoArgs
- type GetVpcInfoResult
- type Instance
- func (*Instance) ElementType() reflect.Type
- func (i *Instance) ToInstanceOutput() InstanceOutput
- func (i *Instance) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
- func (i *Instance) ToInstancePtrOutput() InstancePtrOutput
- func (i *Instance) ToInstancePtrOutputWithContext(ctx context.Context) InstancePtrOutput
- type InstanceArgs
- type InstanceArray
- type InstanceArrayInput
- type InstanceArrayOutput
- type InstanceInput
- type InstanceMap
- type InstanceMapInput
- type InstanceMapOutput
- type InstanceOutput
- func (InstanceOutput) ElementType() reflect.Type
- func (o InstanceOutput) ToInstanceOutput() InstanceOutput
- func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
- func (o InstanceOutput) ToInstancePtrOutput() InstancePtrOutput
- func (o InstanceOutput) ToInstancePtrOutputWithContext(ctx context.Context) InstancePtrOutput
- type InstancePtrInput
- type InstancePtrOutput
- type InstanceState
- type IntegrationLog
- func (*IntegrationLog) ElementType() reflect.Type
- func (i *IntegrationLog) ToIntegrationLogOutput() IntegrationLogOutput
- func (i *IntegrationLog) ToIntegrationLogOutputWithContext(ctx context.Context) IntegrationLogOutput
- func (i *IntegrationLog) ToIntegrationLogPtrOutput() IntegrationLogPtrOutput
- func (i *IntegrationLog) ToIntegrationLogPtrOutputWithContext(ctx context.Context) IntegrationLogPtrOutput
- type IntegrationLogArgs
- type IntegrationLogArray
- type IntegrationLogArrayInput
- type IntegrationLogArrayOutput
- func (IntegrationLogArrayOutput) ElementType() reflect.Type
- func (o IntegrationLogArrayOutput) Index(i pulumi.IntInput) IntegrationLogOutput
- func (o IntegrationLogArrayOutput) ToIntegrationLogArrayOutput() IntegrationLogArrayOutput
- func (o IntegrationLogArrayOutput) ToIntegrationLogArrayOutputWithContext(ctx context.Context) IntegrationLogArrayOutput
- type IntegrationLogInput
- type IntegrationLogMap
- type IntegrationLogMapInput
- type IntegrationLogMapOutput
- func (IntegrationLogMapOutput) ElementType() reflect.Type
- func (o IntegrationLogMapOutput) MapIndex(k pulumi.StringInput) IntegrationLogOutput
- func (o IntegrationLogMapOutput) ToIntegrationLogMapOutput() IntegrationLogMapOutput
- func (o IntegrationLogMapOutput) ToIntegrationLogMapOutputWithContext(ctx context.Context) IntegrationLogMapOutput
- type IntegrationLogOutput
- func (IntegrationLogOutput) ElementType() reflect.Type
- func (o IntegrationLogOutput) ToIntegrationLogOutput() IntegrationLogOutput
- func (o IntegrationLogOutput) ToIntegrationLogOutputWithContext(ctx context.Context) IntegrationLogOutput
- func (o IntegrationLogOutput) ToIntegrationLogPtrOutput() IntegrationLogPtrOutput
- func (o IntegrationLogOutput) ToIntegrationLogPtrOutputWithContext(ctx context.Context) IntegrationLogPtrOutput
- type IntegrationLogPtrInput
- type IntegrationLogPtrOutput
- type IntegrationLogState
- type IntegrationMetric
- func (*IntegrationMetric) ElementType() reflect.Type
- func (i *IntegrationMetric) ToIntegrationMetricOutput() IntegrationMetricOutput
- func (i *IntegrationMetric) ToIntegrationMetricOutputWithContext(ctx context.Context) IntegrationMetricOutput
- func (i *IntegrationMetric) ToIntegrationMetricPtrOutput() IntegrationMetricPtrOutput
- func (i *IntegrationMetric) ToIntegrationMetricPtrOutputWithContext(ctx context.Context) IntegrationMetricPtrOutput
- type IntegrationMetricArgs
- type IntegrationMetricArray
- type IntegrationMetricArrayInput
- type IntegrationMetricArrayOutput
- func (IntegrationMetricArrayOutput) ElementType() reflect.Type
- func (o IntegrationMetricArrayOutput) Index(i pulumi.IntInput) IntegrationMetricOutput
- func (o IntegrationMetricArrayOutput) ToIntegrationMetricArrayOutput() IntegrationMetricArrayOutput
- func (o IntegrationMetricArrayOutput) ToIntegrationMetricArrayOutputWithContext(ctx context.Context) IntegrationMetricArrayOutput
- type IntegrationMetricInput
- type IntegrationMetricMap
- type IntegrationMetricMapInput
- type IntegrationMetricMapOutput
- func (IntegrationMetricMapOutput) ElementType() reflect.Type
- func (o IntegrationMetricMapOutput) MapIndex(k pulumi.StringInput) IntegrationMetricOutput
- func (o IntegrationMetricMapOutput) ToIntegrationMetricMapOutput() IntegrationMetricMapOutput
- func (o IntegrationMetricMapOutput) ToIntegrationMetricMapOutputWithContext(ctx context.Context) IntegrationMetricMapOutput
- type IntegrationMetricOutput
- func (IntegrationMetricOutput) ElementType() reflect.Type
- func (o IntegrationMetricOutput) ToIntegrationMetricOutput() IntegrationMetricOutput
- func (o IntegrationMetricOutput) ToIntegrationMetricOutputWithContext(ctx context.Context) IntegrationMetricOutput
- func (o IntegrationMetricOutput) ToIntegrationMetricPtrOutput() IntegrationMetricPtrOutput
- func (o IntegrationMetricOutput) ToIntegrationMetricPtrOutputWithContext(ctx context.Context) IntegrationMetricPtrOutput
- type IntegrationMetricPtrInput
- type IntegrationMetricPtrOutput
- type IntegrationMetricState
- type LookupAlarmArgs
- type LookupAlarmResult
- type LookupInstanceArgs
- type LookupInstanceResult
- type LookupNotificationArgs
- type LookupNotificationResult
- type Notification
- func (*Notification) ElementType() reflect.Type
- func (i *Notification) ToNotificationOutput() NotificationOutput
- func (i *Notification) ToNotificationOutputWithContext(ctx context.Context) NotificationOutput
- func (i *Notification) ToNotificationPtrOutput() NotificationPtrOutput
- func (i *Notification) ToNotificationPtrOutputWithContext(ctx context.Context) NotificationPtrOutput
- type NotificationArgs
- type NotificationArray
- type NotificationArrayInput
- type NotificationArrayOutput
- func (NotificationArrayOutput) ElementType() reflect.Type
- func (o NotificationArrayOutput) Index(i pulumi.IntInput) NotificationOutput
- func (o NotificationArrayOutput) ToNotificationArrayOutput() NotificationArrayOutput
- func (o NotificationArrayOutput) ToNotificationArrayOutputWithContext(ctx context.Context) NotificationArrayOutput
- type NotificationInput
- type NotificationMap
- type NotificationMapInput
- type NotificationMapOutput
- func (NotificationMapOutput) ElementType() reflect.Type
- func (o NotificationMapOutput) MapIndex(k pulumi.StringInput) NotificationOutput
- func (o NotificationMapOutput) ToNotificationMapOutput() NotificationMapOutput
- func (o NotificationMapOutput) ToNotificationMapOutputWithContext(ctx context.Context) NotificationMapOutput
- type NotificationOutput
- func (NotificationOutput) ElementType() reflect.Type
- func (o NotificationOutput) ToNotificationOutput() NotificationOutput
- func (o NotificationOutput) ToNotificationOutputWithContext(ctx context.Context) NotificationOutput
- func (o NotificationOutput) ToNotificationPtrOutput() NotificationPtrOutput
- func (o NotificationOutput) ToNotificationPtrOutputWithContext(ctx context.Context) NotificationPtrOutput
- type NotificationPtrInput
- type NotificationPtrOutput
- type NotificationState
- type Plugin
- func (*Plugin) ElementType() reflect.Type
- func (i *Plugin) ToPluginOutput() PluginOutput
- func (i *Plugin) ToPluginOutputWithContext(ctx context.Context) PluginOutput
- func (i *Plugin) ToPluginPtrOutput() PluginPtrOutput
- func (i *Plugin) ToPluginPtrOutputWithContext(ctx context.Context) PluginPtrOutput
- type PluginArgs
- type PluginArray
- type PluginArrayInput
- type PluginArrayOutput
- type PluginCommunity
- func (*PluginCommunity) ElementType() reflect.Type
- func (i *PluginCommunity) ToPluginCommunityOutput() PluginCommunityOutput
- func (i *PluginCommunity) ToPluginCommunityOutputWithContext(ctx context.Context) PluginCommunityOutput
- func (i *PluginCommunity) ToPluginCommunityPtrOutput() PluginCommunityPtrOutput
- func (i *PluginCommunity) ToPluginCommunityPtrOutputWithContext(ctx context.Context) PluginCommunityPtrOutput
- type PluginCommunityArgs
- type PluginCommunityArray
- type PluginCommunityArrayInput
- type PluginCommunityArrayOutput
- func (PluginCommunityArrayOutput) ElementType() reflect.Type
- func (o PluginCommunityArrayOutput) Index(i pulumi.IntInput) PluginCommunityOutput
- func (o PluginCommunityArrayOutput) ToPluginCommunityArrayOutput() PluginCommunityArrayOutput
- func (o PluginCommunityArrayOutput) ToPluginCommunityArrayOutputWithContext(ctx context.Context) PluginCommunityArrayOutput
- type PluginCommunityInput
- type PluginCommunityMap
- type PluginCommunityMapInput
- type PluginCommunityMapOutput
- func (PluginCommunityMapOutput) ElementType() reflect.Type
- func (o PluginCommunityMapOutput) MapIndex(k pulumi.StringInput) PluginCommunityOutput
- func (o PluginCommunityMapOutput) ToPluginCommunityMapOutput() PluginCommunityMapOutput
- func (o PluginCommunityMapOutput) ToPluginCommunityMapOutputWithContext(ctx context.Context) PluginCommunityMapOutput
- type PluginCommunityOutput
- func (PluginCommunityOutput) ElementType() reflect.Type
- func (o PluginCommunityOutput) ToPluginCommunityOutput() PluginCommunityOutput
- func (o PluginCommunityOutput) ToPluginCommunityOutputWithContext(ctx context.Context) PluginCommunityOutput
- func (o PluginCommunityOutput) ToPluginCommunityPtrOutput() PluginCommunityPtrOutput
- func (o PluginCommunityOutput) ToPluginCommunityPtrOutputWithContext(ctx context.Context) PluginCommunityPtrOutput
- type PluginCommunityPtrInput
- type PluginCommunityPtrOutput
- type PluginCommunityState
- type PluginInput
- type PluginMap
- type PluginMapInput
- type PluginMapOutput
- type PluginOutput
- func (PluginOutput) ElementType() reflect.Type
- func (o PluginOutput) ToPluginOutput() PluginOutput
- func (o PluginOutput) ToPluginOutputWithContext(ctx context.Context) PluginOutput
- func (o PluginOutput) ToPluginPtrOutput() PluginPtrOutput
- func (o PluginOutput) ToPluginPtrOutputWithContext(ctx context.Context) PluginPtrOutput
- type PluginPtrInput
- type PluginPtrOutput
- type PluginState
- type Provider
- func (*Provider) ElementType() reflect.Type
- func (i *Provider) ToProviderOutput() ProviderOutput
- func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
- func (i *Provider) ToProviderPtrOutput() ProviderPtrOutput
- func (i *Provider) ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput
- type ProviderArgs
- type ProviderInput
- type ProviderOutput
- func (ProviderOutput) ElementType() reflect.Type
- func (o ProviderOutput) ToProviderOutput() ProviderOutput
- func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
- func (o ProviderOutput) ToProviderPtrOutput() ProviderPtrOutput
- func (o ProviderOutput) ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput
- type ProviderPtrInput
- type ProviderPtrOutput
- type SecurityFirewall
- func (*SecurityFirewall) ElementType() reflect.Type
- func (i *SecurityFirewall) ToSecurityFirewallOutput() SecurityFirewallOutput
- func (i *SecurityFirewall) ToSecurityFirewallOutputWithContext(ctx context.Context) SecurityFirewallOutput
- func (i *SecurityFirewall) ToSecurityFirewallPtrOutput() SecurityFirewallPtrOutput
- func (i *SecurityFirewall) ToSecurityFirewallPtrOutputWithContext(ctx context.Context) SecurityFirewallPtrOutput
- type SecurityFirewallArgs
- type SecurityFirewallArray
- type SecurityFirewallArrayInput
- type SecurityFirewallArrayOutput
- func (SecurityFirewallArrayOutput) ElementType() reflect.Type
- func (o SecurityFirewallArrayOutput) Index(i pulumi.IntInput) SecurityFirewallOutput
- func (o SecurityFirewallArrayOutput) ToSecurityFirewallArrayOutput() SecurityFirewallArrayOutput
- func (o SecurityFirewallArrayOutput) ToSecurityFirewallArrayOutputWithContext(ctx context.Context) SecurityFirewallArrayOutput
- type SecurityFirewallInput
- type SecurityFirewallMap
- type SecurityFirewallMapInput
- type SecurityFirewallMapOutput
- func (SecurityFirewallMapOutput) ElementType() reflect.Type
- func (o SecurityFirewallMapOutput) MapIndex(k pulumi.StringInput) SecurityFirewallOutput
- func (o SecurityFirewallMapOutput) ToSecurityFirewallMapOutput() SecurityFirewallMapOutput
- func (o SecurityFirewallMapOutput) ToSecurityFirewallMapOutputWithContext(ctx context.Context) SecurityFirewallMapOutput
- type SecurityFirewallOutput
- func (SecurityFirewallOutput) ElementType() reflect.Type
- func (o SecurityFirewallOutput) ToSecurityFirewallOutput() SecurityFirewallOutput
- func (o SecurityFirewallOutput) ToSecurityFirewallOutputWithContext(ctx context.Context) SecurityFirewallOutput
- func (o SecurityFirewallOutput) ToSecurityFirewallPtrOutput() SecurityFirewallPtrOutput
- func (o SecurityFirewallOutput) ToSecurityFirewallPtrOutputWithContext(ctx context.Context) SecurityFirewallPtrOutput
- type SecurityFirewallPtrInput
- type SecurityFirewallPtrOutput
- type SecurityFirewallRule
- type SecurityFirewallRuleArgs
- type SecurityFirewallRuleArray
- type SecurityFirewallRuleArrayInput
- type SecurityFirewallRuleArrayOutput
- func (SecurityFirewallRuleArrayOutput) ElementType() reflect.Type
- func (o SecurityFirewallRuleArrayOutput) Index(i pulumi.IntInput) SecurityFirewallRuleOutput
- func (o SecurityFirewallRuleArrayOutput) ToSecurityFirewallRuleArrayOutput() SecurityFirewallRuleArrayOutput
- func (o SecurityFirewallRuleArrayOutput) ToSecurityFirewallRuleArrayOutputWithContext(ctx context.Context) SecurityFirewallRuleArrayOutput
- type SecurityFirewallRuleInput
- type SecurityFirewallRuleOutput
- func (o SecurityFirewallRuleOutput) Description() pulumi.StringPtrOutput
- func (SecurityFirewallRuleOutput) ElementType() reflect.Type
- func (o SecurityFirewallRuleOutput) Ip() pulumi.StringOutput
- func (o SecurityFirewallRuleOutput) Ports() pulumi.IntArrayOutput
- func (o SecurityFirewallRuleOutput) Services() pulumi.StringArrayOutput
- func (o SecurityFirewallRuleOutput) ToSecurityFirewallRuleOutput() SecurityFirewallRuleOutput
- func (o SecurityFirewallRuleOutput) ToSecurityFirewallRuleOutputWithContext(ctx context.Context) SecurityFirewallRuleOutput
- type SecurityFirewallState
- type VpcPeering
- func (*VpcPeering) ElementType() reflect.Type
- func (i *VpcPeering) ToVpcPeeringOutput() VpcPeeringOutput
- func (i *VpcPeering) ToVpcPeeringOutputWithContext(ctx context.Context) VpcPeeringOutput
- func (i *VpcPeering) ToVpcPeeringPtrOutput() VpcPeeringPtrOutput
- func (i *VpcPeering) ToVpcPeeringPtrOutputWithContext(ctx context.Context) VpcPeeringPtrOutput
- type VpcPeeringArgs
- type VpcPeeringArray
- type VpcPeeringArrayInput
- type VpcPeeringArrayOutput
- func (VpcPeeringArrayOutput) ElementType() reflect.Type
- func (o VpcPeeringArrayOutput) Index(i pulumi.IntInput) VpcPeeringOutput
- func (o VpcPeeringArrayOutput) ToVpcPeeringArrayOutput() VpcPeeringArrayOutput
- func (o VpcPeeringArrayOutput) ToVpcPeeringArrayOutputWithContext(ctx context.Context) VpcPeeringArrayOutput
- type VpcPeeringInput
- type VpcPeeringMap
- type VpcPeeringMapInput
- type VpcPeeringMapOutput
- func (VpcPeeringMapOutput) ElementType() reflect.Type
- func (o VpcPeeringMapOutput) MapIndex(k pulumi.StringInput) VpcPeeringOutput
- func (o VpcPeeringMapOutput) ToVpcPeeringMapOutput() VpcPeeringMapOutput
- func (o VpcPeeringMapOutput) ToVpcPeeringMapOutputWithContext(ctx context.Context) VpcPeeringMapOutput
- type VpcPeeringOutput
- func (VpcPeeringOutput) ElementType() reflect.Type
- func (o VpcPeeringOutput) ToVpcPeeringOutput() VpcPeeringOutput
- func (o VpcPeeringOutput) ToVpcPeeringOutputWithContext(ctx context.Context) VpcPeeringOutput
- func (o VpcPeeringOutput) ToVpcPeeringPtrOutput() VpcPeeringPtrOutput
- func (o VpcPeeringOutput) ToVpcPeeringPtrOutputWithContext(ctx context.Context) VpcPeeringPtrOutput
- type VpcPeeringPtrInput
- type VpcPeeringPtrOutput
- type VpcPeeringState
- type Webhook
- func (*Webhook) ElementType() reflect.Type
- func (i *Webhook) ToWebhookOutput() WebhookOutput
- func (i *Webhook) ToWebhookOutputWithContext(ctx context.Context) WebhookOutput
- func (i *Webhook) ToWebhookPtrOutput() WebhookPtrOutput
- func (i *Webhook) ToWebhookPtrOutputWithContext(ctx context.Context) WebhookPtrOutput
- type WebhookArgs
- type WebhookArray
- type WebhookArrayInput
- type WebhookArrayOutput
- type WebhookInput
- type WebhookMap
- type WebhookMapInput
- type WebhookMapOutput
- type WebhookOutput
- func (WebhookOutput) ElementType() reflect.Type
- func (o WebhookOutput) ToWebhookOutput() WebhookOutput
- func (o WebhookOutput) ToWebhookOutputWithContext(ctx context.Context) WebhookOutput
- func (o WebhookOutput) ToWebhookPtrOutput() WebhookPtrOutput
- func (o WebhookOutput) ToWebhookPtrOutputWithContext(ctx context.Context) WebhookPtrOutput
- type WebhookPtrInput
- type WebhookPtrOutput
- type WebhookState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PkgVersion ¶ added in v2.6.0
PkgVersion uses reflection to determine the version of the current package.
Types ¶
type Alarm ¶
type Alarm struct { pulumi.CustomResourceState // Enable or disable the alarm to trigger. Enabled pulumi.BoolOutput `pulumi:"enabled"` // The CloudAMQP instance ID. InstanceId pulumi.IntOutput `pulumi:"instanceId"` // Message type `(total, unacked, ready)` used by queue alarm type. MessageType pulumi.StringPtrOutput `pulumi:"messageType"` // Regex for which queue to check. QueueRegex pulumi.StringPtrOutput `pulumi:"queueRegex"` // Identifier for recipient to be notified. Leave empty to notify all recipients. Recipients pulumi.IntArrayOutput `pulumi:"recipients"` // The time interval (in seconds) the `valueThreshold` should be active before triggering an alarm. TimeThreshold pulumi.IntPtrOutput `pulumi:"timeThreshold"` // The alarm type, see valid options below. Type pulumi.StringOutput `pulumi:"type"` // The value to trigger the alarm for. ValueThreshold pulumi.IntPtrOutput `pulumi:"valueThreshold"` // Regex for which vhost to check VhostRegex pulumi.StringPtrOutput `pulumi:"vhostRegex"` }
This resource allows you to create and manage alarms to trigger based on a set of conditions. Once triggerd a notification will be sent to the assigned recipients. When creating a new instance, there will also be a set of default alarms (cpu, memory and disk) created. All default alarms uses the default recipient for notifications.
By setting `noDefaultAlarms` to *true* in `Instance`. This will create the instance without default alarms and avoid the need to import them to get full control.
Available for all subscription plans, but `lemur`and `tiger`are limited to fewer alarm types. The limited types supported can be seen in the table below in Alarm Type Reference.
## Alarm Type reference
Valid options for notification type.
Required arguments for all alarms: *instance_id*, *type* and *enabled*<br> Optional argument for all alarms: *tags*, *queue_regex*, *vhost_regex*
| Name | Type | Shared | Dedicated | Required arguments | | ---- | ---- | ---- | ---- | ---- | ---- | | CPU | cpu | - | ✔ | time_threshold, valueThreshold | | Memory | memory | - | ✔ | time_threshold, valueThreshold | | Disk space | disk | - | ✔ | time_threshold, valueThreshold | | Queue | queue | ✔ | ✔ | time_threshold, value_threshold, queue_regex, vhost_regex, messageType | | Connection | connection | ✔ | ✔ | time_threshold, valueThreshold | | Consumer | consumer | ✔ | ✔ | time_threshold, value_threshold, queue, vhost | | Netsplit | netsplit | - | ✔ | timeThreshold | | Server unreachable | serverUnreachable | - | ✔ | timeThreshold | | Notice | notice | ✔ | ✔ |
## Dependency
This resource depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
## Import
`cloudamqp_alarm` can be imported using CloudAMQP internal identifier of the alarm together (CSV separated) with the instance identifier. To retrieve the alarm identifier, use [CloudAMQP API](https://docs.cloudamqp.com/cloudamqp_api.html#list-alarms)
```sh
$ pulumi import cloudamqp:index/alarm:Alarm alarm <alarm_id>,<instance_id>`
```
func GetAlarm ¶
func GetAlarm(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AlarmState, opts ...pulumi.ResourceOption) (*Alarm, error)
GetAlarm gets an existing Alarm resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewAlarm ¶
func NewAlarm(ctx *pulumi.Context, name string, args *AlarmArgs, opts ...pulumi.ResourceOption) (*Alarm, error)
NewAlarm registers a new resource with the given unique name, arguments, and options.
func (*Alarm) ElementType ¶ added in v2.5.1
func (*Alarm) ToAlarmOutput ¶ added in v2.5.1
func (i *Alarm) ToAlarmOutput() AlarmOutput
func (*Alarm) ToAlarmOutputWithContext ¶ added in v2.5.1
func (i *Alarm) ToAlarmOutputWithContext(ctx context.Context) AlarmOutput
func (*Alarm) ToAlarmPtrOutput ¶ added in v2.7.2
func (i *Alarm) ToAlarmPtrOutput() AlarmPtrOutput
func (*Alarm) ToAlarmPtrOutputWithContext ¶ added in v2.7.2
func (i *Alarm) ToAlarmPtrOutputWithContext(ctx context.Context) AlarmPtrOutput
type AlarmArgs ¶
type AlarmArgs struct { // Enable or disable the alarm to trigger. Enabled pulumi.BoolInput // The CloudAMQP instance ID. InstanceId pulumi.IntInput // Message type `(total, unacked, ready)` used by queue alarm type. MessageType pulumi.StringPtrInput // Regex for which queue to check. QueueRegex pulumi.StringPtrInput // Identifier for recipient to be notified. Leave empty to notify all recipients. Recipients pulumi.IntArrayInput // The time interval (in seconds) the `valueThreshold` should be active before triggering an alarm. TimeThreshold pulumi.IntPtrInput // The alarm type, see valid options below. Type pulumi.StringInput // The value to trigger the alarm for. ValueThreshold pulumi.IntPtrInput // Regex for which vhost to check VhostRegex pulumi.StringPtrInput }
The set of arguments for constructing a Alarm resource.
func (AlarmArgs) ElementType ¶
type AlarmArray ¶ added in v2.7.2
type AlarmArray []AlarmInput
func (AlarmArray) ElementType ¶ added in v2.7.2
func (AlarmArray) ElementType() reflect.Type
func (AlarmArray) ToAlarmArrayOutput ¶ added in v2.7.2
func (i AlarmArray) ToAlarmArrayOutput() AlarmArrayOutput
func (AlarmArray) ToAlarmArrayOutputWithContext ¶ added in v2.7.2
func (i AlarmArray) ToAlarmArrayOutputWithContext(ctx context.Context) AlarmArrayOutput
type AlarmArrayInput ¶ added in v2.7.2
type AlarmArrayInput interface { pulumi.Input ToAlarmArrayOutput() AlarmArrayOutput ToAlarmArrayOutputWithContext(context.Context) AlarmArrayOutput }
AlarmArrayInput is an input type that accepts AlarmArray and AlarmArrayOutput values. You can construct a concrete instance of `AlarmArrayInput` via:
AlarmArray{ AlarmArgs{...} }
type AlarmArrayOutput ¶ added in v2.7.2
type AlarmArrayOutput struct{ *pulumi.OutputState }
func (AlarmArrayOutput) ElementType ¶ added in v2.7.2
func (AlarmArrayOutput) ElementType() reflect.Type
func (AlarmArrayOutput) Index ¶ added in v2.7.2
func (o AlarmArrayOutput) Index(i pulumi.IntInput) AlarmOutput
func (AlarmArrayOutput) ToAlarmArrayOutput ¶ added in v2.7.2
func (o AlarmArrayOutput) ToAlarmArrayOutput() AlarmArrayOutput
func (AlarmArrayOutput) ToAlarmArrayOutputWithContext ¶ added in v2.7.2
func (o AlarmArrayOutput) ToAlarmArrayOutputWithContext(ctx context.Context) AlarmArrayOutput
type AlarmInput ¶ added in v2.5.1
type AlarmInput interface { pulumi.Input ToAlarmOutput() AlarmOutput ToAlarmOutputWithContext(ctx context.Context) AlarmOutput }
type AlarmMap ¶ added in v2.7.2
type AlarmMap map[string]AlarmInput
func (AlarmMap) ElementType ¶ added in v2.7.2
func (AlarmMap) ToAlarmMapOutput ¶ added in v2.7.2
func (i AlarmMap) ToAlarmMapOutput() AlarmMapOutput
func (AlarmMap) ToAlarmMapOutputWithContext ¶ added in v2.7.2
func (i AlarmMap) ToAlarmMapOutputWithContext(ctx context.Context) AlarmMapOutput
type AlarmMapInput ¶ added in v2.7.2
type AlarmMapInput interface { pulumi.Input ToAlarmMapOutput() AlarmMapOutput ToAlarmMapOutputWithContext(context.Context) AlarmMapOutput }
AlarmMapInput is an input type that accepts AlarmMap and AlarmMapOutput values. You can construct a concrete instance of `AlarmMapInput` via:
AlarmMap{ "key": AlarmArgs{...} }
type AlarmMapOutput ¶ added in v2.7.2
type AlarmMapOutput struct{ *pulumi.OutputState }
func (AlarmMapOutput) ElementType ¶ added in v2.7.2
func (AlarmMapOutput) ElementType() reflect.Type
func (AlarmMapOutput) MapIndex ¶ added in v2.7.2
func (o AlarmMapOutput) MapIndex(k pulumi.StringInput) AlarmOutput
func (AlarmMapOutput) ToAlarmMapOutput ¶ added in v2.7.2
func (o AlarmMapOutput) ToAlarmMapOutput() AlarmMapOutput
func (AlarmMapOutput) ToAlarmMapOutputWithContext ¶ added in v2.7.2
func (o AlarmMapOutput) ToAlarmMapOutputWithContext(ctx context.Context) AlarmMapOutput
type AlarmOutput ¶ added in v2.5.1
type AlarmOutput struct {
*pulumi.OutputState
}
func (AlarmOutput) ElementType ¶ added in v2.5.1
func (AlarmOutput) ElementType() reflect.Type
func (AlarmOutput) ToAlarmOutput ¶ added in v2.5.1
func (o AlarmOutput) ToAlarmOutput() AlarmOutput
func (AlarmOutput) ToAlarmOutputWithContext ¶ added in v2.5.1
func (o AlarmOutput) ToAlarmOutputWithContext(ctx context.Context) AlarmOutput
func (AlarmOutput) ToAlarmPtrOutput ¶ added in v2.7.2
func (o AlarmOutput) ToAlarmPtrOutput() AlarmPtrOutput
func (AlarmOutput) ToAlarmPtrOutputWithContext ¶ added in v2.7.2
func (o AlarmOutput) ToAlarmPtrOutputWithContext(ctx context.Context) AlarmPtrOutput
type AlarmPtrInput ¶ added in v2.7.2
type AlarmPtrInput interface { pulumi.Input ToAlarmPtrOutput() AlarmPtrOutput ToAlarmPtrOutputWithContext(ctx context.Context) AlarmPtrOutput }
type AlarmPtrOutput ¶ added in v2.7.2
type AlarmPtrOutput struct {
*pulumi.OutputState
}
func (AlarmPtrOutput) ElementType ¶ added in v2.7.2
func (AlarmPtrOutput) ElementType() reflect.Type
func (AlarmPtrOutput) ToAlarmPtrOutput ¶ added in v2.7.2
func (o AlarmPtrOutput) ToAlarmPtrOutput() AlarmPtrOutput
func (AlarmPtrOutput) ToAlarmPtrOutputWithContext ¶ added in v2.7.2
func (o AlarmPtrOutput) ToAlarmPtrOutputWithContext(ctx context.Context) AlarmPtrOutput
type AlarmState ¶
type AlarmState struct { // Enable or disable the alarm to trigger. Enabled pulumi.BoolPtrInput // The CloudAMQP instance ID. InstanceId pulumi.IntPtrInput // Message type `(total, unacked, ready)` used by queue alarm type. MessageType pulumi.StringPtrInput // Regex for which queue to check. QueueRegex pulumi.StringPtrInput // Identifier for recipient to be notified. Leave empty to notify all recipients. Recipients pulumi.IntArrayInput // The time interval (in seconds) the `valueThreshold` should be active before triggering an alarm. TimeThreshold pulumi.IntPtrInput // The alarm type, see valid options below. Type pulumi.StringPtrInput // The value to trigger the alarm for. ValueThreshold pulumi.IntPtrInput // Regex for which vhost to check VhostRegex pulumi.StringPtrInput }
func (AlarmState) ElementType ¶
func (AlarmState) ElementType() reflect.Type
type GetCredentialsArgs ¶
type GetCredentialsArgs struct { InstanceId int `pulumi:"instanceId"` Password *string `pulumi:"password"` Username *string `pulumi:"username"` }
A collection of arguments for invoking getCredentials.
type GetCredentialsResult ¶
type GetCredentialsResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` InstanceId int `pulumi:"instanceId"` Password *string `pulumi:"password"` Username *string `pulumi:"username"` }
A collection of values returned by getCredentials.
func GetCredentials ¶
func GetCredentials(ctx *pulumi.Context, args *GetCredentialsArgs, opts ...pulumi.InvokeOption) (*GetCredentialsResult, error)
Use this data source to retrieve information about the credentials of the configured user in Rabbit MQ. Information is extracted from `cloudamqp_instance.instance.url`.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-cloudamqp/sdk/v2/go/cloudamqp" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cloudamqp.GetCredentials(ctx, &cloudamqp.GetCredentialsArgs{ InstanceId: cloudamqp_instance.Instance.Id, }, nil) if err != nil { return err } return nil }) }
``` ## Argument reference
* `instanceId` - (Required) The CloudAMQP instance identifier.
## Attribute reference
* `username` - (Computed/Sensitive) The username for the configured user in Rabbit MQ. * `password` - (Computed/Sensitive) The password used by the `username`.
## Dependency
This data source depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
type GetNodesArgs ¶ added in v2.3.0
type GetNodesArgs struct { InstanceId int `pulumi:"instanceId"` Nodes []GetNodesNode `pulumi:"nodes"` }
A collection of arguments for invoking getNodes.
type GetNodesNode ¶ added in v2.3.0
type GetNodesNodeArgs ¶ added in v2.3.0
type GetNodesNodeArgs struct { ErlangVersion pulumi.StringInput `pulumi:"erlangVersion"` Hipe pulumi.BoolInput `pulumi:"hipe"` Hostname pulumi.StringInput `pulumi:"hostname"` Name pulumi.StringInput `pulumi:"name"` RabbitmqVersion pulumi.StringInput `pulumi:"rabbitmqVersion"` Running pulumi.BoolInput `pulumi:"running"` }
func (GetNodesNodeArgs) ElementType ¶ added in v2.3.0
func (GetNodesNodeArgs) ElementType() reflect.Type
func (GetNodesNodeArgs) ToGetNodesNodeOutput ¶ added in v2.3.0
func (i GetNodesNodeArgs) ToGetNodesNodeOutput() GetNodesNodeOutput
func (GetNodesNodeArgs) ToGetNodesNodeOutputWithContext ¶ added in v2.3.0
func (i GetNodesNodeArgs) ToGetNodesNodeOutputWithContext(ctx context.Context) GetNodesNodeOutput
type GetNodesNodeArray ¶ added in v2.3.0
type GetNodesNodeArray []GetNodesNodeInput
func (GetNodesNodeArray) ElementType ¶ added in v2.3.0
func (GetNodesNodeArray) ElementType() reflect.Type
func (GetNodesNodeArray) ToGetNodesNodeArrayOutput ¶ added in v2.3.0
func (i GetNodesNodeArray) ToGetNodesNodeArrayOutput() GetNodesNodeArrayOutput
func (GetNodesNodeArray) ToGetNodesNodeArrayOutputWithContext ¶ added in v2.3.0
func (i GetNodesNodeArray) ToGetNodesNodeArrayOutputWithContext(ctx context.Context) GetNodesNodeArrayOutput
type GetNodesNodeArrayInput ¶ added in v2.3.0
type GetNodesNodeArrayInput interface { pulumi.Input ToGetNodesNodeArrayOutput() GetNodesNodeArrayOutput ToGetNodesNodeArrayOutputWithContext(context.Context) GetNodesNodeArrayOutput }
GetNodesNodeArrayInput is an input type that accepts GetNodesNodeArray and GetNodesNodeArrayOutput values. You can construct a concrete instance of `GetNodesNodeArrayInput` via:
GetNodesNodeArray{ GetNodesNodeArgs{...} }
type GetNodesNodeArrayOutput ¶ added in v2.3.0
type GetNodesNodeArrayOutput struct{ *pulumi.OutputState }
func (GetNodesNodeArrayOutput) ElementType ¶ added in v2.3.0
func (GetNodesNodeArrayOutput) ElementType() reflect.Type
func (GetNodesNodeArrayOutput) Index ¶ added in v2.3.0
func (o GetNodesNodeArrayOutput) Index(i pulumi.IntInput) GetNodesNodeOutput
func (GetNodesNodeArrayOutput) ToGetNodesNodeArrayOutput ¶ added in v2.3.0
func (o GetNodesNodeArrayOutput) ToGetNodesNodeArrayOutput() GetNodesNodeArrayOutput
func (GetNodesNodeArrayOutput) ToGetNodesNodeArrayOutputWithContext ¶ added in v2.3.0
func (o GetNodesNodeArrayOutput) ToGetNodesNodeArrayOutputWithContext(ctx context.Context) GetNodesNodeArrayOutput
type GetNodesNodeInput ¶ added in v2.3.0
type GetNodesNodeInput interface { pulumi.Input ToGetNodesNodeOutput() GetNodesNodeOutput ToGetNodesNodeOutputWithContext(context.Context) GetNodesNodeOutput }
GetNodesNodeInput is an input type that accepts GetNodesNodeArgs and GetNodesNodeOutput values. You can construct a concrete instance of `GetNodesNodeInput` via:
GetNodesNodeArgs{...}
type GetNodesNodeOutput ¶ added in v2.3.0
type GetNodesNodeOutput struct{ *pulumi.OutputState }
func (GetNodesNodeOutput) ElementType ¶ added in v2.3.0
func (GetNodesNodeOutput) ElementType() reflect.Type
func (GetNodesNodeOutput) ErlangVersion ¶ added in v2.3.0
func (o GetNodesNodeOutput) ErlangVersion() pulumi.StringOutput
func (GetNodesNodeOutput) Hipe ¶ added in v2.3.0
func (o GetNodesNodeOutput) Hipe() pulumi.BoolOutput
func (GetNodesNodeOutput) Hostname ¶ added in v2.3.0
func (o GetNodesNodeOutput) Hostname() pulumi.StringOutput
func (GetNodesNodeOutput) Name ¶ added in v2.3.0
func (o GetNodesNodeOutput) Name() pulumi.StringOutput
func (GetNodesNodeOutput) RabbitmqVersion ¶ added in v2.3.0
func (o GetNodesNodeOutput) RabbitmqVersion() pulumi.StringOutput
func (GetNodesNodeOutput) Running ¶ added in v2.3.0
func (o GetNodesNodeOutput) Running() pulumi.BoolOutput
func (GetNodesNodeOutput) ToGetNodesNodeOutput ¶ added in v2.3.0
func (o GetNodesNodeOutput) ToGetNodesNodeOutput() GetNodesNodeOutput
func (GetNodesNodeOutput) ToGetNodesNodeOutputWithContext ¶ added in v2.3.0
func (o GetNodesNodeOutput) ToGetNodesNodeOutputWithContext(ctx context.Context) GetNodesNodeOutput
type GetNodesResult ¶ added in v2.3.0
type GetNodesResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` InstanceId int `pulumi:"instanceId"` Nodes []GetNodesNode `pulumi:"nodes"` }
A collection of values returned by getNodes.
func GetNodes ¶ added in v2.3.0
func GetNodes(ctx *pulumi.Context, args *GetNodesArgs, opts ...pulumi.InvokeOption) (*GetNodesResult, error)
Use this data source to retrieve information about the node(s) created by CloudAMQP instance.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-cloudamqp/sdk/v2/go/cloudamqp" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cloudamqp.GetNodes(ctx, &cloudamqp.GetNodesArgs{ InstanceId: cloudamqp_instance.Instance.Id, }, nil) if err != nil { return err } return nil }) }
``` ## Argument reference
* `instanceId` - (Required) The CloudAMQP instance identifier.
## Attribute reference
* `nodes` - (Computed) An array of node information. Each `nodes` block consists of the fields documented below.
***
The `nodes` block consist of ¶
* `hostname` - (Computed) Hostname assigned to the node. * `name` - (Computed) Name of the node. * `running` - (Computed) Is the node running? * `rabbitmqVersion` - (Computed) Currently configured Rabbit MQ version on the node. * `erlangVersion` - (Computed) Currently used Erlanbg version on the node. * `hipe` - (Computed) Enable or disable High-performance Erlang.
## Dependency
This data source depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
type GetPluginsArgs ¶
type GetPluginsArgs struct { InstanceId int `pulumi:"instanceId"` Plugins []GetPluginsPlugin `pulumi:"plugins"` }
A collection of arguments for invoking getPlugins.
type GetPluginsCommunityArgs ¶
type GetPluginsCommunityArgs struct { InstanceId int `pulumi:"instanceId"` Plugins []GetPluginsCommunityPlugin `pulumi:"plugins"` }
A collection of arguments for invoking getPluginsCommunity.
type GetPluginsCommunityPluginArgs ¶
type GetPluginsCommunityPluginArgs struct { Description pulumi.StringPtrInput `pulumi:"description"` Name pulumi.StringPtrInput `pulumi:"name"` Require pulumi.StringPtrInput `pulumi:"require"` }
func (GetPluginsCommunityPluginArgs) ElementType ¶
func (GetPluginsCommunityPluginArgs) ElementType() reflect.Type
func (GetPluginsCommunityPluginArgs) ToGetPluginsCommunityPluginOutput ¶
func (i GetPluginsCommunityPluginArgs) ToGetPluginsCommunityPluginOutput() GetPluginsCommunityPluginOutput
func (GetPluginsCommunityPluginArgs) ToGetPluginsCommunityPluginOutputWithContext ¶
func (i GetPluginsCommunityPluginArgs) ToGetPluginsCommunityPluginOutputWithContext(ctx context.Context) GetPluginsCommunityPluginOutput
type GetPluginsCommunityPluginArray ¶
type GetPluginsCommunityPluginArray []GetPluginsCommunityPluginInput
func (GetPluginsCommunityPluginArray) ElementType ¶
func (GetPluginsCommunityPluginArray) ElementType() reflect.Type
func (GetPluginsCommunityPluginArray) ToGetPluginsCommunityPluginArrayOutput ¶
func (i GetPluginsCommunityPluginArray) ToGetPluginsCommunityPluginArrayOutput() GetPluginsCommunityPluginArrayOutput
func (GetPluginsCommunityPluginArray) ToGetPluginsCommunityPluginArrayOutputWithContext ¶
func (i GetPluginsCommunityPluginArray) ToGetPluginsCommunityPluginArrayOutputWithContext(ctx context.Context) GetPluginsCommunityPluginArrayOutput
type GetPluginsCommunityPluginArrayInput ¶
type GetPluginsCommunityPluginArrayInput interface { pulumi.Input ToGetPluginsCommunityPluginArrayOutput() GetPluginsCommunityPluginArrayOutput ToGetPluginsCommunityPluginArrayOutputWithContext(context.Context) GetPluginsCommunityPluginArrayOutput }
GetPluginsCommunityPluginArrayInput is an input type that accepts GetPluginsCommunityPluginArray and GetPluginsCommunityPluginArrayOutput values. You can construct a concrete instance of `GetPluginsCommunityPluginArrayInput` via:
GetPluginsCommunityPluginArray{ GetPluginsCommunityPluginArgs{...} }
type GetPluginsCommunityPluginArrayOutput ¶
type GetPluginsCommunityPluginArrayOutput struct{ *pulumi.OutputState }
func (GetPluginsCommunityPluginArrayOutput) ElementType ¶
func (GetPluginsCommunityPluginArrayOutput) ElementType() reflect.Type
func (GetPluginsCommunityPluginArrayOutput) Index ¶
func (o GetPluginsCommunityPluginArrayOutput) Index(i pulumi.IntInput) GetPluginsCommunityPluginOutput
func (GetPluginsCommunityPluginArrayOutput) ToGetPluginsCommunityPluginArrayOutput ¶
func (o GetPluginsCommunityPluginArrayOutput) ToGetPluginsCommunityPluginArrayOutput() GetPluginsCommunityPluginArrayOutput
func (GetPluginsCommunityPluginArrayOutput) ToGetPluginsCommunityPluginArrayOutputWithContext ¶
func (o GetPluginsCommunityPluginArrayOutput) ToGetPluginsCommunityPluginArrayOutputWithContext(ctx context.Context) GetPluginsCommunityPluginArrayOutput
type GetPluginsCommunityPluginInput ¶
type GetPluginsCommunityPluginInput interface { pulumi.Input ToGetPluginsCommunityPluginOutput() GetPluginsCommunityPluginOutput ToGetPluginsCommunityPluginOutputWithContext(context.Context) GetPluginsCommunityPluginOutput }
GetPluginsCommunityPluginInput is an input type that accepts GetPluginsCommunityPluginArgs and GetPluginsCommunityPluginOutput values. You can construct a concrete instance of `GetPluginsCommunityPluginInput` via:
GetPluginsCommunityPluginArgs{...}
type GetPluginsCommunityPluginOutput ¶
type GetPluginsCommunityPluginOutput struct{ *pulumi.OutputState }
func (GetPluginsCommunityPluginOutput) Description ¶
func (o GetPluginsCommunityPluginOutput) Description() pulumi.StringPtrOutput
func (GetPluginsCommunityPluginOutput) ElementType ¶
func (GetPluginsCommunityPluginOutput) ElementType() reflect.Type
func (GetPluginsCommunityPluginOutput) Name ¶
func (o GetPluginsCommunityPluginOutput) Name() pulumi.StringPtrOutput
func (GetPluginsCommunityPluginOutput) Require ¶
func (o GetPluginsCommunityPluginOutput) Require() pulumi.StringPtrOutput
func (GetPluginsCommunityPluginOutput) ToGetPluginsCommunityPluginOutput ¶
func (o GetPluginsCommunityPluginOutput) ToGetPluginsCommunityPluginOutput() GetPluginsCommunityPluginOutput
func (GetPluginsCommunityPluginOutput) ToGetPluginsCommunityPluginOutputWithContext ¶
func (o GetPluginsCommunityPluginOutput) ToGetPluginsCommunityPluginOutputWithContext(ctx context.Context) GetPluginsCommunityPluginOutput
type GetPluginsCommunityResult ¶
type GetPluginsCommunityResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` InstanceId int `pulumi:"instanceId"` Plugins []GetPluginsCommunityPlugin `pulumi:"plugins"` }
A collection of values returned by getPluginsCommunity.
func GetPluginsCommunity ¶
func GetPluginsCommunity(ctx *pulumi.Context, args *GetPluginsCommunityArgs, opts ...pulumi.InvokeOption) (*GetPluginsCommunityResult, error)
Use this data source to retrieve information about available community plugins for the CloudAMQP instance.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-cloudamqp/sdk/v2/go/cloudamqp" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cloudamqp.GetPluginsCommunity(ctx, &cloudamqp.GetPluginsCommunityArgs{ InstanceId: cloudamqp_instance.Instance.Id, }, nil) if err != nil { return err } return nil }) }
``` ## Argument reference
* `instanceId` - (Required) The CloudAMQP instance identifier.
## Attribute reference
* `plugins` - (Computed) An array of community plugins. Each `plugins` block consists of the fields documented below.
***
The `plugins` block consists of ¶
* `name` - (Computed) The type of the recipient. * `require` - (Computed) Min. required Rabbit MQ version to be used. * `description` - (Computed) Description of what the plugin does.
## Dependency
This data source depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
type GetPluginsPlugin ¶
type GetPluginsPluginArgs ¶
type GetPluginsPluginArgs struct { Description pulumi.StringPtrInput `pulumi:"description"` Enabled pulumi.BoolPtrInput `pulumi:"enabled"` Name pulumi.StringPtrInput `pulumi:"name"` Version pulumi.StringPtrInput `pulumi:"version"` }
func (GetPluginsPluginArgs) ElementType ¶
func (GetPluginsPluginArgs) ElementType() reflect.Type
func (GetPluginsPluginArgs) ToGetPluginsPluginOutput ¶
func (i GetPluginsPluginArgs) ToGetPluginsPluginOutput() GetPluginsPluginOutput
func (GetPluginsPluginArgs) ToGetPluginsPluginOutputWithContext ¶
func (i GetPluginsPluginArgs) ToGetPluginsPluginOutputWithContext(ctx context.Context) GetPluginsPluginOutput
type GetPluginsPluginArray ¶
type GetPluginsPluginArray []GetPluginsPluginInput
func (GetPluginsPluginArray) ElementType ¶
func (GetPluginsPluginArray) ElementType() reflect.Type
func (GetPluginsPluginArray) ToGetPluginsPluginArrayOutput ¶
func (i GetPluginsPluginArray) ToGetPluginsPluginArrayOutput() GetPluginsPluginArrayOutput
func (GetPluginsPluginArray) ToGetPluginsPluginArrayOutputWithContext ¶
func (i GetPluginsPluginArray) ToGetPluginsPluginArrayOutputWithContext(ctx context.Context) GetPluginsPluginArrayOutput
type GetPluginsPluginArrayInput ¶
type GetPluginsPluginArrayInput interface { pulumi.Input ToGetPluginsPluginArrayOutput() GetPluginsPluginArrayOutput ToGetPluginsPluginArrayOutputWithContext(context.Context) GetPluginsPluginArrayOutput }
GetPluginsPluginArrayInput is an input type that accepts GetPluginsPluginArray and GetPluginsPluginArrayOutput values. You can construct a concrete instance of `GetPluginsPluginArrayInput` via:
GetPluginsPluginArray{ GetPluginsPluginArgs{...} }
type GetPluginsPluginArrayOutput ¶
type GetPluginsPluginArrayOutput struct{ *pulumi.OutputState }
func (GetPluginsPluginArrayOutput) ElementType ¶
func (GetPluginsPluginArrayOutput) ElementType() reflect.Type
func (GetPluginsPluginArrayOutput) Index ¶
func (o GetPluginsPluginArrayOutput) Index(i pulumi.IntInput) GetPluginsPluginOutput
func (GetPluginsPluginArrayOutput) ToGetPluginsPluginArrayOutput ¶
func (o GetPluginsPluginArrayOutput) ToGetPluginsPluginArrayOutput() GetPluginsPluginArrayOutput
func (GetPluginsPluginArrayOutput) ToGetPluginsPluginArrayOutputWithContext ¶
func (o GetPluginsPluginArrayOutput) ToGetPluginsPluginArrayOutputWithContext(ctx context.Context) GetPluginsPluginArrayOutput
type GetPluginsPluginInput ¶
type GetPluginsPluginInput interface { pulumi.Input ToGetPluginsPluginOutput() GetPluginsPluginOutput ToGetPluginsPluginOutputWithContext(context.Context) GetPluginsPluginOutput }
GetPluginsPluginInput is an input type that accepts GetPluginsPluginArgs and GetPluginsPluginOutput values. You can construct a concrete instance of `GetPluginsPluginInput` via:
GetPluginsPluginArgs{...}
type GetPluginsPluginOutput ¶
type GetPluginsPluginOutput struct{ *pulumi.OutputState }
func (GetPluginsPluginOutput) Description ¶
func (o GetPluginsPluginOutput) Description() pulumi.StringPtrOutput
func (GetPluginsPluginOutput) ElementType ¶
func (GetPluginsPluginOutput) ElementType() reflect.Type
func (GetPluginsPluginOutput) Enabled ¶
func (o GetPluginsPluginOutput) Enabled() pulumi.BoolPtrOutput
func (GetPluginsPluginOutput) Name ¶
func (o GetPluginsPluginOutput) Name() pulumi.StringPtrOutput
func (GetPluginsPluginOutput) ToGetPluginsPluginOutput ¶
func (o GetPluginsPluginOutput) ToGetPluginsPluginOutput() GetPluginsPluginOutput
func (GetPluginsPluginOutput) ToGetPluginsPluginOutputWithContext ¶
func (o GetPluginsPluginOutput) ToGetPluginsPluginOutputWithContext(ctx context.Context) GetPluginsPluginOutput
func (GetPluginsPluginOutput) Version ¶
func (o GetPluginsPluginOutput) Version() pulumi.StringPtrOutput
type GetPluginsResult ¶
type GetPluginsResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` InstanceId int `pulumi:"instanceId"` Plugins []GetPluginsPlugin `pulumi:"plugins"` }
A collection of values returned by getPlugins.
func GetPlugins ¶
func GetPlugins(ctx *pulumi.Context, args *GetPluginsArgs, opts ...pulumi.InvokeOption) (*GetPluginsResult, error)
Use this data source to retrieve information about installed and available plugins for the CloudAMQP instance.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-cloudamqp/sdk/v2/go/cloudamqp" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cloudamqp.GetPlugins(ctx, &cloudamqp.GetPluginsArgs{ InstanceId: cloudamqp_instance.Instance.Id, }, nil) if err != nil { return err } return nil }) }
``` ## Argument reference
* `instanceId` - (Required) The CloudAMQP instance identifier.
## Attribute reference
* `plugins` - (Computed) An array of plugins. Each `plugins` block consists of the fields documented below.
***
The `plugins` block consist of ¶
* `name` - (Computed) The type of the recipient. * `version` - (Computed) Rabbit MQ version that the plugins are shipped with. * `description` - (Computed) Description of what the plugin does. * `enabled` - (Computed) Enable or disable information for the plugin.
## Dependency
This data source depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
type GetVpcInfoArgs ¶
type GetVpcInfoArgs struct {
InstanceId int `pulumi:"instanceId"`
}
A collection of arguments for invoking getVpcInfo.
type GetVpcInfoResult ¶
type GetVpcInfoResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` InstanceId int `pulumi:"instanceId"` Name string `pulumi:"name"` OwnerId string `pulumi:"ownerId"` SecurityGroupId string `pulumi:"securityGroupId"` VpcSubnet string `pulumi:"vpcSubnet"` }
A collection of values returned by getVpcInfo.
func GetVpcInfo ¶
func GetVpcInfo(ctx *pulumi.Context, args *GetVpcInfoArgs, opts ...pulumi.InvokeOption) (*GetVpcInfoResult, error)
Use this data source to retrieve information about VPC for a CloudAMQP instance.
Only available for CloudAMQP instances hosted in AWS.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-cloudamqp/sdk/v2/go/cloudamqp" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cloudamqp.GetVpcInfo(ctx, &cloudamqp.GetVpcInfoArgs{ InstanceId: cloudamqp_instance.Instance.Id, }, nil) if err != nil { return err } return nil }) }
``` ## Argument reference
* `instanceId` - (Required) The CloudAMQP instance identifier.
## Attribute reference
* `name` - (Computed) The name of the CloudAMQP instance. * `vpcSubnet` - (Computed) Dedicated VPC subnet. * `ownerId` - (Computed) AWS account identifier. * `securityGroupId` - (Computed) AWS security group identifier.
## Dependency
This data source depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
type Instance ¶
type Instance struct { pulumi.CustomResourceState // (Computed) API key needed to communicate to CloudAMQP's second API. The second API is used to manage alarms, integration and more, full description [CloudAMQP API](https://docs.cloudamqp.com/cloudamqp_api.html). Apikey pulumi.StringOutput `pulumi:"apikey"` // Is the instance hosted on a dedicated server Dedicated pulumi.BoolOutput `pulumi:"dedicated"` // (Computed) The host name for the CloudAMQP instance. Host pulumi.StringOutput `pulumi:"host"` // Name of the CloudAMQP instance. Name pulumi.StringOutput `pulumi:"name"` // Set to true to discard creating default alarms when the instance is created. Can be left out, will then use default value = false. NoDefaultAlarms pulumi.BoolOutput `pulumi:"noDefaultAlarms"` // Number of nodes, 1, 3 or 5. **Note: Changed from optional to computed. In order to change number of nodes, the subscription plan needs to be updated.** Nodes pulumi.IntPtrOutput `pulumi:"nodes"` // The subscription plan. See available plans Plan pulumi.StringOutput `pulumi:"plan"` // Flag describing if the resource is ready Ready pulumi.BoolOutput `pulumi:"ready"` // The region to host the instance in. See Instance regions Region pulumi.StringOutput `pulumi:"region"` // The Rabbit MQ version. Can be left out, will then be set to default value used by CloudAMQP API. **Note: There is not yet any support in the provider to change the RMQ version. Once it's set in the initial creation, it will remain.** RmqVersion pulumi.StringOutput `pulumi:"rmqVersion"` // One or more tags for the CloudAMQP instance, makes it possible to categories multiple instances in console view. Default there is no tags assigned. Tags pulumi.StringArrayOutput `pulumi:"tags"` // (Computed) AMQP server endpoint. `amqps://{username}:{password}@{hostname}/{vhost}` Url pulumi.StringOutput `pulumi:"url"` // (Computed) The virtual host used by Rabbit MQ. Vhost pulumi.StringOutput `pulumi:"vhost"` // Creates a dedicated VPC subnet, shouldn't overlap with other VPC subnet, default subnet used 10.56.72.0/24. **NOTE: extra fee will be charged when using VPC, see [CloudAMQP](https://cloudamqp.com) for more information.** VpcSubnet pulumi.StringPtrOutput `pulumi:"vpcSubnet"` }
This resource allows you to create and manage a CloudAMQP instance running Rabbit MQ and deploy to multiple cloud platforms provider and over multiple regions, see Instance regions for more information.
Once the instance is created it will be assigned a unique identifier. All other resource and data sources created for this instance needs to reference the instance identifier.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-cloudamqp/sdk/v2/go/cloudamqp" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cloudamqp.NewInstance(ctx, "lemurInstance", &cloudamqp.InstanceArgs{ Plan: pulumi.String("lemur"), Region: pulumi.String("amazon-web-services::us-west-1"), }) if err != nil { return err } _, err = cloudamqp.NewInstance(ctx, "instance", &cloudamqp.InstanceArgs{ NoDefaultAlarms: pulumi.Bool(true), Nodes: pulumi.Int(1), Plan: pulumi.String("bunny-1"), Region: pulumi.String("amazon-web-services::us-west-1"), RmqVersion: pulumi.String("3.8.3"), Tags: pulumi.StringArray{ pulumi.String("terraform"), }, }) if err != nil { return err } return nil }) }
```
## Import
`cloudamqp_instance`can be imported using CloudAMQP internal identifier. To retrieve the identifier for an instance, use [CloudAMQP customer API](https://docs.cloudamqp.com/#list-instances).
```sh
$ pulumi import cloudamqp:index/instance:Instance instance <instance_id>`
```
func GetInstance ¶
func GetInstance(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InstanceState, opts ...pulumi.ResourceOption) (*Instance, error)
GetInstance gets an existing Instance resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewInstance ¶
func NewInstance(ctx *pulumi.Context, name string, args *InstanceArgs, opts ...pulumi.ResourceOption) (*Instance, error)
NewInstance registers a new resource with the given unique name, arguments, and options.
func (*Instance) ElementType ¶ added in v2.5.1
func (*Instance) ToInstanceOutput ¶ added in v2.5.1
func (i *Instance) ToInstanceOutput() InstanceOutput
func (*Instance) ToInstanceOutputWithContext ¶ added in v2.5.1
func (i *Instance) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
func (*Instance) ToInstancePtrOutput ¶ added in v2.7.2
func (i *Instance) ToInstancePtrOutput() InstancePtrOutput
func (*Instance) ToInstancePtrOutputWithContext ¶ added in v2.7.2
func (i *Instance) ToInstancePtrOutputWithContext(ctx context.Context) InstancePtrOutput
type InstanceArgs ¶
type InstanceArgs struct { // Name of the CloudAMQP instance. Name pulumi.StringPtrInput // Set to true to discard creating default alarms when the instance is created. Can be left out, will then use default value = false. NoDefaultAlarms pulumi.BoolPtrInput // Number of nodes, 1, 3 or 5. **Note: Changed from optional to computed. In order to change number of nodes, the subscription plan needs to be updated.** Nodes pulumi.IntPtrInput // The subscription plan. See available plans Plan pulumi.StringInput // The region to host the instance in. See Instance regions Region pulumi.StringInput // The Rabbit MQ version. Can be left out, will then be set to default value used by CloudAMQP API. **Note: There is not yet any support in the provider to change the RMQ version. Once it's set in the initial creation, it will remain.** RmqVersion pulumi.StringPtrInput // One or more tags for the CloudAMQP instance, makes it possible to categories multiple instances in console view. Default there is no tags assigned. Tags pulumi.StringArrayInput // Creates a dedicated VPC subnet, shouldn't overlap with other VPC subnet, default subnet used 10.56.72.0/24. **NOTE: extra fee will be charged when using VPC, see [CloudAMQP](https://cloudamqp.com) for more information.** VpcSubnet pulumi.StringPtrInput }
The set of arguments for constructing a Instance resource.
func (InstanceArgs) ElementType ¶
func (InstanceArgs) ElementType() reflect.Type
type InstanceArray ¶ added in v2.7.2
type InstanceArray []InstanceInput
func (InstanceArray) ElementType ¶ added in v2.7.2
func (InstanceArray) ElementType() reflect.Type
func (InstanceArray) ToInstanceArrayOutput ¶ added in v2.7.2
func (i InstanceArray) ToInstanceArrayOutput() InstanceArrayOutput
func (InstanceArray) ToInstanceArrayOutputWithContext ¶ added in v2.7.2
func (i InstanceArray) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput
type InstanceArrayInput ¶ added in v2.7.2
type InstanceArrayInput interface { pulumi.Input ToInstanceArrayOutput() InstanceArrayOutput ToInstanceArrayOutputWithContext(context.Context) InstanceArrayOutput }
InstanceArrayInput is an input type that accepts InstanceArray and InstanceArrayOutput values. You can construct a concrete instance of `InstanceArrayInput` via:
InstanceArray{ InstanceArgs{...} }
type InstanceArrayOutput ¶ added in v2.7.2
type InstanceArrayOutput struct{ *pulumi.OutputState }
func (InstanceArrayOutput) ElementType ¶ added in v2.7.2
func (InstanceArrayOutput) ElementType() reflect.Type
func (InstanceArrayOutput) Index ¶ added in v2.7.2
func (o InstanceArrayOutput) Index(i pulumi.IntInput) InstanceOutput
func (InstanceArrayOutput) ToInstanceArrayOutput ¶ added in v2.7.2
func (o InstanceArrayOutput) ToInstanceArrayOutput() InstanceArrayOutput
func (InstanceArrayOutput) ToInstanceArrayOutputWithContext ¶ added in v2.7.2
func (o InstanceArrayOutput) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput
type InstanceInput ¶ added in v2.5.1
type InstanceInput interface { pulumi.Input ToInstanceOutput() InstanceOutput ToInstanceOutputWithContext(ctx context.Context) InstanceOutput }
type InstanceMap ¶ added in v2.7.2
type InstanceMap map[string]InstanceInput
func (InstanceMap) ElementType ¶ added in v2.7.2
func (InstanceMap) ElementType() reflect.Type
func (InstanceMap) ToInstanceMapOutput ¶ added in v2.7.2
func (i InstanceMap) ToInstanceMapOutput() InstanceMapOutput
func (InstanceMap) ToInstanceMapOutputWithContext ¶ added in v2.7.2
func (i InstanceMap) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput
type InstanceMapInput ¶ added in v2.7.2
type InstanceMapInput interface { pulumi.Input ToInstanceMapOutput() InstanceMapOutput ToInstanceMapOutputWithContext(context.Context) InstanceMapOutput }
InstanceMapInput is an input type that accepts InstanceMap and InstanceMapOutput values. You can construct a concrete instance of `InstanceMapInput` via:
InstanceMap{ "key": InstanceArgs{...} }
type InstanceMapOutput ¶ added in v2.7.2
type InstanceMapOutput struct{ *pulumi.OutputState }
func (InstanceMapOutput) ElementType ¶ added in v2.7.2
func (InstanceMapOutput) ElementType() reflect.Type
func (InstanceMapOutput) MapIndex ¶ added in v2.7.2
func (o InstanceMapOutput) MapIndex(k pulumi.StringInput) InstanceOutput
func (InstanceMapOutput) ToInstanceMapOutput ¶ added in v2.7.2
func (o InstanceMapOutput) ToInstanceMapOutput() InstanceMapOutput
func (InstanceMapOutput) ToInstanceMapOutputWithContext ¶ added in v2.7.2
func (o InstanceMapOutput) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput
type InstanceOutput ¶ added in v2.5.1
type InstanceOutput struct {
*pulumi.OutputState
}
func (InstanceOutput) ElementType ¶ added in v2.5.1
func (InstanceOutput) ElementType() reflect.Type
func (InstanceOutput) ToInstanceOutput ¶ added in v2.5.1
func (o InstanceOutput) ToInstanceOutput() InstanceOutput
func (InstanceOutput) ToInstanceOutputWithContext ¶ added in v2.5.1
func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
func (InstanceOutput) ToInstancePtrOutput ¶ added in v2.7.2
func (o InstanceOutput) ToInstancePtrOutput() InstancePtrOutput
func (InstanceOutput) ToInstancePtrOutputWithContext ¶ added in v2.7.2
func (o InstanceOutput) ToInstancePtrOutputWithContext(ctx context.Context) InstancePtrOutput
type InstancePtrInput ¶ added in v2.7.2
type InstancePtrInput interface { pulumi.Input ToInstancePtrOutput() InstancePtrOutput ToInstancePtrOutputWithContext(ctx context.Context) InstancePtrOutput }
type InstancePtrOutput ¶ added in v2.7.2
type InstancePtrOutput struct {
*pulumi.OutputState
}
func (InstancePtrOutput) ElementType ¶ added in v2.7.2
func (InstancePtrOutput) ElementType() reflect.Type
func (InstancePtrOutput) ToInstancePtrOutput ¶ added in v2.7.2
func (o InstancePtrOutput) ToInstancePtrOutput() InstancePtrOutput
func (InstancePtrOutput) ToInstancePtrOutputWithContext ¶ added in v2.7.2
func (o InstancePtrOutput) ToInstancePtrOutputWithContext(ctx context.Context) InstancePtrOutput
type InstanceState ¶
type InstanceState struct { // (Computed) API key needed to communicate to CloudAMQP's second API. The second API is used to manage alarms, integration and more, full description [CloudAMQP API](https://docs.cloudamqp.com/cloudamqp_api.html). Apikey pulumi.StringPtrInput // Is the instance hosted on a dedicated server Dedicated pulumi.BoolPtrInput // (Computed) The host name for the CloudAMQP instance. Host pulumi.StringPtrInput // Name of the CloudAMQP instance. Name pulumi.StringPtrInput // Set to true to discard creating default alarms when the instance is created. Can be left out, will then use default value = false. NoDefaultAlarms pulumi.BoolPtrInput // Number of nodes, 1, 3 or 5. **Note: Changed from optional to computed. In order to change number of nodes, the subscription plan needs to be updated.** Nodes pulumi.IntPtrInput // The subscription plan. See available plans Plan pulumi.StringPtrInput // Flag describing if the resource is ready Ready pulumi.BoolPtrInput // The region to host the instance in. See Instance regions Region pulumi.StringPtrInput // The Rabbit MQ version. Can be left out, will then be set to default value used by CloudAMQP API. **Note: There is not yet any support in the provider to change the RMQ version. Once it's set in the initial creation, it will remain.** RmqVersion pulumi.StringPtrInput // One or more tags for the CloudAMQP instance, makes it possible to categories multiple instances in console view. Default there is no tags assigned. Tags pulumi.StringArrayInput // (Computed) AMQP server endpoint. `amqps://{username}:{password}@{hostname}/{vhost}` Url pulumi.StringPtrInput // (Computed) The virtual host used by Rabbit MQ. Vhost pulumi.StringPtrInput // Creates a dedicated VPC subnet, shouldn't overlap with other VPC subnet, default subnet used 10.56.72.0/24. **NOTE: extra fee will be charged when using VPC, see [CloudAMQP](https://cloudamqp.com) for more information.** VpcSubnet pulumi.StringPtrInput }
func (InstanceState) ElementType ¶
func (InstanceState) ElementType() reflect.Type
type IntegrationLog ¶ added in v2.2.0
type IntegrationLog struct { pulumi.CustomResourceState // AWS access key identifier. AccessKeyId pulumi.StringPtrOutput `pulumi:"accessKeyId"` // The API key. ApiKey pulumi.StringPtrOutput `pulumi:"apiKey"` // The client email registered for the integration service. ClientEmail pulumi.StringPtrOutput `pulumi:"clientEmail"` // Destination to send the logs. HostPort pulumi.StringPtrOutput `pulumi:"hostPort"` // Instance identifier used to make proxy calls InstanceId pulumi.IntOutput `pulumi:"instanceId"` // The name of the third party log integration. See Name pulumi.StringOutput `pulumi:"name"` // The private access key. PrivateKey pulumi.StringPtrOutput `pulumi:"privateKey"` // The project identifier. ProjectId pulumi.StringPtrOutput `pulumi:"projectId"` // Region hosting the integration service. Region pulumi.StringPtrOutput `pulumi:"region"` // AWS secret access key. SecretAccessKey pulumi.StringPtrOutput `pulumi:"secretAccessKey"` // Tag the integration, e.g. env=prod, region=europe. Tags pulumi.StringPtrOutput `pulumi:"tags"` // Token used for authentication. Token pulumi.StringPtrOutput `pulumi:"token"` // Endpoint to log integration. Url pulumi.StringPtrOutput `pulumi:"url"` }
This resource allows you to create and manage third party log integrations for a CloudAMQP instance. Once configured, the logs produced will be forward to corresponding integration.
Only available for dedicated subscription plans.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-cloudamqp/sdk/v2/go/cloudamqp" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cloudamqp.NewIntegrationLog(ctx, "cloudwatch", &cloudamqp.IntegrationLogArgs{ InstanceId: pulumi.Any(cloudamqp_instance.Instance.Id), AccessKeyId: pulumi.Any(_var.Aws_access_key_id), SecretAccessKey: pulumi.Any(_var.Aws_secret_access_key), Region: pulumi.Any(_var.Aws_region), }) if err != nil { return err } _, err = cloudamqp.NewIntegrationLog(ctx, "logentries", &cloudamqp.IntegrationLogArgs{ InstanceId: pulumi.Any(cloudamqp_instance.Instance.Id), Token: pulumi.Any(_var.Logentries_token), }) if err != nil { return err } _, err = cloudamqp.NewIntegrationLog(ctx, "loggly", &cloudamqp.IntegrationLogArgs{ InstanceId: pulumi.Any(cloudamqp_instance.Instance.Id), Token: pulumi.Any(_var.Loggly_token), }) if err != nil { return err } _, err = cloudamqp.NewIntegrationLog(ctx, "papertrail", &cloudamqp.IntegrationLogArgs{ InstanceId: pulumi.Any(cloudamqp_instance.Instance.Id), Url: pulumi.Any(_var.Papertrail_url), }) if err != nil { return err } _, err = cloudamqp.NewIntegrationLog(ctx, "splunk", &cloudamqp.IntegrationLogArgs{ InstanceId: pulumi.Any(cloudamqp_instance.Instance.Id), Token: pulumi.Any(_var.Splunk_token), HostPort: pulumi.Any(_var.Splunk_host_port), }) if err != nil { return err } _, err = cloudamqp.NewIntegrationLog(ctx, "datadog", &cloudamqp.IntegrationLogArgs{ InstanceId: pulumi.Any(cloudamqp_instance.Instance.Id), Region: pulumi.Any(_var.Datadog_region), ApiKey: pulumi.Any(_var.Datadog_api_key), Tags: pulumi.Any(_var.Datadog_tags), }) if err != nil { return err } _, err = cloudamqp.NewIntegrationLog(ctx, "stackdriver", &cloudamqp.IntegrationLogArgs{ InstanceId: pulumi.Any(cloudamqp_instance.Instance.Id), ProjectId: pulumi.Any(_var.Stackdriver_project_id), PrivateKey: pulumi.Any(_var.Stackdriver_private_key), ClientEmail: pulumi.Any(_var.Stackdriver_client_email), }) if err != nil { return err } return nil }) }
``` ## Argument Reference (cloudwatchlog)
Cloudwatch argument reference and example. Create an IAM user with programmatic access and the following permissions:
* CreateLogGroup * CreateLogStream * DescribeLogGroups * DescribeLogStreams * PutLogEvents
## Integration service reference
Valid names for third party log integration.
| Name | Description | |------------|---------------------------------------------------------------| | cloudwatchlog | Create a IAM with programmatic access. | | logentries | Create a Logentries token at https://logentries.com/app#/add-log/manual | | loggly | Create a Loggly token at https://{your-company}.loggly.com/tokens | | papertrail | Create a Papertrail endpoint https://papertrailapp.com/systems/setup | | splunk | Create a HTTP Event Collector token at https://.cloud.splunk.com/en-US/manager/search/http-eventcollector | | datadog | Create a Datadog API key at app.datadoghq.com | | stackdriver | Create a service account and add 'monitor metrics writer' role, then download credentials. |
## Integration Type reference
Valid arguments for third party log integrations.
Required arguments for all integrations: name
| Name | Type | Required arguments | | ---- | ---- | ---- | | CloudWatch | cloudwatchlog | access_key_id, secret_access_key, region | | Log Entries | logentries | token | | Loggly | loggly | token | | Papertrail | papertrail | url | | Splunk | splunk | token, hostPort | | Data Dog | datadog | region, api_keys, tags | | Stackdriver | stackdriver | project_id, private_key, clientEmail |
## Dependency
This resource depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
## Import
`cloudamqp_integration_log`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.
```sh
$ pulumi import cloudamqp:index/integrationLog:IntegrationLog <resource_name> <name>,<instance_id>`
```
func GetIntegrationLog ¶ added in v2.2.0
func GetIntegrationLog(ctx *pulumi.Context, name string, id pulumi.IDInput, state *IntegrationLogState, opts ...pulumi.ResourceOption) (*IntegrationLog, error)
GetIntegrationLog gets an existing IntegrationLog resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewIntegrationLog ¶ added in v2.2.0
func NewIntegrationLog(ctx *pulumi.Context, name string, args *IntegrationLogArgs, opts ...pulumi.ResourceOption) (*IntegrationLog, error)
NewIntegrationLog registers a new resource with the given unique name, arguments, and options.
func (*IntegrationLog) ElementType ¶ added in v2.5.1
func (*IntegrationLog) ElementType() reflect.Type
func (*IntegrationLog) ToIntegrationLogOutput ¶ added in v2.5.1
func (i *IntegrationLog) ToIntegrationLogOutput() IntegrationLogOutput
func (*IntegrationLog) ToIntegrationLogOutputWithContext ¶ added in v2.5.1
func (i *IntegrationLog) ToIntegrationLogOutputWithContext(ctx context.Context) IntegrationLogOutput
func (*IntegrationLog) ToIntegrationLogPtrOutput ¶ added in v2.7.2
func (i *IntegrationLog) ToIntegrationLogPtrOutput() IntegrationLogPtrOutput
func (*IntegrationLog) ToIntegrationLogPtrOutputWithContext ¶ added in v2.7.2
func (i *IntegrationLog) ToIntegrationLogPtrOutputWithContext(ctx context.Context) IntegrationLogPtrOutput
type IntegrationLogArgs ¶ added in v2.2.0
type IntegrationLogArgs struct { // AWS access key identifier. AccessKeyId pulumi.StringPtrInput // The API key. ApiKey pulumi.StringPtrInput // The client email registered for the integration service. ClientEmail pulumi.StringPtrInput // Destination to send the logs. HostPort pulumi.StringPtrInput // Instance identifier used to make proxy calls InstanceId pulumi.IntInput // The name of the third party log integration. See Name pulumi.StringPtrInput // The private access key. PrivateKey pulumi.StringPtrInput // The project identifier. ProjectId pulumi.StringPtrInput // Region hosting the integration service. Region pulumi.StringPtrInput // AWS secret access key. SecretAccessKey pulumi.StringPtrInput // Tag the integration, e.g. env=prod, region=europe. Tags pulumi.StringPtrInput // Token used for authentication. Token pulumi.StringPtrInput // Endpoint to log integration. Url pulumi.StringPtrInput }
The set of arguments for constructing a IntegrationLog resource.
func (IntegrationLogArgs) ElementType ¶ added in v2.2.0
func (IntegrationLogArgs) ElementType() reflect.Type
type IntegrationLogArray ¶ added in v2.7.2
type IntegrationLogArray []IntegrationLogInput
func (IntegrationLogArray) ElementType ¶ added in v2.7.2
func (IntegrationLogArray) ElementType() reflect.Type
func (IntegrationLogArray) ToIntegrationLogArrayOutput ¶ added in v2.7.2
func (i IntegrationLogArray) ToIntegrationLogArrayOutput() IntegrationLogArrayOutput
func (IntegrationLogArray) ToIntegrationLogArrayOutputWithContext ¶ added in v2.7.2
func (i IntegrationLogArray) ToIntegrationLogArrayOutputWithContext(ctx context.Context) IntegrationLogArrayOutput
type IntegrationLogArrayInput ¶ added in v2.7.2
type IntegrationLogArrayInput interface { pulumi.Input ToIntegrationLogArrayOutput() IntegrationLogArrayOutput ToIntegrationLogArrayOutputWithContext(context.Context) IntegrationLogArrayOutput }
IntegrationLogArrayInput is an input type that accepts IntegrationLogArray and IntegrationLogArrayOutput values. You can construct a concrete instance of `IntegrationLogArrayInput` via:
IntegrationLogArray{ IntegrationLogArgs{...} }
type IntegrationLogArrayOutput ¶ added in v2.7.2
type IntegrationLogArrayOutput struct{ *pulumi.OutputState }
func (IntegrationLogArrayOutput) ElementType ¶ added in v2.7.2
func (IntegrationLogArrayOutput) ElementType() reflect.Type
func (IntegrationLogArrayOutput) Index ¶ added in v2.7.2
func (o IntegrationLogArrayOutput) Index(i pulumi.IntInput) IntegrationLogOutput
func (IntegrationLogArrayOutput) ToIntegrationLogArrayOutput ¶ added in v2.7.2
func (o IntegrationLogArrayOutput) ToIntegrationLogArrayOutput() IntegrationLogArrayOutput
func (IntegrationLogArrayOutput) ToIntegrationLogArrayOutputWithContext ¶ added in v2.7.2
func (o IntegrationLogArrayOutput) ToIntegrationLogArrayOutputWithContext(ctx context.Context) IntegrationLogArrayOutput
type IntegrationLogInput ¶ added in v2.5.1
type IntegrationLogInput interface { pulumi.Input ToIntegrationLogOutput() IntegrationLogOutput ToIntegrationLogOutputWithContext(ctx context.Context) IntegrationLogOutput }
type IntegrationLogMap ¶ added in v2.7.2
type IntegrationLogMap map[string]IntegrationLogInput
func (IntegrationLogMap) ElementType ¶ added in v2.7.2
func (IntegrationLogMap) ElementType() reflect.Type
func (IntegrationLogMap) ToIntegrationLogMapOutput ¶ added in v2.7.2
func (i IntegrationLogMap) ToIntegrationLogMapOutput() IntegrationLogMapOutput
func (IntegrationLogMap) ToIntegrationLogMapOutputWithContext ¶ added in v2.7.2
func (i IntegrationLogMap) ToIntegrationLogMapOutputWithContext(ctx context.Context) IntegrationLogMapOutput
type IntegrationLogMapInput ¶ added in v2.7.2
type IntegrationLogMapInput interface { pulumi.Input ToIntegrationLogMapOutput() IntegrationLogMapOutput ToIntegrationLogMapOutputWithContext(context.Context) IntegrationLogMapOutput }
IntegrationLogMapInput is an input type that accepts IntegrationLogMap and IntegrationLogMapOutput values. You can construct a concrete instance of `IntegrationLogMapInput` via:
IntegrationLogMap{ "key": IntegrationLogArgs{...} }
type IntegrationLogMapOutput ¶ added in v2.7.2
type IntegrationLogMapOutput struct{ *pulumi.OutputState }
func (IntegrationLogMapOutput) ElementType ¶ added in v2.7.2
func (IntegrationLogMapOutput) ElementType() reflect.Type
func (IntegrationLogMapOutput) MapIndex ¶ added in v2.7.2
func (o IntegrationLogMapOutput) MapIndex(k pulumi.StringInput) IntegrationLogOutput
func (IntegrationLogMapOutput) ToIntegrationLogMapOutput ¶ added in v2.7.2
func (o IntegrationLogMapOutput) ToIntegrationLogMapOutput() IntegrationLogMapOutput
func (IntegrationLogMapOutput) ToIntegrationLogMapOutputWithContext ¶ added in v2.7.2
func (o IntegrationLogMapOutput) ToIntegrationLogMapOutputWithContext(ctx context.Context) IntegrationLogMapOutput
type IntegrationLogOutput ¶ added in v2.5.1
type IntegrationLogOutput struct {
*pulumi.OutputState
}
func (IntegrationLogOutput) ElementType ¶ added in v2.5.1
func (IntegrationLogOutput) ElementType() reflect.Type
func (IntegrationLogOutput) ToIntegrationLogOutput ¶ added in v2.5.1
func (o IntegrationLogOutput) ToIntegrationLogOutput() IntegrationLogOutput
func (IntegrationLogOutput) ToIntegrationLogOutputWithContext ¶ added in v2.5.1
func (o IntegrationLogOutput) ToIntegrationLogOutputWithContext(ctx context.Context) IntegrationLogOutput
func (IntegrationLogOutput) ToIntegrationLogPtrOutput ¶ added in v2.7.2
func (o IntegrationLogOutput) ToIntegrationLogPtrOutput() IntegrationLogPtrOutput
func (IntegrationLogOutput) ToIntegrationLogPtrOutputWithContext ¶ added in v2.7.2
func (o IntegrationLogOutput) ToIntegrationLogPtrOutputWithContext(ctx context.Context) IntegrationLogPtrOutput
type IntegrationLogPtrInput ¶ added in v2.7.2
type IntegrationLogPtrInput interface { pulumi.Input ToIntegrationLogPtrOutput() IntegrationLogPtrOutput ToIntegrationLogPtrOutputWithContext(ctx context.Context) IntegrationLogPtrOutput }
type IntegrationLogPtrOutput ¶ added in v2.7.2
type IntegrationLogPtrOutput struct {
*pulumi.OutputState
}
func (IntegrationLogPtrOutput) ElementType ¶ added in v2.7.2
func (IntegrationLogPtrOutput) ElementType() reflect.Type
func (IntegrationLogPtrOutput) ToIntegrationLogPtrOutput ¶ added in v2.7.2
func (o IntegrationLogPtrOutput) ToIntegrationLogPtrOutput() IntegrationLogPtrOutput
func (IntegrationLogPtrOutput) ToIntegrationLogPtrOutputWithContext ¶ added in v2.7.2
func (o IntegrationLogPtrOutput) ToIntegrationLogPtrOutputWithContext(ctx context.Context) IntegrationLogPtrOutput
type IntegrationLogState ¶ added in v2.2.0
type IntegrationLogState struct { // AWS access key identifier. AccessKeyId pulumi.StringPtrInput // The API key. ApiKey pulumi.StringPtrInput // The client email registered for the integration service. ClientEmail pulumi.StringPtrInput // Destination to send the logs. HostPort pulumi.StringPtrInput // Instance identifier used to make proxy calls InstanceId pulumi.IntPtrInput // The name of the third party log integration. See Name pulumi.StringPtrInput // The private access key. PrivateKey pulumi.StringPtrInput // The project identifier. ProjectId pulumi.StringPtrInput // Region hosting the integration service. Region pulumi.StringPtrInput // AWS secret access key. SecretAccessKey pulumi.StringPtrInput // Tag the integration, e.g. env=prod, region=europe. Tags pulumi.StringPtrInput // Token used for authentication. Token pulumi.StringPtrInput // Endpoint to log integration. Url pulumi.StringPtrInput }
func (IntegrationLogState) ElementType ¶ added in v2.2.0
func (IntegrationLogState) ElementType() reflect.Type
type IntegrationMetric ¶ added in v2.2.0
type IntegrationMetric struct { pulumi.CustomResourceState // AWS access key identifier. (Cloudwatch) AccessKeyId pulumi.StringPtrOutput `pulumi:"accessKeyId"` // The API key for the integration service. (Librato) ApiKey pulumi.StringPtrOutput `pulumi:"apiKey"` // The client email. (Stackdriver) ClientEmail pulumi.StringPtrOutput `pulumi:"clientEmail"` // The email address registred for the integration service. (Librato) Email pulumi.StringPtrOutput `pulumi:"email"` // Instance identifier InstanceId pulumi.IntOutput `pulumi:"instanceId"` // The license key registred for the integration service. (New Relic) LicenseKey pulumi.StringPtrOutput `pulumi:"licenseKey"` // The name of metrics integration Name pulumi.StringOutput `pulumi:"name"` // The private key. (Stackdriver) PrivateKey pulumi.StringPtrOutput `pulumi:"privateKey"` // Project ID. (Stackdriver) ProjectId pulumi.StringPtrOutput `pulumi:"projectId"` // (optional) allowlist using regular expression QueueAllowlist pulumi.StringPtrOutput `pulumi:"queueAllowlist"` // **Deprecated** // // Deprecated: use queue_allowlist instead QueueWhitelist pulumi.StringPtrOutput `pulumi:"queueWhitelist"` // AWS region for Cloudwatch and [US/EU] for Data dog/New relic. (Cloudwatch, Data Dog, New Relic) Region pulumi.StringPtrOutput `pulumi:"region"` // AWS secret key. (Cloudwatch) SecretAccessKey pulumi.StringPtrOutput `pulumi:"secretAccessKey"` // (optional) tags. E.g. env=prod,region=europe Tags pulumi.StringPtrOutput `pulumi:"tags"` // (optional) allowlist using regular expression VhostAllowlist pulumi.StringPtrOutput `pulumi:"vhostAllowlist"` // **Deprecated** // // Deprecated: use vhost_allowlist instead VhostWhitelist pulumi.StringPtrOutput `pulumi:"vhostWhitelist"` }
func GetIntegrationMetric ¶ added in v2.2.0
func GetIntegrationMetric(ctx *pulumi.Context, name string, id pulumi.IDInput, state *IntegrationMetricState, opts ...pulumi.ResourceOption) (*IntegrationMetric, error)
GetIntegrationMetric gets an existing IntegrationMetric resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewIntegrationMetric ¶ added in v2.2.0
func NewIntegrationMetric(ctx *pulumi.Context, name string, args *IntegrationMetricArgs, opts ...pulumi.ResourceOption) (*IntegrationMetric, error)
NewIntegrationMetric registers a new resource with the given unique name, arguments, and options.
func (*IntegrationMetric) ElementType ¶ added in v2.5.1
func (*IntegrationMetric) ElementType() reflect.Type
func (*IntegrationMetric) ToIntegrationMetricOutput ¶ added in v2.5.1
func (i *IntegrationMetric) ToIntegrationMetricOutput() IntegrationMetricOutput
func (*IntegrationMetric) ToIntegrationMetricOutputWithContext ¶ added in v2.5.1
func (i *IntegrationMetric) ToIntegrationMetricOutputWithContext(ctx context.Context) IntegrationMetricOutput
func (*IntegrationMetric) ToIntegrationMetricPtrOutput ¶ added in v2.7.2
func (i *IntegrationMetric) ToIntegrationMetricPtrOutput() IntegrationMetricPtrOutput
func (*IntegrationMetric) ToIntegrationMetricPtrOutputWithContext ¶ added in v2.7.2
func (i *IntegrationMetric) ToIntegrationMetricPtrOutputWithContext(ctx context.Context) IntegrationMetricPtrOutput
type IntegrationMetricArgs ¶ added in v2.2.0
type IntegrationMetricArgs struct { // AWS access key identifier. (Cloudwatch) AccessKeyId pulumi.StringPtrInput // The API key for the integration service. (Librato) ApiKey pulumi.StringPtrInput // The client email. (Stackdriver) ClientEmail pulumi.StringPtrInput // The email address registred for the integration service. (Librato) Email pulumi.StringPtrInput // Instance identifier InstanceId pulumi.IntInput // The license key registred for the integration service. (New Relic) LicenseKey pulumi.StringPtrInput // The name of metrics integration Name pulumi.StringPtrInput // The private key. (Stackdriver) PrivateKey pulumi.StringPtrInput // Project ID. (Stackdriver) ProjectId pulumi.StringPtrInput // (optional) allowlist using regular expression QueueAllowlist pulumi.StringPtrInput // **Deprecated** // // Deprecated: use queue_allowlist instead QueueWhitelist pulumi.StringPtrInput // AWS region for Cloudwatch and [US/EU] for Data dog/New relic. (Cloudwatch, Data Dog, New Relic) Region pulumi.StringPtrInput // AWS secret key. (Cloudwatch) SecretAccessKey pulumi.StringPtrInput // (optional) tags. E.g. env=prod,region=europe Tags pulumi.StringPtrInput // (optional) allowlist using regular expression VhostAllowlist pulumi.StringPtrInput // **Deprecated** // // Deprecated: use vhost_allowlist instead VhostWhitelist pulumi.StringPtrInput }
The set of arguments for constructing a IntegrationMetric resource.
func (IntegrationMetricArgs) ElementType ¶ added in v2.2.0
func (IntegrationMetricArgs) ElementType() reflect.Type
type IntegrationMetricArray ¶ added in v2.7.2
type IntegrationMetricArray []IntegrationMetricInput
func (IntegrationMetricArray) ElementType ¶ added in v2.7.2
func (IntegrationMetricArray) ElementType() reflect.Type
func (IntegrationMetricArray) ToIntegrationMetricArrayOutput ¶ added in v2.7.2
func (i IntegrationMetricArray) ToIntegrationMetricArrayOutput() IntegrationMetricArrayOutput
func (IntegrationMetricArray) ToIntegrationMetricArrayOutputWithContext ¶ added in v2.7.2
func (i IntegrationMetricArray) ToIntegrationMetricArrayOutputWithContext(ctx context.Context) IntegrationMetricArrayOutput
type IntegrationMetricArrayInput ¶ added in v2.7.2
type IntegrationMetricArrayInput interface { pulumi.Input ToIntegrationMetricArrayOutput() IntegrationMetricArrayOutput ToIntegrationMetricArrayOutputWithContext(context.Context) IntegrationMetricArrayOutput }
IntegrationMetricArrayInput is an input type that accepts IntegrationMetricArray and IntegrationMetricArrayOutput values. You can construct a concrete instance of `IntegrationMetricArrayInput` via:
IntegrationMetricArray{ IntegrationMetricArgs{...} }
type IntegrationMetricArrayOutput ¶ added in v2.7.2
type IntegrationMetricArrayOutput struct{ *pulumi.OutputState }
func (IntegrationMetricArrayOutput) ElementType ¶ added in v2.7.2
func (IntegrationMetricArrayOutput) ElementType() reflect.Type
func (IntegrationMetricArrayOutput) Index ¶ added in v2.7.2
func (o IntegrationMetricArrayOutput) Index(i pulumi.IntInput) IntegrationMetricOutput
func (IntegrationMetricArrayOutput) ToIntegrationMetricArrayOutput ¶ added in v2.7.2
func (o IntegrationMetricArrayOutput) ToIntegrationMetricArrayOutput() IntegrationMetricArrayOutput
func (IntegrationMetricArrayOutput) ToIntegrationMetricArrayOutputWithContext ¶ added in v2.7.2
func (o IntegrationMetricArrayOutput) ToIntegrationMetricArrayOutputWithContext(ctx context.Context) IntegrationMetricArrayOutput
type IntegrationMetricInput ¶ added in v2.5.1
type IntegrationMetricInput interface { pulumi.Input ToIntegrationMetricOutput() IntegrationMetricOutput ToIntegrationMetricOutputWithContext(ctx context.Context) IntegrationMetricOutput }
type IntegrationMetricMap ¶ added in v2.7.2
type IntegrationMetricMap map[string]IntegrationMetricInput
func (IntegrationMetricMap) ElementType ¶ added in v2.7.2
func (IntegrationMetricMap) ElementType() reflect.Type
func (IntegrationMetricMap) ToIntegrationMetricMapOutput ¶ added in v2.7.2
func (i IntegrationMetricMap) ToIntegrationMetricMapOutput() IntegrationMetricMapOutput
func (IntegrationMetricMap) ToIntegrationMetricMapOutputWithContext ¶ added in v2.7.2
func (i IntegrationMetricMap) ToIntegrationMetricMapOutputWithContext(ctx context.Context) IntegrationMetricMapOutput
type IntegrationMetricMapInput ¶ added in v2.7.2
type IntegrationMetricMapInput interface { pulumi.Input ToIntegrationMetricMapOutput() IntegrationMetricMapOutput ToIntegrationMetricMapOutputWithContext(context.Context) IntegrationMetricMapOutput }
IntegrationMetricMapInput is an input type that accepts IntegrationMetricMap and IntegrationMetricMapOutput values. You can construct a concrete instance of `IntegrationMetricMapInput` via:
IntegrationMetricMap{ "key": IntegrationMetricArgs{...} }
type IntegrationMetricMapOutput ¶ added in v2.7.2
type IntegrationMetricMapOutput struct{ *pulumi.OutputState }
func (IntegrationMetricMapOutput) ElementType ¶ added in v2.7.2
func (IntegrationMetricMapOutput) ElementType() reflect.Type
func (IntegrationMetricMapOutput) MapIndex ¶ added in v2.7.2
func (o IntegrationMetricMapOutput) MapIndex(k pulumi.StringInput) IntegrationMetricOutput
func (IntegrationMetricMapOutput) ToIntegrationMetricMapOutput ¶ added in v2.7.2
func (o IntegrationMetricMapOutput) ToIntegrationMetricMapOutput() IntegrationMetricMapOutput
func (IntegrationMetricMapOutput) ToIntegrationMetricMapOutputWithContext ¶ added in v2.7.2
func (o IntegrationMetricMapOutput) ToIntegrationMetricMapOutputWithContext(ctx context.Context) IntegrationMetricMapOutput
type IntegrationMetricOutput ¶ added in v2.5.1
type IntegrationMetricOutput struct {
*pulumi.OutputState
}
func (IntegrationMetricOutput) ElementType ¶ added in v2.5.1
func (IntegrationMetricOutput) ElementType() reflect.Type
func (IntegrationMetricOutput) ToIntegrationMetricOutput ¶ added in v2.5.1
func (o IntegrationMetricOutput) ToIntegrationMetricOutput() IntegrationMetricOutput
func (IntegrationMetricOutput) ToIntegrationMetricOutputWithContext ¶ added in v2.5.1
func (o IntegrationMetricOutput) ToIntegrationMetricOutputWithContext(ctx context.Context) IntegrationMetricOutput
func (IntegrationMetricOutput) ToIntegrationMetricPtrOutput ¶ added in v2.7.2
func (o IntegrationMetricOutput) ToIntegrationMetricPtrOutput() IntegrationMetricPtrOutput
func (IntegrationMetricOutput) ToIntegrationMetricPtrOutputWithContext ¶ added in v2.7.2
func (o IntegrationMetricOutput) ToIntegrationMetricPtrOutputWithContext(ctx context.Context) IntegrationMetricPtrOutput
type IntegrationMetricPtrInput ¶ added in v2.7.2
type IntegrationMetricPtrInput interface { pulumi.Input ToIntegrationMetricPtrOutput() IntegrationMetricPtrOutput ToIntegrationMetricPtrOutputWithContext(ctx context.Context) IntegrationMetricPtrOutput }
type IntegrationMetricPtrOutput ¶ added in v2.7.2
type IntegrationMetricPtrOutput struct {
*pulumi.OutputState
}
func (IntegrationMetricPtrOutput) ElementType ¶ added in v2.7.2
func (IntegrationMetricPtrOutput) ElementType() reflect.Type
func (IntegrationMetricPtrOutput) ToIntegrationMetricPtrOutput ¶ added in v2.7.2
func (o IntegrationMetricPtrOutput) ToIntegrationMetricPtrOutput() IntegrationMetricPtrOutput
func (IntegrationMetricPtrOutput) ToIntegrationMetricPtrOutputWithContext ¶ added in v2.7.2
func (o IntegrationMetricPtrOutput) ToIntegrationMetricPtrOutputWithContext(ctx context.Context) IntegrationMetricPtrOutput
type IntegrationMetricState ¶ added in v2.2.0
type IntegrationMetricState struct { // AWS access key identifier. (Cloudwatch) AccessKeyId pulumi.StringPtrInput // The API key for the integration service. (Librato) ApiKey pulumi.StringPtrInput // The client email. (Stackdriver) ClientEmail pulumi.StringPtrInput // The email address registred for the integration service. (Librato) Email pulumi.StringPtrInput // Instance identifier InstanceId pulumi.IntPtrInput // The license key registred for the integration service. (New Relic) LicenseKey pulumi.StringPtrInput // The name of metrics integration Name pulumi.StringPtrInput // The private key. (Stackdriver) PrivateKey pulumi.StringPtrInput // Project ID. (Stackdriver) ProjectId pulumi.StringPtrInput // (optional) allowlist using regular expression QueueAllowlist pulumi.StringPtrInput // **Deprecated** // // Deprecated: use queue_allowlist instead QueueWhitelist pulumi.StringPtrInput // AWS region for Cloudwatch and [US/EU] for Data dog/New relic. (Cloudwatch, Data Dog, New Relic) Region pulumi.StringPtrInput // AWS secret key. (Cloudwatch) SecretAccessKey pulumi.StringPtrInput // (optional) tags. E.g. env=prod,region=europe Tags pulumi.StringPtrInput // (optional) allowlist using regular expression VhostAllowlist pulumi.StringPtrInput // **Deprecated** // // Deprecated: use vhost_allowlist instead VhostWhitelist pulumi.StringPtrInput }
func (IntegrationMetricState) ElementType ¶ added in v2.2.0
func (IntegrationMetricState) ElementType() reflect.Type
type LookupAlarmArgs ¶ added in v2.2.0
type LookupAlarmArgs struct { AlarmId *int `pulumi:"alarmId"` InstanceId int `pulumi:"instanceId"` Type *string `pulumi:"type"` }
A collection of arguments for invoking getAlarm.
type LookupAlarmResult ¶ added in v2.2.0
type LookupAlarmResult struct { AlarmId *int `pulumi:"alarmId"` Enabled bool `pulumi:"enabled"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` InstanceId int `pulumi:"instanceId"` MessageType string `pulumi:"messageType"` QueueRegex string `pulumi:"queueRegex"` Recipients []int `pulumi:"recipients"` TimeThreshold int `pulumi:"timeThreshold"` Type *string `pulumi:"type"` ValueThreshold int `pulumi:"valueThreshold"` VhostRegex string `pulumi:"vhostRegex"` }
A collection of values returned by getAlarm.
func LookupAlarm ¶ added in v2.2.0
func LookupAlarm(ctx *pulumi.Context, args *LookupAlarmArgs, opts ...pulumi.InvokeOption) (*LookupAlarmResult, error)
Use this data source to retrieve information about default or created alarms. Either use `alarmId` or `type` to retrieve the alarm.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-cloudamqp/sdk/v2/go/cloudamqp" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { opt0 := "cpu" _, err := cloudamqp.LookupAlarm(ctx, &cloudamqp.LookupAlarmArgs{ InstanceId: cloudamqp_instance.Instance.Id, Type: &opt0, }, nil) if err != nil { return err } return nil }) }
``` ## Argument reference
* `instanceId` - (Required) The CloudAMQP instance identifier. * `alarmId` - (Optional) The alarm identifier. Either use this or `type` to give `Alarm` necessary information to retrieve the alarm. * `type` - (Optional) The alarm type. Either use this or `alarmId` to give `Alarm` necessary information when retrieve the alarm.
## Attribute reference
* `enabled` - (Computed) Enable/disable status of the alarm. * `valueThreshold` - (Computed) The value threshold that triggers the alarm. * `timeThreshold` - (Computed) The time interval (in seconds) the `valueThreshold` should be active before trigger an alarm. * `queueRegex` - (Computed) Regular expression for which queue to check. * `vhostRegex` - (Computed) Regular expression for which vhost to check * `recipients` - (Computed) Identifier for recipient to be notified. * `messageType` - (Computed) Message type `(total, unacked, ready)` used by queue alarm type.
## Dependency
This data source depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
type LookupInstanceArgs ¶
type LookupInstanceArgs struct { InstanceId int `pulumi:"instanceId"` VpcSubnet *string `pulumi:"vpcSubnet"` }
A collection of arguments for invoking getInstance.
type LookupInstanceResult ¶
type LookupInstanceResult struct { Apikey string `pulumi:"apikey"` Dedicated bool `pulumi:"dedicated"` Host string `pulumi:"host"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` InstanceId int `pulumi:"instanceId"` Name string `pulumi:"name"` Nodes int `pulumi:"nodes"` Plan string `pulumi:"plan"` Region string `pulumi:"region"` RmqVersion string `pulumi:"rmqVersion"` Tags []string `pulumi:"tags"` Url string `pulumi:"url"` Vhost string `pulumi:"vhost"` VpcSubnet *string `pulumi:"vpcSubnet"` }
A collection of values returned by getInstance.
func LookupInstance ¶
func LookupInstance(ctx *pulumi.Context, args *LookupInstanceArgs, opts ...pulumi.InvokeOption) (*LookupInstanceResult, error)
Use this data source to retrieve information about an already created CloudAMQP instance. In order to retrieve the correct information, the CoudAMQP instance identifier is needed.
## Argument reference
* `instanceId` - (Required) The CloudAMQP instance identifier.
## Attribute reference
* `name` - (Computed) The name of the CloudAMQP instance. * `plan` - (Computed) The subscription plan for the CloudAMQP instance. * `region` - (Computed) The cloud platform and region that host the CloudAMQP instance, `{platform}::{region}`. * `vpcSubnet` - (Computed) Dedicated VPC subnet configured for the CloudAMQP instance. * `nodes` - (Computed) Number of nodes in the cluster of the CloudAMQP instance. * `rmqVersion` - (Computed) The version of installed Rabbit MQ. * `url` - (Computed/Sensitive) The AMQP url, used by clients to connect for pub/sub. * `apikey` - (Computed/Sensitive) The API key to secondary API handing alarms, integration etc. * `tags` - (Computed) Tags the CloudAMQP instance with categories. * `host` - (Computed) The hostname for the CloudAMQP instance. * `vhost` - (Computed) The virtual host configured in Rabbit MQ.
type LookupNotificationArgs ¶ added in v2.2.0
type LookupNotificationArgs struct { InstanceId int `pulumi:"instanceId"` Name *string `pulumi:"name"` RecipientId *int `pulumi:"recipientId"` }
A collection of arguments for invoking getNotification.
type LookupNotificationResult ¶ added in v2.2.0
type LookupNotificationResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` InstanceId int `pulumi:"instanceId"` Name *string `pulumi:"name"` RecipientId *int `pulumi:"recipientId"` Type string `pulumi:"type"` Value string `pulumi:"value"` }
A collection of values returned by getNotification.
func LookupNotification ¶ added in v2.2.0
func LookupNotification(ctx *pulumi.Context, args *LookupNotificationArgs, opts ...pulumi.InvokeOption) (*LookupNotificationResult, error)
Use this data source to retrieve information about default or created recipients. The recipient will receive notifications assigned to an alarm that has triggered. To retrieve the recipient either use `recipientId` or `name`.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-cloudamqp/sdk/v2/go/cloudamqp" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { opt0 := "default" _, err := cloudamqp.LookupNotification(ctx, &cloudamqp.LookupNotificationArgs{ InstanceId: cloudamqp_instance.Instance.Id, Name: &opt0, }, nil) if err != nil { return err } return nil }) }
``` ## Argument reference
* `instanceId` - (Required) The CloudAMQP instance identifier. * `recipientId` - (Optional) The recipient identifier. * `name` - (Optional) The name set for the recipient.
## Attribute reference
* `type` - (Computed) The type of the recipient. * `value` - (Computed) The notification endpoint, where to send the notification.
## Dependency
This data source depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
type Notification ¶
type Notification struct { pulumi.CustomResourceState // The CloudAMQP instance ID. InstanceId pulumi.IntOutput `pulumi:"instanceId"` // Display name of the recipient. Name pulumi.StringOutput `pulumi:"name"` // Type of the notification. See valid options below. Type pulumi.StringOutput `pulumi:"type"` // Endpoint to send the notification. Value pulumi.StringOutput `pulumi:"value"` }
This resource allows you to create and manage recipients to receive alarm notifications. There will always be a default recipient created upon instance creation. This recipient will use team email and receive notifications from default alarms.
Available for all subscription plans.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-cloudamqp/sdk/v2/go/cloudamqp" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cloudamqp.NewNotification(ctx, "recipient01", &cloudamqp.NotificationArgs{ InstanceId: pulumi.Any(cloudamqp_instance.Instance.Id), Type: pulumi.String("email"), Value: pulumi.String("alarm@example.com"), }) if err != nil { return err } return nil }) }
``` ## Notification Type reference
Valid options for notification type.
* email * webhook * pagerduty * victorops * opsgenie * opsgenie-eu * slack
## Dependency
This resource depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
## Import
`cloudamqp_notification` can be imported using CloudAMQP internal identifier of a recipient together (CSV separated) with the instance identifier. To retrieve the identifier of a recipient, use [CloudAMQP API](https://docs.cloudamqp.com/cloudamqp_api.html#list-notification-recipients)
```sh
$ pulumi import cloudamqp:index/notification:Notification recipient <recpient_id>,<indstance_id>`
```
func GetNotification ¶
func GetNotification(ctx *pulumi.Context, name string, id pulumi.IDInput, state *NotificationState, opts ...pulumi.ResourceOption) (*Notification, error)
GetNotification gets an existing Notification resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewNotification ¶
func NewNotification(ctx *pulumi.Context, name string, args *NotificationArgs, opts ...pulumi.ResourceOption) (*Notification, error)
NewNotification registers a new resource with the given unique name, arguments, and options.
func (*Notification) ElementType ¶ added in v2.5.1
func (*Notification) ElementType() reflect.Type
func (*Notification) ToNotificationOutput ¶ added in v2.5.1
func (i *Notification) ToNotificationOutput() NotificationOutput
func (*Notification) ToNotificationOutputWithContext ¶ added in v2.5.1
func (i *Notification) ToNotificationOutputWithContext(ctx context.Context) NotificationOutput
func (*Notification) ToNotificationPtrOutput ¶ added in v2.7.2
func (i *Notification) ToNotificationPtrOutput() NotificationPtrOutput
func (*Notification) ToNotificationPtrOutputWithContext ¶ added in v2.7.2
func (i *Notification) ToNotificationPtrOutputWithContext(ctx context.Context) NotificationPtrOutput
type NotificationArgs ¶
type NotificationArgs struct { // The CloudAMQP instance ID. InstanceId pulumi.IntInput // Display name of the recipient. Name pulumi.StringPtrInput // Type of the notification. See valid options below. Type pulumi.StringInput // Endpoint to send the notification. Value pulumi.StringInput }
The set of arguments for constructing a Notification resource.
func (NotificationArgs) ElementType ¶
func (NotificationArgs) ElementType() reflect.Type
type NotificationArray ¶ added in v2.7.2
type NotificationArray []NotificationInput
func (NotificationArray) ElementType ¶ added in v2.7.2
func (NotificationArray) ElementType() reflect.Type
func (NotificationArray) ToNotificationArrayOutput ¶ added in v2.7.2
func (i NotificationArray) ToNotificationArrayOutput() NotificationArrayOutput
func (NotificationArray) ToNotificationArrayOutputWithContext ¶ added in v2.7.2
func (i NotificationArray) ToNotificationArrayOutputWithContext(ctx context.Context) NotificationArrayOutput
type NotificationArrayInput ¶ added in v2.7.2
type NotificationArrayInput interface { pulumi.Input ToNotificationArrayOutput() NotificationArrayOutput ToNotificationArrayOutputWithContext(context.Context) NotificationArrayOutput }
NotificationArrayInput is an input type that accepts NotificationArray and NotificationArrayOutput values. You can construct a concrete instance of `NotificationArrayInput` via:
NotificationArray{ NotificationArgs{...} }
type NotificationArrayOutput ¶ added in v2.7.2
type NotificationArrayOutput struct{ *pulumi.OutputState }
func (NotificationArrayOutput) ElementType ¶ added in v2.7.2
func (NotificationArrayOutput) ElementType() reflect.Type
func (NotificationArrayOutput) Index ¶ added in v2.7.2
func (o NotificationArrayOutput) Index(i pulumi.IntInput) NotificationOutput
func (NotificationArrayOutput) ToNotificationArrayOutput ¶ added in v2.7.2
func (o NotificationArrayOutput) ToNotificationArrayOutput() NotificationArrayOutput
func (NotificationArrayOutput) ToNotificationArrayOutputWithContext ¶ added in v2.7.2
func (o NotificationArrayOutput) ToNotificationArrayOutputWithContext(ctx context.Context) NotificationArrayOutput
type NotificationInput ¶ added in v2.5.1
type NotificationInput interface { pulumi.Input ToNotificationOutput() NotificationOutput ToNotificationOutputWithContext(ctx context.Context) NotificationOutput }
type NotificationMap ¶ added in v2.7.2
type NotificationMap map[string]NotificationInput
func (NotificationMap) ElementType ¶ added in v2.7.2
func (NotificationMap) ElementType() reflect.Type
func (NotificationMap) ToNotificationMapOutput ¶ added in v2.7.2
func (i NotificationMap) ToNotificationMapOutput() NotificationMapOutput
func (NotificationMap) ToNotificationMapOutputWithContext ¶ added in v2.7.2
func (i NotificationMap) ToNotificationMapOutputWithContext(ctx context.Context) NotificationMapOutput
type NotificationMapInput ¶ added in v2.7.2
type NotificationMapInput interface { pulumi.Input ToNotificationMapOutput() NotificationMapOutput ToNotificationMapOutputWithContext(context.Context) NotificationMapOutput }
NotificationMapInput is an input type that accepts NotificationMap and NotificationMapOutput values. You can construct a concrete instance of `NotificationMapInput` via:
NotificationMap{ "key": NotificationArgs{...} }
type NotificationMapOutput ¶ added in v2.7.2
type NotificationMapOutput struct{ *pulumi.OutputState }
func (NotificationMapOutput) ElementType ¶ added in v2.7.2
func (NotificationMapOutput) ElementType() reflect.Type
func (NotificationMapOutput) MapIndex ¶ added in v2.7.2
func (o NotificationMapOutput) MapIndex(k pulumi.StringInput) NotificationOutput
func (NotificationMapOutput) ToNotificationMapOutput ¶ added in v2.7.2
func (o NotificationMapOutput) ToNotificationMapOutput() NotificationMapOutput
func (NotificationMapOutput) ToNotificationMapOutputWithContext ¶ added in v2.7.2
func (o NotificationMapOutput) ToNotificationMapOutputWithContext(ctx context.Context) NotificationMapOutput
type NotificationOutput ¶ added in v2.5.1
type NotificationOutput struct {
*pulumi.OutputState
}
func (NotificationOutput) ElementType ¶ added in v2.5.1
func (NotificationOutput) ElementType() reflect.Type
func (NotificationOutput) ToNotificationOutput ¶ added in v2.5.1
func (o NotificationOutput) ToNotificationOutput() NotificationOutput
func (NotificationOutput) ToNotificationOutputWithContext ¶ added in v2.5.1
func (o NotificationOutput) ToNotificationOutputWithContext(ctx context.Context) NotificationOutput
func (NotificationOutput) ToNotificationPtrOutput ¶ added in v2.7.2
func (o NotificationOutput) ToNotificationPtrOutput() NotificationPtrOutput
func (NotificationOutput) ToNotificationPtrOutputWithContext ¶ added in v2.7.2
func (o NotificationOutput) ToNotificationPtrOutputWithContext(ctx context.Context) NotificationPtrOutput
type NotificationPtrInput ¶ added in v2.7.2
type NotificationPtrInput interface { pulumi.Input ToNotificationPtrOutput() NotificationPtrOutput ToNotificationPtrOutputWithContext(ctx context.Context) NotificationPtrOutput }
type NotificationPtrOutput ¶ added in v2.7.2
type NotificationPtrOutput struct {
*pulumi.OutputState
}
func (NotificationPtrOutput) ElementType ¶ added in v2.7.2
func (NotificationPtrOutput) ElementType() reflect.Type
func (NotificationPtrOutput) ToNotificationPtrOutput ¶ added in v2.7.2
func (o NotificationPtrOutput) ToNotificationPtrOutput() NotificationPtrOutput
func (NotificationPtrOutput) ToNotificationPtrOutputWithContext ¶ added in v2.7.2
func (o NotificationPtrOutput) ToNotificationPtrOutputWithContext(ctx context.Context) NotificationPtrOutput
type NotificationState ¶
type NotificationState struct { // The CloudAMQP instance ID. InstanceId pulumi.IntPtrInput // Display name of the recipient. Name pulumi.StringPtrInput // Type of the notification. See valid options below. Type pulumi.StringPtrInput // Endpoint to send the notification. Value pulumi.StringPtrInput }
func (NotificationState) ElementType ¶
func (NotificationState) ElementType() reflect.Type
type Plugin ¶
type Plugin struct { pulumi.CustomResourceState // Enable or disable the plugins. Enabled pulumi.BoolOutput `pulumi:"enabled"` // The CloudAMQP instance ID. InstanceId pulumi.IntOutput `pulumi:"instanceId"` // The name of the Rabbit MQ plugin. Name pulumi.StringOutput `pulumi:"name"` }
## 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.
```sh
$ pulumi import cloudamqp:index/plugin:Plugin rabbitmq_management rabbitmq_management,<instance_id>`
```
func GetPlugin ¶
func GetPlugin(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PluginState, opts ...pulumi.ResourceOption) (*Plugin, error)
GetPlugin gets an existing Plugin resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewPlugin ¶
func NewPlugin(ctx *pulumi.Context, name string, args *PluginArgs, opts ...pulumi.ResourceOption) (*Plugin, error)
NewPlugin registers a new resource with the given unique name, arguments, and options.
func (*Plugin) ElementType ¶ added in v2.5.1
func (*Plugin) ToPluginOutput ¶ added in v2.5.1
func (i *Plugin) ToPluginOutput() PluginOutput
func (*Plugin) ToPluginOutputWithContext ¶ added in v2.5.1
func (i *Plugin) ToPluginOutputWithContext(ctx context.Context) PluginOutput
func (*Plugin) ToPluginPtrOutput ¶ added in v2.7.2
func (i *Plugin) ToPluginPtrOutput() PluginPtrOutput
func (*Plugin) ToPluginPtrOutputWithContext ¶ added in v2.7.2
func (i *Plugin) ToPluginPtrOutputWithContext(ctx context.Context) PluginPtrOutput
type PluginArgs ¶
type PluginArgs struct { // Enable or disable the plugins. Enabled pulumi.BoolInput // The CloudAMQP instance ID. InstanceId pulumi.IntInput // The name of the Rabbit MQ plugin. Name pulumi.StringPtrInput }
The set of arguments for constructing a Plugin resource.
func (PluginArgs) ElementType ¶
func (PluginArgs) ElementType() reflect.Type
type PluginArray ¶ added in v2.7.2
type PluginArray []PluginInput
func (PluginArray) ElementType ¶ added in v2.7.2
func (PluginArray) ElementType() reflect.Type
func (PluginArray) ToPluginArrayOutput ¶ added in v2.7.2
func (i PluginArray) ToPluginArrayOutput() PluginArrayOutput
func (PluginArray) ToPluginArrayOutputWithContext ¶ added in v2.7.2
func (i PluginArray) ToPluginArrayOutputWithContext(ctx context.Context) PluginArrayOutput
type PluginArrayInput ¶ added in v2.7.2
type PluginArrayInput interface { pulumi.Input ToPluginArrayOutput() PluginArrayOutput ToPluginArrayOutputWithContext(context.Context) PluginArrayOutput }
PluginArrayInput is an input type that accepts PluginArray and PluginArrayOutput values. You can construct a concrete instance of `PluginArrayInput` via:
PluginArray{ PluginArgs{...} }
type PluginArrayOutput ¶ added in v2.7.2
type PluginArrayOutput struct{ *pulumi.OutputState }
func (PluginArrayOutput) ElementType ¶ added in v2.7.2
func (PluginArrayOutput) ElementType() reflect.Type
func (PluginArrayOutput) Index ¶ added in v2.7.2
func (o PluginArrayOutput) Index(i pulumi.IntInput) PluginOutput
func (PluginArrayOutput) ToPluginArrayOutput ¶ added in v2.7.2
func (o PluginArrayOutput) ToPluginArrayOutput() PluginArrayOutput
func (PluginArrayOutput) ToPluginArrayOutputWithContext ¶ added in v2.7.2
func (o PluginArrayOutput) ToPluginArrayOutputWithContext(ctx context.Context) PluginArrayOutput
type PluginCommunity ¶
type PluginCommunity struct { pulumi.CustomResourceState // Enable or disable the plugins. Enabled pulumi.BoolOutput `pulumi:"enabled"` // The CloudAMQP instance ID. InstanceId pulumi.IntOutput `pulumi:"instanceId"` // The name of the Rabbit MQ plugin. Name pulumi.StringOutput `pulumi:"name"` }
This resource allows you to install or uninstall community plugins. Once installed the plugin will be available in `Plugin`.
Only available for dedicated subscription plans.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-cloudamqp/sdk/v2/go/cloudamqp" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cloudamqp.NewPluginCommunity(ctx, "rabbitmqDelayedMessageExchange", &cloudamqp.PluginCommunityArgs{ InstanceId: pulumi.Any(cloudamqp_instance.Instance_01.Id), Enabled: pulumi.Bool(true), }) if err != nil { return err } return nil }) }
``` ## Depedency
This resource depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
## 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.
```sh
$ pulumi import cloudamqp:index/pluginCommunity:PluginCommunity <resource_name> <plugin_name>,<instance_id>`
```
func GetPluginCommunity ¶
func GetPluginCommunity(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PluginCommunityState, opts ...pulumi.ResourceOption) (*PluginCommunity, error)
GetPluginCommunity gets an existing PluginCommunity resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewPluginCommunity ¶
func NewPluginCommunity(ctx *pulumi.Context, name string, args *PluginCommunityArgs, opts ...pulumi.ResourceOption) (*PluginCommunity, error)
NewPluginCommunity registers a new resource with the given unique name, arguments, and options.
func (*PluginCommunity) ElementType ¶ added in v2.5.1
func (*PluginCommunity) ElementType() reflect.Type
func (*PluginCommunity) ToPluginCommunityOutput ¶ added in v2.5.1
func (i *PluginCommunity) ToPluginCommunityOutput() PluginCommunityOutput
func (*PluginCommunity) ToPluginCommunityOutputWithContext ¶ added in v2.5.1
func (i *PluginCommunity) ToPluginCommunityOutputWithContext(ctx context.Context) PluginCommunityOutput
func (*PluginCommunity) ToPluginCommunityPtrOutput ¶ added in v2.7.2
func (i *PluginCommunity) ToPluginCommunityPtrOutput() PluginCommunityPtrOutput
func (*PluginCommunity) ToPluginCommunityPtrOutputWithContext ¶ added in v2.7.2
func (i *PluginCommunity) ToPluginCommunityPtrOutputWithContext(ctx context.Context) PluginCommunityPtrOutput
type PluginCommunityArgs ¶
type PluginCommunityArgs struct { // Enable or disable the plugins. Enabled pulumi.BoolInput // The CloudAMQP instance ID. InstanceId pulumi.IntInput // The name of the Rabbit MQ plugin. Name pulumi.StringPtrInput }
The set of arguments for constructing a PluginCommunity resource.
func (PluginCommunityArgs) ElementType ¶
func (PluginCommunityArgs) ElementType() reflect.Type
type PluginCommunityArray ¶ added in v2.7.2
type PluginCommunityArray []PluginCommunityInput
func (PluginCommunityArray) ElementType ¶ added in v2.7.2
func (PluginCommunityArray) ElementType() reflect.Type
func (PluginCommunityArray) ToPluginCommunityArrayOutput ¶ added in v2.7.2
func (i PluginCommunityArray) ToPluginCommunityArrayOutput() PluginCommunityArrayOutput
func (PluginCommunityArray) ToPluginCommunityArrayOutputWithContext ¶ added in v2.7.2
func (i PluginCommunityArray) ToPluginCommunityArrayOutputWithContext(ctx context.Context) PluginCommunityArrayOutput
type PluginCommunityArrayInput ¶ added in v2.7.2
type PluginCommunityArrayInput interface { pulumi.Input ToPluginCommunityArrayOutput() PluginCommunityArrayOutput ToPluginCommunityArrayOutputWithContext(context.Context) PluginCommunityArrayOutput }
PluginCommunityArrayInput is an input type that accepts PluginCommunityArray and PluginCommunityArrayOutput values. You can construct a concrete instance of `PluginCommunityArrayInput` via:
PluginCommunityArray{ PluginCommunityArgs{...} }
type PluginCommunityArrayOutput ¶ added in v2.7.2
type PluginCommunityArrayOutput struct{ *pulumi.OutputState }
func (PluginCommunityArrayOutput) ElementType ¶ added in v2.7.2
func (PluginCommunityArrayOutput) ElementType() reflect.Type
func (PluginCommunityArrayOutput) Index ¶ added in v2.7.2
func (o PluginCommunityArrayOutput) Index(i pulumi.IntInput) PluginCommunityOutput
func (PluginCommunityArrayOutput) ToPluginCommunityArrayOutput ¶ added in v2.7.2
func (o PluginCommunityArrayOutput) ToPluginCommunityArrayOutput() PluginCommunityArrayOutput
func (PluginCommunityArrayOutput) ToPluginCommunityArrayOutputWithContext ¶ added in v2.7.2
func (o PluginCommunityArrayOutput) ToPluginCommunityArrayOutputWithContext(ctx context.Context) PluginCommunityArrayOutput
type PluginCommunityInput ¶ added in v2.5.1
type PluginCommunityInput interface { pulumi.Input ToPluginCommunityOutput() PluginCommunityOutput ToPluginCommunityOutputWithContext(ctx context.Context) PluginCommunityOutput }
type PluginCommunityMap ¶ added in v2.7.2
type PluginCommunityMap map[string]PluginCommunityInput
func (PluginCommunityMap) ElementType ¶ added in v2.7.2
func (PluginCommunityMap) ElementType() reflect.Type
func (PluginCommunityMap) ToPluginCommunityMapOutput ¶ added in v2.7.2
func (i PluginCommunityMap) ToPluginCommunityMapOutput() PluginCommunityMapOutput
func (PluginCommunityMap) ToPluginCommunityMapOutputWithContext ¶ added in v2.7.2
func (i PluginCommunityMap) ToPluginCommunityMapOutputWithContext(ctx context.Context) PluginCommunityMapOutput
type PluginCommunityMapInput ¶ added in v2.7.2
type PluginCommunityMapInput interface { pulumi.Input ToPluginCommunityMapOutput() PluginCommunityMapOutput ToPluginCommunityMapOutputWithContext(context.Context) PluginCommunityMapOutput }
PluginCommunityMapInput is an input type that accepts PluginCommunityMap and PluginCommunityMapOutput values. You can construct a concrete instance of `PluginCommunityMapInput` via:
PluginCommunityMap{ "key": PluginCommunityArgs{...} }
type PluginCommunityMapOutput ¶ added in v2.7.2
type PluginCommunityMapOutput struct{ *pulumi.OutputState }
func (PluginCommunityMapOutput) ElementType ¶ added in v2.7.2
func (PluginCommunityMapOutput) ElementType() reflect.Type
func (PluginCommunityMapOutput) MapIndex ¶ added in v2.7.2
func (o PluginCommunityMapOutput) MapIndex(k pulumi.StringInput) PluginCommunityOutput
func (PluginCommunityMapOutput) ToPluginCommunityMapOutput ¶ added in v2.7.2
func (o PluginCommunityMapOutput) ToPluginCommunityMapOutput() PluginCommunityMapOutput
func (PluginCommunityMapOutput) ToPluginCommunityMapOutputWithContext ¶ added in v2.7.2
func (o PluginCommunityMapOutput) ToPluginCommunityMapOutputWithContext(ctx context.Context) PluginCommunityMapOutput
type PluginCommunityOutput ¶ added in v2.5.1
type PluginCommunityOutput struct {
*pulumi.OutputState
}
func (PluginCommunityOutput) ElementType ¶ added in v2.5.1
func (PluginCommunityOutput) ElementType() reflect.Type
func (PluginCommunityOutput) ToPluginCommunityOutput ¶ added in v2.5.1
func (o PluginCommunityOutput) ToPluginCommunityOutput() PluginCommunityOutput
func (PluginCommunityOutput) ToPluginCommunityOutputWithContext ¶ added in v2.5.1
func (o PluginCommunityOutput) ToPluginCommunityOutputWithContext(ctx context.Context) PluginCommunityOutput
func (PluginCommunityOutput) ToPluginCommunityPtrOutput ¶ added in v2.7.2
func (o PluginCommunityOutput) ToPluginCommunityPtrOutput() PluginCommunityPtrOutput
func (PluginCommunityOutput) ToPluginCommunityPtrOutputWithContext ¶ added in v2.7.2
func (o PluginCommunityOutput) ToPluginCommunityPtrOutputWithContext(ctx context.Context) PluginCommunityPtrOutput
type PluginCommunityPtrInput ¶ added in v2.7.2
type PluginCommunityPtrInput interface { pulumi.Input ToPluginCommunityPtrOutput() PluginCommunityPtrOutput ToPluginCommunityPtrOutputWithContext(ctx context.Context) PluginCommunityPtrOutput }
type PluginCommunityPtrOutput ¶ added in v2.7.2
type PluginCommunityPtrOutput struct {
*pulumi.OutputState
}
func (PluginCommunityPtrOutput) ElementType ¶ added in v2.7.2
func (PluginCommunityPtrOutput) ElementType() reflect.Type
func (PluginCommunityPtrOutput) ToPluginCommunityPtrOutput ¶ added in v2.7.2
func (o PluginCommunityPtrOutput) ToPluginCommunityPtrOutput() PluginCommunityPtrOutput
func (PluginCommunityPtrOutput) ToPluginCommunityPtrOutputWithContext ¶ added in v2.7.2
func (o PluginCommunityPtrOutput) ToPluginCommunityPtrOutputWithContext(ctx context.Context) PluginCommunityPtrOutput
type PluginCommunityState ¶
type PluginCommunityState struct { // Enable or disable the plugins. Enabled pulumi.BoolPtrInput // The CloudAMQP instance ID. InstanceId pulumi.IntPtrInput // The name of the Rabbit MQ plugin. Name pulumi.StringPtrInput }
func (PluginCommunityState) ElementType ¶
func (PluginCommunityState) ElementType() reflect.Type
type PluginInput ¶ added in v2.5.1
type PluginInput interface { pulumi.Input ToPluginOutput() PluginOutput ToPluginOutputWithContext(ctx context.Context) PluginOutput }
type PluginMap ¶ added in v2.7.2
type PluginMap map[string]PluginInput
func (PluginMap) ElementType ¶ added in v2.7.2
func (PluginMap) ToPluginMapOutput ¶ added in v2.7.2
func (i PluginMap) ToPluginMapOutput() PluginMapOutput
func (PluginMap) ToPluginMapOutputWithContext ¶ added in v2.7.2
func (i PluginMap) ToPluginMapOutputWithContext(ctx context.Context) PluginMapOutput
type PluginMapInput ¶ added in v2.7.2
type PluginMapInput interface { pulumi.Input ToPluginMapOutput() PluginMapOutput ToPluginMapOutputWithContext(context.Context) PluginMapOutput }
PluginMapInput is an input type that accepts PluginMap and PluginMapOutput values. You can construct a concrete instance of `PluginMapInput` via:
PluginMap{ "key": PluginArgs{...} }
type PluginMapOutput ¶ added in v2.7.2
type PluginMapOutput struct{ *pulumi.OutputState }
func (PluginMapOutput) ElementType ¶ added in v2.7.2
func (PluginMapOutput) ElementType() reflect.Type
func (PluginMapOutput) MapIndex ¶ added in v2.7.2
func (o PluginMapOutput) MapIndex(k pulumi.StringInput) PluginOutput
func (PluginMapOutput) ToPluginMapOutput ¶ added in v2.7.2
func (o PluginMapOutput) ToPluginMapOutput() PluginMapOutput
func (PluginMapOutput) ToPluginMapOutputWithContext ¶ added in v2.7.2
func (o PluginMapOutput) ToPluginMapOutputWithContext(ctx context.Context) PluginMapOutput
type PluginOutput ¶ added in v2.5.1
type PluginOutput struct {
*pulumi.OutputState
}
func (PluginOutput) ElementType ¶ added in v2.5.1
func (PluginOutput) ElementType() reflect.Type
func (PluginOutput) ToPluginOutput ¶ added in v2.5.1
func (o PluginOutput) ToPluginOutput() PluginOutput
func (PluginOutput) ToPluginOutputWithContext ¶ added in v2.5.1
func (o PluginOutput) ToPluginOutputWithContext(ctx context.Context) PluginOutput
func (PluginOutput) ToPluginPtrOutput ¶ added in v2.7.2
func (o PluginOutput) ToPluginPtrOutput() PluginPtrOutput
func (PluginOutput) ToPluginPtrOutputWithContext ¶ added in v2.7.2
func (o PluginOutput) ToPluginPtrOutputWithContext(ctx context.Context) PluginPtrOutput
type PluginPtrInput ¶ added in v2.7.2
type PluginPtrInput interface { pulumi.Input ToPluginPtrOutput() PluginPtrOutput ToPluginPtrOutputWithContext(ctx context.Context) PluginPtrOutput }
type PluginPtrOutput ¶ added in v2.7.2
type PluginPtrOutput struct {
*pulumi.OutputState
}
func (PluginPtrOutput) ElementType ¶ added in v2.7.2
func (PluginPtrOutput) ElementType() reflect.Type
func (PluginPtrOutput) ToPluginPtrOutput ¶ added in v2.7.2
func (o PluginPtrOutput) ToPluginPtrOutput() PluginPtrOutput
func (PluginPtrOutput) ToPluginPtrOutputWithContext ¶ added in v2.7.2
func (o PluginPtrOutput) ToPluginPtrOutputWithContext(ctx context.Context) PluginPtrOutput
type PluginState ¶
type PluginState struct { // Enable or disable the plugins. Enabled pulumi.BoolPtrInput // The CloudAMQP instance ID. InstanceId pulumi.IntPtrInput // The name of the Rabbit MQ plugin. Name pulumi.StringPtrInput }
func (PluginState) ElementType ¶
func (PluginState) ElementType() reflect.Type
type Provider ¶
type Provider struct {
pulumi.ProviderResourceState
}
The provider type for the cloudamqp package. By default, resources use package-wide configuration settings, however an explicit `Provider` instance may be created and passed during resource construction to achieve fine-grained programmatic control over provider settings. See the [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.
func NewProvider ¶
func NewProvider(ctx *pulumi.Context, name string, args *ProviderArgs, opts ...pulumi.ResourceOption) (*Provider, error)
NewProvider registers a new resource with the given unique name, arguments, and options.
func (*Provider) ElementType ¶ added in v2.5.1
func (*Provider) ToProviderOutput ¶ added in v2.5.1
func (i *Provider) ToProviderOutput() ProviderOutput
func (*Provider) ToProviderOutputWithContext ¶ added in v2.5.1
func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
func (*Provider) ToProviderPtrOutput ¶ added in v2.7.2
func (i *Provider) ToProviderPtrOutput() ProviderPtrOutput
func (*Provider) ToProviderPtrOutputWithContext ¶ added in v2.7.2
func (i *Provider) ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput
type ProviderArgs ¶
type ProviderArgs struct { // Key used to authentication to the CloudAMQP Customer API Apikey pulumi.StringInput // Base URL to CloudAMQP Customer website Baseurl pulumi.StringPtrInput }
The set of arguments for constructing a Provider resource.
func (ProviderArgs) ElementType ¶
func (ProviderArgs) ElementType() reflect.Type
type ProviderInput ¶ added in v2.5.1
type ProviderInput interface { pulumi.Input ToProviderOutput() ProviderOutput ToProviderOutputWithContext(ctx context.Context) ProviderOutput }
type ProviderOutput ¶ added in v2.5.1
type ProviderOutput struct {
*pulumi.OutputState
}
func (ProviderOutput) ElementType ¶ added in v2.5.1
func (ProviderOutput) ElementType() reflect.Type
func (ProviderOutput) ToProviderOutput ¶ added in v2.5.1
func (o ProviderOutput) ToProviderOutput() ProviderOutput
func (ProviderOutput) ToProviderOutputWithContext ¶ added in v2.5.1
func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
func (ProviderOutput) ToProviderPtrOutput ¶ added in v2.7.2
func (o ProviderOutput) ToProviderPtrOutput() ProviderPtrOutput
func (ProviderOutput) ToProviderPtrOutputWithContext ¶ added in v2.7.2
func (o ProviderOutput) ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput
type ProviderPtrInput ¶ added in v2.7.2
type ProviderPtrInput interface { pulumi.Input ToProviderPtrOutput() ProviderPtrOutput ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput }
type ProviderPtrOutput ¶ added in v2.7.2
type ProviderPtrOutput struct {
*pulumi.OutputState
}
func (ProviderPtrOutput) ElementType ¶ added in v2.7.2
func (ProviderPtrOutput) ElementType() reflect.Type
func (ProviderPtrOutput) ToProviderPtrOutput ¶ added in v2.7.2
func (o ProviderPtrOutput) ToProviderPtrOutput() ProviderPtrOutput
func (ProviderPtrOutput) ToProviderPtrOutputWithContext ¶ added in v2.7.2
func (o ProviderPtrOutput) ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput
type SecurityFirewall ¶
type SecurityFirewall struct { pulumi.CustomResourceState // The CloudAMQP instance ID. InstanceId pulumi.IntOutput `pulumi:"instanceId"` // An array of rules, minimum of 1 needs to be configured. Each `rules` block consists of the field documented below. Rules SecurityFirewallRuleArrayOutput `pulumi:"rules"` }
This resource allows you to configure and manage firewall rules for the CloudAMQP instance. Beware that all rules need to be present, since all older configurations will be overwritten.
Only available for dedicated subscription plans.
## Depedency
This resource depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
## Import
`cloudamqp_security_firewall` can be imported using CloudAMQP instance identifier.
```sh
$ pulumi import cloudamqp:index/securityFirewall:SecurityFirewall firewall <instance_id>`
```
func GetSecurityFirewall ¶
func GetSecurityFirewall(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SecurityFirewallState, opts ...pulumi.ResourceOption) (*SecurityFirewall, error)
GetSecurityFirewall gets an existing SecurityFirewall resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewSecurityFirewall ¶
func NewSecurityFirewall(ctx *pulumi.Context, name string, args *SecurityFirewallArgs, opts ...pulumi.ResourceOption) (*SecurityFirewall, error)
NewSecurityFirewall registers a new resource with the given unique name, arguments, and options.
func (*SecurityFirewall) ElementType ¶ added in v2.5.1
func (*SecurityFirewall) ElementType() reflect.Type
func (*SecurityFirewall) ToSecurityFirewallOutput ¶ added in v2.5.1
func (i *SecurityFirewall) ToSecurityFirewallOutput() SecurityFirewallOutput
func (*SecurityFirewall) ToSecurityFirewallOutputWithContext ¶ added in v2.5.1
func (i *SecurityFirewall) ToSecurityFirewallOutputWithContext(ctx context.Context) SecurityFirewallOutput
func (*SecurityFirewall) ToSecurityFirewallPtrOutput ¶ added in v2.7.2
func (i *SecurityFirewall) ToSecurityFirewallPtrOutput() SecurityFirewallPtrOutput
func (*SecurityFirewall) ToSecurityFirewallPtrOutputWithContext ¶ added in v2.7.2
func (i *SecurityFirewall) ToSecurityFirewallPtrOutputWithContext(ctx context.Context) SecurityFirewallPtrOutput
type SecurityFirewallArgs ¶
type SecurityFirewallArgs struct { // The CloudAMQP instance ID. InstanceId pulumi.IntInput // An array of rules, minimum of 1 needs to be configured. Each `rules` block consists of the field documented below. Rules SecurityFirewallRuleArrayInput }
The set of arguments for constructing a SecurityFirewall resource.
func (SecurityFirewallArgs) ElementType ¶
func (SecurityFirewallArgs) ElementType() reflect.Type
type SecurityFirewallArray ¶ added in v2.7.2
type SecurityFirewallArray []SecurityFirewallInput
func (SecurityFirewallArray) ElementType ¶ added in v2.7.2
func (SecurityFirewallArray) ElementType() reflect.Type
func (SecurityFirewallArray) ToSecurityFirewallArrayOutput ¶ added in v2.7.2
func (i SecurityFirewallArray) ToSecurityFirewallArrayOutput() SecurityFirewallArrayOutput
func (SecurityFirewallArray) ToSecurityFirewallArrayOutputWithContext ¶ added in v2.7.2
func (i SecurityFirewallArray) ToSecurityFirewallArrayOutputWithContext(ctx context.Context) SecurityFirewallArrayOutput
type SecurityFirewallArrayInput ¶ added in v2.7.2
type SecurityFirewallArrayInput interface { pulumi.Input ToSecurityFirewallArrayOutput() SecurityFirewallArrayOutput ToSecurityFirewallArrayOutputWithContext(context.Context) SecurityFirewallArrayOutput }
SecurityFirewallArrayInput is an input type that accepts SecurityFirewallArray and SecurityFirewallArrayOutput values. You can construct a concrete instance of `SecurityFirewallArrayInput` via:
SecurityFirewallArray{ SecurityFirewallArgs{...} }
type SecurityFirewallArrayOutput ¶ added in v2.7.2
type SecurityFirewallArrayOutput struct{ *pulumi.OutputState }
func (SecurityFirewallArrayOutput) ElementType ¶ added in v2.7.2
func (SecurityFirewallArrayOutput) ElementType() reflect.Type
func (SecurityFirewallArrayOutput) Index ¶ added in v2.7.2
func (o SecurityFirewallArrayOutput) Index(i pulumi.IntInput) SecurityFirewallOutput
func (SecurityFirewallArrayOutput) ToSecurityFirewallArrayOutput ¶ added in v2.7.2
func (o SecurityFirewallArrayOutput) ToSecurityFirewallArrayOutput() SecurityFirewallArrayOutput
func (SecurityFirewallArrayOutput) ToSecurityFirewallArrayOutputWithContext ¶ added in v2.7.2
func (o SecurityFirewallArrayOutput) ToSecurityFirewallArrayOutputWithContext(ctx context.Context) SecurityFirewallArrayOutput
type SecurityFirewallInput ¶ added in v2.5.1
type SecurityFirewallInput interface { pulumi.Input ToSecurityFirewallOutput() SecurityFirewallOutput ToSecurityFirewallOutputWithContext(ctx context.Context) SecurityFirewallOutput }
type SecurityFirewallMap ¶ added in v2.7.2
type SecurityFirewallMap map[string]SecurityFirewallInput
func (SecurityFirewallMap) ElementType ¶ added in v2.7.2
func (SecurityFirewallMap) ElementType() reflect.Type
func (SecurityFirewallMap) ToSecurityFirewallMapOutput ¶ added in v2.7.2
func (i SecurityFirewallMap) ToSecurityFirewallMapOutput() SecurityFirewallMapOutput
func (SecurityFirewallMap) ToSecurityFirewallMapOutputWithContext ¶ added in v2.7.2
func (i SecurityFirewallMap) ToSecurityFirewallMapOutputWithContext(ctx context.Context) SecurityFirewallMapOutput
type SecurityFirewallMapInput ¶ added in v2.7.2
type SecurityFirewallMapInput interface { pulumi.Input ToSecurityFirewallMapOutput() SecurityFirewallMapOutput ToSecurityFirewallMapOutputWithContext(context.Context) SecurityFirewallMapOutput }
SecurityFirewallMapInput is an input type that accepts SecurityFirewallMap and SecurityFirewallMapOutput values. You can construct a concrete instance of `SecurityFirewallMapInput` via:
SecurityFirewallMap{ "key": SecurityFirewallArgs{...} }
type SecurityFirewallMapOutput ¶ added in v2.7.2
type SecurityFirewallMapOutput struct{ *pulumi.OutputState }
func (SecurityFirewallMapOutput) ElementType ¶ added in v2.7.2
func (SecurityFirewallMapOutput) ElementType() reflect.Type
func (SecurityFirewallMapOutput) MapIndex ¶ added in v2.7.2
func (o SecurityFirewallMapOutput) MapIndex(k pulumi.StringInput) SecurityFirewallOutput
func (SecurityFirewallMapOutput) ToSecurityFirewallMapOutput ¶ added in v2.7.2
func (o SecurityFirewallMapOutput) ToSecurityFirewallMapOutput() SecurityFirewallMapOutput
func (SecurityFirewallMapOutput) ToSecurityFirewallMapOutputWithContext ¶ added in v2.7.2
func (o SecurityFirewallMapOutput) ToSecurityFirewallMapOutputWithContext(ctx context.Context) SecurityFirewallMapOutput
type SecurityFirewallOutput ¶ added in v2.5.1
type SecurityFirewallOutput struct {
*pulumi.OutputState
}
func (SecurityFirewallOutput) ElementType ¶ added in v2.5.1
func (SecurityFirewallOutput) ElementType() reflect.Type
func (SecurityFirewallOutput) ToSecurityFirewallOutput ¶ added in v2.5.1
func (o SecurityFirewallOutput) ToSecurityFirewallOutput() SecurityFirewallOutput
func (SecurityFirewallOutput) ToSecurityFirewallOutputWithContext ¶ added in v2.5.1
func (o SecurityFirewallOutput) ToSecurityFirewallOutputWithContext(ctx context.Context) SecurityFirewallOutput
func (SecurityFirewallOutput) ToSecurityFirewallPtrOutput ¶ added in v2.7.2
func (o SecurityFirewallOutput) ToSecurityFirewallPtrOutput() SecurityFirewallPtrOutput
func (SecurityFirewallOutput) ToSecurityFirewallPtrOutputWithContext ¶ added in v2.7.2
func (o SecurityFirewallOutput) ToSecurityFirewallPtrOutputWithContext(ctx context.Context) SecurityFirewallPtrOutput
type SecurityFirewallPtrInput ¶ added in v2.7.2
type SecurityFirewallPtrInput interface { pulumi.Input ToSecurityFirewallPtrOutput() SecurityFirewallPtrOutput ToSecurityFirewallPtrOutputWithContext(ctx context.Context) SecurityFirewallPtrOutput }
type SecurityFirewallPtrOutput ¶ added in v2.7.2
type SecurityFirewallPtrOutput struct {
*pulumi.OutputState
}
func (SecurityFirewallPtrOutput) ElementType ¶ added in v2.7.2
func (SecurityFirewallPtrOutput) ElementType() reflect.Type
func (SecurityFirewallPtrOutput) ToSecurityFirewallPtrOutput ¶ added in v2.7.2
func (o SecurityFirewallPtrOutput) ToSecurityFirewallPtrOutput() SecurityFirewallPtrOutput
func (SecurityFirewallPtrOutput) ToSecurityFirewallPtrOutputWithContext ¶ added in v2.7.2
func (o SecurityFirewallPtrOutput) ToSecurityFirewallPtrOutputWithContext(ctx context.Context) SecurityFirewallPtrOutput
type SecurityFirewallRule ¶
type SecurityFirewallRule struct { // Description name of the rule. e.g. Default. Description *string `pulumi:"description"` // Source ip and netmask for the rule. (e.g. 10.56.72.0/24) Ip string `pulumi:"ip"` // Custom ports to be opened Ports []int `pulumi:"ports"` // Pre-defined service ports Services []string `pulumi:"services"` }
type SecurityFirewallRuleArgs ¶
type SecurityFirewallRuleArgs struct { // Description name of the rule. e.g. Default. Description pulumi.StringPtrInput `pulumi:"description"` // Source ip and netmask for the rule. (e.g. 10.56.72.0/24) Ip pulumi.StringInput `pulumi:"ip"` // Custom ports to be opened Ports pulumi.IntArrayInput `pulumi:"ports"` // Pre-defined service ports Services pulumi.StringArrayInput `pulumi:"services"` }
func (SecurityFirewallRuleArgs) ElementType ¶
func (SecurityFirewallRuleArgs) ElementType() reflect.Type
func (SecurityFirewallRuleArgs) ToSecurityFirewallRuleOutput ¶
func (i SecurityFirewallRuleArgs) ToSecurityFirewallRuleOutput() SecurityFirewallRuleOutput
func (SecurityFirewallRuleArgs) ToSecurityFirewallRuleOutputWithContext ¶
func (i SecurityFirewallRuleArgs) ToSecurityFirewallRuleOutputWithContext(ctx context.Context) SecurityFirewallRuleOutput
type SecurityFirewallRuleArray ¶
type SecurityFirewallRuleArray []SecurityFirewallRuleInput
func (SecurityFirewallRuleArray) ElementType ¶
func (SecurityFirewallRuleArray) ElementType() reflect.Type
func (SecurityFirewallRuleArray) ToSecurityFirewallRuleArrayOutput ¶
func (i SecurityFirewallRuleArray) ToSecurityFirewallRuleArrayOutput() SecurityFirewallRuleArrayOutput
func (SecurityFirewallRuleArray) ToSecurityFirewallRuleArrayOutputWithContext ¶
func (i SecurityFirewallRuleArray) ToSecurityFirewallRuleArrayOutputWithContext(ctx context.Context) SecurityFirewallRuleArrayOutput
type SecurityFirewallRuleArrayInput ¶
type SecurityFirewallRuleArrayInput interface { pulumi.Input ToSecurityFirewallRuleArrayOutput() SecurityFirewallRuleArrayOutput ToSecurityFirewallRuleArrayOutputWithContext(context.Context) SecurityFirewallRuleArrayOutput }
SecurityFirewallRuleArrayInput is an input type that accepts SecurityFirewallRuleArray and SecurityFirewallRuleArrayOutput values. You can construct a concrete instance of `SecurityFirewallRuleArrayInput` via:
SecurityFirewallRuleArray{ SecurityFirewallRuleArgs{...} }
type SecurityFirewallRuleArrayOutput ¶
type SecurityFirewallRuleArrayOutput struct{ *pulumi.OutputState }
func (SecurityFirewallRuleArrayOutput) ElementType ¶
func (SecurityFirewallRuleArrayOutput) ElementType() reflect.Type
func (SecurityFirewallRuleArrayOutput) Index ¶
func (o SecurityFirewallRuleArrayOutput) Index(i pulumi.IntInput) SecurityFirewallRuleOutput
func (SecurityFirewallRuleArrayOutput) ToSecurityFirewallRuleArrayOutput ¶
func (o SecurityFirewallRuleArrayOutput) ToSecurityFirewallRuleArrayOutput() SecurityFirewallRuleArrayOutput
func (SecurityFirewallRuleArrayOutput) ToSecurityFirewallRuleArrayOutputWithContext ¶
func (o SecurityFirewallRuleArrayOutput) ToSecurityFirewallRuleArrayOutputWithContext(ctx context.Context) SecurityFirewallRuleArrayOutput
type SecurityFirewallRuleInput ¶
type SecurityFirewallRuleInput interface { pulumi.Input ToSecurityFirewallRuleOutput() SecurityFirewallRuleOutput ToSecurityFirewallRuleOutputWithContext(context.Context) SecurityFirewallRuleOutput }
SecurityFirewallRuleInput is an input type that accepts SecurityFirewallRuleArgs and SecurityFirewallRuleOutput values. You can construct a concrete instance of `SecurityFirewallRuleInput` via:
SecurityFirewallRuleArgs{...}
type SecurityFirewallRuleOutput ¶
type SecurityFirewallRuleOutput struct{ *pulumi.OutputState }
func (SecurityFirewallRuleOutput) Description ¶ added in v2.3.0
func (o SecurityFirewallRuleOutput) Description() pulumi.StringPtrOutput
Description name of the rule. e.g. Default.
func (SecurityFirewallRuleOutput) ElementType ¶
func (SecurityFirewallRuleOutput) ElementType() reflect.Type
func (SecurityFirewallRuleOutput) Ip ¶
func (o SecurityFirewallRuleOutput) Ip() pulumi.StringOutput
Source ip and netmask for the rule. (e.g. 10.56.72.0/24)
func (SecurityFirewallRuleOutput) Ports ¶
func (o SecurityFirewallRuleOutput) Ports() pulumi.IntArrayOutput
Custom ports to be opened
func (SecurityFirewallRuleOutput) Services ¶
func (o SecurityFirewallRuleOutput) Services() pulumi.StringArrayOutput
Pre-defined service ports
func (SecurityFirewallRuleOutput) ToSecurityFirewallRuleOutput ¶
func (o SecurityFirewallRuleOutput) ToSecurityFirewallRuleOutput() SecurityFirewallRuleOutput
func (SecurityFirewallRuleOutput) ToSecurityFirewallRuleOutputWithContext ¶
func (o SecurityFirewallRuleOutput) ToSecurityFirewallRuleOutputWithContext(ctx context.Context) SecurityFirewallRuleOutput
type SecurityFirewallState ¶
type SecurityFirewallState struct { // The CloudAMQP instance ID. InstanceId pulumi.IntPtrInput // An array of rules, minimum of 1 needs to be configured. Each `rules` block consists of the field documented below. Rules SecurityFirewallRuleArrayInput }
func (SecurityFirewallState) ElementType ¶
func (SecurityFirewallState) ElementType() reflect.Type
type VpcPeering ¶
type VpcPeering struct { pulumi.CustomResourceState // The CloudAMQP instance ID. InstanceId pulumi.IntOutput `pulumi:"instanceId"` // Peering identifier created by AW peering request. PeeringId pulumi.StringOutput `pulumi:"peeringId"` // VPC peering status Status pulumi.StringOutput `pulumi:"status"` }
## Import
`cloudamqp_vpc_peering` can be imported using the CloudAMQP instance identifier.
```sh
$ pulumi import cloudamqp:index/vpcPeering:VpcPeering <resource_name> <instance_id>`
```
func GetVpcPeering ¶
func GetVpcPeering(ctx *pulumi.Context, name string, id pulumi.IDInput, state *VpcPeeringState, opts ...pulumi.ResourceOption) (*VpcPeering, error)
GetVpcPeering gets an existing VpcPeering resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewVpcPeering ¶
func NewVpcPeering(ctx *pulumi.Context, name string, args *VpcPeeringArgs, opts ...pulumi.ResourceOption) (*VpcPeering, error)
NewVpcPeering registers a new resource with the given unique name, arguments, and options.
func (*VpcPeering) ElementType ¶ added in v2.5.1
func (*VpcPeering) ElementType() reflect.Type
func (*VpcPeering) ToVpcPeeringOutput ¶ added in v2.5.1
func (i *VpcPeering) ToVpcPeeringOutput() VpcPeeringOutput
func (*VpcPeering) ToVpcPeeringOutputWithContext ¶ added in v2.5.1
func (i *VpcPeering) ToVpcPeeringOutputWithContext(ctx context.Context) VpcPeeringOutput
func (*VpcPeering) ToVpcPeeringPtrOutput ¶ added in v2.7.2
func (i *VpcPeering) ToVpcPeeringPtrOutput() VpcPeeringPtrOutput
func (*VpcPeering) ToVpcPeeringPtrOutputWithContext ¶ added in v2.7.2
func (i *VpcPeering) ToVpcPeeringPtrOutputWithContext(ctx context.Context) VpcPeeringPtrOutput
type VpcPeeringArgs ¶
type VpcPeeringArgs struct { // The CloudAMQP instance ID. InstanceId pulumi.IntInput // Peering identifier created by AW peering request. PeeringId pulumi.StringInput }
The set of arguments for constructing a VpcPeering resource.
func (VpcPeeringArgs) ElementType ¶
func (VpcPeeringArgs) ElementType() reflect.Type
type VpcPeeringArray ¶ added in v2.7.2
type VpcPeeringArray []VpcPeeringInput
func (VpcPeeringArray) ElementType ¶ added in v2.7.2
func (VpcPeeringArray) ElementType() reflect.Type
func (VpcPeeringArray) ToVpcPeeringArrayOutput ¶ added in v2.7.2
func (i VpcPeeringArray) ToVpcPeeringArrayOutput() VpcPeeringArrayOutput
func (VpcPeeringArray) ToVpcPeeringArrayOutputWithContext ¶ added in v2.7.2
func (i VpcPeeringArray) ToVpcPeeringArrayOutputWithContext(ctx context.Context) VpcPeeringArrayOutput
type VpcPeeringArrayInput ¶ added in v2.7.2
type VpcPeeringArrayInput interface { pulumi.Input ToVpcPeeringArrayOutput() VpcPeeringArrayOutput ToVpcPeeringArrayOutputWithContext(context.Context) VpcPeeringArrayOutput }
VpcPeeringArrayInput is an input type that accepts VpcPeeringArray and VpcPeeringArrayOutput values. You can construct a concrete instance of `VpcPeeringArrayInput` via:
VpcPeeringArray{ VpcPeeringArgs{...} }
type VpcPeeringArrayOutput ¶ added in v2.7.2
type VpcPeeringArrayOutput struct{ *pulumi.OutputState }
func (VpcPeeringArrayOutput) ElementType ¶ added in v2.7.2
func (VpcPeeringArrayOutput) ElementType() reflect.Type
func (VpcPeeringArrayOutput) Index ¶ added in v2.7.2
func (o VpcPeeringArrayOutput) Index(i pulumi.IntInput) VpcPeeringOutput
func (VpcPeeringArrayOutput) ToVpcPeeringArrayOutput ¶ added in v2.7.2
func (o VpcPeeringArrayOutput) ToVpcPeeringArrayOutput() VpcPeeringArrayOutput
func (VpcPeeringArrayOutput) ToVpcPeeringArrayOutputWithContext ¶ added in v2.7.2
func (o VpcPeeringArrayOutput) ToVpcPeeringArrayOutputWithContext(ctx context.Context) VpcPeeringArrayOutput
type VpcPeeringInput ¶ added in v2.5.1
type VpcPeeringInput interface { pulumi.Input ToVpcPeeringOutput() VpcPeeringOutput ToVpcPeeringOutputWithContext(ctx context.Context) VpcPeeringOutput }
type VpcPeeringMap ¶ added in v2.7.2
type VpcPeeringMap map[string]VpcPeeringInput
func (VpcPeeringMap) ElementType ¶ added in v2.7.2
func (VpcPeeringMap) ElementType() reflect.Type
func (VpcPeeringMap) ToVpcPeeringMapOutput ¶ added in v2.7.2
func (i VpcPeeringMap) ToVpcPeeringMapOutput() VpcPeeringMapOutput
func (VpcPeeringMap) ToVpcPeeringMapOutputWithContext ¶ added in v2.7.2
func (i VpcPeeringMap) ToVpcPeeringMapOutputWithContext(ctx context.Context) VpcPeeringMapOutput
type VpcPeeringMapInput ¶ added in v2.7.2
type VpcPeeringMapInput interface { pulumi.Input ToVpcPeeringMapOutput() VpcPeeringMapOutput ToVpcPeeringMapOutputWithContext(context.Context) VpcPeeringMapOutput }
VpcPeeringMapInput is an input type that accepts VpcPeeringMap and VpcPeeringMapOutput values. You can construct a concrete instance of `VpcPeeringMapInput` via:
VpcPeeringMap{ "key": VpcPeeringArgs{...} }
type VpcPeeringMapOutput ¶ added in v2.7.2
type VpcPeeringMapOutput struct{ *pulumi.OutputState }
func (VpcPeeringMapOutput) ElementType ¶ added in v2.7.2
func (VpcPeeringMapOutput) ElementType() reflect.Type
func (VpcPeeringMapOutput) MapIndex ¶ added in v2.7.2
func (o VpcPeeringMapOutput) MapIndex(k pulumi.StringInput) VpcPeeringOutput
func (VpcPeeringMapOutput) ToVpcPeeringMapOutput ¶ added in v2.7.2
func (o VpcPeeringMapOutput) ToVpcPeeringMapOutput() VpcPeeringMapOutput
func (VpcPeeringMapOutput) ToVpcPeeringMapOutputWithContext ¶ added in v2.7.2
func (o VpcPeeringMapOutput) ToVpcPeeringMapOutputWithContext(ctx context.Context) VpcPeeringMapOutput
type VpcPeeringOutput ¶ added in v2.5.1
type VpcPeeringOutput struct {
*pulumi.OutputState
}
func (VpcPeeringOutput) ElementType ¶ added in v2.5.1
func (VpcPeeringOutput) ElementType() reflect.Type
func (VpcPeeringOutput) ToVpcPeeringOutput ¶ added in v2.5.1
func (o VpcPeeringOutput) ToVpcPeeringOutput() VpcPeeringOutput
func (VpcPeeringOutput) ToVpcPeeringOutputWithContext ¶ added in v2.5.1
func (o VpcPeeringOutput) ToVpcPeeringOutputWithContext(ctx context.Context) VpcPeeringOutput
func (VpcPeeringOutput) ToVpcPeeringPtrOutput ¶ added in v2.7.2
func (o VpcPeeringOutput) ToVpcPeeringPtrOutput() VpcPeeringPtrOutput
func (VpcPeeringOutput) ToVpcPeeringPtrOutputWithContext ¶ added in v2.7.2
func (o VpcPeeringOutput) ToVpcPeeringPtrOutputWithContext(ctx context.Context) VpcPeeringPtrOutput
type VpcPeeringPtrInput ¶ added in v2.7.2
type VpcPeeringPtrInput interface { pulumi.Input ToVpcPeeringPtrOutput() VpcPeeringPtrOutput ToVpcPeeringPtrOutputWithContext(ctx context.Context) VpcPeeringPtrOutput }
type VpcPeeringPtrOutput ¶ added in v2.7.2
type VpcPeeringPtrOutput struct {
*pulumi.OutputState
}
func (VpcPeeringPtrOutput) ElementType ¶ added in v2.7.2
func (VpcPeeringPtrOutput) ElementType() reflect.Type
func (VpcPeeringPtrOutput) ToVpcPeeringPtrOutput ¶ added in v2.7.2
func (o VpcPeeringPtrOutput) ToVpcPeeringPtrOutput() VpcPeeringPtrOutput
func (VpcPeeringPtrOutput) ToVpcPeeringPtrOutputWithContext ¶ added in v2.7.2
func (o VpcPeeringPtrOutput) ToVpcPeeringPtrOutputWithContext(ctx context.Context) VpcPeeringPtrOutput
type VpcPeeringState ¶
type VpcPeeringState struct { // The CloudAMQP instance ID. InstanceId pulumi.IntPtrInput // Peering identifier created by AW peering request. PeeringId pulumi.StringPtrInput // VPC peering status Status pulumi.StringPtrInput }
func (VpcPeeringState) ElementType ¶
func (VpcPeeringState) ElementType() reflect.Type
type Webhook ¶ added in v2.5.3
type Webhook struct { pulumi.CustomResourceState // Max simultaneous requests to the endpoint. Concurrency pulumi.IntOutput `pulumi:"concurrency"` // The CloudAMQP instance ID. InstanceId pulumi.IntOutput `pulumi:"instanceId"` // A (durable) queue on your RabbitMQ instance. Queue pulumi.StringOutput `pulumi:"queue"` // How often we retry if your endpoint fails (in seconds). RetryInterval pulumi.IntOutput `pulumi:"retryInterval"` // The vhost the queue resides in. Vhost pulumi.StringOutput `pulumi:"vhost"` // A POST request will be made for each message in the queue to this endpoint. WebhookUri pulumi.StringOutput `pulumi:"webhookUri"` }
This resource allows you to enable or disable webhooks for a specific vhost and queue.
Only available for dedicated subscription plans.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-cloudamqp/sdk/v2/go/cloudamqp" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cloudamqp.NewWebhook(ctx, "webhookQueue", &cloudamqp.WebhookArgs{ InstanceId: pulumi.Any(cloudamqp_instance.Instance.Id), Vhost: pulumi.String("myvhost"), Queue: pulumi.String("webhook-queue"), WebhookUri: pulumi.String("https://example.com/webhook?key=secret"), RetryInterval: pulumi.Int(5), Concurrency: pulumi.Int(5), }) if err != nil { return err } return nil }) }
``` ## Dependency
This resource depends on CloudAMQP instance identifier, `cloudamqp_instance.instance.id`.
## Import
`cloudamqp_webhook` can be imported using the resource identifier together with CloudAMQP instance identifier. The identifiers are CSV separated, see example below.
```sh
$ pulumi import cloudamqp:index/webhook:Webhook webhook_queue <webhook_id>,<instance_id>`
```
func GetWebhook ¶ added in v2.5.3
func GetWebhook(ctx *pulumi.Context, name string, id pulumi.IDInput, state *WebhookState, opts ...pulumi.ResourceOption) (*Webhook, error)
GetWebhook gets an existing Webhook resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewWebhook ¶ added in v2.5.3
func NewWebhook(ctx *pulumi.Context, name string, args *WebhookArgs, opts ...pulumi.ResourceOption) (*Webhook, error)
NewWebhook registers a new resource with the given unique name, arguments, and options.
func (*Webhook) ElementType ¶ added in v2.5.3
func (*Webhook) ToWebhookOutput ¶ added in v2.5.3
func (i *Webhook) ToWebhookOutput() WebhookOutput
func (*Webhook) ToWebhookOutputWithContext ¶ added in v2.5.3
func (i *Webhook) ToWebhookOutputWithContext(ctx context.Context) WebhookOutput
func (*Webhook) ToWebhookPtrOutput ¶ added in v2.7.2
func (i *Webhook) ToWebhookPtrOutput() WebhookPtrOutput
func (*Webhook) ToWebhookPtrOutputWithContext ¶ added in v2.7.2
func (i *Webhook) ToWebhookPtrOutputWithContext(ctx context.Context) WebhookPtrOutput
type WebhookArgs ¶ added in v2.5.3
type WebhookArgs struct { // Max simultaneous requests to the endpoint. Concurrency pulumi.IntInput // The CloudAMQP instance ID. InstanceId pulumi.IntInput // A (durable) queue on your RabbitMQ instance. Queue pulumi.StringInput // How often we retry if your endpoint fails (in seconds). RetryInterval pulumi.IntInput // The vhost the queue resides in. Vhost pulumi.StringInput // A POST request will be made for each message in the queue to this endpoint. WebhookUri pulumi.StringInput }
The set of arguments for constructing a Webhook resource.
func (WebhookArgs) ElementType ¶ added in v2.5.3
func (WebhookArgs) ElementType() reflect.Type
type WebhookArray ¶ added in v2.7.2
type WebhookArray []WebhookInput
func (WebhookArray) ElementType ¶ added in v2.7.2
func (WebhookArray) ElementType() reflect.Type
func (WebhookArray) ToWebhookArrayOutput ¶ added in v2.7.2
func (i WebhookArray) ToWebhookArrayOutput() WebhookArrayOutput
func (WebhookArray) ToWebhookArrayOutputWithContext ¶ added in v2.7.2
func (i WebhookArray) ToWebhookArrayOutputWithContext(ctx context.Context) WebhookArrayOutput
type WebhookArrayInput ¶ added in v2.7.2
type WebhookArrayInput interface { pulumi.Input ToWebhookArrayOutput() WebhookArrayOutput ToWebhookArrayOutputWithContext(context.Context) WebhookArrayOutput }
WebhookArrayInput is an input type that accepts WebhookArray and WebhookArrayOutput values. You can construct a concrete instance of `WebhookArrayInput` via:
WebhookArray{ WebhookArgs{...} }
type WebhookArrayOutput ¶ added in v2.7.2
type WebhookArrayOutput struct{ *pulumi.OutputState }
func (WebhookArrayOutput) ElementType ¶ added in v2.7.2
func (WebhookArrayOutput) ElementType() reflect.Type
func (WebhookArrayOutput) Index ¶ added in v2.7.2
func (o WebhookArrayOutput) Index(i pulumi.IntInput) WebhookOutput
func (WebhookArrayOutput) ToWebhookArrayOutput ¶ added in v2.7.2
func (o WebhookArrayOutput) ToWebhookArrayOutput() WebhookArrayOutput
func (WebhookArrayOutput) ToWebhookArrayOutputWithContext ¶ added in v2.7.2
func (o WebhookArrayOutput) ToWebhookArrayOutputWithContext(ctx context.Context) WebhookArrayOutput
type WebhookInput ¶ added in v2.5.3
type WebhookInput interface { pulumi.Input ToWebhookOutput() WebhookOutput ToWebhookOutputWithContext(ctx context.Context) WebhookOutput }
type WebhookMap ¶ added in v2.7.2
type WebhookMap map[string]WebhookInput
func (WebhookMap) ElementType ¶ added in v2.7.2
func (WebhookMap) ElementType() reflect.Type
func (WebhookMap) ToWebhookMapOutput ¶ added in v2.7.2
func (i WebhookMap) ToWebhookMapOutput() WebhookMapOutput
func (WebhookMap) ToWebhookMapOutputWithContext ¶ added in v2.7.2
func (i WebhookMap) ToWebhookMapOutputWithContext(ctx context.Context) WebhookMapOutput
type WebhookMapInput ¶ added in v2.7.2
type WebhookMapInput interface { pulumi.Input ToWebhookMapOutput() WebhookMapOutput ToWebhookMapOutputWithContext(context.Context) WebhookMapOutput }
WebhookMapInput is an input type that accepts WebhookMap and WebhookMapOutput values. You can construct a concrete instance of `WebhookMapInput` via:
WebhookMap{ "key": WebhookArgs{...} }
type WebhookMapOutput ¶ added in v2.7.2
type WebhookMapOutput struct{ *pulumi.OutputState }
func (WebhookMapOutput) ElementType ¶ added in v2.7.2
func (WebhookMapOutput) ElementType() reflect.Type
func (WebhookMapOutput) MapIndex ¶ added in v2.7.2
func (o WebhookMapOutput) MapIndex(k pulumi.StringInput) WebhookOutput
func (WebhookMapOutput) ToWebhookMapOutput ¶ added in v2.7.2
func (o WebhookMapOutput) ToWebhookMapOutput() WebhookMapOutput
func (WebhookMapOutput) ToWebhookMapOutputWithContext ¶ added in v2.7.2
func (o WebhookMapOutput) ToWebhookMapOutputWithContext(ctx context.Context) WebhookMapOutput
type WebhookOutput ¶ added in v2.5.3
type WebhookOutput struct {
*pulumi.OutputState
}
func (WebhookOutput) ElementType ¶ added in v2.5.3
func (WebhookOutput) ElementType() reflect.Type
func (WebhookOutput) ToWebhookOutput ¶ added in v2.5.3
func (o WebhookOutput) ToWebhookOutput() WebhookOutput
func (WebhookOutput) ToWebhookOutputWithContext ¶ added in v2.5.3
func (o WebhookOutput) ToWebhookOutputWithContext(ctx context.Context) WebhookOutput
func (WebhookOutput) ToWebhookPtrOutput ¶ added in v2.7.2
func (o WebhookOutput) ToWebhookPtrOutput() WebhookPtrOutput
func (WebhookOutput) ToWebhookPtrOutputWithContext ¶ added in v2.7.2
func (o WebhookOutput) ToWebhookPtrOutputWithContext(ctx context.Context) WebhookPtrOutput
type WebhookPtrInput ¶ added in v2.7.2
type WebhookPtrInput interface { pulumi.Input ToWebhookPtrOutput() WebhookPtrOutput ToWebhookPtrOutputWithContext(ctx context.Context) WebhookPtrOutput }
type WebhookPtrOutput ¶ added in v2.7.2
type WebhookPtrOutput struct {
*pulumi.OutputState
}
func (WebhookPtrOutput) ElementType ¶ added in v2.7.2
func (WebhookPtrOutput) ElementType() reflect.Type
func (WebhookPtrOutput) ToWebhookPtrOutput ¶ added in v2.7.2
func (o WebhookPtrOutput) ToWebhookPtrOutput() WebhookPtrOutput
func (WebhookPtrOutput) ToWebhookPtrOutputWithContext ¶ added in v2.7.2
func (o WebhookPtrOutput) ToWebhookPtrOutputWithContext(ctx context.Context) WebhookPtrOutput
type WebhookState ¶ added in v2.5.3
type WebhookState struct { // Max simultaneous requests to the endpoint. Concurrency pulumi.IntPtrInput // The CloudAMQP instance ID. InstanceId pulumi.IntPtrInput // A (durable) queue on your RabbitMQ instance. Queue pulumi.StringPtrInput // How often we retry if your endpoint fails (in seconds). RetryInterval pulumi.IntPtrInput // The vhost the queue resides in. Vhost pulumi.StringPtrInput // A POST request will be made for each message in the queue to this endpoint. WebhookUri pulumi.StringPtrInput }
func (WebhookState) ElementType ¶ added in v2.5.3
func (WebhookState) ElementType() reflect.Type
Source Files ¶
- alarm.go
- doc.go
- getAlarm.go
- getCredentials.go
- getInstance.go
- getNodes.go
- getNotification.go
- getPlugins.go
- getPluginsCommunity.go
- getVpcInfo.go
- init.go
- instance.go
- integrationLog.go
- integrationMetric.go
- notification.go
- plugin.go
- pluginCommunity.go
- provider.go
- pulumiTypes.go
- pulumiUtilities.go
- securityFirewall.go
- vpcPeering.go
- webhook.go