sumologic.SourceTemplate
Explore with Pulumi AI
Provides a Sumologic Source Template
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as sumologic from "@pulumi/sumologic";
const exampleSourceTemplate = new sumologic.SourceTemplate("exampleSourceTemplate", {
schemaRef: {
type: "Mac",
},
selectors: [{
tags: [[{
key: "new1",
values: [
"Abc",
"Abc2",
],
}]],
names: ["TestCollector1"],
}],
inputJson: JSON.stringify({
name: "hostmetrics_test_source_template_test",
description: "Host metric source",
receivers: {
hostmetrics: {
receiverType: "hostmetrics",
collection_interval: "5m",
cpu_scraper_enabled: true,
disk_scraper_enabled: true,
load_scraper_enabled: true,
filesystem_scraper_enabled: true,
memory_scraper_enabled: true,
network_scraper_enabled: true,
processes_scraper_enabled: true,
paging_scraper_enabled: true,
},
},
processors: {
resource: {
processorType: "resource",
user_attributes: [{
key: "_sourceCategory",
value: "otel/host",
}],
default_attributes: [
{
key: "sumo.datasource",
value: "apache",
},
{
key: "host.name",
value: "host1",
},
{
key: "host.id",
value: "hostid",
},
{
key: "log.file.path",
value: "filePath",
},
],
},
},
}),
});
import pulumi
import json
import pulumi_sumologic as sumologic
example_source_template = sumologic.SourceTemplate("exampleSourceTemplate",
schema_ref={
"type": "Mac",
},
selectors=[{
"tags": [[{
"key": "new1",
"values": [
"Abc",
"Abc2",
],
}]],
"names": ["TestCollector1"],
}],
input_json=json.dumps({
"name": "hostmetrics_test_source_template_test",
"description": "Host metric source",
"receivers": {
"hostmetrics": {
"receiverType": "hostmetrics",
"collection_interval": "5m",
"cpu_scraper_enabled": True,
"disk_scraper_enabled": True,
"load_scraper_enabled": True,
"filesystem_scraper_enabled": True,
"memory_scraper_enabled": True,
"network_scraper_enabled": True,
"processes_scraper_enabled": True,
"paging_scraper_enabled": True,
},
},
"processors": {
"resource": {
"processorType": "resource",
"user_attributes": [{
"key": "_sourceCategory",
"value": "otel/host",
}],
"default_attributes": [
{
"key": "sumo.datasource",
"value": "apache",
},
{
"key": "host.name",
"value": "host1",
},
{
"key": "host.id",
"value": "hostid",
},
{
"key": "log.file.path",
"value": "filePath",
},
],
},
},
}))
package main
import (
"encoding/json"
"github.com/pulumi/pulumi-terraform-provider/sdks/go/sumologic/v3/sumologic"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
tmpJSON0, err := json.Marshal(map[string]interface{}{
"name": "hostmetrics_test_source_template_test",
"description": "Host metric source",
"receivers": map[string]interface{}{
"hostmetrics": map[string]interface{}{
"receiverType": "hostmetrics",
"collection_interval": "5m",
"cpu_scraper_enabled": true,
"disk_scraper_enabled": true,
"load_scraper_enabled": true,
"filesystem_scraper_enabled": true,
"memory_scraper_enabled": true,
"network_scraper_enabled": true,
"processes_scraper_enabled": true,
"paging_scraper_enabled": true,
},
},
"processors": map[string]interface{}{
"resource": map[string]interface{}{
"processorType": "resource",
"user_attributes": []map[string]interface{}{
map[string]interface{}{
"key": "_sourceCategory",
"value": "otel/host",
},
},
"default_attributes": []map[string]interface{}{
map[string]interface{}{
"key": "sumo.datasource",
"value": "apache",
},
map[string]interface{}{
"key": "host.name",
"value": "host1",
},
map[string]interface{}{
"key": "host.id",
"value": "hostid",
},
map[string]interface{}{
"key": "log.file.path",
"value": "filePath",
},
},
},
},
})
if err != nil {
return err
}
json0 := string(tmpJSON0)
_, err = sumologic.NewSourceTemplate(ctx, "exampleSourceTemplate", &sumologic.SourceTemplateArgs{
SchemaRef: &sumologic.SourceTemplateSchemaRefArgs{
Type: pulumi.String("Mac"),
},
Selectors: sumologic.SourceTemplateSelectorArray{
&sumologic.SourceTemplateSelectorArgs{
Tags: sumologic.SourceTemplateSelectorTagArrayArray{
sumologic.SourceTemplateSelectorTagArray{
&sumologic.SourceTemplateSelectorTagArgs{
Key: pulumi.String("new1"),
Values: pulumi.StringArray{
pulumi.String("Abc"),
pulumi.String("Abc2"),
},
},
},
},
Names: pulumi.StringArray{
pulumi.String("TestCollector1"),
},
},
},
InputJson: pulumi.String(json0),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
using Pulumi;
using Sumologic = Pulumi.Sumologic;
return await Deployment.RunAsync(() =>
{
var exampleSourceTemplate = new Sumologic.SourceTemplate("exampleSourceTemplate", new()
{
SchemaRef = new Sumologic.Inputs.SourceTemplateSchemaRefArgs
{
Type = "Mac",
},
Selectors = new[]
{
new Sumologic.Inputs.SourceTemplateSelectorArgs
{
Tags = new[]
{
new[]
{
new Sumologic.Inputs.SourceTemplateSelectorTagArgs
{
Key = "new1",
Values = new[]
{
"Abc",
"Abc2",
},
},
},
},
Names = new[]
{
"TestCollector1",
},
},
},
InputJson = JsonSerializer.Serialize(new Dictionary<string, object?>
{
["name"] = "hostmetrics_test_source_template_test",
["description"] = "Host metric source",
["receivers"] = new Dictionary<string, object?>
{
["hostmetrics"] = new Dictionary<string, object?>
{
["receiverType"] = "hostmetrics",
["collection_interval"] = "5m",
["cpu_scraper_enabled"] = true,
["disk_scraper_enabled"] = true,
["load_scraper_enabled"] = true,
["filesystem_scraper_enabled"] = true,
["memory_scraper_enabled"] = true,
["network_scraper_enabled"] = true,
["processes_scraper_enabled"] = true,
["paging_scraper_enabled"] = true,
},
},
["processors"] = new Dictionary<string, object?>
{
["resource"] = new Dictionary<string, object?>
{
["processorType"] = "resource",
["user_attributes"] = new[]
{
new Dictionary<string, object?>
{
["key"] = "_sourceCategory",
["value"] = "otel/host",
},
},
["default_attributes"] = new[]
{
new Dictionary<string, object?>
{
["key"] = "sumo.datasource",
["value"] = "apache",
},
new Dictionary<string, object?>
{
["key"] = "host.name",
["value"] = "host1",
},
new Dictionary<string, object?>
{
["key"] = "host.id",
["value"] = "hostid",
},
new Dictionary<string, object?>
{
["key"] = "log.file.path",
["value"] = "filePath",
},
},
},
},
}),
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.sumologic.SourceTemplate;
import com.pulumi.sumologic.SourceTemplateArgs;
import com.pulumi.sumologic.inputs.SourceTemplateSchemaRefArgs;
import com.pulumi.sumologic.inputs.SourceTemplateSelectorArgs;
import static com.pulumi.codegen.internal.Serialization.*;
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 exampleSourceTemplate = new SourceTemplate("exampleSourceTemplate", SourceTemplateArgs.builder()
.schemaRef(SourceTemplateSchemaRefArgs.builder()
.type("Mac")
.build())
.selectors(SourceTemplateSelectorArgs.builder()
.tags(SourceTemplateSelectorTagArgs.builder()
.key("new1")
.values(
"Abc",
"Abc2")
.build())
.names("TestCollector1")
.build())
.inputJson(serializeJson(
jsonObject(
jsonProperty("name", "hostmetrics_test_source_template_test"),
jsonProperty("description", "Host metric source"),
jsonProperty("receivers", jsonObject(
jsonProperty("hostmetrics", jsonObject(
jsonProperty("receiverType", "hostmetrics"),
jsonProperty("collection_interval", "5m"),
jsonProperty("cpu_scraper_enabled", true),
jsonProperty("disk_scraper_enabled", true),
jsonProperty("load_scraper_enabled", true),
jsonProperty("filesystem_scraper_enabled", true),
jsonProperty("memory_scraper_enabled", true),
jsonProperty("network_scraper_enabled", true),
jsonProperty("processes_scraper_enabled", true),
jsonProperty("paging_scraper_enabled", true)
))
)),
jsonProperty("processors", jsonObject(
jsonProperty("resource", jsonObject(
jsonProperty("processorType", "resource"),
jsonProperty("user_attributes", jsonArray(jsonObject(
jsonProperty("key", "_sourceCategory"),
jsonProperty("value", "otel/host")
))),
jsonProperty("default_attributes", jsonArray(
jsonObject(
jsonProperty("key", "sumo.datasource"),
jsonProperty("value", "apache")
),
jsonObject(
jsonProperty("key", "host.name"),
jsonProperty("value", "host1")
),
jsonObject(
jsonProperty("key", "host.id"),
jsonProperty("value", "hostid")
),
jsonObject(
jsonProperty("key", "log.file.path"),
jsonProperty("value", "filePath")
)
))
))
))
)))
.build());
}
}
resources:
exampleSourceTemplate:
type: sumologic:SourceTemplate
properties:
schemaRef:
type: Mac
selectors:
- tags:
- - key: new1
values:
- Abc
- Abc2
names:
- TestCollector1
inputJson:
fn::toJSON:
name: hostmetrics_test_source_template_test
description: Host metric source
receivers:
hostmetrics:
receiverType: hostmetrics
collection_interval: 5m
cpu_scraper_enabled: true
disk_scraper_enabled: true
load_scraper_enabled: true
filesystem_scraper_enabled: true
memory_scraper_enabled: true
network_scraper_enabled: true
processes_scraper_enabled: true
paging_scraper_enabled: true
processors:
resource:
processorType: resource
user_attributes:
- key: _sourceCategory
value: otel/host
default_attributes:
- key: sumo.datasource
value: apache
- key: host.name
value: host1
- key: host.id
value: hostid
- key: log.file.path
value: filePath
Create SourceTemplate Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SourceTemplate(name: string, args: SourceTemplateArgs, opts?: CustomResourceOptions);
@overload
def SourceTemplate(resource_name: str,
args: SourceTemplateArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SourceTemplate(resource_name: str,
opts: Optional[ResourceOptions] = None,
input_json: Optional[str] = None,
schema_ref: Optional[SourceTemplateSchemaRefArgs] = None,
selectors: Optional[Sequence[SourceTemplateSelectorArgs]] = None,
source_template_id: Optional[str] = None)
func NewSourceTemplate(ctx *Context, name string, args SourceTemplateArgs, opts ...ResourceOption) (*SourceTemplate, error)
public SourceTemplate(string name, SourceTemplateArgs args, CustomResourceOptions? opts = null)
public SourceTemplate(String name, SourceTemplateArgs args)
public SourceTemplate(String name, SourceTemplateArgs args, CustomResourceOptions options)
type: sumologic:SourceTemplate
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 SourceTemplateArgs
- 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 SourceTemplateArgs
- 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 SourceTemplateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SourceTemplateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SourceTemplateArgs
- 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 sourceTemplateResource = new Sumologic.SourceTemplate("sourceTemplateResource", new()
{
InputJson = "string",
SchemaRef = new Sumologic.Inputs.SourceTemplateSchemaRefArgs
{
Type = "string",
LatestVersion = "string",
Version = "string",
},
Selectors = new[]
{
new Sumologic.Inputs.SourceTemplateSelectorArgs
{
Names = new[]
{
"string",
},
Tags = new[]
{
new[]
{
new Sumologic.Inputs.SourceTemplateSelectorTagArgs
{
Key = "string",
Values = new[]
{
"string",
},
},
},
},
},
},
SourceTemplateId = "string",
});
example, err := sumologic.NewSourceTemplate(ctx, "sourceTemplateResource", &sumologic.SourceTemplateArgs{
InputJson: pulumi.String("string"),
SchemaRef: &sumologic.SourceTemplateSchemaRefArgs{
Type: pulumi.String("string"),
LatestVersion: pulumi.String("string"),
Version: pulumi.String("string"),
},
Selectors: sumologic.SourceTemplateSelectorArray{
&sumologic.SourceTemplateSelectorArgs{
Names: pulumi.StringArray{
pulumi.String("string"),
},
Tags: sumologic.SourceTemplateSelectorTagArrayArray{
sumologic.SourceTemplateSelectorTagArray{
&sumologic.SourceTemplateSelectorTagArgs{
Key: pulumi.String("string"),
Values: pulumi.StringArray{
pulumi.String("string"),
},
},
},
},
},
},
SourceTemplateId: pulumi.String("string"),
})
var sourceTemplateResource = new SourceTemplate("sourceTemplateResource", SourceTemplateArgs.builder()
.inputJson("string")
.schemaRef(SourceTemplateSchemaRefArgs.builder()
.type("string")
.latestVersion("string")
.version("string")
.build())
.selectors(SourceTemplateSelectorArgs.builder()
.names("string")
.tags(SourceTemplateSelectorTagArgs.builder()
.key("string")
.values("string")
.build())
.build())
.sourceTemplateId("string")
.build());
source_template_resource = sumologic.SourceTemplate("sourceTemplateResource",
input_json="string",
schema_ref={
"type": "string",
"latest_version": "string",
"version": "string",
},
selectors=[{
"names": ["string"],
"tags": [[{
"key": "string",
"values": ["string"],
}]],
}],
source_template_id="string")
const sourceTemplateResource = new sumologic.SourceTemplate("sourceTemplateResource", {
inputJson: "string",
schemaRef: {
type: "string",
latestVersion: "string",
version: "string",
},
selectors: [{
names: ["string"],
tags: [[{
key: "string",
values: ["string"],
}]],
}],
sourceTemplateId: "string",
});
type: sumologic:SourceTemplate
properties:
inputJson: string
schemaRef:
latestVersion: string
type: string
version: string
selectors:
- names:
- string
tags:
- - key: string
values:
- string
sourceTemplateId: string
SourceTemplate 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 SourceTemplate resource accepts the following input properties:
- Input
Json string - This is a JSON object which contains the configuration parameters for the source template.
- Schema
Ref SourceTemplate Schema Ref - Schema reference for source template.
- Selectors
List<Source
Template Selector> Conditions to select OT Agent.
The following attributes are exported:
- Source
Template stringId - The internal ID of the source_template.
- Input
Json string - This is a JSON object which contains the configuration parameters for the source template.
- Schema
Ref SourceTemplate Schema Ref Args - Schema reference for source template.
- Selectors
[]Source
Template Selector Args Conditions to select OT Agent.
The following attributes are exported:
- Source
Template stringId - The internal ID of the source_template.
- input
Json String - This is a JSON object which contains the configuration parameters for the source template.
- schema
Ref SourceTemplate Schema Ref - Schema reference for source template.
- selectors
List<Source
Template Selector> Conditions to select OT Agent.
The following attributes are exported:
- source
Template StringId - The internal ID of the source_template.
- input
Json string - This is a JSON object which contains the configuration parameters for the source template.
- schema
Ref SourceTemplate Schema Ref - Schema reference for source template.
- selectors
Source
Template Selector[] Conditions to select OT Agent.
The following attributes are exported:
- source
Template stringId - The internal ID of the source_template.
- input_
json str - This is a JSON object which contains the configuration parameters for the source template.
- schema_
ref SourceTemplate Schema Ref Args - Schema reference for source template.
- selectors
Sequence[Source
Template Selector Args] Conditions to select OT Agent.
The following attributes are exported:
- source_
template_ strid - The internal ID of the source_template.
- input
Json String - This is a JSON object which contains the configuration parameters for the source template.
- schema
Ref Property Map - Schema reference for source template.
- selectors List<Property Map>
Conditions to select OT Agent.
The following attributes are exported:
- source
Template StringId - The internal ID of the source_template.
Outputs
All input properties are implicitly available as output properties. Additionally, the SourceTemplate resource produces the following output properties:
- Config string
- Created
At string - Created
By string - Id string
- The provider-assigned unique ID for this managed resource.
- Modified
At string - Modified
By string - Total
Collector doubleLinked
- Config string
- Created
At string - Created
By string - Id string
- The provider-assigned unique ID for this managed resource.
- Modified
At string - Modified
By string - Total
Collector float64Linked
- config String
- created
At String - created
By String - id String
- The provider-assigned unique ID for this managed resource.
- modified
At String - modified
By String - total
Collector DoubleLinked
- config string
- created
At string - created
By string - id string
- The provider-assigned unique ID for this managed resource.
- modified
At string - modified
By string - total
Collector numberLinked
- config str
- created_
at str - created_
by str - id str
- The provider-assigned unique ID for this managed resource.
- modified_
at str - modified_
by str - total_
collector_ floatlinked
- config String
- created
At String - created
By String - id String
- The provider-assigned unique ID for this managed resource.
- modified
At String - modified
By String - total
Collector NumberLinked
Look up Existing SourceTemplate Resource
Get an existing SourceTemplate 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?: SourceTemplateState, opts?: CustomResourceOptions): SourceTemplate
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
config: Optional[str] = None,
created_at: Optional[str] = None,
created_by: Optional[str] = None,
input_json: Optional[str] = None,
modified_at: Optional[str] = None,
modified_by: Optional[str] = None,
schema_ref: Optional[SourceTemplateSchemaRefArgs] = None,
selectors: Optional[Sequence[SourceTemplateSelectorArgs]] = None,
source_template_id: Optional[str] = None,
total_collector_linked: Optional[float] = None) -> SourceTemplate
func GetSourceTemplate(ctx *Context, name string, id IDInput, state *SourceTemplateState, opts ...ResourceOption) (*SourceTemplate, error)
public static SourceTemplate Get(string name, Input<string> id, SourceTemplateState? state, CustomResourceOptions? opts = null)
public static SourceTemplate get(String name, Output<String> id, SourceTemplateState state, CustomResourceOptions options)
resources: _: type: sumologic:SourceTemplate 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.
- Config string
- Created
At string - Created
By string - Input
Json string - This is a JSON object which contains the configuration parameters for the source template.
- Modified
At string - Modified
By string - Schema
Ref SourceTemplate Schema Ref - Schema reference for source template.
- Selectors
List<Source
Template Selector> Conditions to select OT Agent.
The following attributes are exported:
- Source
Template stringId - The internal ID of the source_template.
- Total
Collector doubleLinked
- Config string
- Created
At string - Created
By string - Input
Json string - This is a JSON object which contains the configuration parameters for the source template.
- Modified
At string - Modified
By string - Schema
Ref SourceTemplate Schema Ref Args - Schema reference for source template.
- Selectors
[]Source
Template Selector Args Conditions to select OT Agent.
The following attributes are exported:
- Source
Template stringId - The internal ID of the source_template.
- Total
Collector float64Linked
- config String
- created
At String - created
By String - input
Json String - This is a JSON object which contains the configuration parameters for the source template.
- modified
At String - modified
By String - schema
Ref SourceTemplate Schema Ref - Schema reference for source template.
- selectors
List<Source
Template Selector> Conditions to select OT Agent.
The following attributes are exported:
- source
Template StringId - The internal ID of the source_template.
- total
Collector DoubleLinked
- config string
- created
At string - created
By string - input
Json string - This is a JSON object which contains the configuration parameters for the source template.
- modified
At string - modified
By string - schema
Ref SourceTemplate Schema Ref - Schema reference for source template.
- selectors
Source
Template Selector[] Conditions to select OT Agent.
The following attributes are exported:
- source
Template stringId - The internal ID of the source_template.
- total
Collector numberLinked
- config str
- created_
at str - created_
by str - input_
json str - This is a JSON object which contains the configuration parameters for the source template.
- modified_
at str - modified_
by str - schema_
ref SourceTemplate Schema Ref Args - Schema reference for source template.
- selectors
Sequence[Source
Template Selector Args] Conditions to select OT Agent.
The following attributes are exported:
- source_
template_ strid - The internal ID of the source_template.
- total_
collector_ floatlinked
- config String
- created
At String - created
By String - input
Json String - This is a JSON object which contains the configuration parameters for the source template.
- modified
At String - modified
By String - schema
Ref Property Map - Schema reference for source template.
- selectors List<Property Map>
Conditions to select OT Agent.
The following attributes are exported:
- source
Template StringId - The internal ID of the source_template.
- total
Collector NumberLinked
Supporting Types
SourceTemplateSchemaRef, SourceTemplateSchemaRefArgs
- Type string
- Type of schema for the source template.
- Latest
Version string - Version string
- Version of schema used for the source template. Takes the latest version, if this field is omitted.
- Type string
- Type of schema for the source template.
- Latest
Version string - Version string
- Version of schema used for the source template. Takes the latest version, if this field is omitted.
- type String
- Type of schema for the source template.
- latest
Version String - version String
- Version of schema used for the source template. Takes the latest version, if this field is omitted.
- type string
- Type of schema for the source template.
- latest
Version string - version string
- Version of schema used for the source template. Takes the latest version, if this field is omitted.
- type str
- Type of schema for the source template.
- latest_
version str - version str
- Version of schema used for the source template. Takes the latest version, if this field is omitted.
- type String
- Type of schema for the source template.
- latest
Version String - version String
- Version of schema used for the source template. Takes the latest version, if this field is omitted.
SourceTemplateSelector, SourceTemplateSelectorArgs
- Names List<string>
- names to select custom agents
- List<Immutable
Array<Source Template Selector Tag>> - tags filter for agents
- Names []string
- names to select custom agents
- [][]Source
Template Selector Tag - tags filter for agents
- names List<String>
- names to select custom agents
- List<List<Source
Template Selector Tag>> - tags filter for agents
- names string[]
- names to select custom agents
- Source
Template Selector Tag[][] - tags filter for agents
- names Sequence[str]
- names to select custom agents
- Sequence[Sequence[Source
Template Selector Tag]] - tags filter for agents
- names List<String>
- names to select custom agents
- List<List<Property Map>>
- tags filter for agents
SourceTemplateSelectorTag, SourceTemplateSelectorTagArgs
Import
Source Templates can be imported using the ST id, e.g.:
hcl
$ pulumi import sumologic:index/sourceTemplate:SourceTemplate test 0000000000000004
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Sumo Logic sumologic/terraform-provider-sumologic
- License
- Notes
- This Pulumi package is based on the
sumologic
Terraform Provider.