SumoLogic

v0.10.0 published on Wednesday, Sep 21, 2022 by Pulumi

CseInventoryEntityGroupConfiguration

Import

Inventory Entity Group Configuration can be imported using the field id, e.g.hcl

 $ pulumi import sumologic:index/cseInventoryEntityGroupConfiguration:CseInventoryEntityGroupConfiguration inventory_entity_group_configuration id

Example Usage

using System.Collections.Generic;
using Pulumi;
using SumoLogic = Pulumi.SumoLogic;

return await Deployment.RunAsync(() => 
{
    var inventoryEntityGroupConfiguration = new SumoLogic.CseInventoryEntityGroupConfiguration("inventoryEntityGroupConfiguration", new()
    {
        Criticality = "HIGH",
        Description = "Inventory entity group description",
        Group = "admin",
        InventorySource = "Active Directory",
        InventoryType = "username",
        Suppressed = false,
        Tags = new[]
        {
            "tag",
        },
    });

});
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.NewCseInventoryEntityGroupConfiguration(ctx, "inventoryEntityGroupConfiguration", &sumologic.CseInventoryEntityGroupConfigurationArgs{
			Criticality:     pulumi.String("HIGH"),
			Description:     pulumi.String("Inventory entity group description"),
			Group:           pulumi.String("admin"),
			InventorySource: pulumi.String("Active Directory"),
			InventoryType:   pulumi.String("username"),
			Suppressed:      pulumi.Bool(false),
			Tags: pulumi.StringArray{
				pulumi.String("tag"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.sumologic.CseInventoryEntityGroupConfiguration;
import com.pulumi.sumologic.CseInventoryEntityGroupConfigurationArgs;
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 inventoryEntityGroupConfiguration = new CseInventoryEntityGroupConfiguration("inventoryEntityGroupConfiguration", CseInventoryEntityGroupConfigurationArgs.builder()        
            .criticality("HIGH")
            .description("Inventory entity group description")
            .group("admin")
            .inventorySource("Active Directory")
            .inventoryType("username")
            .suppressed(false)
            .tags("tag")
            .build());

    }
}
import pulumi
import pulumi_sumologic as sumologic

inventory_entity_group_configuration = sumologic.CseInventoryEntityGroupConfiguration("inventoryEntityGroupConfiguration",
    criticality="HIGH",
    description="Inventory entity group description",
    group="admin",
    inventory_source="Active Directory",
    inventory_type="username",
    suppressed=False,
    tags=["tag"])
import * as pulumi from "@pulumi/pulumi";
import * as sumologic from "@pulumi/sumologic";

const inventoryEntityGroupConfiguration = new sumologic.CseInventoryEntityGroupConfiguration("inventory_entity_group_configuration", {
    criticality: "HIGH",
    description: "Inventory entity group description",
    group: "admin",
    inventorySource: "Active Directory",
    inventoryType: "username",
    suppressed: false,
    tags: ["tag"],
});
resources:
  inventoryEntityGroupConfiguration:
    type: sumologic:CseInventoryEntityGroupConfiguration
    properties:
      criticality: HIGH
      description: Inventory entity group description
      group: admin
      inventorySource: Active Directory
      inventoryType: username
      suppressed: false
      tags:
        - tag

Create a CseInventoryEntityGroupConfiguration Resource

new CseInventoryEntityGroupConfiguration(name: string, args: CseInventoryEntityGroupConfigurationArgs, opts?: CustomResourceOptions);
@overload
def CseInventoryEntityGroupConfiguration(resource_name: str,
                                         opts: Optional[ResourceOptions] = None,
                                         criticality: Optional[str] = None,
                                         description: Optional[str] = None,
                                         group: Optional[str] = None,
                                         inventory_source: Optional[str] = None,
                                         inventory_type: Optional[str] = None,
                                         name: Optional[str] = None,
                                         suppressed: Optional[bool] = None,
                                         tags: Optional[Sequence[str]] = None)
@overload
def CseInventoryEntityGroupConfiguration(resource_name: str,
                                         args: CseInventoryEntityGroupConfigurationArgs,
                                         opts: Optional[ResourceOptions] = None)
func NewCseInventoryEntityGroupConfiguration(ctx *Context, name string, args CseInventoryEntityGroupConfigurationArgs, opts ...ResourceOption) (*CseInventoryEntityGroupConfiguration, error)
public CseInventoryEntityGroupConfiguration(string name, CseInventoryEntityGroupConfigurationArgs args, CustomResourceOptions? opts = null)
public CseInventoryEntityGroupConfiguration(String name, CseInventoryEntityGroupConfigurationArgs args)
public CseInventoryEntityGroupConfiguration(String name, CseInventoryEntityGroupConfigurationArgs args, CustomResourceOptions options)
type: sumologic:CseInventoryEntityGroupConfiguration
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args CseInventoryEntityGroupConfigurationArgs
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 CseInventoryEntityGroupConfigurationArgs
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 CseInventoryEntityGroupConfigurationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args CseInventoryEntityGroupConfigurationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args CseInventoryEntityGroupConfigurationArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

CseInventoryEntityGroupConfiguration Resource Properties

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

Inputs

The CseInventoryEntityGroupConfiguration resource accepts the following input properties:

InventorySource string

The inventory source Examples: "Active Directory", "Okta".

InventoryType string

The inventory type Examples: "computer", "username".

Criticality string

The entity group configuration criticality Examples: "HIGH", "CRITICALITY".

Description string

The entity group configuration description.

Group string

The entity group configuration inventory group.

Name string

The entity group configuration name.

Suppressed bool
Tags List<string>

The entity group configuration tags list.

InventorySource string

The inventory source Examples: "Active Directory", "Okta".

InventoryType string

The inventory type Examples: "computer", "username".

Criticality string

The entity group configuration criticality Examples: "HIGH", "CRITICALITY".

Description string

The entity group configuration description.

Group string

The entity group configuration inventory group.

Name string

The entity group configuration name.

Suppressed bool
Tags []string

The entity group configuration tags list.

inventorySource String

The inventory source Examples: "Active Directory", "Okta".

inventoryType String

The inventory type Examples: "computer", "username".

criticality String

The entity group configuration criticality Examples: "HIGH", "CRITICALITY".

description String

The entity group configuration description.

group String

The entity group configuration inventory group.

name String

The entity group configuration name.

suppressed Boolean
tags List<String>

The entity group configuration tags list.

inventorySource string

The inventory source Examples: "Active Directory", "Okta".

inventoryType string

The inventory type Examples: "computer", "username".

criticality string

The entity group configuration criticality Examples: "HIGH", "CRITICALITY".

description string

The entity group configuration description.

group string

The entity group configuration inventory group.

name string

The entity group configuration name.

suppressed boolean
tags string[]

The entity group configuration tags list.

inventory_source str

The inventory source Examples: "Active Directory", "Okta".

inventory_type str

The inventory type Examples: "computer", "username".

criticality str

The entity group configuration criticality Examples: "HIGH", "CRITICALITY".

description str

The entity group configuration description.

group str

The entity group configuration inventory group.

name str

The entity group configuration name.

suppressed bool
tags Sequence[str]

The entity group configuration tags list.

inventorySource String

The inventory source Examples: "Active Directory", "Okta".

inventoryType String

The inventory type Examples: "computer", "username".

criticality String

The entity group configuration criticality Examples: "HIGH", "CRITICALITY".

description String

The entity group configuration description.

group String

The entity group configuration inventory group.

name String

The entity group configuration name.

suppressed Boolean
tags List<String>

The entity group configuration tags list.

Outputs

All input properties are implicitly available as output properties. Additionally, the CseInventoryEntityGroupConfiguration 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 an Existing CseInventoryEntityGroupConfiguration Resource

Get an existing CseInventoryEntityGroupConfiguration 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?: CseInventoryEntityGroupConfigurationState, opts?: CustomResourceOptions): CseInventoryEntityGroupConfiguration
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        criticality: Optional[str] = None,
        description: Optional[str] = None,
        group: Optional[str] = None,
        inventory_source: Optional[str] = None,
        inventory_type: Optional[str] = None,
        name: Optional[str] = None,
        suppressed: Optional[bool] = None,
        tags: Optional[Sequence[str]] = None) -> CseInventoryEntityGroupConfiguration
func GetCseInventoryEntityGroupConfiguration(ctx *Context, name string, id IDInput, state *CseInventoryEntityGroupConfigurationState, opts ...ResourceOption) (*CseInventoryEntityGroupConfiguration, error)
public static CseInventoryEntityGroupConfiguration Get(string name, Input<string> id, CseInventoryEntityGroupConfigurationState? state, CustomResourceOptions? opts = null)
public static CseInventoryEntityGroupConfiguration get(String name, Output<String> id, CseInventoryEntityGroupConfigurationState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
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:
Criticality string

The entity group configuration criticality Examples: "HIGH", "CRITICALITY".

Description string

The entity group configuration description.

Group string

The entity group configuration inventory group.

InventorySource string

The inventory source Examples: "Active Directory", "Okta".

InventoryType string

The inventory type Examples: "computer", "username".

Name string

The entity group configuration name.

Suppressed bool
Tags List<string>

The entity group configuration tags list.

Criticality string

The entity group configuration criticality Examples: "HIGH", "CRITICALITY".

Description string

The entity group configuration description.

Group string

The entity group configuration inventory group.

InventorySource string

The inventory source Examples: "Active Directory", "Okta".

InventoryType string

The inventory type Examples: "computer", "username".

Name string

The entity group configuration name.

Suppressed bool
Tags []string

The entity group configuration tags list.

criticality String

The entity group configuration criticality Examples: "HIGH", "CRITICALITY".

description String

The entity group configuration description.

group String

The entity group configuration inventory group.

inventorySource String

The inventory source Examples: "Active Directory", "Okta".

inventoryType String

The inventory type Examples: "computer", "username".

name String

The entity group configuration name.

suppressed Boolean
tags List<String>

The entity group configuration tags list.

criticality string

The entity group configuration criticality Examples: "HIGH", "CRITICALITY".

description string

The entity group configuration description.

group string

The entity group configuration inventory group.

inventorySource string

The inventory source Examples: "Active Directory", "Okta".

inventoryType string

The inventory type Examples: "computer", "username".

name string

The entity group configuration name.

suppressed boolean
tags string[]

The entity group configuration tags list.

criticality str

The entity group configuration criticality Examples: "HIGH", "CRITICALITY".

description str

The entity group configuration description.

group str

The entity group configuration inventory group.

inventory_source str

The inventory source Examples: "Active Directory", "Okta".

inventory_type str

The inventory type Examples: "computer", "username".

name str

The entity group configuration name.

suppressed bool
tags Sequence[str]

The entity group configuration tags list.

criticality String

The entity group configuration criticality Examples: "HIGH", "CRITICALITY".

description String

The entity group configuration description.

group String

The entity group configuration inventory group.

inventorySource String

The inventory source Examples: "Active Directory", "Okta".

inventoryType String

The inventory type Examples: "computer", "username".

name String

The entity group configuration name.

suppressed Boolean
tags List<String>

The entity group configuration tags list.

Package Details

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

This Pulumi package is based on the sumologic Terraform Provider.