SumoLogic

Pulumi Official
Package maintained by Pulumi
v0.7.1 published on Tuesday, Jun 14, 2022 by Pulumi

getPersonalFolder

Provides an easy way to retrieve the Personal Folder.

Attributes reference

The following attributes are exported:

  • id - The ID of the Personal Folder.
  • name - The name of the Personal Folder.
  • description - The description of the Personal Folder.

Example Usage

using Pulumi;
using SumoLogic = Pulumi.SumoLogic;

class MyStack : Stack
{
    public MyStack()
    {
        var personalFolder = Output.Create(SumoLogic.GetPersonalFolder.InvokeAsync());
    }

}
package main

import (
	"github.com/pulumi/pulumi-sumologic/sdk/go/sumologic"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := sumologic.GetPersonalFolder(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_sumologic as sumologic

personal_folder = sumologic.get_personal_folder()
import * as pulumi from "@pulumi/pulumi";
import * as sumologic from "@pulumi/sumologic";

const personalFolder = pulumi.output(sumologic.getPersonalFolder());

Coming soon!

Using getPersonalFolder

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 getPersonalFolder(args: GetPersonalFolderArgs, opts?: InvokeOptions): Promise<GetPersonalFolderResult>
function getPersonalFolderOutput(args: GetPersonalFolderOutputArgs, opts?: InvokeOptions): Output<GetPersonalFolderResult>
def get_personal_folder(description: Optional[str] = None,
                        id: Optional[str] = None,
                        name: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetPersonalFolderResult
def get_personal_folder_output(description: Optional[pulumi.Input[str]] = None,
                        id: Optional[pulumi.Input[str]] = None,
                        name: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetPersonalFolderResult]
func GetPersonalFolder(ctx *Context, args *GetPersonalFolderArgs, opts ...InvokeOption) (*GetPersonalFolderResult, error)
func GetPersonalFolderOutput(ctx *Context, args *GetPersonalFolderOutputArgs, opts ...InvokeOption) GetPersonalFolderResultOutput

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

public static class GetPersonalFolder 
{
    public static Task<GetPersonalFolderResult> InvokeAsync(GetPersonalFolderArgs args, InvokeOptions? opts = null)
    public static Output<GetPersonalFolderResult> Invoke(GetPersonalFolderInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPersonalFolderResult> getPersonalFolder(GetPersonalFolderArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: sumologic:index/getPersonalFolder:getPersonalFolder
  Arguments:
    # Arguments dictionary

The following arguments are supported:

Description string
Id string
Name string
Description string
Id string
Name string
description String
id String
name String
description string
id string
name string
description str
id str
name str
description String
id String
name String

getPersonalFolder Result

The following output properties are available:

Description string
Id string
Name string
Description string
Id string
Name string
description String
id String
name String
description string
id string
name string
description str
id str
name str
description String
id String
name String

Package Details

Repository
https://github.com/pulumi/pulumi-sumologic
License
Apache-2.0
Notes

This Pulumi package is based on the sumologic Terraform Provider.