1. Packages
  2. Sumologic Provider
  3. API Docs
  4. getMyUserId
Sumo Logic v0.23.7 published on Thursday, Oct 24, 2024 by Pulumi

sumologic.getMyUserId

Explore with Pulumi AI

sumologic logo
Sumo Logic v0.23.7 published on Thursday, Oct 24, 2024 by Pulumi

    Using getMyUserId

    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 getMyUserId(args: GetMyUserIdArgs, opts?: InvokeOptions): Promise<GetMyUserIdResult>
    function getMyUserIdOutput(args: GetMyUserIdOutputArgs, opts?: InvokeOptions): Output<GetMyUserIdResult>
    def get_my_user_id(id: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetMyUserIdResult
    def get_my_user_id_output(id: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetMyUserIdResult]
    func GetMyUserId(ctx *Context, args *GetMyUserIdArgs, opts ...InvokeOption) (*GetMyUserIdResult, error)
    func GetMyUserIdOutput(ctx *Context, args *GetMyUserIdOutputArgs, opts ...InvokeOption) GetMyUserIdResultOutput

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

    public static class GetMyUserId 
    {
        public static Task<GetMyUserIdResult> InvokeAsync(GetMyUserIdArgs args, InvokeOptions? opts = null)
        public static Output<GetMyUserIdResult> Invoke(GetMyUserIdInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetMyUserIdResult> getMyUserId(GetMyUserIdArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: sumologic:index/getMyUserId:getMyUserId
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    Id string
    id String
    id string
    id str
    id String

    getMyUserId Result

    The following output properties are available:

    Id string
    Id string
    id String
    id string
    id str
    id String

    Package Details

    Repository
    Sumo Logic pulumi/pulumi-sumologic
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the sumologic Terraform Provider.
    sumologic logo
    Sumo Logic v0.23.7 published on Thursday, Oct 24, 2024 by Pulumi