1. Packages
  2. Edgecenter Provider
  3. API Docs
  4. getUseractionsSubscriptionAmqp
edgecenter 0.8.0 published on Wednesday, Apr 30, 2025 by edge-center

edgecenter.getUseractionsSubscriptionAmqp

Explore with Pulumi AI

edgecenter logo
edgecenter 0.8.0 published on Wednesday, Apr 30, 2025 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;
    
    import pulumi
    import pulumi_edgecenter as edgecenter
    
    sub = edgecenter.get_useractions_subscription_amqp()
    pulumi.export("view", sub)
    
    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)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Edgecenter = Pulumi.Edgecenter;
    
    return await Deployment.RunAsync(() => 
    {
        var sub = Edgecenter.GetUseractionsSubscriptionAmqp.Invoke();
    
        return new Dictionary<string, object?>
        {
            ["view"] = sub,
        };
    });
    
    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();
    
            ctx.export("view", sub.applyValue(getUseractionsSubscriptionAmqpResult -> getUseractionsSubscriptionAmqpResult));
        }
    }
    
    variables:
      sub:
        fn::invoke:
          function: edgecenter:getUseractionsSubscriptionAmqp
          arguments: {}
    outputs:
      view: ${sub}
    

    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(id: Optional[str] = None,
                                          opts: Optional[InvokeOptions] = None) -> GetUseractionsSubscriptionAmqpResult
    def get_useractions_subscription_amqp_output(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:

    Id string
    The ID of this resource.
    Id string
    The ID of this resource.
    id String
    The ID of this resource.
    id string
    The ID of this resource.
    id str
    The ID of this resource.
    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.
    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.
    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.
    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.
    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.
    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.

    Package Details

    Repository
    edgecenter edge-center/terraform-provider-edgecenter
    License
    Notes
    This Pulumi package is based on the edgecenter Terraform Provider.
    edgecenter logo
    edgecenter 0.8.0 published on Wednesday, Apr 30, 2025 by edge-center