cloudamqp

package
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 23, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

nolint: lll

Package cloudamqp exports types, functions, subpackages for provisioning cloudamqp resources.// A Pulumi package for creating and managing CloudAMQP resources.

> This provider is a derived work of the [Terraform Provider](https://github.com/cloudamqp/terraform-provider-cloudamqp) > distributed under [MIT](https://mit-license.org/). If you encounter a bug or missing feature, > first check the [`pulumi/pulumi-cloudamqp` repo](https://github.com/pulumi/pulumi-cloudamqp/issues); however, if that doesn't turn up anything, > please consult the source [`cloudamqp/terraform-provider-cloudamqp` repo](https://github.com/cloudamqp/terraform-provider-cloudamqp/issues).

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Alarm

type Alarm struct {
	pulumi.CustomResourceState

	// Enable or disable an alarm
	Enabled pulumi.BoolOutput `pulumi:"enabled"`
	// Instance identifier
	InstanceId pulumi.IntOutput `pulumi:"instanceId"`
	// Message types (total, unacked, ready) of the queue to trigger the alarm
	MessageType pulumi.StringPtrOutput `pulumi:"messageType"`
	// Regex for which queues to check
	QueueRegex pulumi.StringPtrOutput `pulumi:"queueRegex"`
	// Identifiers for recipients to be notified.
	Recipients pulumi.IntArrayOutput `pulumi:"recipients"`
	// For how long (in seconds) the value_threshold should be active before trigger alarm
	TimeThreshold pulumi.IntPtrOutput `pulumi:"timeThreshold"`
	// Type of the alarm, valid options are: cpu, memory, disk_usage, queue_length, connection_count, consumers_count,
	// net_split
	Type pulumi.StringOutput `pulumi:"type"`
	// What value to trigger the alarm for
	ValueThreshold pulumi.IntPtrOutput `pulumi:"valueThreshold"`
	// Regex for which vhost the queues are in
	VhostRegex pulumi.StringPtrOutput `pulumi:"vhostRegex"`
}

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.

type AlarmArgs

type AlarmArgs struct {
	// Enable or disable an alarm
	Enabled pulumi.BoolInput
	// Instance identifier
	InstanceId pulumi.IntInput
	// Message types (total, unacked, ready) of the queue to trigger the alarm
	MessageType pulumi.StringPtrInput
	// Regex for which queues to check
	QueueRegex pulumi.StringPtrInput
	// Identifiers for recipients to be notified.
	Recipients pulumi.IntArrayInput
	// For how long (in seconds) the value_threshold should be active before trigger alarm
	TimeThreshold pulumi.IntPtrInput
	// Type of the alarm, valid options are: cpu, memory, disk_usage, queue_length, connection_count, consumers_count,
	// net_split
	Type pulumi.StringInput
	// What value to trigger the alarm for
	ValueThreshold pulumi.IntPtrInput
	// Regex for which vhost the queues are in
	VhostRegex pulumi.StringPtrInput
}

The set of arguments for constructing a Alarm resource.

func (AlarmArgs) ElementType added in v1.3.0

func (AlarmArgs) ElementType() reflect.Type

type AlarmState

type AlarmState struct {
	// Enable or disable an alarm
	Enabled pulumi.BoolPtrInput
	// Instance identifier
	InstanceId pulumi.IntPtrInput
	// Message types (total, unacked, ready) of the queue to trigger the alarm
	MessageType pulumi.StringPtrInput
	// Regex for which queues to check
	QueueRegex pulumi.StringPtrInput
	// Identifiers for recipients to be notified.
	Recipients pulumi.IntArrayInput
	// For how long (in seconds) the value_threshold should be active before trigger alarm
	TimeThreshold pulumi.IntPtrInput
	// Type of the alarm, valid options are: cpu, memory, disk_usage, queue_length, connection_count, consumers_count,
	// net_split
	Type pulumi.StringPtrInput
	// What value to trigger the alarm for
	ValueThreshold pulumi.IntPtrInput
	// Regex for which vhost the queues are in
	VhostRegex pulumi.StringPtrInput
}

func (AlarmState) ElementType added in v1.3.0

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 {
	// id is 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 added in v1.3.0

func GetCredentials(ctx *pulumi.Context, args *GetCredentialsArgs, opts ...pulumi.InvokeOption) (*GetCredentialsResult, error)

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 GetPluginsCommunityPlugin added in v1.3.0

type GetPluginsCommunityPlugin struct {
	Description *string `pulumi:"description"`
	Name        *string `pulumi:"name"`
	Require     *string `pulumi:"require"`
}

type GetPluginsCommunityPluginArgs added in v1.3.0

type GetPluginsCommunityPluginArgs struct {
	Description pulumi.StringPtrInput `pulumi:"description"`
	Name        pulumi.StringPtrInput `pulumi:"name"`
	Require     pulumi.StringPtrInput `pulumi:"require"`
}

func (GetPluginsCommunityPluginArgs) ElementType added in v1.3.0

func (GetPluginsCommunityPluginArgs) ToGetPluginsCommunityPluginOutput added in v1.3.0

func (i GetPluginsCommunityPluginArgs) ToGetPluginsCommunityPluginOutput() GetPluginsCommunityPluginOutput

func (GetPluginsCommunityPluginArgs) ToGetPluginsCommunityPluginOutputWithContext added in v1.3.0

func (i GetPluginsCommunityPluginArgs) ToGetPluginsCommunityPluginOutputWithContext(ctx context.Context) GetPluginsCommunityPluginOutput

type GetPluginsCommunityPluginArray added in v1.3.0

type GetPluginsCommunityPluginArray []GetPluginsCommunityPluginInput

func (GetPluginsCommunityPluginArray) ElementType added in v1.3.0

func (GetPluginsCommunityPluginArray) ToGetPluginsCommunityPluginArrayOutput added in v1.3.0

func (i GetPluginsCommunityPluginArray) ToGetPluginsCommunityPluginArrayOutput() GetPluginsCommunityPluginArrayOutput

func (GetPluginsCommunityPluginArray) ToGetPluginsCommunityPluginArrayOutputWithContext added in v1.3.0

func (i GetPluginsCommunityPluginArray) ToGetPluginsCommunityPluginArrayOutputWithContext(ctx context.Context) GetPluginsCommunityPluginArrayOutput

type GetPluginsCommunityPluginArrayInput added in v1.3.0

type GetPluginsCommunityPluginArrayInput interface {
	pulumi.Input

	ToGetPluginsCommunityPluginArrayOutput() GetPluginsCommunityPluginArrayOutput
	ToGetPluginsCommunityPluginArrayOutputWithContext(context.Context) GetPluginsCommunityPluginArrayOutput
}

type GetPluginsCommunityPluginArrayOutput added in v1.3.0

type GetPluginsCommunityPluginArrayOutput struct{ *pulumi.OutputState }

func (GetPluginsCommunityPluginArrayOutput) ElementType added in v1.3.0

func (GetPluginsCommunityPluginArrayOutput) Index added in v1.3.0

func (GetPluginsCommunityPluginArrayOutput) ToGetPluginsCommunityPluginArrayOutput added in v1.3.0

func (o GetPluginsCommunityPluginArrayOutput) ToGetPluginsCommunityPluginArrayOutput() GetPluginsCommunityPluginArrayOutput

func (GetPluginsCommunityPluginArrayOutput) ToGetPluginsCommunityPluginArrayOutputWithContext added in v1.3.0

func (o GetPluginsCommunityPluginArrayOutput) ToGetPluginsCommunityPluginArrayOutputWithContext(ctx context.Context) GetPluginsCommunityPluginArrayOutput

type GetPluginsCommunityPluginInput added in v1.3.0

type GetPluginsCommunityPluginInput interface {
	pulumi.Input

	ToGetPluginsCommunityPluginOutput() GetPluginsCommunityPluginOutput
	ToGetPluginsCommunityPluginOutputWithContext(context.Context) GetPluginsCommunityPluginOutput
}

type GetPluginsCommunityPluginOutput added in v1.3.0

type GetPluginsCommunityPluginOutput struct{ *pulumi.OutputState }

func (GetPluginsCommunityPluginOutput) Description added in v1.3.0

func (GetPluginsCommunityPluginOutput) ElementType added in v1.3.0

func (GetPluginsCommunityPluginOutput) Name added in v1.3.0

func (GetPluginsCommunityPluginOutput) Require added in v1.3.0

func (GetPluginsCommunityPluginOutput) ToGetPluginsCommunityPluginOutput added in v1.3.0

func (o GetPluginsCommunityPluginOutput) ToGetPluginsCommunityPluginOutput() GetPluginsCommunityPluginOutput

func (GetPluginsCommunityPluginOutput) ToGetPluginsCommunityPluginOutputWithContext added in v1.3.0

func (o GetPluginsCommunityPluginOutput) ToGetPluginsCommunityPluginOutputWithContext(ctx context.Context) GetPluginsCommunityPluginOutput

type GetPluginsCommunityResult

type GetPluginsCommunityResult struct {
	// id is 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 added in v1.3.0

func GetPluginsCommunity(ctx *pulumi.Context, args *GetPluginsCommunityArgs, opts ...pulumi.InvokeOption) (*GetPluginsCommunityResult, error)

type GetPluginsPlugin added in v1.3.0

type GetPluginsPlugin struct {
	Description *string `pulumi:"description"`
	Enabled     *bool   `pulumi:"enabled"`
	Name        *string `pulumi:"name"`
	Version     *string `pulumi:"version"`
}

type GetPluginsPluginArgs added in v1.3.0

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 added in v1.3.0

func (GetPluginsPluginArgs) ElementType() reflect.Type

func (GetPluginsPluginArgs) ToGetPluginsPluginOutput added in v1.3.0

func (i GetPluginsPluginArgs) ToGetPluginsPluginOutput() GetPluginsPluginOutput

func (GetPluginsPluginArgs) ToGetPluginsPluginOutputWithContext added in v1.3.0

func (i GetPluginsPluginArgs) ToGetPluginsPluginOutputWithContext(ctx context.Context) GetPluginsPluginOutput

type GetPluginsPluginArray added in v1.3.0

type GetPluginsPluginArray []GetPluginsPluginInput

func (GetPluginsPluginArray) ElementType added in v1.3.0

func (GetPluginsPluginArray) ElementType() reflect.Type

func (GetPluginsPluginArray) ToGetPluginsPluginArrayOutput added in v1.3.0

func (i GetPluginsPluginArray) ToGetPluginsPluginArrayOutput() GetPluginsPluginArrayOutput

func (GetPluginsPluginArray) ToGetPluginsPluginArrayOutputWithContext added in v1.3.0

func (i GetPluginsPluginArray) ToGetPluginsPluginArrayOutputWithContext(ctx context.Context) GetPluginsPluginArrayOutput

type GetPluginsPluginArrayInput added in v1.3.0

type GetPluginsPluginArrayInput interface {
	pulumi.Input

	ToGetPluginsPluginArrayOutput() GetPluginsPluginArrayOutput
	ToGetPluginsPluginArrayOutputWithContext(context.Context) GetPluginsPluginArrayOutput
}

type GetPluginsPluginArrayOutput added in v1.3.0

type GetPluginsPluginArrayOutput struct{ *pulumi.OutputState }

func (GetPluginsPluginArrayOutput) ElementType added in v1.3.0

func (GetPluginsPluginArrayOutput) Index added in v1.3.0

func (GetPluginsPluginArrayOutput) ToGetPluginsPluginArrayOutput added in v1.3.0

func (o GetPluginsPluginArrayOutput) ToGetPluginsPluginArrayOutput() GetPluginsPluginArrayOutput

func (GetPluginsPluginArrayOutput) ToGetPluginsPluginArrayOutputWithContext added in v1.3.0

func (o GetPluginsPluginArrayOutput) ToGetPluginsPluginArrayOutputWithContext(ctx context.Context) GetPluginsPluginArrayOutput

type GetPluginsPluginInput added in v1.3.0

type GetPluginsPluginInput interface {
	pulumi.Input

	ToGetPluginsPluginOutput() GetPluginsPluginOutput
	ToGetPluginsPluginOutputWithContext(context.Context) GetPluginsPluginOutput
}

type GetPluginsPluginOutput added in v1.3.0

type GetPluginsPluginOutput struct{ *pulumi.OutputState }

func (GetPluginsPluginOutput) Description added in v1.3.0

func (GetPluginsPluginOutput) ElementType added in v1.3.0

func (GetPluginsPluginOutput) ElementType() reflect.Type

func (GetPluginsPluginOutput) Enabled added in v1.3.0

func (GetPluginsPluginOutput) Name added in v1.3.0

func (GetPluginsPluginOutput) ToGetPluginsPluginOutput added in v1.3.0

func (o GetPluginsPluginOutput) ToGetPluginsPluginOutput() GetPluginsPluginOutput

func (GetPluginsPluginOutput) ToGetPluginsPluginOutputWithContext added in v1.3.0

func (o GetPluginsPluginOutput) ToGetPluginsPluginOutputWithContext(ctx context.Context) GetPluginsPluginOutput

func (GetPluginsPluginOutput) Version added in v1.3.0

type GetPluginsResult

type GetPluginsResult struct {
	// id is 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 added in v1.3.0

func GetPlugins(ctx *pulumi.Context, args *GetPluginsArgs, opts ...pulumi.InvokeOption) (*GetPluginsResult, error)

type GetVpcInfoArgs

type GetVpcInfoArgs struct {
	InstanceId int `pulumi:"instanceId"`
}

A collection of arguments for invoking getVpcInfo.

type GetVpcInfoResult

type GetVpcInfoResult struct {
	// id is 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 added in v1.3.0

func GetVpcInfo(ctx *pulumi.Context, args *GetVpcInfoArgs, opts ...pulumi.InvokeOption) (*GetVpcInfoResult, error)

type Instance

type Instance struct {
	pulumi.CustomResourceState

	// API key for the CloudAMQP instance
	Apikey pulumi.StringOutput `pulumi:"apikey"`
	// Host name for the CloudAMQP instance
	Host pulumi.StringOutput `pulumi:"host"`
	// Name of the instance
	Name pulumi.StringOutput `pulumi:"name"`
	// Number of nodes in cluster (plan must support it)
	Nodes pulumi.IntPtrOutput `pulumi:"nodes"`
	// Name of the plan, valid options are: lemur, tiger, bunny, rabbit, panda, ape, hippo, lion
	Plan pulumi.StringOutput `pulumi:"plan"`
	// Name of the region you want to create your instance in
	Region pulumi.StringOutput `pulumi:"region"`
	// RabbitMQ version
	RmqVersion pulumi.StringPtrOutput `pulumi:"rmqVersion"`
	// Tag the instances with optional tags
	Tags pulumi.StringArrayOutput `pulumi:"tags"`
	// URL of the CloudAMQP instance
	Url pulumi.StringOutput `pulumi:"url"`
	// The virtual host
	Vhost pulumi.StringOutput `pulumi:"vhost"`
	// Dedicated VPC subnet, shouldn't overlap with your current VPC's subnet
	VpcSubnet pulumi.StringPtrOutput `pulumi:"vpcSubnet"`
}

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.

type InstanceArgs

type InstanceArgs struct {
	// Name of the instance
	Name pulumi.StringPtrInput
	// Number of nodes in cluster (plan must support it)
	Nodes pulumi.IntPtrInput
	// Name of the plan, valid options are: lemur, tiger, bunny, rabbit, panda, ape, hippo, lion
	Plan pulumi.StringInput
	// Name of the region you want to create your instance in
	Region pulumi.StringInput
	// RabbitMQ version
	RmqVersion pulumi.StringPtrInput
	// Tag the instances with optional tags
	Tags pulumi.StringArrayInput
	// Dedicated VPC subnet, shouldn't overlap with your current VPC's subnet
	VpcSubnet pulumi.StringPtrInput
}

The set of arguments for constructing a Instance resource.

func (InstanceArgs) ElementType added in v1.3.0

func (InstanceArgs) ElementType() reflect.Type

type InstanceState

type InstanceState struct {
	// API key for the CloudAMQP instance
	Apikey pulumi.StringPtrInput
	// Host name for the CloudAMQP instance
	Host pulumi.StringPtrInput
	// Name of the instance
	Name pulumi.StringPtrInput
	// Number of nodes in cluster (plan must support it)
	Nodes pulumi.IntPtrInput
	// Name of the plan, valid options are: lemur, tiger, bunny, rabbit, panda, ape, hippo, lion
	Plan pulumi.StringPtrInput
	// Name of the region you want to create your instance in
	Region pulumi.StringPtrInput
	// RabbitMQ version
	RmqVersion pulumi.StringPtrInput
	// Tag the instances with optional tags
	Tags pulumi.StringArrayInput
	// URL of the CloudAMQP instance
	Url pulumi.StringPtrInput
	// The virtual host
	Vhost pulumi.StringPtrInput
	// Dedicated VPC subnet, shouldn't overlap with your current VPC's subnet
	VpcSubnet pulumi.StringPtrInput
}

func (InstanceState) ElementType added in v1.3.0

func (InstanceState) ElementType() reflect.Type

type LookupInstanceArgs added in v1.4.0

type LookupInstanceArgs struct {
	InstanceId int     `pulumi:"instanceId"`
	VpcSubnet  *string `pulumi:"vpcSubnet"`
}

A collection of arguments for invoking getInstance.

type LookupInstanceResult added in v1.4.0

type LookupInstanceResult struct {
	Apikey string `pulumi:"apikey"`
	Host   string `pulumi:"host"`
	// id is 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 added in v1.4.0

func LookupInstance(ctx *pulumi.Context, args *LookupInstanceArgs, opts ...pulumi.InvokeOption) (*LookupInstanceResult, error)

type Notification

type Notification struct {
	pulumi.CustomResourceState

	// Instance identifier
	InstanceId pulumi.IntOutput `pulumi:"instanceId"`
	// Optional display name of the recipient
	Name pulumi.StringOutput `pulumi:"name"`
	// Type of the notification, valid options are: email, webhook, pagerduty, victorops, opsgenie, opsgenie-eu, slack
	Type pulumi.StringOutput `pulumi:"type"`
	// Notification endpoint, where to send the notifcation
	Value pulumi.StringOutput `pulumi:"value"`
}

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.

type NotificationArgs

type NotificationArgs struct {
	// Instance identifier
	InstanceId pulumi.IntInput
	// Optional display name of the recipient
	Name pulumi.StringPtrInput
	// Type of the notification, valid options are: email, webhook, pagerduty, victorops, opsgenie, opsgenie-eu, slack
	Type pulumi.StringInput
	// Notification endpoint, where to send the notifcation
	Value pulumi.StringInput
}

The set of arguments for constructing a Notification resource.

func (NotificationArgs) ElementType added in v1.3.0

func (NotificationArgs) ElementType() reflect.Type

type NotificationState

type NotificationState struct {
	// Instance identifier
	InstanceId pulumi.IntPtrInput
	// Optional display name of the recipient
	Name pulumi.StringPtrInput
	// Type of the notification, valid options are: email, webhook, pagerduty, victorops, opsgenie, opsgenie-eu, slack
	Type pulumi.StringPtrInput
	// Notification endpoint, where to send the notifcation
	Value pulumi.StringPtrInput
}

func (NotificationState) ElementType added in v1.3.0

func (NotificationState) ElementType() reflect.Type

type Plugin

type Plugin struct {
	pulumi.CustomResourceState

	// If the plugin is enabled
	Enabled pulumi.BoolOutput `pulumi:"enabled"`
	// Instance identifier
	InstanceId pulumi.IntOutput `pulumi:"instanceId"`
	// The name of the plugin
	Name pulumi.StringOutput `pulumi:"name"`
}

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.

type PluginArgs

type PluginArgs struct {
	// If the plugin is enabled
	Enabled pulumi.BoolInput
	// Instance identifier
	InstanceId pulumi.IntInput
	// The name of the plugin
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a Plugin resource.

func (PluginArgs) ElementType added in v1.3.0

func (PluginArgs) ElementType() reflect.Type

type PluginCommunity

type PluginCommunity struct {
	pulumi.CustomResourceState

	// If the plugin is enabled
	Enabled pulumi.BoolOutput `pulumi:"enabled"`
	// Instance identifier
	InstanceId pulumi.IntOutput `pulumi:"instanceId"`
	// The name of the plugin
	Name pulumi.StringOutput `pulumi:"name"`
}

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.

type PluginCommunityArgs

type PluginCommunityArgs struct {
	// If the plugin is enabled
	Enabled pulumi.BoolInput
	// Instance identifier
	InstanceId pulumi.IntInput
	// The name of the plugin
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a PluginCommunity resource.

func (PluginCommunityArgs) ElementType added in v1.3.0

func (PluginCommunityArgs) ElementType() reflect.Type

type PluginCommunityState

type PluginCommunityState struct {
	// If the plugin is enabled
	Enabled pulumi.BoolPtrInput
	// Instance identifier
	InstanceId pulumi.IntPtrInput
	// The name of the plugin
	Name pulumi.StringPtrInput
}

func (PluginCommunityState) ElementType added in v1.3.0

func (PluginCommunityState) ElementType() reflect.Type

type PluginState

type PluginState struct {
	// If the plugin is enabled
	Enabled pulumi.BoolPtrInput
	// Instance identifier
	InstanceId pulumi.IntPtrInput
	// The name of the plugin
	Name pulumi.StringPtrInput
}

func (PluginState) ElementType added in v1.3.0

func (PluginState) ElementType() reflect.Type

type Provider added in v1.3.0

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.

> This content is derived from https://github.com/cloudamqp/terraform-provider-cloudamqp/blob/master/website/docs/index.html.markdown.

func NewProvider added in v1.3.0

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.

type ProviderArgs added in v1.3.0

type ProviderArgs struct {
	// Key used to authentication to the CloudAMQP Customer API
	Apikey pulumi.StringPtrInput
	// Base URL to CloudAMQP Customer website
	Baseurl pulumi.StringPtrInput
}

The set of arguments for constructing a Provider resource.

func (ProviderArgs) ElementType added in v1.3.0

func (ProviderArgs) ElementType() reflect.Type

type SecurityFirewall

type SecurityFirewall struct {
	pulumi.CustomResourceState

	// Instance identifier
	InstanceId pulumi.IntOutput                `pulumi:"instanceId"`
	Rules      SecurityFirewallRuleArrayOutput `pulumi:"rules"`
}

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.

type SecurityFirewallArgs

type SecurityFirewallArgs struct {
	// Instance identifier
	InstanceId pulumi.IntInput
	Rules      SecurityFirewallRuleArrayInput
}

The set of arguments for constructing a SecurityFirewall resource.

func (SecurityFirewallArgs) ElementType added in v1.3.0

func (SecurityFirewallArgs) ElementType() reflect.Type

type SecurityFirewallRule added in v1.3.0

type SecurityFirewallRule struct {
	Ip       string   `pulumi:"ip"`
	Ports    []int    `pulumi:"ports"`
	Services []string `pulumi:"services"`
}

type SecurityFirewallRuleArgs added in v1.3.0

type SecurityFirewallRuleArgs struct {
	Ip       pulumi.StringInput      `pulumi:"ip"`
	Ports    pulumi.IntArrayInput    `pulumi:"ports"`
	Services pulumi.StringArrayInput `pulumi:"services"`
}

func (SecurityFirewallRuleArgs) ElementType added in v1.3.0

func (SecurityFirewallRuleArgs) ElementType() reflect.Type

func (SecurityFirewallRuleArgs) ToSecurityFirewallRuleOutput added in v1.3.0

func (i SecurityFirewallRuleArgs) ToSecurityFirewallRuleOutput() SecurityFirewallRuleOutput

func (SecurityFirewallRuleArgs) ToSecurityFirewallRuleOutputWithContext added in v1.3.0

func (i SecurityFirewallRuleArgs) ToSecurityFirewallRuleOutputWithContext(ctx context.Context) SecurityFirewallRuleOutput

type SecurityFirewallRuleArray added in v1.3.0

type SecurityFirewallRuleArray []SecurityFirewallRuleInput

func (SecurityFirewallRuleArray) ElementType added in v1.3.0

func (SecurityFirewallRuleArray) ElementType() reflect.Type

func (SecurityFirewallRuleArray) ToSecurityFirewallRuleArrayOutput added in v1.3.0

func (i SecurityFirewallRuleArray) ToSecurityFirewallRuleArrayOutput() SecurityFirewallRuleArrayOutput

func (SecurityFirewallRuleArray) ToSecurityFirewallRuleArrayOutputWithContext added in v1.3.0

func (i SecurityFirewallRuleArray) ToSecurityFirewallRuleArrayOutputWithContext(ctx context.Context) SecurityFirewallRuleArrayOutput

type SecurityFirewallRuleArrayInput added in v1.3.0

type SecurityFirewallRuleArrayInput interface {
	pulumi.Input

	ToSecurityFirewallRuleArrayOutput() SecurityFirewallRuleArrayOutput
	ToSecurityFirewallRuleArrayOutputWithContext(context.Context) SecurityFirewallRuleArrayOutput
}

type SecurityFirewallRuleArrayOutput added in v1.3.0

type SecurityFirewallRuleArrayOutput struct{ *pulumi.OutputState }

func (SecurityFirewallRuleArrayOutput) ElementType added in v1.3.0

func (SecurityFirewallRuleArrayOutput) Index added in v1.3.0

func (SecurityFirewallRuleArrayOutput) ToSecurityFirewallRuleArrayOutput added in v1.3.0

func (o SecurityFirewallRuleArrayOutput) ToSecurityFirewallRuleArrayOutput() SecurityFirewallRuleArrayOutput

func (SecurityFirewallRuleArrayOutput) ToSecurityFirewallRuleArrayOutputWithContext added in v1.3.0

func (o SecurityFirewallRuleArrayOutput) ToSecurityFirewallRuleArrayOutputWithContext(ctx context.Context) SecurityFirewallRuleArrayOutput

type SecurityFirewallRuleInput added in v1.3.0

type SecurityFirewallRuleInput interface {
	pulumi.Input

	ToSecurityFirewallRuleOutput() SecurityFirewallRuleOutput
	ToSecurityFirewallRuleOutputWithContext(context.Context) SecurityFirewallRuleOutput
}

type SecurityFirewallRuleOutput added in v1.3.0

type SecurityFirewallRuleOutput struct{ *pulumi.OutputState }

func (SecurityFirewallRuleOutput) ElementType added in v1.3.0

func (SecurityFirewallRuleOutput) ElementType() reflect.Type

func (SecurityFirewallRuleOutput) Ip added in v1.3.0

func (SecurityFirewallRuleOutput) Ports added in v1.3.0

func (SecurityFirewallRuleOutput) Services added in v1.3.0

func (SecurityFirewallRuleOutput) ToSecurityFirewallRuleOutput added in v1.3.0

func (o SecurityFirewallRuleOutput) ToSecurityFirewallRuleOutput() SecurityFirewallRuleOutput

func (SecurityFirewallRuleOutput) ToSecurityFirewallRuleOutputWithContext added in v1.3.0

func (o SecurityFirewallRuleOutput) ToSecurityFirewallRuleOutputWithContext(ctx context.Context) SecurityFirewallRuleOutput

type SecurityFirewallState

type SecurityFirewallState struct {
	// Instance identifier
	InstanceId pulumi.IntPtrInput
	Rules      SecurityFirewallRuleArrayInput
}

func (SecurityFirewallState) ElementType added in v1.3.0

func (SecurityFirewallState) ElementType() reflect.Type

type VpcPeering

type VpcPeering struct {
	pulumi.CustomResourceState

	// Instance identifier
	InstanceId pulumi.IntOutput `pulumi:"instanceId"`
	// VPC peering identifier
	PeeringId pulumi.StringOutput `pulumi:"peeringId"`
	// VPC peering status
	Status pulumi.StringOutput `pulumi:"status"`
}

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.

type VpcPeeringArgs

type VpcPeeringArgs struct {
	// Instance identifier
	InstanceId pulumi.IntInput
	// VPC peering identifier
	PeeringId pulumi.StringInput
}

The set of arguments for constructing a VpcPeering resource.

func (VpcPeeringArgs) ElementType added in v1.3.0

func (VpcPeeringArgs) ElementType() reflect.Type

type VpcPeeringState

type VpcPeeringState struct {
	// Instance identifier
	InstanceId pulumi.IntPtrInput
	// VPC peering identifier
	PeeringId pulumi.StringPtrInput
	// VPC peering status
	Status pulumi.StringPtrInput
}

func (VpcPeeringState) ElementType added in v1.3.0

func (VpcPeeringState) ElementType() reflect.Type

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL