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

edgecenter.UseractionsSubscriptionLog

Explore with Pulumi AI

edgecenter logo
edgecenter 0.8.0 published on Wednesday, Apr 30, 2025 by edge-center

    Resource provides access to user action logs and client subscription.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as edgecenter from "@pulumi/edgecenter";
    
    const subs = new edgecenter.UseractionsSubscriptionLog("subs", {
        authHeaderName: "Authorization",
        authHeaderValue: "Bearer eyJ0eXAi1.............Oi7Ix14",
        url: "https://your-url.com/receive-user-action-messages",
    });
    
    import pulumi
    import pulumi_edgecenter as edgecenter
    
    subs = edgecenter.UseractionsSubscriptionLog("subs",
        auth_header_name="Authorization",
        auth_header_value="Bearer eyJ0eXAi1.............Oi7Ix14",
        url="https://your-url.com/receive-user-action-messages")
    
    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 {
    		_, err := edgecenter.NewUseractionsSubscriptionLog(ctx, "subs", &edgecenter.UseractionsSubscriptionLogArgs{
    			AuthHeaderName:  pulumi.String("Authorization"),
    			AuthHeaderValue: pulumi.String("Bearer eyJ0eXAi1.............Oi7Ix14"),
    			Url:             pulumi.String("https://your-url.com/receive-user-action-messages"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Edgecenter = Pulumi.Edgecenter;
    
    return await Deployment.RunAsync(() => 
    {
        var subs = new Edgecenter.UseractionsSubscriptionLog("subs", new()
        {
            AuthHeaderName = "Authorization",
            AuthHeaderValue = "Bearer eyJ0eXAi1.............Oi7Ix14",
            Url = "https://your-url.com/receive-user-action-messages",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.edgecenter.UseractionsSubscriptionLog;
    import com.pulumi.edgecenter.UseractionsSubscriptionLogArgs;
    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) {
            var subs = new UseractionsSubscriptionLog("subs", UseractionsSubscriptionLogArgs.builder()
                .authHeaderName("Authorization")
                .authHeaderValue("Bearer eyJ0eXAi1.............Oi7Ix14")
                .url("https://your-url.com/receive-user-action-messages")
                .build());
    
        }
    }
    
    resources:
      subs:
        type: edgecenter:UseractionsSubscriptionLog
        properties:
          authHeaderName: Authorization
          authHeaderValue: Bearer eyJ0eXAi1.............Oi7Ix14
          url: https://your-url.com/receive-user-action-messages
    

    Create UseractionsSubscriptionLog Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new UseractionsSubscriptionLog(name: string, args: UseractionsSubscriptionLogArgs, opts?: CustomResourceOptions);
    @overload
    def UseractionsSubscriptionLog(resource_name: str,
                                   args: UseractionsSubscriptionLogArgs,
                                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def UseractionsSubscriptionLog(resource_name: str,
                                   opts: Optional[ResourceOptions] = None,
                                   auth_header_name: Optional[str] = None,
                                   auth_header_value: Optional[str] = None,
                                   url: Optional[str] = None,
                                   useractions_subscription_log_id: Optional[str] = None)
    func NewUseractionsSubscriptionLog(ctx *Context, name string, args UseractionsSubscriptionLogArgs, opts ...ResourceOption) (*UseractionsSubscriptionLog, error)
    public UseractionsSubscriptionLog(string name, UseractionsSubscriptionLogArgs args, CustomResourceOptions? opts = null)
    public UseractionsSubscriptionLog(String name, UseractionsSubscriptionLogArgs args)
    public UseractionsSubscriptionLog(String name, UseractionsSubscriptionLogArgs args, CustomResourceOptions options)
    
    type: edgecenter:UseractionsSubscriptionLog
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args UseractionsSubscriptionLogArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args UseractionsSubscriptionLogArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args UseractionsSubscriptionLogArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args UseractionsSubscriptionLogArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args UseractionsSubscriptionLogArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var useractionsSubscriptionLogResource = new Edgecenter.UseractionsSubscriptionLog("useractionsSubscriptionLogResource", new()
    {
        AuthHeaderName = "string",
        AuthHeaderValue = "string",
        Url = "string",
        UseractionsSubscriptionLogId = "string",
    });
    
    example, err := edgecenter.NewUseractionsSubscriptionLog(ctx, "useractionsSubscriptionLogResource", &edgecenter.UseractionsSubscriptionLogArgs{
    	AuthHeaderName:               pulumi.String("string"),
    	AuthHeaderValue:              pulumi.String("string"),
    	Url:                          pulumi.String("string"),
    	UseractionsSubscriptionLogId: pulumi.String("string"),
    })
    
    var useractionsSubscriptionLogResource = new UseractionsSubscriptionLog("useractionsSubscriptionLogResource", UseractionsSubscriptionLogArgs.builder()
        .authHeaderName("string")
        .authHeaderValue("string")
        .url("string")
        .useractionsSubscriptionLogId("string")
        .build());
    
    useractions_subscription_log_resource = edgecenter.UseractionsSubscriptionLog("useractionsSubscriptionLogResource",
        auth_header_name="string",
        auth_header_value="string",
        url="string",
        useractions_subscription_log_id="string")
    
    const useractionsSubscriptionLogResource = new edgecenter.UseractionsSubscriptionLog("useractionsSubscriptionLogResource", {
        authHeaderName: "string",
        authHeaderValue: "string",
        url: "string",
        useractionsSubscriptionLogId: "string",
    });
    
    type: edgecenter:UseractionsSubscriptionLog
    properties:
        authHeaderName: string
        authHeaderValue: string
        url: string
        useractionsSubscriptionLogId: string
    

    UseractionsSubscriptionLog Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The UseractionsSubscriptionLog resource accepts the following input properties:

    AuthHeaderName string
    The name of the authorization header.
    AuthHeaderValue string
    The value of the authorization header
    Url string
    The URL to send user action logs for the specified client.
    UseractionsSubscriptionLogId string
    The ID of this resource.
    AuthHeaderName string
    The name of the authorization header.
    AuthHeaderValue string
    The value of the authorization header
    Url string
    The URL to send user action logs for the specified client.
    UseractionsSubscriptionLogId string
    The ID of this resource.
    authHeaderName String
    The name of the authorization header.
    authHeaderValue String
    The value of the authorization header
    url String
    The URL to send user action logs for the specified client.
    useractionsSubscriptionLogId String
    The ID of this resource.
    authHeaderName string
    The name of the authorization header.
    authHeaderValue string
    The value of the authorization header
    url string
    The URL to send user action logs for the specified client.
    useractionsSubscriptionLogId string
    The ID of this resource.
    auth_header_name str
    The name of the authorization header.
    auth_header_value str
    The value of the authorization header
    url str
    The URL to send user action logs for the specified client.
    useractions_subscription_log_id str
    The ID of this resource.
    authHeaderName String
    The name of the authorization header.
    authHeaderValue String
    The value of the authorization header
    url String
    The URL to send user action logs for the specified client.
    useractionsSubscriptionLogId String
    The ID of this resource.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the UseractionsSubscriptionLog resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing UseractionsSubscriptionLog Resource

    Get an existing UseractionsSubscriptionLog resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: UseractionsSubscriptionLogState, opts?: CustomResourceOptions): UseractionsSubscriptionLog
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            auth_header_name: Optional[str] = None,
            auth_header_value: Optional[str] = None,
            url: Optional[str] = None,
            useractions_subscription_log_id: Optional[str] = None) -> UseractionsSubscriptionLog
    func GetUseractionsSubscriptionLog(ctx *Context, name string, id IDInput, state *UseractionsSubscriptionLogState, opts ...ResourceOption) (*UseractionsSubscriptionLog, error)
    public static UseractionsSubscriptionLog Get(string name, Input<string> id, UseractionsSubscriptionLogState? state, CustomResourceOptions? opts = null)
    public static UseractionsSubscriptionLog get(String name, Output<String> id, UseractionsSubscriptionLogState state, CustomResourceOptions options)
    resources:  _:    type: edgecenter:UseractionsSubscriptionLog    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AuthHeaderName string
    The name of the authorization header.
    AuthHeaderValue string
    The value of the authorization header
    Url string
    The URL to send user action logs for the specified client.
    UseractionsSubscriptionLogId string
    The ID of this resource.
    AuthHeaderName string
    The name of the authorization header.
    AuthHeaderValue string
    The value of the authorization header
    Url string
    The URL to send user action logs for the specified client.
    UseractionsSubscriptionLogId string
    The ID of this resource.
    authHeaderName String
    The name of the authorization header.
    authHeaderValue String
    The value of the authorization header
    url String
    The URL to send user action logs for the specified client.
    useractionsSubscriptionLogId String
    The ID of this resource.
    authHeaderName string
    The name of the authorization header.
    authHeaderValue string
    The value of the authorization header
    url string
    The URL to send user action logs for the specified client.
    useractionsSubscriptionLogId string
    The ID of this resource.
    auth_header_name str
    The name of the authorization header.
    auth_header_value str
    The value of the authorization header
    url str
    The URL to send user action logs for the specified client.
    useractions_subscription_log_id str
    The ID of this resource.
    authHeaderName String
    The name of the authorization header.
    authHeaderValue String
    The value of the authorization header
    url String
    The URL to send user action logs for the specified client.
    useractionsSubscriptionLogId String
    The ID of this resource.

    Import

    import using <subscription_id> format

    $ pulumi import edgecenter:index/useractionsSubscriptionLog:UseractionsSubscriptionLog subs 123
    

    To learn more about importing existing cloud resources, see Importing resources.

    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