sumologic.CseInventoryEntityGroupConfiguration
Explore with Pulumi AI
Example Usage
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",
inventoryType: "username",
inventorySource: "Active Directory",
inventoryKey: "groups",
inventoryValue: "http_servers",
name: "Inventory entity group configuration",
suppressed: false,
tags: ["tag"],
});
import pulumi
import pulumi_sumologic as sumologic
inventory_entity_group_configuration = sumologic.CseInventoryEntityGroupConfiguration("inventory_entity_group_configuration",
criticality="HIGH",
description="Inventory entity group description",
inventory_type="username",
inventory_source="Active Directory",
inventory_key="groups",
inventory_value="http_servers",
name="Inventory entity group configuration",
suppressed=False,
tags=["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, "inventory_entity_group_configuration", &sumologic.CseInventoryEntityGroupConfigurationArgs{
Criticality: pulumi.String("HIGH"),
Description: pulumi.String("Inventory entity group description"),
InventoryType: pulumi.String("username"),
InventorySource: pulumi.String("Active Directory"),
InventoryKey: pulumi.String("groups"),
InventoryValue: pulumi.String("http_servers"),
Name: pulumi.String("Inventory entity group configuration"),
Suppressed: pulumi.Bool(false),
Tags: pulumi.StringArray{
pulumi.String("tag"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using SumoLogic = Pulumi.SumoLogic;
return await Deployment.RunAsync(() =>
{
var inventoryEntityGroupConfiguration = new SumoLogic.CseInventoryEntityGroupConfiguration("inventory_entity_group_configuration", new()
{
Criticality = "HIGH",
Description = "Inventory entity group description",
InventoryType = "username",
InventorySource = "Active Directory",
InventoryKey = "groups",
InventoryValue = "http_servers",
Name = "Inventory entity group configuration",
Suppressed = false,
Tags = new[]
{
"tag",
},
});
});
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")
.inventoryType("username")
.inventorySource("Active Directory")
.inventoryKey("groups")
.inventoryValue("http_servers")
.name("Inventory entity group configuration")
.suppressed(false)
.tags("tag")
.build());
}
}
resources:
inventoryEntityGroupConfiguration:
type: sumologic:CseInventoryEntityGroupConfiguration
name: inventory_entity_group_configuration
properties:
criticality: HIGH
description: Inventory entity group description
inventoryType: username
inventorySource: Active Directory
inventoryKey: groups
inventoryValue: http_servers
name: Inventory entity group configuration
suppressed: false
tags:
- tag
Create CseInventoryEntityGroupConfiguration Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CseInventoryEntityGroupConfiguration(name: string, args: CseInventoryEntityGroupConfigurationArgs, opts?: CustomResourceOptions);
@overload
def CseInventoryEntityGroupConfiguration(resource_name: str,
args: CseInventoryEntityGroupConfigurationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CseInventoryEntityGroupConfiguration(resource_name: str,
opts: Optional[ResourceOptions] = None,
inventory_source: Optional[str] = None,
inventory_type: Optional[str] = None,
criticality: Optional[str] = None,
description: Optional[str] = None,
dynamic_tags: Optional[bool] = None,
group: Optional[str] = None,
inventory_key: Optional[str] = None,
inventory_value: Optional[str] = None,
name: Optional[str] = None,
suppressed: Optional[bool] = None,
tag_schema: Optional[str] = None,
tags: Optional[Sequence[str]] = 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.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var cseInventoryEntityGroupConfigurationResource = new SumoLogic.CseInventoryEntityGroupConfiguration("cseInventoryEntityGroupConfigurationResource", new()
{
InventorySource = "string",
InventoryType = "string",
Criticality = "string",
Description = "string",
DynamicTags = false,
InventoryKey = "string",
InventoryValue = "string",
Name = "string",
Suppressed = false,
TagSchema = "string",
Tags = new[]
{
"string",
},
});
example, err := sumologic.NewCseInventoryEntityGroupConfiguration(ctx, "cseInventoryEntityGroupConfigurationResource", &sumologic.CseInventoryEntityGroupConfigurationArgs{
InventorySource: pulumi.String("string"),
InventoryType: pulumi.String("string"),
Criticality: pulumi.String("string"),
Description: pulumi.String("string"),
DynamicTags: pulumi.Bool(false),
InventoryKey: pulumi.String("string"),
InventoryValue: pulumi.String("string"),
Name: pulumi.String("string"),
Suppressed: pulumi.Bool(false),
TagSchema: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
})
var cseInventoryEntityGroupConfigurationResource = new CseInventoryEntityGroupConfiguration("cseInventoryEntityGroupConfigurationResource", CseInventoryEntityGroupConfigurationArgs.builder()
.inventorySource("string")
.inventoryType("string")
.criticality("string")
.description("string")
.dynamicTags(false)
.inventoryKey("string")
.inventoryValue("string")
.name("string")
.suppressed(false)
.tagSchema("string")
.tags("string")
.build());
cse_inventory_entity_group_configuration_resource = sumologic.CseInventoryEntityGroupConfiguration("cseInventoryEntityGroupConfigurationResource",
inventory_source="string",
inventory_type="string",
criticality="string",
description="string",
dynamic_tags=False,
inventory_key="string",
inventory_value="string",
name="string",
suppressed=False,
tag_schema="string",
tags=["string"])
const cseInventoryEntityGroupConfigurationResource = new sumologic.CseInventoryEntityGroupConfiguration("cseInventoryEntityGroupConfigurationResource", {
inventorySource: "string",
inventoryType: "string",
criticality: "string",
description: "string",
dynamicTags: false,
inventoryKey: "string",
inventoryValue: "string",
name: "string",
suppressed: false,
tagSchema: "string",
tags: ["string"],
});
type: sumologic:CseInventoryEntityGroupConfiguration
properties:
criticality: string
description: string
dynamicTags: false
inventoryKey: string
inventorySource: string
inventoryType: string
inventoryValue: string
name: string
suppressed: false
tagSchema: string
tags:
- string
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The CseInventoryEntityGroupConfiguration resource accepts the following input properties:
- Inventory
Source string - The inventory source Examples: "Active Directory", "Okta".
- Inventory
Type string - The inventory type Examples: "computer", "username".
- Criticality string
- The entity group configuration criticality Examples: "HIGH", "CRITICALITY".
- Description string
- The entity group configuration description.
- bool
- If dynamic tags are enabled for configuration.
- Group string
- (Deprecated) The entity group configuration inventory group. The field
group
is deprecated and will be removed in a future release of the provider -- please make usage ofinventory_key
,inventory_value
instead. - Inventory
Key string - The inventory key to apply configuration Examples: "groups", "normalizedHostname", "normalizedComputerName".
- Inventory
Value string - The inventory value to match.
- Name string
- The entity group configuration name.
- Suppressed bool
- string
- The tag schema to be used for dynamic tags.
- List<string>
The entity group configuration tags list.
The following attributes are exported:
- Inventory
Source string - The inventory source Examples: "Active Directory", "Okta".
- Inventory
Type string - The inventory type Examples: "computer", "username".
- Criticality string
- The entity group configuration criticality Examples: "HIGH", "CRITICALITY".
- Description string
- The entity group configuration description.
- bool
- If dynamic tags are enabled for configuration.
- Group string
- (Deprecated) The entity group configuration inventory group. The field
group
is deprecated and will be removed in a future release of the provider -- please make usage ofinventory_key
,inventory_value
instead. - Inventory
Key string - The inventory key to apply configuration Examples: "groups", "normalizedHostname", "normalizedComputerName".
- Inventory
Value string - The inventory value to match.
- Name string
- The entity group configuration name.
- Suppressed bool
- string
- The tag schema to be used for dynamic tags.
- []string
The entity group configuration tags list.
The following attributes are exported:
- inventory
Source String - The inventory source Examples: "Active Directory", "Okta".
- inventory
Type String - The inventory type Examples: "computer", "username".
- criticality String
- The entity group configuration criticality Examples: "HIGH", "CRITICALITY".
- description String
- The entity group configuration description.
- Boolean
- If dynamic tags are enabled for configuration.
- group String
- (Deprecated) The entity group configuration inventory group. The field
group
is deprecated and will be removed in a future release of the provider -- please make usage ofinventory_key
,inventory_value
instead. - inventory
Key String - The inventory key to apply configuration Examples: "groups", "normalizedHostname", "normalizedComputerName".
- inventory
Value String - The inventory value to match.
- name String
- The entity group configuration name.
- suppressed Boolean
- String
- The tag schema to be used for dynamic tags.
- List<String>
The entity group configuration tags list.
The following attributes are exported:
- inventory
Source string - The inventory source Examples: "Active Directory", "Okta".
- inventory
Type string - The inventory type Examples: "computer", "username".
- criticality string
- The entity group configuration criticality Examples: "HIGH", "CRITICALITY".
- description string
- The entity group configuration description.
- boolean
- If dynamic tags are enabled for configuration.
- group string
- (Deprecated) The entity group configuration inventory group. The field
group
is deprecated and will be removed in a future release of the provider -- please make usage ofinventory_key
,inventory_value
instead. - inventory
Key string - The inventory key to apply configuration Examples: "groups", "normalizedHostname", "normalizedComputerName".
- inventory
Value string - The inventory value to match.
- name string
- The entity group configuration name.
- suppressed boolean
- string
- The tag schema to be used for dynamic tags.
- string[]
The entity group configuration tags list.
The following attributes are exported:
- 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.
- bool
- If dynamic tags are enabled for configuration.
- group str
- (Deprecated) The entity group configuration inventory group. The field
group
is deprecated and will be removed in a future release of the provider -- please make usage ofinventory_key
,inventory_value
instead. - inventory_
key str - The inventory key to apply configuration Examples: "groups", "normalizedHostname", "normalizedComputerName".
- inventory_
value str - The inventory value to match.
- name str
- The entity group configuration name.
- suppressed bool
- tag_
schema str - The tag schema to be used for dynamic tags.
- Sequence[str]
The entity group configuration tags list.
The following attributes are exported:
- inventory
Source String - The inventory source Examples: "Active Directory", "Okta".
- inventory
Type String - The inventory type Examples: "computer", "username".
- criticality String
- The entity group configuration criticality Examples: "HIGH", "CRITICALITY".
- description String
- The entity group configuration description.
- Boolean
- If dynamic tags are enabled for configuration.
- group String
- (Deprecated) The entity group configuration inventory group. The field
group
is deprecated and will be removed in a future release of the provider -- please make usage ofinventory_key
,inventory_value
instead. - inventory
Key String - The inventory key to apply configuration Examples: "groups", "normalizedHostname", "normalizedComputerName".
- inventory
Value String - The inventory value to match.
- name String
- The entity group configuration name.
- suppressed Boolean
- String
- The tag schema to be used for dynamic tags.
- List<String>
The entity group configuration tags list.
The following attributes are exported:
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 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,
dynamic_tags: Optional[bool] = None,
group: Optional[str] = None,
inventory_key: Optional[str] = None,
inventory_source: Optional[str] = None,
inventory_type: Optional[str] = None,
inventory_value: Optional[str] = None,
name: Optional[str] = None,
suppressed: Optional[bool] = None,
tag_schema: Optional[str] = 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.
- Criticality string
- The entity group configuration criticality Examples: "HIGH", "CRITICALITY".
- Description string
- The entity group configuration description.
- bool
- If dynamic tags are enabled for configuration.
- Group string
- (Deprecated) The entity group configuration inventory group. The field
group
is deprecated and will be removed in a future release of the provider -- please make usage ofinventory_key
,inventory_value
instead. - Inventory
Key string - The inventory key to apply configuration Examples: "groups", "normalizedHostname", "normalizedComputerName".
- Inventory
Source string - The inventory source Examples: "Active Directory", "Okta".
- Inventory
Type string - The inventory type Examples: "computer", "username".
- Inventory
Value string - The inventory value to match.
- Name string
- The entity group configuration name.
- Suppressed bool
- string
- The tag schema to be used for dynamic tags.
- List<string>
The entity group configuration tags list.
The following attributes are exported:
- Criticality string
- The entity group configuration criticality Examples: "HIGH", "CRITICALITY".
- Description string
- The entity group configuration description.
- bool
- If dynamic tags are enabled for configuration.
- Group string
- (Deprecated) The entity group configuration inventory group. The field
group
is deprecated and will be removed in a future release of the provider -- please make usage ofinventory_key
,inventory_value
instead. - Inventory
Key string - The inventory key to apply configuration Examples: "groups", "normalizedHostname", "normalizedComputerName".
- Inventory
Source string - The inventory source Examples: "Active Directory", "Okta".
- Inventory
Type string - The inventory type Examples: "computer", "username".
- Inventory
Value string - The inventory value to match.
- Name string
- The entity group configuration name.
- Suppressed bool
- string
- The tag schema to be used for dynamic tags.
- []string
The entity group configuration tags list.
The following attributes are exported:
- criticality String
- The entity group configuration criticality Examples: "HIGH", "CRITICALITY".
- description String
- The entity group configuration description.
- Boolean
- If dynamic tags are enabled for configuration.
- group String
- (Deprecated) The entity group configuration inventory group. The field
group
is deprecated and will be removed in a future release of the provider -- please make usage ofinventory_key
,inventory_value
instead. - inventory
Key String - The inventory key to apply configuration Examples: "groups", "normalizedHostname", "normalizedComputerName".
- inventory
Source String - The inventory source Examples: "Active Directory", "Okta".
- inventory
Type String - The inventory type Examples: "computer", "username".
- inventory
Value String - The inventory value to match.
- name String
- The entity group configuration name.
- suppressed Boolean
- String
- The tag schema to be used for dynamic tags.
- List<String>
The entity group configuration tags list.
The following attributes are exported:
- criticality string
- The entity group configuration criticality Examples: "HIGH", "CRITICALITY".
- description string
- The entity group configuration description.
- boolean
- If dynamic tags are enabled for configuration.
- group string
- (Deprecated) The entity group configuration inventory group. The field
group
is deprecated and will be removed in a future release of the provider -- please make usage ofinventory_key
,inventory_value
instead. - inventory
Key string - The inventory key to apply configuration Examples: "groups", "normalizedHostname", "normalizedComputerName".
- inventory
Source string - The inventory source Examples: "Active Directory", "Okta".
- inventory
Type string - The inventory type Examples: "computer", "username".
- inventory
Value string - The inventory value to match.
- name string
- The entity group configuration name.
- suppressed boolean
- string
- The tag schema to be used for dynamic tags.
- string[]
The entity group configuration tags list.
The following attributes are exported:
- criticality str
- The entity group configuration criticality Examples: "HIGH", "CRITICALITY".
- description str
- The entity group configuration description.
- bool
- If dynamic tags are enabled for configuration.
- group str
- (Deprecated) The entity group configuration inventory group. The field
group
is deprecated and will be removed in a future release of the provider -- please make usage ofinventory_key
,inventory_value
instead. - inventory_
key str - The inventory key to apply configuration Examples: "groups", "normalizedHostname", "normalizedComputerName".
- inventory_
source str - The inventory source Examples: "Active Directory", "Okta".
- inventory_
type str - The inventory type Examples: "computer", "username".
- inventory_
value str - The inventory value to match.
- name str
- The entity group configuration name.
- suppressed bool
- tag_
schema str - The tag schema to be used for dynamic tags.
- Sequence[str]
The entity group configuration tags list.
The following attributes are exported:
- criticality String
- The entity group configuration criticality Examples: "HIGH", "CRITICALITY".
- description String
- The entity group configuration description.
- Boolean
- If dynamic tags are enabled for configuration.
- group String
- (Deprecated) The entity group configuration inventory group. The field
group
is deprecated and will be removed in a future release of the provider -- please make usage ofinventory_key
,inventory_value
instead. - inventory
Key String - The inventory key to apply configuration Examples: "groups", "normalizedHostname", "normalizedComputerName".
- inventory
Source String - The inventory source Examples: "Active Directory", "Okta".
- inventory
Type String - The inventory type Examples: "computer", "username".
- inventory
Value String - The inventory value to match.
- name String
- The entity group configuration name.
- suppressed Boolean
- String
- The tag schema to be used for dynamic tags.
- List<String>
The entity group configuration tags list.
The following attributes are exported:
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
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Sumo Logic pulumi/pulumi-sumologic
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
sumologic
Terraform Provider.