Ready to level-up your engineering skills? Join a Pulumi Workshop. Register Now

getPluginsCommunity

Use this data source to retrieve information about available community plugins for the CloudAMQP instance.

Argument reference

  • instance_id - (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.

Example Usage

using Pulumi;
using CloudAmqp = Pulumi.CloudAmqp;

class MyStack : Stack
{
    public MyStack()
    {
        var communitPlugins = Output.Create(CloudAmqp.GetPluginsCommunity.InvokeAsync(new CloudAmqp.GetPluginsCommunityArgs
        {
            InstanceId = cloudamqp_instance.Instance.Id,
        }));
    }

}
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
    })
}
import pulumi
import pulumi_cloudamqp as cloudamqp

communit_plugins = cloudamqp.get_plugins_community(instance_id=cloudamqp_instance["instance"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as cloudamqp from "@pulumi/cloudamqp";

const communitPlugins = cloudamqp.getPluginsCommunity({
    instanceId: cloudamqp_instance.instance.id,
});

Using getPluginsCommunity

function getPluginsCommunity(args: GetPluginsCommunityArgs, opts?: InvokeOptions): Promise<GetPluginsCommunityResult>
def get_plugins_community(instance_id: Optional[int] = None, plugins: Optional[Sequence[GetPluginsCommunityPluginArgs]] = None, opts: Optional[InvokeOptions] = None) -> GetPluginsCommunityResult
func GetPluginsCommunity(ctx *Context, args *GetPluginsCommunityArgs, opts ...InvokeOption) (*GetPluginsCommunityResult, error)

Note: This function is named GetPluginsCommunity in the Go SDK.

public static class GetPluginsCommunity {
    public static Task<GetPluginsCommunityResult> InvokeAsync(GetPluginsCommunityArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

getPluginsCommunity Result

The following output properties are available:

Id string

The provider-assigned unique ID for this managed resource.

InstanceId int
Plugins List<Pulumi.CloudAmqp.Outputs.GetPluginsCommunityPlugin>
Id string

The provider-assigned unique ID for this managed resource.

InstanceId int
Plugins []GetPluginsCommunityPlugin
id string

The provider-assigned unique ID for this managed resource.

instanceId number
plugins GetPluginsCommunityPlugin[]
id str

The provider-assigned unique ID for this managed resource.

instance_id int
plugins Sequence[GetPluginsCommunityPlugin]

Supporting Types

GetPluginsCommunityPlugin

Description string
Name string
Require string
Description string
Name string
Require string
description string
name string
require string

Package Details

Repository
https://github.com/pulumi/pulumi-cloudamqp
License
Apache-2.0
Notes
This Pulumi package is based on the cloudamqp Terraform Provider.