1. Packages
  2. Edgecenter Provider
  3. API Docs
  4. getUseractionsSubscriptionAmqp
Viewing docs for edgecenter 0.11.5
published on Tuesday, Mar 10, 2026 by edge-center
edgecenter logo
Viewing docs for edgecenter 0.11.5
published on Tuesday, Mar 10, 2026 by edge-center

    Data source provides access to user action logs and client subscription via AMQP.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as edgecenter from "@pulumi/edgecenter";
    
    const sub = edgecenter.getUseractionsSubscriptionAmqp({});
    export const view = sub;
    const subForClient = edgecenter.getUseractionsSubscriptionAmqp({
        clientId: 123,
    });
    export const subClientView = subForClient;
    
    import pulumi
    import pulumi_edgecenter as edgecenter
    
    sub = edgecenter.get_useractions_subscription_amqp()
    pulumi.export("view", sub)
    sub_for_client = edgecenter.get_useractions_subscription_amqp(client_id=123)
    pulumi.export("subClientView", sub_for_client)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/edgecenter/edgecenter"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		sub, err := edgecenter.LookupUseractionsSubscriptionAmqp(ctx, &edgecenter.LookupUseractionsSubscriptionAmqpArgs{}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("view", sub)
    		subForClient, err := edgecenter.LookupUseractionsSubscriptionAmqp(ctx, &edgecenter.LookupUseractionsSubscriptionAmqpArgs{
    			ClientId: pulumi.Float64Ref(123),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("subClientView", subForClient)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Edgecenter = Pulumi.Edgecenter;
    
    return await Deployment.RunAsync(() => 
    {
        var sub = Edgecenter.GetUseractionsSubscriptionAmqp.Invoke();
    
        var subForClient = Edgecenter.GetUseractionsSubscriptionAmqp.Invoke(new()
        {
            ClientId = 123,
        });
    
        return new Dictionary<string, object?>
        {
            ["view"] = sub,
            ["subClientView"] = subForClient,
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.edgecenter.EdgecenterFunctions;
    import com.pulumi.edgecenter.inputs.GetUseractionsSubscriptionAmqpArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var sub = EdgecenterFunctions.getUseractionsSubscriptionAmqp(GetUseractionsSubscriptionAmqpArgs.builder()
                .build());
    
            ctx.export("view", sub);
            final var subForClient = EdgecenterFunctions.getUseractionsSubscriptionAmqp(GetUseractionsSubscriptionAmqpArgs.builder()
                .clientId(123)
                .build());
    
            ctx.export("subClientView", subForClient);
        }
    }
    
    variables:
      sub:
        fn::invoke:
          function: edgecenter:getUseractionsSubscriptionAmqp
          arguments: {}
      subForClient:
        fn::invoke:
          function: edgecenter:getUseractionsSubscriptionAmqp
          arguments:
            clientId: 123
    outputs:
      view: ${sub}
      subClientView: ${subForClient}
    

    Using getUseractionsSubscriptionAmqp

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getUseractionsSubscriptionAmqp(args: GetUseractionsSubscriptionAmqpArgs, opts?: InvokeOptions): Promise<GetUseractionsSubscriptionAmqpResult>
    function getUseractionsSubscriptionAmqpOutput(args: GetUseractionsSubscriptionAmqpOutputArgs, opts?: InvokeOptions): Output<GetUseractionsSubscriptionAmqpResult>
    def get_useractions_subscription_amqp(client_id: Optional[float] = None,
                                          id: Optional[str] = None,
                                          opts: Optional[InvokeOptions] = None) -> GetUseractionsSubscriptionAmqpResult
    def get_useractions_subscription_amqp_output(client_id: Optional[pulumi.Input[float]] = None,
                                          id: Optional[pulumi.Input[str]] = None,
                                          opts: Optional[InvokeOptions] = None) -> Output[GetUseractionsSubscriptionAmqpResult]
    func LookupUseractionsSubscriptionAmqp(ctx *Context, args *LookupUseractionsSubscriptionAmqpArgs, opts ...InvokeOption) (*LookupUseractionsSubscriptionAmqpResult, error)
    func LookupUseractionsSubscriptionAmqpOutput(ctx *Context, args *LookupUseractionsSubscriptionAmqpOutputArgs, opts ...InvokeOption) LookupUseractionsSubscriptionAmqpResultOutput

    > Note: This function is named LookupUseractionsSubscriptionAmqp in the Go SDK.

    public static class GetUseractionsSubscriptionAmqp 
    {
        public static Task<GetUseractionsSubscriptionAmqpResult> InvokeAsync(GetUseractionsSubscriptionAmqpArgs args, InvokeOptions? opts = null)
        public static Output<GetUseractionsSubscriptionAmqpResult> Invoke(GetUseractionsSubscriptionAmqpInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetUseractionsSubscriptionAmqpResult> getUseractionsSubscriptionAmqp(GetUseractionsSubscriptionAmqpArgs args, InvokeOptions options)
    public static Output<GetUseractionsSubscriptionAmqpResult> getUseractionsSubscriptionAmqp(GetUseractionsSubscriptionAmqpArgs args, InvokeOptions options)
    
    fn::invoke:
      function: edgecenter:index/getUseractionsSubscriptionAmqp:getUseractionsSubscriptionAmqp
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ClientId double
    The ID of the client.
    Id string
    The ID of this resource.
    ClientId float64
    The ID of the client.
    Id string
    The ID of this resource.
    clientId Double
    The ID of the client.
    id String
    The ID of this resource.
    clientId number
    The ID of the client.
    id string
    The ID of this resource.
    client_id float
    The ID of the client.
    id str
    The ID of this resource.
    clientId Number
    The ID of the client.
    id String
    The ID of this resource.

    getUseractionsSubscriptionAmqp Result

    The following output properties are available:

    ConnectionString string
    A connection string of the following structure "scheme://username:password@host:port/virtual_host".
    Exchange string
    Exchange name.
    Id string
    The ID of this resource.
    ReceiveChildClientEvents bool
    Set to true if you would like to receive user action logs of all clients with resellerid matching the current clientid. Defaults to false.
    RoutingKey string
    Routing key.
    ClientId double
    The ID of the client.
    ConnectionString string
    A connection string of the following structure "scheme://username:password@host:port/virtual_host".
    Exchange string
    Exchange name.
    Id string
    The ID of this resource.
    ReceiveChildClientEvents bool
    Set to true if you would like to receive user action logs of all clients with resellerid matching the current clientid. Defaults to false.
    RoutingKey string
    Routing key.
    ClientId float64
    The ID of the client.
    connectionString String
    A connection string of the following structure "scheme://username:password@host:port/virtual_host".
    exchange String
    Exchange name.
    id String
    The ID of this resource.
    receiveChildClientEvents Boolean
    Set to true if you would like to receive user action logs of all clients with resellerid matching the current clientid. Defaults to false.
    routingKey String
    Routing key.
    clientId Double
    The ID of the client.
    connectionString string
    A connection string of the following structure "scheme://username:password@host:port/virtual_host".
    exchange string
    Exchange name.
    id string
    The ID of this resource.
    receiveChildClientEvents boolean
    Set to true if you would like to receive user action logs of all clients with resellerid matching the current clientid. Defaults to false.
    routingKey string
    Routing key.
    clientId number
    The ID of the client.
    connection_string str
    A connection string of the following structure "scheme://username:password@host:port/virtual_host".
    exchange str
    Exchange name.
    id str
    The ID of this resource.
    receive_child_client_events bool
    Set to true if you would like to receive user action logs of all clients with resellerid matching the current clientid. Defaults to false.
    routing_key str
    Routing key.
    client_id float
    The ID of the client.
    connectionString String
    A connection string of the following structure "scheme://username:password@host:port/virtual_host".
    exchange String
    Exchange name.
    id String
    The ID of this resource.
    receiveChildClientEvents Boolean
    Set to true if you would like to receive user action logs of all clients with resellerid matching the current clientid. Defaults to false.
    routingKey String
    Routing key.
    clientId Number
    The ID of the client.

    Package Details

    Repository
    edgecenter edge-center/terraform-provider-edgecenter
    License
    Notes
    This Pulumi package is based on the edgecenter Terraform Provider.
    edgecenter logo
    Viewing docs for edgecenter 0.11.5
    published on Tuesday, Mar 10, 2026 by edge-center
      Try Pulumi Cloud free. Your team will thank you.