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 ¶
Variables ¶
Functions ¶
func PkgVersion ¶
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 ¶
func (*Alarm) ToAlarmOutput ¶
func (i *Alarm) ToAlarmOutput() AlarmOutput
func (*Alarm) ToAlarmOutputWithContext ¶
func (i *Alarm) ToAlarmOutputWithContext(ctx context.Context) AlarmOutput
func (*Alarm) ToAlarmPtrOutput ¶
func (i *Alarm) ToAlarmPtrOutput() AlarmPtrOutput
func (*Alarm) ToAlarmPtrOutputWithContext ¶
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 ¶
type AlarmArray []AlarmInput
func (AlarmArray) ElementType ¶
func (AlarmArray) ElementType() reflect.Type
func (AlarmArray) ToAlarmArrayOutput ¶
func (i AlarmArray) ToAlarmArrayOutput() AlarmArrayOutput
func (AlarmArray) ToAlarmArrayOutputWithContext ¶
func (i AlarmArray) ToAlarmArrayOutputWithContext(ctx context.Context) AlarmArrayOutput
type AlarmArrayInput ¶
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 ¶
type AlarmArrayOutput struct{ *pulumi.OutputState }
func (AlarmArrayOutput) ElementType ¶
func (AlarmArrayOutput) ElementType() reflect.Type
func (AlarmArrayOutput) Index ¶
func (o AlarmArrayOutput) Index(i pulumi.IntInput) AlarmOutput
func (AlarmArrayOutput) ToAlarmArrayOutput ¶
func (o AlarmArrayOutput) ToAlarmArrayOutput() AlarmArrayOutput
func (AlarmArrayOutput) ToAlarmArrayOutputWithContext ¶
func (o AlarmArrayOutput) ToAlarmArrayOutputWithContext(ctx context.Context) AlarmArrayOutput
type AlarmInput ¶
type AlarmInput interface { pulumi.Input ToAlarmOutput() AlarmOutput ToAlarmOutputWithContext(ctx context.Context) AlarmOutput }
type AlarmMap ¶
type AlarmMap map[string]AlarmInput
func (AlarmMap) ElementType ¶
func (AlarmMap) ToAlarmMapOutput ¶
func (i AlarmMap) ToAlarmMapOutput() AlarmMapOutput
func (AlarmMap) ToAlarmMapOutputWithContext ¶
func (i AlarmMap) ToAlarmMapOutputWithContext(ctx context.Context) AlarmMapOutput
type AlarmMapInput ¶
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 ¶
type AlarmMapOutput struct{ *pulumi.OutputState }
func (AlarmMapOutput) ElementType ¶
func (AlarmMapOutput) ElementType() reflect.Type
func (AlarmMapOutput) MapIndex ¶
func (o AlarmMapOutput) MapIndex(k pulumi.StringInput) AlarmOutput
func (AlarmMapOutput) ToAlarmMapOutput ¶
func (o AlarmMapOutput) ToAlarmMapOutput() AlarmMapOutput
func (AlarmMapOutput) ToAlarmMapOutputWithContext ¶
func (o AlarmMapOutput) ToAlarmMapOutputWithContext(ctx context.Context) AlarmMapOutput
type AlarmOutput ¶
type AlarmOutput struct {
*pulumi.OutputState
}
func (AlarmOutput) ElementType ¶
func (AlarmOutput) ElementType() reflect.Type
func (AlarmOutput) ToAlarmOutput ¶
func (o AlarmOutput) ToAlarmOutput() AlarmOutput
func (AlarmOutput) ToAlarmOutputWithContext ¶
func (o AlarmOutput) ToAlarmOutputWithContext(ctx context.Context) AlarmOutput
func (AlarmOutput) ToAlarmPtrOutput ¶
func (o AlarmOutput) ToAlarmPtrOutput() AlarmPtrOutput
func (AlarmOutput) ToAlarmPtrOutputWithContext ¶
func (o AlarmOutput) ToAlarmPtrOutputWithContext(ctx context.Context) AlarmPtrOutput
type AlarmPtrInput ¶
type AlarmPtrInput interface { pulumi.Input ToAlarmPtrOutput() AlarmPtrOutput ToAlarmPtrOutputWithContext(ctx context.Context) AlarmPtrOutput }
type AlarmPtrOutput ¶
type AlarmPtrOutput struct {
*pulumi.OutputState
}
func (AlarmPtrOutput) ElementType ¶
func (AlarmPtrOutput) ElementType() reflect.Type
func (AlarmPtrOutput) ToAlarmPtrOutput ¶
func (o AlarmPtrOutput) ToAlarmPtrOutput() AlarmPtrOutput
func (AlarmPtrOutput) ToAlarmPtrOutputWithContext ¶
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 ¶
type GetNodesArgs struct { InstanceId int `pulumi:"instanceId"` Nodes []GetNodesNode `pulumi:"nodes"` }
A collection of arguments for invoking getNodes.
type GetNodesNode ¶
type GetNodesNodeArgs ¶
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 ¶
func (GetNodesNodeArgs) ElementType() reflect.Type
func (GetNodesNodeArgs) ToGetNodesNodeOutput ¶
func (i GetNodesNodeArgs) ToGetNodesNodeOutput() GetNodesNodeOutput
func (GetNodesNodeArgs) ToGetNodesNodeOutputWithContext ¶
func (i GetNodesNodeArgs) ToGetNodesNodeOutputWithContext(ctx context.Context) GetNodesNodeOutput
type GetNodesNodeArray ¶
type GetNodesNodeArray []GetNodesNodeInput
func (GetNodesNodeArray) ElementType ¶
func (GetNodesNodeArray) ElementType() reflect.Type
func (GetNodesNodeArray) ToGetNodesNodeArrayOutput ¶
func (i GetNodesNodeArray) ToGetNodesNodeArrayOutput() GetNodesNodeArrayOutput
func (GetNodesNodeArray) ToGetNodesNodeArrayOutputWithContext ¶
func (i GetNodesNodeArray) ToGetNodesNodeArrayOutputWithContext(ctx context.Context) GetNodesNodeArrayOutput
type GetNodesNodeArrayInput ¶
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 ¶
type GetNodesNodeArrayOutput struct{ *pulumi.OutputState }
func (GetNodesNodeArrayOutput) ElementType ¶
func (GetNodesNodeArrayOutput) ElementType() reflect.Type
func (GetNodesNodeArrayOutput) Index ¶
func (o GetNodesNodeArrayOutput) Index(i pulumi.IntInput) GetNodesNodeOutput
func (GetNodesNodeArrayOutput) ToGetNodesNodeArrayOutput ¶
func (o GetNodesNodeArrayOutput) ToGetNodesNodeArrayOutput() GetNodesNodeArrayOutput
func (GetNodesNodeArrayOutput) ToGetNodesNodeArrayOutputWithContext ¶
func (o GetNodesNodeArrayOutput) ToGetNodesNodeArrayOutputWithContext(ctx context.Context) GetNodesNodeArrayOutput
type GetNodesNodeInput ¶
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 ¶
type GetNodesNodeOutput struct{ *pulumi.OutputState }
func (GetNodesNodeOutput) ElementType ¶
func (GetNodesNodeOutput) ElementType() reflect.Type
func (GetNodesNodeOutput) ErlangVersion ¶
func (o GetNodesNodeOutput) ErlangVersion() pulumi.StringOutput
func (GetNodesNodeOutput) Hipe ¶
func (o GetNodesNodeOutput) Hipe() pulumi.BoolOutput
func (GetNodesNodeOutput) Hostname ¶
func (o GetNodesNodeOutput) Hostname() pulumi.StringOutput
func (GetNodesNodeOutput) Name ¶
func (o GetNodesNodeOutput) Name() pulumi.StringOutput
func (GetNodesNodeOutput) RabbitmqVersion ¶
func (o GetNodesNodeOutput) RabbitmqVersion() pulumi.StringOutput
func (GetNodesNodeOutput) Running ¶
func (o GetNodesNodeOutput) Running() pulumi.BoolOutput
func (GetNodesNodeOutput) ToGetNodesNodeOutput ¶
func (o GetNodesNodeOutput) ToGetNodesNodeOutput() GetNodesNodeOutput
func (GetNodesNodeOutput) ToGetNodesNodeOutputWithContext ¶
func (o GetNodesNodeOutput) ToGetNodesNodeOutputWithContext(ctx context.Context) GetNodesNodeOutput
type GetNodesResult ¶
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 ¶
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 ¶
func (*Instance) ToInstanceOutput ¶
func (i *Instance) ToInstanceOutput() InstanceOutput
func (*Instance) ToInstanceOutputWithContext ¶
func (i *Instance) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
func (*Instance) ToInstancePtrOutput ¶
func (i *Instance) ToInstancePtrOutput() InstancePtrOutput
func (*Instance) ToInstancePtrOutputWithContext ¶
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 ¶
type InstanceArray []InstanceInput
func (InstanceArray) ElementType ¶
func (InstanceArray) ElementType() reflect.Type
func (InstanceArray) ToInstanceArrayOutput ¶
func (i InstanceArray) ToInstanceArrayOutput() InstanceArrayOutput
func (InstanceArray) ToInstanceArrayOutputWithContext ¶
func (i InstanceArray) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput
type InstanceArrayInput ¶
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 ¶
type InstanceArrayOutput struct{ *pulumi.OutputState }
func (InstanceArrayOutput) ElementType ¶
func (InstanceArrayOutput) ElementType() reflect.Type
func (InstanceArrayOutput) Index ¶
func (o InstanceArrayOutput) Index(i pulumi.IntInput) InstanceOutput
func (InstanceArrayOutput) ToInstanceArrayOutput ¶
func (o InstanceArrayOutput) ToInstanceArrayOutput() InstanceArrayOutput
func (InstanceArrayOutput) ToInstanceArrayOutputWithContext ¶
func (o InstanceArrayOutput) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput
type InstanceInput ¶
type InstanceInput interface { pulumi.Input ToInstanceOutput() InstanceOutput ToInstanceOutputWithContext(ctx context.Context) InstanceOutput }
type InstanceMap ¶
type InstanceMap map[string]InstanceInput
func (InstanceMap) ElementType ¶
func (InstanceMap) ElementType() reflect.Type
func (InstanceMap) ToInstanceMapOutput ¶
func (i InstanceMap) ToInstanceMapOutput() InstanceMapOutput
func (InstanceMap) ToInstanceMapOutputWithContext ¶
func (i InstanceMap) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput
type InstanceMapInput ¶
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 ¶
type InstanceMapOutput struct{ *pulumi.OutputState }
func (InstanceMapOutput) ElementType ¶
func (InstanceMapOutput) ElementType() reflect.Type
func (InstanceMapOutput) MapIndex ¶
func (o InstanceMapOutput) MapIndex(k pulumi.StringInput) InstanceOutput
func (InstanceMapOutput) ToInstanceMapOutput ¶
func (o InstanceMapOutput) ToInstanceMapOutput() InstanceMapOutput
func (InstanceMapOutput) ToInstanceMapOutputWithContext ¶
func (o InstanceMapOutput) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput
type InstanceOutput ¶
type InstanceOutput struct {
*pulumi.OutputState
}
func (InstanceOutput) ElementType ¶
func (InstanceOutput) ElementType() reflect.Type
func (InstanceOutput) ToInstanceOutput ¶
func (o InstanceOutput) ToInstanceOutput() InstanceOutput
func (InstanceOutput) ToInstanceOutputWithContext ¶
func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
func (InstanceOutput) ToInstancePtrOutput ¶
func (o InstanceOutput) ToInstancePtrOutput() InstancePtrOutput
func (InstanceOutput) ToInstancePtrOutputWithContext ¶
func (o InstanceOutput) ToInstancePtrOutputWithContext(ctx context.Context) InstancePtrOutput
type InstancePtrInput ¶
type InstancePtrInput interface { pulumi.Input ToInstancePtrOutput() InstancePtrOutput ToInstancePtrOutputWithContext(ctx context.Context) InstancePtrOutput }
type InstancePtrOutput ¶
type InstancePtrOutput struct {
*pulumi.OutputState
}
func (InstancePtrOutput) ElementType ¶
func (InstancePtrOutput) ElementType() reflect.Type
func (InstancePtrOutput) ToInstancePtrOutput ¶
func (o InstancePtrOutput) ToInstancePtrOutput() InstancePtrOutput
func (InstancePtrOutput) ToInstancePtrOutputWithContext ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (*IntegrationLog) ElementType() reflect.Type
func (*IntegrationLog) ToIntegrationLogOutput ¶
func (i *IntegrationLog) ToIntegrationLogOutput() IntegrationLogOutput
func (*IntegrationLog) ToIntegrationLogOutputWithContext ¶
func (i *IntegrationLog) ToIntegrationLogOutputWithContext(ctx context.Context) IntegrationLogOutput
func (*IntegrationLog) ToIntegrationLogPtrOutput ¶
func (i *IntegrationLog) ToIntegrationLogPtrOutput() IntegrationLogPtrOutput
func (*IntegrationLog) ToIntegrationLogPtrOutputWithContext ¶
func (i *IntegrationLog) ToIntegrationLogPtrOutputWithContext(ctx context.Context) IntegrationLogPtrOutput
type IntegrationLogArgs ¶
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 ¶
func (IntegrationLogArgs) ElementType() reflect.Type
type IntegrationLogArray ¶
type IntegrationLogArray []IntegrationLogInput
func (IntegrationLogArray) ElementType ¶
func (IntegrationLogArray) ElementType() reflect.Type
func (IntegrationLogArray) ToIntegrationLogArrayOutput ¶
func (i IntegrationLogArray) ToIntegrationLogArrayOutput() IntegrationLogArrayOutput
func (IntegrationLogArray) ToIntegrationLogArrayOutputWithContext ¶
func (i IntegrationLogArray) ToIntegrationLogArrayOutputWithContext(ctx context.Context) IntegrationLogArrayOutput
type IntegrationLogArrayInput ¶
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 ¶
type IntegrationLogArrayOutput struct{ *pulumi.OutputState }
func (IntegrationLogArrayOutput) ElementType ¶
func (IntegrationLogArrayOutput) ElementType() reflect.Type
func (IntegrationLogArrayOutput) Index ¶
func (o IntegrationLogArrayOutput) Index(i pulumi.IntInput) IntegrationLogOutput
func (IntegrationLogArrayOutput) ToIntegrationLogArrayOutput ¶
func (o IntegrationLogArrayOutput) ToIntegrationLogArrayOutput() IntegrationLogArrayOutput
func (IntegrationLogArrayOutput) ToIntegrationLogArrayOutputWithContext ¶
func (o IntegrationLogArrayOutput) ToIntegrationLogArrayOutputWithContext(ctx context.Context) IntegrationLogArrayOutput
type IntegrationLogInput ¶
type IntegrationLogInput interface { pulumi.Input ToIntegrationLogOutput() IntegrationLogOutput ToIntegrationLogOutputWithContext(ctx context.Context) IntegrationLogOutput }
type IntegrationLogMap ¶
type IntegrationLogMap map[string]IntegrationLogInput
func (IntegrationLogMap) ElementType ¶
func (IntegrationLogMap) ElementType() reflect.Type
func (IntegrationLogMap) ToIntegrationLogMapOutput ¶
func (i IntegrationLogMap) ToIntegrationLogMapOutput() IntegrationLogMapOutput
func (IntegrationLogMap) ToIntegrationLogMapOutputWithContext ¶
func (i IntegrationLogMap) ToIntegrationLogMapOutputWithContext(ctx context.Context) IntegrationLogMapOutput
type IntegrationLogMapInput ¶
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 ¶
type IntegrationLogMapOutput struct{ *pulumi.OutputState }
func (IntegrationLogMapOutput) ElementType ¶
func (IntegrationLogMapOutput) ElementType() reflect.Type
func (IntegrationLogMapOutput) MapIndex ¶
func (o IntegrationLogMapOutput) MapIndex(k pulumi.StringInput) IntegrationLogOutput
func (IntegrationLogMapOutput) ToIntegrationLogMapOutput ¶
func (o IntegrationLogMapOutput) ToIntegrationLogMapOutput() IntegrationLogMapOutput
func (IntegrationLogMapOutput) ToIntegrationLogMapOutputWithContext ¶
func (o IntegrationLogMapOutput) ToIntegrationLogMapOutputWithContext(ctx context.Context) IntegrationLogMapOutput
type IntegrationLogOutput ¶
type IntegrationLogOutput struct {
*pulumi.OutputState
}
func (IntegrationLogOutput) ElementType ¶
func (IntegrationLogOutput) ElementType() reflect.Type
func (IntegrationLogOutput) ToIntegrationLogOutput ¶
func (o IntegrationLogOutput) ToIntegrationLogOutput() IntegrationLogOutput
func (IntegrationLogOutput) ToIntegrationLogOutputWithContext ¶
func (o IntegrationLogOutput) ToIntegrationLogOutputWithContext(ctx context.Context) IntegrationLogOutput
func (IntegrationLogOutput) ToIntegrationLogPtrOutput ¶
func (o IntegrationLogOutput) ToIntegrationLogPtrOutput() IntegrationLogPtrOutput
func (IntegrationLogOutput) ToIntegrationLogPtrOutputWithContext ¶
func (o IntegrationLogOutput) ToIntegrationLogPtrOutputWithContext(ctx context.Context) IntegrationLogPtrOutput
type IntegrationLogPtrInput ¶
type IntegrationLogPtrInput interface { pulumi.Input ToIntegrationLogPtrOutput() IntegrationLogPtrOutput ToIntegrationLogPtrOutputWithContext(ctx context.Context) IntegrationLogPtrOutput }
type IntegrationLogPtrOutput ¶
type IntegrationLogPtrOutput struct {
*pulumi.OutputState
}
func (IntegrationLogPtrOutput) ElementType ¶
func (IntegrationLogPtrOutput) ElementType() reflect.Type
func (IntegrationLogPtrOutput) ToIntegrationLogPtrOutput ¶
func (o IntegrationLogPtrOutput) ToIntegrationLogPtrOutput() IntegrationLogPtrOutput
func (IntegrationLogPtrOutput) ToIntegrationLogPtrOutputWithContext ¶
func (o IntegrationLogPtrOutput) ToIntegrationLogPtrOutputWithContext(ctx context.Context) IntegrationLogPtrOutput
type IntegrationLogState ¶
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 ¶
func (IntegrationLogState) ElementType() reflect.Type
type IntegrationMetric ¶
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 ¶
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 ¶
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 ¶
func (*IntegrationMetric) ElementType() reflect.Type
func (*IntegrationMetric) ToIntegrationMetricOutput ¶
func (i *IntegrationMetric) ToIntegrationMetricOutput() IntegrationMetricOutput
func (*IntegrationMetric) ToIntegrationMetricOutputWithContext ¶
func (i *IntegrationMetric) ToIntegrationMetricOutputWithContext(ctx context.Context) IntegrationMetricOutput
func (*IntegrationMetric) ToIntegrationMetricPtrOutput ¶
func (i *IntegrationMetric) ToIntegrationMetricPtrOutput() IntegrationMetricPtrOutput
func (*IntegrationMetric) ToIntegrationMetricPtrOutputWithContext ¶
func (i *IntegrationMetric) ToIntegrationMetricPtrOutputWithContext(ctx context.Context) IntegrationMetricPtrOutput
type IntegrationMetricArgs ¶
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 ¶
func (IntegrationMetricArgs) ElementType() reflect.Type
type IntegrationMetricArray ¶
type IntegrationMetricArray []IntegrationMetricInput
func (IntegrationMetricArray) ElementType ¶
func (IntegrationMetricArray) ElementType() reflect.Type
func (IntegrationMetricArray) ToIntegrationMetricArrayOutput ¶
func (i IntegrationMetricArray) ToIntegrationMetricArrayOutput() IntegrationMetricArrayOutput
func (IntegrationMetricArray) ToIntegrationMetricArrayOutputWithContext ¶
func (i IntegrationMetricArray) ToIntegrationMetricArrayOutputWithContext(ctx context.Context) IntegrationMetricArrayOutput
type IntegrationMetricArrayInput ¶
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 ¶
type IntegrationMetricArrayOutput struct{ *pulumi.OutputState }
func (IntegrationMetricArrayOutput) ElementType ¶
func (IntegrationMetricArrayOutput) ElementType() reflect.Type
func (IntegrationMetricArrayOutput) Index ¶
func (o IntegrationMetricArrayOutput) Index(i pulumi.IntInput) IntegrationMetricOutput
func (IntegrationMetricArrayOutput) ToIntegrationMetricArrayOutput ¶
func (o IntegrationMetricArrayOutput) ToIntegrationMetricArrayOutput() IntegrationMetricArrayOutput
func (IntegrationMetricArrayOutput) ToIntegrationMetricArrayOutputWithContext ¶
func (o IntegrationMetricArrayOutput) ToIntegrationMetricArrayOutputWithContext(ctx context.Context) IntegrationMetricArrayOutput
type IntegrationMetricInput ¶
type IntegrationMetricInput interface { pulumi.Input ToIntegrationMetricOutput() IntegrationMetricOutput ToIntegrationMetricOutputWithContext(ctx context.Context) IntegrationMetricOutput }
type IntegrationMetricMap ¶
type IntegrationMetricMap map[string]IntegrationMetricInput
func (IntegrationMetricMap) ElementType ¶
func (IntegrationMetricMap) ElementType() reflect.Type
func (IntegrationMetricMap) ToIntegrationMetricMapOutput ¶
func (i IntegrationMetricMap) ToIntegrationMetricMapOutput() IntegrationMetricMapOutput
func (IntegrationMetricMap) ToIntegrationMetricMapOutputWithContext ¶
func (i IntegrationMetricMap) ToIntegrationMetricMapOutputWithContext(ctx context.Context) IntegrationMetricMapOutput
type IntegrationMetricMapInput ¶
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 ¶
type IntegrationMetricMapOutput struct{ *pulumi.OutputState }
func (IntegrationMetricMapOutput) ElementType ¶
func (IntegrationMetricMapOutput) ElementType() reflect.Type
func (IntegrationMetricMapOutput) MapIndex ¶
func (o IntegrationMetricMapOutput) MapIndex(k pulumi.StringInput) IntegrationMetricOutput
func (IntegrationMetricMapOutput) ToIntegrationMetricMapOutput ¶
func (o IntegrationMetricMapOutput) ToIntegrationMetricMapOutput() IntegrationMetricMapOutput
func (IntegrationMetricMapOutput) ToIntegrationMetricMapOutputWithContext ¶
func (o IntegrationMetricMapOutput) ToIntegrationMetricMapOutputWithContext(ctx context.Context) IntegrationMetricMapOutput
type IntegrationMetricOutput ¶
type IntegrationMetricOutput struct {
*pulumi.OutputState
}
func (IntegrationMetricOutput) ElementType ¶
func (IntegrationMetricOutput) ElementType() reflect.Type
func (IntegrationMetricOutput) ToIntegrationMetricOutput ¶
func (o IntegrationMetricOutput) ToIntegrationMetricOutput() IntegrationMetricOutput
func (IntegrationMetricOutput) ToIntegrationMetricOutputWithContext ¶
func (o IntegrationMetricOutput) ToIntegrationMetricOutputWithContext(ctx context.Context) IntegrationMetricOutput
func (IntegrationMetricOutput) ToIntegrationMetricPtrOutput ¶
func (o IntegrationMetricOutput) ToIntegrationMetricPtrOutput() IntegrationMetricPtrOutput
func (IntegrationMetricOutput) ToIntegrationMetricPtrOutputWithContext ¶
func (o IntegrationMetricOutput) ToIntegrationMetricPtrOutputWithContext(ctx context.Context) IntegrationMetricPtrOutput
type IntegrationMetricPtrInput ¶
type IntegrationMetricPtrInput interface { pulumi.Input ToIntegrationMetricPtrOutput() IntegrationMetricPtrOutput ToIntegrationMetricPtrOutputWithContext(ctx context.Context) IntegrationMetricPtrOutput }
type IntegrationMetricPtrOutput ¶
type IntegrationMetricPtrOutput struct {
*pulumi.OutputState
}
func (IntegrationMetricPtrOutput) ElementType ¶
func (IntegrationMetricPtrOutput) ElementType() reflect.Type
func (IntegrationMetricPtrOutput) ToIntegrationMetricPtrOutput ¶
func (o IntegrationMetricPtrOutput) ToIntegrationMetricPtrOutput() IntegrationMetricPtrOutput
func (IntegrationMetricPtrOutput) ToIntegrationMetricPtrOutputWithContext ¶
func (o IntegrationMetricPtrOutput) ToIntegrationMetricPtrOutputWithContext(ctx context.Context) IntegrationMetricPtrOutput
type IntegrationMetricState ¶
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 ¶
func (IntegrationMetricState) ElementType() reflect.Type
type LookupAlarmArgs ¶
type LookupAlarmArgs struct { AlarmId *int `pulumi:"alarmId"` InstanceId int `pulumi:"instanceId"` Type *string `pulumi:"type"` }
A collection of arguments for invoking getAlarm.
type LookupAlarmResult ¶
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 ¶
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 ¶
type LookupNotificationArgs struct { InstanceId int `pulumi:"instanceId"` Name *string `pulumi:"name"` RecipientId *int `pulumi:"recipientId"` }
A collection of arguments for invoking getNotification.
type LookupNotificationResult ¶
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 ¶
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 ¶
func (*Notification) ElementType() reflect.Type
func (*Notification) ToNotificationOutput ¶
func (i *Notification) ToNotificationOutput() NotificationOutput
func (*Notification) ToNotificationOutputWithContext ¶
func (i *Notification) ToNotificationOutputWithContext(ctx context.Context) NotificationOutput
func (*Notification) ToNotificationPtrOutput ¶
func (i *Notification) ToNotificationPtrOutput() NotificationPtrOutput
func (*Notification) ToNotificationPtrOutputWithContext ¶
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 ¶
type NotificationArray []NotificationInput
func (NotificationArray) ElementType ¶
func (NotificationArray) ElementType() reflect.Type
func (NotificationArray) ToNotificationArrayOutput ¶
func (i NotificationArray) ToNotificationArrayOutput() NotificationArrayOutput
func (NotificationArray) ToNotificationArrayOutputWithContext ¶
func (i NotificationArray) ToNotificationArrayOutputWithContext(ctx context.Context) NotificationArrayOutput
type NotificationArrayInput ¶
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 ¶
type NotificationArrayOutput struct{ *pulumi.OutputState }
func (NotificationArrayOutput) ElementType ¶
func (NotificationArrayOutput) ElementType() reflect.Type
func (NotificationArrayOutput) Index ¶
func (o NotificationArrayOutput) Index(i pulumi.IntInput) NotificationOutput
func (NotificationArrayOutput) ToNotificationArrayOutput ¶
func (o NotificationArrayOutput) ToNotificationArrayOutput() NotificationArrayOutput
func (NotificationArrayOutput) ToNotificationArrayOutputWithContext ¶
func (o NotificationArrayOutput) ToNotificationArrayOutputWithContext(ctx context.Context) NotificationArrayOutput
type NotificationInput ¶
type NotificationInput interface { pulumi.Input ToNotificationOutput() NotificationOutput ToNotificationOutputWithContext(ctx context.Context) NotificationOutput }
type NotificationMap ¶
type NotificationMap map[string]NotificationInput
func (NotificationMap) ElementType ¶
func (NotificationMap) ElementType() reflect.Type
func (NotificationMap) ToNotificationMapOutput ¶
func (i NotificationMap) ToNotificationMapOutput() NotificationMapOutput
func (NotificationMap) ToNotificationMapOutputWithContext ¶
func (i NotificationMap) ToNotificationMapOutputWithContext(ctx context.Context) NotificationMapOutput
type NotificationMapInput ¶
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 ¶
type NotificationMapOutput struct{ *pulumi.OutputState }
func (NotificationMapOutput) ElementType ¶
func (NotificationMapOutput) ElementType() reflect.Type
func (NotificationMapOutput) MapIndex ¶
func (o NotificationMapOutput) MapIndex(k pulumi.StringInput) NotificationOutput
func (NotificationMapOutput) ToNotificationMapOutput ¶
func (o NotificationMapOutput) ToNotificationMapOutput() NotificationMapOutput
func (NotificationMapOutput) ToNotificationMapOutputWithContext ¶
func (o NotificationMapOutput) ToNotificationMapOutputWithContext(ctx context.Context) NotificationMapOutput
type NotificationOutput ¶
type NotificationOutput struct {
*pulumi.OutputState
}
func (NotificationOutput) ElementType ¶
func (NotificationOutput) ElementType() reflect.Type
func (NotificationOutput) ToNotificationOutput ¶
func (o NotificationOutput) ToNotificationOutput() NotificationOutput
func (NotificationOutput) ToNotificationOutputWithContext ¶
func (o NotificationOutput) ToNotificationOutputWithContext(ctx context.Context) NotificationOutput
func (NotificationOutput) ToNotificationPtrOutput ¶
func (o NotificationOutput) ToNotificationPtrOutput() NotificationPtrOutput
func (NotificationOutput) ToNotificationPtrOutputWithContext ¶
func (o NotificationOutput) ToNotificationPtrOutputWithContext(ctx context.Context) NotificationPtrOutput
type NotificationPtrInput ¶
type NotificationPtrInput interface { pulumi.Input ToNotificationPtrOutput() NotificationPtrOutput ToNotificationPtrOutputWithContext(ctx context.Context) NotificationPtrOutput }
type NotificationPtrOutput ¶
type NotificationPtrOutput struct {
*pulumi.OutputState
}
func (NotificationPtrOutput) ElementType ¶
func (NotificationPtrOutput) ElementType() reflect.Type
func (NotificationPtrOutput) ToNotificationPtrOutput ¶
func (o NotificationPtrOutput) ToNotificationPtrOutput() NotificationPtrOutput
func (NotificationPtrOutput) ToNotificationPtrOutputWithContext ¶
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 ¶
func (*Plugin) ToPluginOutput ¶
func (i *Plugin) ToPluginOutput() PluginOutput
func (*Plugin) ToPluginOutputWithContext ¶
func (i *Plugin) ToPluginOutputWithContext(ctx context.Context) PluginOutput
func (*Plugin) ToPluginPtrOutput ¶
func (i *Plugin) ToPluginPtrOutput() PluginPtrOutput
func (*Plugin) ToPluginPtrOutputWithContext ¶
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 ¶
type PluginArray []PluginInput
func (PluginArray) ElementType ¶
func (PluginArray) ElementType() reflect.Type
func (PluginArray) ToPluginArrayOutput ¶
func (i PluginArray) ToPluginArrayOutput() PluginArrayOutput
func (PluginArray) ToPluginArrayOutputWithContext ¶
func (i PluginArray) ToPluginArrayOutputWithContext(ctx context.Context) PluginArrayOutput
type PluginArrayInput ¶
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 ¶
type PluginArrayOutput struct{ *pulumi.OutputState }
func (PluginArrayOutput) ElementType ¶
func (PluginArrayOutput) ElementType() reflect.Type
func (PluginArrayOutput) Index ¶
func (o PluginArrayOutput) Index(i pulumi.IntInput) PluginOutput
func (PluginArrayOutput) ToPluginArrayOutput ¶
func (o PluginArrayOutput) ToPluginArrayOutput() PluginArrayOutput
func (PluginArrayOutput) ToPluginArrayOutputWithContext ¶
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 ¶
func (*PluginCommunity) ElementType() reflect.Type
func (*PluginCommunity) ToPluginCommunityOutput ¶
func (i *PluginCommunity) ToPluginCommunityOutput() PluginCommunityOutput
func (*PluginCommunity) ToPluginCommunityOutputWithContext ¶
func (i *PluginCommunity) ToPluginCommunityOutputWithContext(ctx context.Context) PluginCommunityOutput
func (*PluginCommunity) ToPluginCommunityPtrOutput ¶
func (i *PluginCommunity) ToPluginCommunityPtrOutput() PluginCommunityPtrOutput
func (*PluginCommunity) ToPluginCommunityPtrOutputWithContext ¶
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 ¶
type PluginCommunityArray []PluginCommunityInput
func (PluginCommunityArray) ElementType ¶
func (PluginCommunityArray) ElementType() reflect.Type
func (PluginCommunityArray) ToPluginCommunityArrayOutput ¶
func (i PluginCommunityArray) ToPluginCommunityArrayOutput() PluginCommunityArrayOutput
func (PluginCommunityArray) ToPluginCommunityArrayOutputWithContext ¶
func (i PluginCommunityArray) ToPluginCommunityArrayOutputWithContext(ctx context.Context) PluginCommunityArrayOutput
type PluginCommunityArrayInput ¶
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 ¶
type PluginCommunityArrayOutput struct{ *pulumi.OutputState }
func (PluginCommunityArrayOutput) ElementType ¶
func (PluginCommunityArrayOutput) ElementType() reflect.Type
func (PluginCommunityArrayOutput) Index ¶
func (o PluginCommunityArrayOutput) Index(i pulumi.IntInput) PluginCommunityOutput
func (PluginCommunityArrayOutput) ToPluginCommunityArrayOutput ¶
func (o PluginCommunityArrayOutput) ToPluginCommunityArrayOutput() PluginCommunityArrayOutput
func (PluginCommunityArrayOutput) ToPluginCommunityArrayOutputWithContext ¶
func (o PluginCommunityArrayOutput) ToPluginCommunityArrayOutputWithContext(ctx context.Context) PluginCommunityArrayOutput
type PluginCommunityInput ¶
type PluginCommunityInput interface { pulumi.Input ToPluginCommunityOutput() PluginCommunityOutput ToPluginCommunityOutputWithContext(ctx context.Context) PluginCommunityOutput }
type PluginCommunityMap ¶
type PluginCommunityMap map[string]PluginCommunityInput
func (PluginCommunityMap) ElementType ¶
func (PluginCommunityMap) ElementType() reflect.Type
func (PluginCommunityMap) ToPluginCommunityMapOutput ¶
func (i PluginCommunityMap) ToPluginCommunityMapOutput() PluginCommunityMapOutput
func (PluginCommunityMap) ToPluginCommunityMapOutputWithContext ¶
func (i PluginCommunityMap) ToPluginCommunityMapOutputWithContext(ctx context.Context) PluginCommunityMapOutput
type PluginCommunityMapInput ¶
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 ¶
type PluginCommunityMapOutput struct{ *pulumi.OutputState }
func (PluginCommunityMapOutput) ElementType ¶
func (PluginCommunityMapOutput) ElementType() reflect.Type
func (PluginCommunityMapOutput) MapIndex ¶
func (o PluginCommunityMapOutput) MapIndex(k pulumi.StringInput) PluginCommunityOutput
func (PluginCommunityMapOutput) ToPluginCommunityMapOutput ¶
func (o PluginCommunityMapOutput) ToPluginCommunityMapOutput() PluginCommunityMapOutput
func (PluginCommunityMapOutput) ToPluginCommunityMapOutputWithContext ¶
func (o PluginCommunityMapOutput) ToPluginCommunityMapOutputWithContext(ctx context.Context) PluginCommunityMapOutput
type PluginCommunityOutput ¶
type PluginCommunityOutput struct {
*pulumi.OutputState
}
func (PluginCommunityOutput) ElementType ¶
func (PluginCommunityOutput) ElementType() reflect.Type
func (PluginCommunityOutput) ToPluginCommunityOutput ¶
func (o PluginCommunityOutput) ToPluginCommunityOutput() PluginCommunityOutput
func (PluginCommunityOutput) ToPluginCommunityOutputWithContext ¶
func (o PluginCommunityOutput) ToPluginCommunityOutputWithContext(ctx context.Context) PluginCommunityOutput
func (PluginCommunityOutput) ToPluginCommunityPtrOutput ¶
func (o PluginCommunityOutput) ToPluginCommunityPtrOutput() PluginCommunityPtrOutput
func (PluginCommunityOutput) ToPluginCommunityPtrOutputWithContext ¶
func (o PluginCommunityOutput) ToPluginCommunityPtrOutputWithContext(ctx context.Context) PluginCommunityPtrOutput
type PluginCommunityPtrInput ¶
type PluginCommunityPtrInput interface { pulumi.Input ToPluginCommunityPtrOutput() PluginCommunityPtrOutput ToPluginCommunityPtrOutputWithContext(ctx context.Context) PluginCommunityPtrOutput }
type PluginCommunityPtrOutput ¶
type PluginCommunityPtrOutput struct {
*pulumi.OutputState
}
func (PluginCommunityPtrOutput) ElementType ¶
func (PluginCommunityPtrOutput) ElementType() reflect.Type
func (PluginCommunityPtrOutput) ToPluginCommunityPtrOutput ¶
func (o PluginCommunityPtrOutput) ToPluginCommunityPtrOutput() PluginCommunityPtrOutput
func (PluginCommunityPtrOutput) ToPluginCommunityPtrOutputWithContext ¶
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 ¶
type PluginInput interface { pulumi.Input ToPluginOutput() PluginOutput ToPluginOutputWithContext(ctx context.Context) PluginOutput }
type PluginMap ¶
type PluginMap map[string]PluginInput
func (PluginMap) ElementType ¶
func (PluginMap) ToPluginMapOutput ¶
func (i PluginMap) ToPluginMapOutput() PluginMapOutput
func (PluginMap) ToPluginMapOutputWithContext ¶
func (i PluginMap) ToPluginMapOutputWithContext(ctx context.Context) PluginMapOutput
type PluginMapInput ¶
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 ¶
type PluginMapOutput struct{ *pulumi.OutputState }
func (PluginMapOutput) ElementType ¶
func (PluginMapOutput) ElementType() reflect.Type
func (PluginMapOutput) MapIndex ¶
func (o PluginMapOutput) MapIndex(k pulumi.StringInput) PluginOutput
func (PluginMapOutput) ToPluginMapOutput ¶
func (o PluginMapOutput) ToPluginMapOutput() PluginMapOutput
func (PluginMapOutput) ToPluginMapOutputWithContext ¶
func (o PluginMapOutput) ToPluginMapOutputWithContext(ctx context.Context) PluginMapOutput
type PluginOutput ¶
type PluginOutput struct {
*pulumi.OutputState
}
func (PluginOutput) ElementType ¶
func (PluginOutput) ElementType() reflect.Type
func (PluginOutput) ToPluginOutput ¶
func (o PluginOutput) ToPluginOutput() PluginOutput
func (PluginOutput) ToPluginOutputWithContext ¶
func (o PluginOutput) ToPluginOutputWithContext(ctx context.Context) PluginOutput
func (PluginOutput) ToPluginPtrOutput ¶
func (o PluginOutput) ToPluginPtrOutput() PluginPtrOutput
func (PluginOutput) ToPluginPtrOutputWithContext ¶
func (o PluginOutput) ToPluginPtrOutputWithContext(ctx context.Context) PluginPtrOutput
type PluginPtrInput ¶
type PluginPtrInput interface { pulumi.Input ToPluginPtrOutput() PluginPtrOutput ToPluginPtrOutputWithContext(ctx context.Context) PluginPtrOutput }
type PluginPtrOutput ¶
type PluginPtrOutput struct {
*pulumi.OutputState
}
func (PluginPtrOutput) ElementType ¶
func (PluginPtrOutput) ElementType() reflect.Type
func (PluginPtrOutput) ToPluginPtrOutput ¶
func (o PluginPtrOutput) ToPluginPtrOutput() PluginPtrOutput
func (PluginPtrOutput) ToPluginPtrOutputWithContext ¶
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 ¶
func (*Provider) ToProviderOutput ¶
func (i *Provider) ToProviderOutput() ProviderOutput
func (*Provider) ToProviderOutputWithContext ¶
func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
func (*Provider) ToProviderPtrOutput ¶
func (i *Provider) ToProviderPtrOutput() ProviderPtrOutput
func (*Provider) ToProviderPtrOutputWithContext ¶
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 ¶
type ProviderInput interface { pulumi.Input ToProviderOutput() ProviderOutput ToProviderOutputWithContext(ctx context.Context) ProviderOutput }
type ProviderOutput ¶
type ProviderOutput struct {
*pulumi.OutputState
}
func (ProviderOutput) ElementType ¶
func (ProviderOutput) ElementType() reflect.Type
func (ProviderOutput) ToProviderOutput ¶
func (o ProviderOutput) ToProviderOutput() ProviderOutput
func (ProviderOutput) ToProviderOutputWithContext ¶
func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
func (ProviderOutput) ToProviderPtrOutput ¶
func (o ProviderOutput) ToProviderPtrOutput() ProviderPtrOutput
func (ProviderOutput) ToProviderPtrOutputWithContext ¶
func (o ProviderOutput) ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput
type ProviderPtrInput ¶
type ProviderPtrInput interface { pulumi.Input ToProviderPtrOutput() ProviderPtrOutput ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput }
type ProviderPtrOutput ¶
type ProviderPtrOutput struct {
*pulumi.OutputState
}
func (ProviderPtrOutput) ElementType ¶
func (ProviderPtrOutput) ElementType() reflect.Type
func (ProviderPtrOutput) ToProviderPtrOutput ¶
func (o ProviderPtrOutput) ToProviderPtrOutput() ProviderPtrOutput
func (ProviderPtrOutput) ToProviderPtrOutputWithContext ¶
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 ¶
func (*SecurityFirewall) ElementType() reflect.Type
func (*SecurityFirewall) ToSecurityFirewallOutput ¶
func (i *SecurityFirewall) ToSecurityFirewallOutput() SecurityFirewallOutput
func (*SecurityFirewall) ToSecurityFirewallOutputWithContext ¶
func (i *SecurityFirewall) ToSecurityFirewallOutputWithContext(ctx context.Context) SecurityFirewallOutput
func (*SecurityFirewall) ToSecurityFirewallPtrOutput ¶
func (i *SecurityFirewall) ToSecurityFirewallPtrOutput() SecurityFirewallPtrOutput
func (*SecurityFirewall) ToSecurityFirewallPtrOutputWithContext ¶
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 ¶
type SecurityFirewallArray []SecurityFirewallInput
func (SecurityFirewallArray) ElementType ¶
func (SecurityFirewallArray) ElementType() reflect.Type
func (SecurityFirewallArray) ToSecurityFirewallArrayOutput ¶
func (i SecurityFirewallArray) ToSecurityFirewallArrayOutput() SecurityFirewallArrayOutput
func (SecurityFirewallArray) ToSecurityFirewallArrayOutputWithContext ¶
func (i SecurityFirewallArray) ToSecurityFirewallArrayOutputWithContext(ctx context.Context) SecurityFirewallArrayOutput
type SecurityFirewallArrayInput ¶
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 ¶
type SecurityFirewallArrayOutput struct{ *pulumi.OutputState }
func (SecurityFirewallArrayOutput) ElementType ¶
func (SecurityFirewallArrayOutput) ElementType() reflect.Type
func (SecurityFirewallArrayOutput) Index ¶
func (o SecurityFirewallArrayOutput) Index(i pulumi.IntInput) SecurityFirewallOutput
func (SecurityFirewallArrayOutput) ToSecurityFirewallArrayOutput ¶
func (o SecurityFirewallArrayOutput) ToSecurityFirewallArrayOutput() SecurityFirewallArrayOutput
func (SecurityFirewallArrayOutput) ToSecurityFirewallArrayOutputWithContext ¶
func (o SecurityFirewallArrayOutput) ToSecurityFirewallArrayOutputWithContext(ctx context.Context) SecurityFirewallArrayOutput
type SecurityFirewallInput ¶
type SecurityFirewallInput interface { pulumi.Input ToSecurityFirewallOutput() SecurityFirewallOutput ToSecurityFirewallOutputWithContext(ctx context.Context) SecurityFirewallOutput }
type SecurityFirewallMap ¶
type SecurityFirewallMap map[string]SecurityFirewallInput
func (SecurityFirewallMap) ElementType ¶
func (SecurityFirewallMap) ElementType() reflect.Type
func (SecurityFirewallMap) ToSecurityFirewallMapOutput ¶
func (i SecurityFirewallMap) ToSecurityFirewallMapOutput() SecurityFirewallMapOutput
func (SecurityFirewallMap) ToSecurityFirewallMapOutputWithContext ¶
func (i SecurityFirewallMap) ToSecurityFirewallMapOutputWithContext(ctx context.Context) SecurityFirewallMapOutput
type SecurityFirewallMapInput ¶
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 ¶
type SecurityFirewallMapOutput struct{ *pulumi.OutputState }
func (SecurityFirewallMapOutput) ElementType ¶
func (SecurityFirewallMapOutput) ElementType() reflect.Type
func (SecurityFirewallMapOutput) MapIndex ¶
func (o SecurityFirewallMapOutput) MapIndex(k pulumi.StringInput) SecurityFirewallOutput
func (SecurityFirewallMapOutput) ToSecurityFirewallMapOutput ¶
func (o SecurityFirewallMapOutput) ToSecurityFirewallMapOutput() SecurityFirewallMapOutput
func (SecurityFirewallMapOutput) ToSecurityFirewallMapOutputWithContext ¶
func (o SecurityFirewallMapOutput) ToSecurityFirewallMapOutputWithContext(ctx context.Context) SecurityFirewallMapOutput
type SecurityFirewallOutput ¶
type SecurityFirewallOutput struct {
*pulumi.OutputState
}
func (SecurityFirewallOutput) ElementType ¶
func (SecurityFirewallOutput) ElementType() reflect.Type
func (SecurityFirewallOutput) ToSecurityFirewallOutput ¶
func (o SecurityFirewallOutput) ToSecurityFirewallOutput() SecurityFirewallOutput
func (SecurityFirewallOutput) ToSecurityFirewallOutputWithContext ¶
func (o SecurityFirewallOutput) ToSecurityFirewallOutputWithContext(ctx context.Context) SecurityFirewallOutput
func (SecurityFirewallOutput) ToSecurityFirewallPtrOutput ¶
func (o SecurityFirewallOutput) ToSecurityFirewallPtrOutput() SecurityFirewallPtrOutput
func (SecurityFirewallOutput) ToSecurityFirewallPtrOutputWithContext ¶
func (o SecurityFirewallOutput) ToSecurityFirewallPtrOutputWithContext(ctx context.Context) SecurityFirewallPtrOutput
type SecurityFirewallPtrInput ¶
type SecurityFirewallPtrInput interface { pulumi.Input ToSecurityFirewallPtrOutput() SecurityFirewallPtrOutput ToSecurityFirewallPtrOutputWithContext(ctx context.Context) SecurityFirewallPtrOutput }
type SecurityFirewallPtrOutput ¶
type SecurityFirewallPtrOutput struct {
*pulumi.OutputState
}
func (SecurityFirewallPtrOutput) ElementType ¶
func (SecurityFirewallPtrOutput) ElementType() reflect.Type
func (SecurityFirewallPtrOutput) ToSecurityFirewallPtrOutput ¶
func (o SecurityFirewallPtrOutput) ToSecurityFirewallPtrOutput() SecurityFirewallPtrOutput
func (SecurityFirewallPtrOutput) ToSecurityFirewallPtrOutputWithContext ¶
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 ¶
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 ¶
func (*VpcPeering) ElementType() reflect.Type
func (*VpcPeering) ToVpcPeeringOutput ¶
func (i *VpcPeering) ToVpcPeeringOutput() VpcPeeringOutput
func (*VpcPeering) ToVpcPeeringOutputWithContext ¶
func (i *VpcPeering) ToVpcPeeringOutputWithContext(ctx context.Context) VpcPeeringOutput
func (*VpcPeering) ToVpcPeeringPtrOutput ¶
func (i *VpcPeering) ToVpcPeeringPtrOutput() VpcPeeringPtrOutput
func (*VpcPeering) ToVpcPeeringPtrOutputWithContext ¶
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 ¶
type VpcPeeringArray []VpcPeeringInput
func (VpcPeeringArray) ElementType ¶
func (VpcPeeringArray) ElementType() reflect.Type
func (VpcPeeringArray) ToVpcPeeringArrayOutput ¶
func (i VpcPeeringArray) ToVpcPeeringArrayOutput() VpcPeeringArrayOutput
func (VpcPeeringArray) ToVpcPeeringArrayOutputWithContext ¶
func (i VpcPeeringArray) ToVpcPeeringArrayOutputWithContext(ctx context.Context) VpcPeeringArrayOutput
type VpcPeeringArrayInput ¶
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 ¶
type VpcPeeringArrayOutput struct{ *pulumi.OutputState }
func (VpcPeeringArrayOutput) ElementType ¶
func (VpcPeeringArrayOutput) ElementType() reflect.Type
func (VpcPeeringArrayOutput) Index ¶
func (o VpcPeeringArrayOutput) Index(i pulumi.IntInput) VpcPeeringOutput
func (VpcPeeringArrayOutput) ToVpcPeeringArrayOutput ¶
func (o VpcPeeringArrayOutput) ToVpcPeeringArrayOutput() VpcPeeringArrayOutput
func (VpcPeeringArrayOutput) ToVpcPeeringArrayOutputWithContext ¶
func (o VpcPeeringArrayOutput) ToVpcPeeringArrayOutputWithContext(ctx context.Context) VpcPeeringArrayOutput
type VpcPeeringInput ¶
type VpcPeeringInput interface { pulumi.Input ToVpcPeeringOutput() VpcPeeringOutput ToVpcPeeringOutputWithContext(ctx context.Context) VpcPeeringOutput }
type VpcPeeringMap ¶
type VpcPeeringMap map[string]VpcPeeringInput
func (VpcPeeringMap) ElementType ¶
func (VpcPeeringMap) ElementType() reflect.Type
func (VpcPeeringMap) ToVpcPeeringMapOutput ¶
func (i VpcPeeringMap) ToVpcPeeringMapOutput() VpcPeeringMapOutput
func (VpcPeeringMap) ToVpcPeeringMapOutputWithContext ¶
func (i VpcPeeringMap) ToVpcPeeringMapOutputWithContext(ctx context.Context) VpcPeeringMapOutput
type VpcPeeringMapInput ¶
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 ¶
type VpcPeeringMapOutput struct{ *pulumi.OutputState }
func (VpcPeeringMapOutput) ElementType ¶
func (VpcPeeringMapOutput) ElementType() reflect.Type
func (VpcPeeringMapOutput) MapIndex ¶
func (o VpcPeeringMapOutput) MapIndex(k pulumi.StringInput) VpcPeeringOutput
func (VpcPeeringMapOutput) ToVpcPeeringMapOutput ¶
func (o VpcPeeringMapOutput) ToVpcPeeringMapOutput() VpcPeeringMapOutput
func (VpcPeeringMapOutput) ToVpcPeeringMapOutputWithContext ¶
func (o VpcPeeringMapOutput) ToVpcPeeringMapOutputWithContext(ctx context.Context) VpcPeeringMapOutput
type VpcPeeringOutput ¶
type VpcPeeringOutput struct {
*pulumi.OutputState
}
func (VpcPeeringOutput) ElementType ¶
func (VpcPeeringOutput) ElementType() reflect.Type
func (VpcPeeringOutput) ToVpcPeeringOutput ¶
func (o VpcPeeringOutput) ToVpcPeeringOutput() VpcPeeringOutput
func (VpcPeeringOutput) ToVpcPeeringOutputWithContext ¶
func (o VpcPeeringOutput) ToVpcPeeringOutputWithContext(ctx context.Context) VpcPeeringOutput
func (VpcPeeringOutput) ToVpcPeeringPtrOutput ¶
func (o VpcPeeringOutput) ToVpcPeeringPtrOutput() VpcPeeringPtrOutput
func (VpcPeeringOutput) ToVpcPeeringPtrOutputWithContext ¶
func (o VpcPeeringOutput) ToVpcPeeringPtrOutputWithContext(ctx context.Context) VpcPeeringPtrOutput
type VpcPeeringPtrInput ¶
type VpcPeeringPtrInput interface { pulumi.Input ToVpcPeeringPtrOutput() VpcPeeringPtrOutput ToVpcPeeringPtrOutputWithContext(ctx context.Context) VpcPeeringPtrOutput }
type VpcPeeringPtrOutput ¶
type VpcPeeringPtrOutput struct {
*pulumi.OutputState
}
func (VpcPeeringPtrOutput) ElementType ¶
func (VpcPeeringPtrOutput) ElementType() reflect.Type
func (VpcPeeringPtrOutput) ToVpcPeeringPtrOutput ¶
func (o VpcPeeringPtrOutput) ToVpcPeeringPtrOutput() VpcPeeringPtrOutput
func (VpcPeeringPtrOutput) ToVpcPeeringPtrOutputWithContext ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (*Webhook) ToWebhookOutput ¶
func (i *Webhook) ToWebhookOutput() WebhookOutput
func (*Webhook) ToWebhookOutputWithContext ¶
func (i *Webhook) ToWebhookOutputWithContext(ctx context.Context) WebhookOutput
func (*Webhook) ToWebhookPtrOutput ¶
func (i *Webhook) ToWebhookPtrOutput() WebhookPtrOutput
func (*Webhook) ToWebhookPtrOutputWithContext ¶
func (i *Webhook) ToWebhookPtrOutputWithContext(ctx context.Context) WebhookPtrOutput
type WebhookArgs ¶
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 ¶
func (WebhookArgs) ElementType() reflect.Type
type WebhookArray ¶
type WebhookArray []WebhookInput
func (WebhookArray) ElementType ¶
func (WebhookArray) ElementType() reflect.Type
func (WebhookArray) ToWebhookArrayOutput ¶
func (i WebhookArray) ToWebhookArrayOutput() WebhookArrayOutput
func (WebhookArray) ToWebhookArrayOutputWithContext ¶
func (i WebhookArray) ToWebhookArrayOutputWithContext(ctx context.Context) WebhookArrayOutput
type WebhookArrayInput ¶
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 ¶
type WebhookArrayOutput struct{ *pulumi.OutputState }
func (WebhookArrayOutput) ElementType ¶
func (WebhookArrayOutput) ElementType() reflect.Type
func (WebhookArrayOutput) Index ¶
func (o WebhookArrayOutput) Index(i pulumi.IntInput) WebhookOutput
func (WebhookArrayOutput) ToWebhookArrayOutput ¶
func (o WebhookArrayOutput) ToWebhookArrayOutput() WebhookArrayOutput
func (WebhookArrayOutput) ToWebhookArrayOutputWithContext ¶
func (o WebhookArrayOutput) ToWebhookArrayOutputWithContext(ctx context.Context) WebhookArrayOutput
type WebhookInput ¶
type WebhookInput interface { pulumi.Input ToWebhookOutput() WebhookOutput ToWebhookOutputWithContext(ctx context.Context) WebhookOutput }
type WebhookMap ¶
type WebhookMap map[string]WebhookInput
func (WebhookMap) ElementType ¶
func (WebhookMap) ElementType() reflect.Type
func (WebhookMap) ToWebhookMapOutput ¶
func (i WebhookMap) ToWebhookMapOutput() WebhookMapOutput
func (WebhookMap) ToWebhookMapOutputWithContext ¶
func (i WebhookMap) ToWebhookMapOutputWithContext(ctx context.Context) WebhookMapOutput
type WebhookMapInput ¶
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 ¶
type WebhookMapOutput struct{ *pulumi.OutputState }
func (WebhookMapOutput) ElementType ¶
func (WebhookMapOutput) ElementType() reflect.Type
func (WebhookMapOutput) MapIndex ¶
func (o WebhookMapOutput) MapIndex(k pulumi.StringInput) WebhookOutput
func (WebhookMapOutput) ToWebhookMapOutput ¶
func (o WebhookMapOutput) ToWebhookMapOutput() WebhookMapOutput
func (WebhookMapOutput) ToWebhookMapOutputWithContext ¶
func (o WebhookMapOutput) ToWebhookMapOutputWithContext(ctx context.Context) WebhookMapOutput
type WebhookOutput ¶
type WebhookOutput struct {
*pulumi.OutputState
}
func (WebhookOutput) ElementType ¶
func (WebhookOutput) ElementType() reflect.Type
func (WebhookOutput) ToWebhookOutput ¶
func (o WebhookOutput) ToWebhookOutput() WebhookOutput
func (WebhookOutput) ToWebhookOutputWithContext ¶
func (o WebhookOutput) ToWebhookOutputWithContext(ctx context.Context) WebhookOutput
func (WebhookOutput) ToWebhookPtrOutput ¶
func (o WebhookOutput) ToWebhookPtrOutput() WebhookPtrOutput
func (WebhookOutput) ToWebhookPtrOutputWithContext ¶
func (o WebhookOutput) ToWebhookPtrOutputWithContext(ctx context.Context) WebhookPtrOutput
type WebhookPtrInput ¶
type WebhookPtrInput interface { pulumi.Input ToWebhookPtrOutput() WebhookPtrOutput ToWebhookPtrOutputWithContext(ctx context.Context) WebhookPtrOutput }
type WebhookPtrOutput ¶
type WebhookPtrOutput struct {
*pulumi.OutputState
}
func (WebhookPtrOutput) ElementType ¶
func (WebhookPtrOutput) ElementType() reflect.Type
func (WebhookPtrOutput) ToWebhookPtrOutput ¶
func (o WebhookPtrOutput) ToWebhookPtrOutput() WebhookPtrOutput
func (WebhookPtrOutput) ToWebhookPtrOutputWithContext ¶
func (o WebhookPtrOutput) ToWebhookPtrOutputWithContext(ctx context.Context) WebhookPtrOutput
type WebhookState ¶
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 ¶
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
Directories
Path | Synopsis |
---|---|