1. Packages
  2. Sumologic Provider
  3. API Docs
  4. AzureMetricsSource
Sumo Logic v1.0.7 published on Friday, Apr 11, 2025 by Pulumi

sumologic.AzureMetricsSource

Explore with Pulumi AI

Create AzureMetricsSource Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new AzureMetricsSource(name: string, args: AzureMetricsSourceArgs, opts?: CustomResourceOptions);
@overload
def AzureMetricsSource(resource_name: str,
                       args: AzureMetricsSourceArgs,
                       opts: Optional[ResourceOptions] = None)

@overload
def AzureMetricsSource(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       content_type: Optional[str] = None,
                       path: Optional[AzureMetricsSourcePathArgs] = None,
                       authentication: Optional[AzureMetricsSourceAuthenticationArgs] = None,
                       collector_id: Optional[int] = None,
                       filters: Optional[Sequence[AzureMetricsSourceFilterArgs]] = None,
                       host_name: Optional[str] = None,
                       cutoff_timestamp: Optional[int] = None,
                       default_date_formats: Optional[Sequence[AzureMetricsSourceDefaultDateFormatArgs]] = None,
                       description: Optional[str] = None,
                       fields: Optional[Mapping[str, str]] = None,
                       category: Optional[str] = None,
                       force_timezone: Optional[bool] = None,
                       hash_algorithm: Optional[str] = None,
                       cutoff_relative_time: Optional[str] = None,
                       manual_prefix_regexp: Optional[str] = None,
                       multiline_processing_enabled: Optional[bool] = None,
                       name: Optional[str] = None,
                       automatic_date_parsing: Optional[bool] = None,
                       paused: Optional[bool] = None,
                       scan_interval: Optional[int] = None,
                       timezone: Optional[str] = None,
                       use_autoline_matching: Optional[bool] = None)
func NewAzureMetricsSource(ctx *Context, name string, args AzureMetricsSourceArgs, opts ...ResourceOption) (*AzureMetricsSource, error)
public AzureMetricsSource(string name, AzureMetricsSourceArgs args, CustomResourceOptions? opts = null)
public AzureMetricsSource(String name, AzureMetricsSourceArgs args)
public AzureMetricsSource(String name, AzureMetricsSourceArgs args, CustomResourceOptions options)
type: sumologic:AzureMetricsSource
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. AzureMetricsSourceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. AzureMetricsSourceArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. AzureMetricsSourceArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. AzureMetricsSourceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. AzureMetricsSourceArgs
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 azureMetricsSourceResource = new SumoLogic.AzureMetricsSource("azureMetricsSourceResource", new()
{
    ContentType = "string",
    Path = new SumoLogic.Inputs.AzureMetricsSourcePathArgs
    {
        Type = "string",
        LimitToServices = new[]
        {
            "string",
        },
        Region = "string",
        CustomServices = new[]
        {
            new SumoLogic.Inputs.AzureMetricsSourcePathCustomServiceArgs
            {
                Prefixes = new[]
                {
                    "string",
                },
                ServiceName = "string",
            },
        },
        Environment = "string",
        EventHubName = "string",
        LimitToNamespaces = new[]
        {
            "string",
        },
        ConsumerGroup = "string",
        Namespace = "string",
        LimitToRegions = new[]
        {
            "string",
        },
        PathExpression = "string",
        AzureTagFilters = new[]
        {
            new SumoLogic.Inputs.AzureMetricsSourcePathAzureTagFilterArgs
            {
                Type = "string",
                Namespace = "string",
                Tags = new[]
                {
                    new SumoLogic.Inputs.AzureMetricsSourcePathAzureTagFilterTagArgs
                    {
                        Name = "string",
                        Values = new[]
                        {
                            "string",
                        },
                    },
                },
            },
        },
        SnsTopicOrSubscriptionArns = new[]
        {
            new SumoLogic.Inputs.AzureMetricsSourcePathSnsTopicOrSubscriptionArnArgs
            {
                Arn = "string",
                IsSuccess = false,
            },
        },
        TagFilters = new[]
        {
            new SumoLogic.Inputs.AzureMetricsSourcePathTagFilterArgs
            {
                Namespace = "string",
                Tags = new[]
                {
                    "string",
                },
                Type = "string",
            },
        },
        BucketName = "string",
        UseVersionedApi = false,
    },
    Authentication = new SumoLogic.Inputs.AzureMetricsSourceAuthenticationArgs
    {
        Type = "string",
        PrivateKeyId = "string",
        Region = "string",
        ClientEmail = "string",
        ClientId = "string",
        ClientSecret = "string",
        ClientX509CertUrl = "string",
        PrivateKey = "string",
        AccessKey = "string",
        AuthUri = "string",
        RoleArn = "string",
        ProjectId = "string",
        SecretKey = "string",
        SharedAccessPolicyKey = "string",
        SharedAccessPolicyName = "string",
        TenantId = "string",
        TokenUri = "string",
        AuthProviderX509CertUrl = "string",
    },
    CollectorId = 0,
    Filters = new[]
    {
        new SumoLogic.Inputs.AzureMetricsSourceFilterArgs
        {
            FilterType = "string",
            Name = "string",
            Regexp = "string",
            Mask = "string",
        },
    },
    HostName = "string",
    CutoffTimestamp = 0,
    DefaultDateFormats = new[]
    {
        new SumoLogic.Inputs.AzureMetricsSourceDefaultDateFormatArgs
        {
            Format = "string",
            Locator = "string",
        },
    },
    Description = "string",
    Fields = 
    {
        { "string", "string" },
    },
    Category = "string",
    ForceTimezone = false,
    HashAlgorithm = "string",
    CutoffRelativeTime = "string",
    ManualPrefixRegexp = "string",
    MultilineProcessingEnabled = false,
    Name = "string",
    AutomaticDateParsing = false,
    Paused = false,
    ScanInterval = 0,
    Timezone = "string",
    UseAutolineMatching = false,
});
Copy
example, err := sumologic.NewAzureMetricsSource(ctx, "azureMetricsSourceResource", &sumologic.AzureMetricsSourceArgs{
	ContentType: pulumi.String("string"),
	Path: &sumologic.AzureMetricsSourcePathArgs{
		Type: pulumi.String("string"),
		LimitToServices: pulumi.StringArray{
			pulumi.String("string"),
		},
		Region: pulumi.String("string"),
		CustomServices: sumologic.AzureMetricsSourcePathCustomServiceArray{
			&sumologic.AzureMetricsSourcePathCustomServiceArgs{
				Prefixes: pulumi.StringArray{
					pulumi.String("string"),
				},
				ServiceName: pulumi.String("string"),
			},
		},
		Environment:  pulumi.String("string"),
		EventHubName: pulumi.String("string"),
		LimitToNamespaces: pulumi.StringArray{
			pulumi.String("string"),
		},
		ConsumerGroup: pulumi.String("string"),
		Namespace:     pulumi.String("string"),
		LimitToRegions: pulumi.StringArray{
			pulumi.String("string"),
		},
		PathExpression: pulumi.String("string"),
		AzureTagFilters: sumologic.AzureMetricsSourcePathAzureTagFilterArray{
			&sumologic.AzureMetricsSourcePathAzureTagFilterArgs{
				Type:      pulumi.String("string"),
				Namespace: pulumi.String("string"),
				Tags: sumologic.AzureMetricsSourcePathAzureTagFilterTagArray{
					&sumologic.AzureMetricsSourcePathAzureTagFilterTagArgs{
						Name: pulumi.String("string"),
						Values: pulumi.StringArray{
							pulumi.String("string"),
						},
					},
				},
			},
		},
		SnsTopicOrSubscriptionArns: sumologic.AzureMetricsSourcePathSnsTopicOrSubscriptionArnArray{
			&sumologic.AzureMetricsSourcePathSnsTopicOrSubscriptionArnArgs{
				Arn:       pulumi.String("string"),
				IsSuccess: pulumi.Bool(false),
			},
		},
		TagFilters: sumologic.AzureMetricsSourcePathTagFilterArray{
			&sumologic.AzureMetricsSourcePathTagFilterArgs{
				Namespace: pulumi.String("string"),
				Tags: pulumi.StringArray{
					pulumi.String("string"),
				},
				Type: pulumi.String("string"),
			},
		},
		BucketName:      pulumi.String("string"),
		UseVersionedApi: pulumi.Bool(false),
	},
	Authentication: &sumologic.AzureMetricsSourceAuthenticationArgs{
		Type:                    pulumi.String("string"),
		PrivateKeyId:            pulumi.String("string"),
		Region:                  pulumi.String("string"),
		ClientEmail:             pulumi.String("string"),
		ClientId:                pulumi.String("string"),
		ClientSecret:            pulumi.String("string"),
		ClientX509CertUrl:       pulumi.String("string"),
		PrivateKey:              pulumi.String("string"),
		AccessKey:               pulumi.String("string"),
		AuthUri:                 pulumi.String("string"),
		RoleArn:                 pulumi.String("string"),
		ProjectId:               pulumi.String("string"),
		SecretKey:               pulumi.String("string"),
		SharedAccessPolicyKey:   pulumi.String("string"),
		SharedAccessPolicyName:  pulumi.String("string"),
		TenantId:                pulumi.String("string"),
		TokenUri:                pulumi.String("string"),
		AuthProviderX509CertUrl: pulumi.String("string"),
	},
	CollectorId: pulumi.Int(0),
	Filters: sumologic.AzureMetricsSourceFilterArray{
		&sumologic.AzureMetricsSourceFilterArgs{
			FilterType: pulumi.String("string"),
			Name:       pulumi.String("string"),
			Regexp:     pulumi.String("string"),
			Mask:       pulumi.String("string"),
		},
	},
	HostName:        pulumi.String("string"),
	CutoffTimestamp: pulumi.Int(0),
	DefaultDateFormats: sumologic.AzureMetricsSourceDefaultDateFormatArray{
		&sumologic.AzureMetricsSourceDefaultDateFormatArgs{
			Format:  pulumi.String("string"),
			Locator: pulumi.String("string"),
		},
	},
	Description: pulumi.String("string"),
	Fields: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Category:                   pulumi.String("string"),
	ForceTimezone:              pulumi.Bool(false),
	HashAlgorithm:              pulumi.String("string"),
	CutoffRelativeTime:         pulumi.String("string"),
	ManualPrefixRegexp:         pulumi.String("string"),
	MultilineProcessingEnabled: pulumi.Bool(false),
	Name:                       pulumi.String("string"),
	AutomaticDateParsing:       pulumi.Bool(false),
	Paused:                     pulumi.Bool(false),
	ScanInterval:               pulumi.Int(0),
	Timezone:                   pulumi.String("string"),
	UseAutolineMatching:        pulumi.Bool(false),
})
Copy
var azureMetricsSourceResource = new AzureMetricsSource("azureMetricsSourceResource", AzureMetricsSourceArgs.builder()
    .contentType("string")
    .path(AzureMetricsSourcePathArgs.builder()
        .type("string")
        .limitToServices("string")
        .region("string")
        .customServices(AzureMetricsSourcePathCustomServiceArgs.builder()
            .prefixes("string")
            .serviceName("string")
            .build())
        .environment("string")
        .eventHubName("string")
        .limitToNamespaces("string")
        .consumerGroup("string")
        .namespace("string")
        .limitToRegions("string")
        .pathExpression("string")
        .azureTagFilters(AzureMetricsSourcePathAzureTagFilterArgs.builder()
            .type("string")
            .namespace("string")
            .tags(AzureMetricsSourcePathAzureTagFilterTagArgs.builder()
                .name("string")
                .values("string")
                .build())
            .build())
        .snsTopicOrSubscriptionArns(AzureMetricsSourcePathSnsTopicOrSubscriptionArnArgs.builder()
            .arn("string")
            .isSuccess(false)
            .build())
        .tagFilters(AzureMetricsSourcePathTagFilterArgs.builder()
            .namespace("string")
            .tags("string")
            .type("string")
            .build())
        .bucketName("string")
        .useVersionedApi(false)
        .build())
    .authentication(AzureMetricsSourceAuthenticationArgs.builder()
        .type("string")
        .privateKeyId("string")
        .region("string")
        .clientEmail("string")
        .clientId("string")
        .clientSecret("string")
        .clientX509CertUrl("string")
        .privateKey("string")
        .accessKey("string")
        .authUri("string")
        .roleArn("string")
        .projectId("string")
        .secretKey("string")
        .sharedAccessPolicyKey("string")
        .sharedAccessPolicyName("string")
        .tenantId("string")
        .tokenUri("string")
        .authProviderX509CertUrl("string")
        .build())
    .collectorId(0)
    .filters(AzureMetricsSourceFilterArgs.builder()
        .filterType("string")
        .name("string")
        .regexp("string")
        .mask("string")
        .build())
    .hostName("string")
    .cutoffTimestamp(0)
    .defaultDateFormats(AzureMetricsSourceDefaultDateFormatArgs.builder()
        .format("string")
        .locator("string")
        .build())
    .description("string")
    .fields(Map.of("string", "string"))
    .category("string")
    .forceTimezone(false)
    .hashAlgorithm("string")
    .cutoffRelativeTime("string")
    .manualPrefixRegexp("string")
    .multilineProcessingEnabled(false)
    .name("string")
    .automaticDateParsing(false)
    .paused(false)
    .scanInterval(0)
    .timezone("string")
    .useAutolineMatching(false)
    .build());
Copy
azure_metrics_source_resource = sumologic.AzureMetricsSource("azureMetricsSourceResource",
    content_type="string",
    path={
        "type": "string",
        "limit_to_services": ["string"],
        "region": "string",
        "custom_services": [{
            "prefixes": ["string"],
            "service_name": "string",
        }],
        "environment": "string",
        "event_hub_name": "string",
        "limit_to_namespaces": ["string"],
        "consumer_group": "string",
        "namespace": "string",
        "limit_to_regions": ["string"],
        "path_expression": "string",
        "azure_tag_filters": [{
            "type": "string",
            "namespace": "string",
            "tags": [{
                "name": "string",
                "values": ["string"],
            }],
        }],
        "sns_topic_or_subscription_arns": [{
            "arn": "string",
            "is_success": False,
        }],
        "tag_filters": [{
            "namespace": "string",
            "tags": ["string"],
            "type": "string",
        }],
        "bucket_name": "string",
        "use_versioned_api": False,
    },
    authentication={
        "type": "string",
        "private_key_id": "string",
        "region": "string",
        "client_email": "string",
        "client_id": "string",
        "client_secret": "string",
        "client_x509_cert_url": "string",
        "private_key": "string",
        "access_key": "string",
        "auth_uri": "string",
        "role_arn": "string",
        "project_id": "string",
        "secret_key": "string",
        "shared_access_policy_key": "string",
        "shared_access_policy_name": "string",
        "tenant_id": "string",
        "token_uri": "string",
        "auth_provider_x509_cert_url": "string",
    },
    collector_id=0,
    filters=[{
        "filter_type": "string",
        "name": "string",
        "regexp": "string",
        "mask": "string",
    }],
    host_name="string",
    cutoff_timestamp=0,
    default_date_formats=[{
        "format": "string",
        "locator": "string",
    }],
    description="string",
    fields={
        "string": "string",
    },
    category="string",
    force_timezone=False,
    hash_algorithm="string",
    cutoff_relative_time="string",
    manual_prefix_regexp="string",
    multiline_processing_enabled=False,
    name="string",
    automatic_date_parsing=False,
    paused=False,
    scan_interval=0,
    timezone="string",
    use_autoline_matching=False)
Copy
const azureMetricsSourceResource = new sumologic.AzureMetricsSource("azureMetricsSourceResource", {
    contentType: "string",
    path: {
        type: "string",
        limitToServices: ["string"],
        region: "string",
        customServices: [{
            prefixes: ["string"],
            serviceName: "string",
        }],
        environment: "string",
        eventHubName: "string",
        limitToNamespaces: ["string"],
        consumerGroup: "string",
        namespace: "string",
        limitToRegions: ["string"],
        pathExpression: "string",
        azureTagFilters: [{
            type: "string",
            namespace: "string",
            tags: [{
                name: "string",
                values: ["string"],
            }],
        }],
        snsTopicOrSubscriptionArns: [{
            arn: "string",
            isSuccess: false,
        }],
        tagFilters: [{
            namespace: "string",
            tags: ["string"],
            type: "string",
        }],
        bucketName: "string",
        useVersionedApi: false,
    },
    authentication: {
        type: "string",
        privateKeyId: "string",
        region: "string",
        clientEmail: "string",
        clientId: "string",
        clientSecret: "string",
        clientX509CertUrl: "string",
        privateKey: "string",
        accessKey: "string",
        authUri: "string",
        roleArn: "string",
        projectId: "string",
        secretKey: "string",
        sharedAccessPolicyKey: "string",
        sharedAccessPolicyName: "string",
        tenantId: "string",
        tokenUri: "string",
        authProviderX509CertUrl: "string",
    },
    collectorId: 0,
    filters: [{
        filterType: "string",
        name: "string",
        regexp: "string",
        mask: "string",
    }],
    hostName: "string",
    cutoffTimestamp: 0,
    defaultDateFormats: [{
        format: "string",
        locator: "string",
    }],
    description: "string",
    fields: {
        string: "string",
    },
    category: "string",
    forceTimezone: false,
    hashAlgorithm: "string",
    cutoffRelativeTime: "string",
    manualPrefixRegexp: "string",
    multilineProcessingEnabled: false,
    name: "string",
    automaticDateParsing: false,
    paused: false,
    scanInterval: 0,
    timezone: "string",
    useAutolineMatching: false,
});
Copy
type: sumologic:AzureMetricsSource
properties:
    authentication:
        accessKey: string
        authProviderX509CertUrl: string
        authUri: string
        clientEmail: string
        clientId: string
        clientSecret: string
        clientX509CertUrl: string
        privateKey: string
        privateKeyId: string
        projectId: string
        region: string
        roleArn: string
        secretKey: string
        sharedAccessPolicyKey: string
        sharedAccessPolicyName: string
        tenantId: string
        tokenUri: string
        type: string
    automaticDateParsing: false
    category: string
    collectorId: 0
    contentType: string
    cutoffRelativeTime: string
    cutoffTimestamp: 0
    defaultDateFormats:
        - format: string
          locator: string
    description: string
    fields:
        string: string
    filters:
        - filterType: string
          mask: string
          name: string
          regexp: string
    forceTimezone: false
    hashAlgorithm: string
    hostName: string
    manualPrefixRegexp: string
    multilineProcessingEnabled: false
    name: string
    path:
        azureTagFilters:
            - namespace: string
              tags:
                - name: string
                  values:
                    - string
              type: string
        bucketName: string
        consumerGroup: string
        customServices:
            - prefixes:
                - string
              serviceName: string
        environment: string
        eventHubName: string
        limitToNamespaces:
            - string
        limitToRegions:
            - string
        limitToServices:
            - string
        namespace: string
        pathExpression: string
        region: string
        snsTopicOrSubscriptionArns:
            - arn: string
              isSuccess: false
        tagFilters:
            - namespace: string
              tags:
                - string
              type: string
        type: string
        useVersionedApi: false
    paused: false
    scanInterval: 0
    timezone: string
    useAutolineMatching: false
Copy

AzureMetricsSource 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 AzureMetricsSource resource accepts the following input properties:

Authentication
This property is required.
Changes to this property will trigger replacement.
Pulumi.SumoLogic.Inputs.AzureMetricsSourceAuthentication
CollectorId
This property is required.
Changes to this property will trigger replacement.
int
ContentType
This property is required.
Changes to this property will trigger replacement.
string
Path
This property is required.
Changes to this property will trigger replacement.
Pulumi.SumoLogic.Inputs.AzureMetricsSourcePath
AutomaticDateParsing bool
Category string
CutoffRelativeTime Changes to this property will trigger replacement. string
CutoffTimestamp int
DefaultDateFormats List<Pulumi.SumoLogic.Inputs.AzureMetricsSourceDefaultDateFormat>
Description string
Fields Dictionary<string, string>
Filters List<Pulumi.SumoLogic.Inputs.AzureMetricsSourceFilter>
ForceTimezone bool
HashAlgorithm string
HostName string
ManualPrefixRegexp string
MultilineProcessingEnabled bool
Name string
Paused bool
ScanInterval int
Timezone string
UseAutolineMatching bool
Authentication
This property is required.
Changes to this property will trigger replacement.
AzureMetricsSourceAuthenticationArgs
CollectorId
This property is required.
Changes to this property will trigger replacement.
int
ContentType
This property is required.
Changes to this property will trigger replacement.
string
Path
This property is required.
Changes to this property will trigger replacement.
AzureMetricsSourcePathArgs
AutomaticDateParsing bool
Category string
CutoffRelativeTime Changes to this property will trigger replacement. string
CutoffTimestamp int
DefaultDateFormats []AzureMetricsSourceDefaultDateFormatArgs
Description string
Fields map[string]string
Filters []AzureMetricsSourceFilterArgs
ForceTimezone bool
HashAlgorithm string
HostName string
ManualPrefixRegexp string
MultilineProcessingEnabled bool
Name string
Paused bool
ScanInterval int
Timezone string
UseAutolineMatching bool
authentication
This property is required.
Changes to this property will trigger replacement.
AzureMetricsSourceAuthentication
collectorId
This property is required.
Changes to this property will trigger replacement.
Integer
contentType
This property is required.
Changes to this property will trigger replacement.
String
path
This property is required.
Changes to this property will trigger replacement.
AzureMetricsSourcePath
automaticDateParsing Boolean
category String
cutoffRelativeTime Changes to this property will trigger replacement. String
cutoffTimestamp Integer
defaultDateFormats List<AzureMetricsSourceDefaultDateFormat>
description String
fields Map<String,String>
filters List<AzureMetricsSourceFilter>
forceTimezone Boolean
hashAlgorithm String
hostName String
manualPrefixRegexp String
multilineProcessingEnabled Boolean
name String
paused Boolean
scanInterval Integer
timezone String
useAutolineMatching Boolean
authentication
This property is required.
Changes to this property will trigger replacement.
AzureMetricsSourceAuthentication
collectorId
This property is required.
Changes to this property will trigger replacement.
number
contentType
This property is required.
Changes to this property will trigger replacement.
string
path
This property is required.
Changes to this property will trigger replacement.
AzureMetricsSourcePath
automaticDateParsing boolean
category string
cutoffRelativeTime Changes to this property will trigger replacement. string
cutoffTimestamp number
defaultDateFormats AzureMetricsSourceDefaultDateFormat[]
description string
fields {[key: string]: string}
filters AzureMetricsSourceFilter[]
forceTimezone boolean
hashAlgorithm string
hostName string
manualPrefixRegexp string
multilineProcessingEnabled boolean
name string
paused boolean
scanInterval number
timezone string
useAutolineMatching boolean
authentication
This property is required.
Changes to this property will trigger replacement.
AzureMetricsSourceAuthenticationArgs
collector_id
This property is required.
Changes to this property will trigger replacement.
int
content_type
This property is required.
Changes to this property will trigger replacement.
str
path
This property is required.
Changes to this property will trigger replacement.
AzureMetricsSourcePathArgs
automatic_date_parsing bool
category str
cutoff_relative_time Changes to this property will trigger replacement. str
cutoff_timestamp int
default_date_formats Sequence[AzureMetricsSourceDefaultDateFormatArgs]
description str
fields Mapping[str, str]
filters Sequence[AzureMetricsSourceFilterArgs]
force_timezone bool
hash_algorithm str
host_name str
manual_prefix_regexp str
multiline_processing_enabled bool
name str
paused bool
scan_interval int
timezone str
use_autoline_matching bool
authentication
This property is required.
Changes to this property will trigger replacement.
Property Map
collectorId
This property is required.
Changes to this property will trigger replacement.
Number
contentType
This property is required.
Changes to this property will trigger replacement.
String
path
This property is required.
Changes to this property will trigger replacement.
Property Map
automaticDateParsing Boolean
category String
cutoffRelativeTime Changes to this property will trigger replacement. String
cutoffTimestamp Number
defaultDateFormats List<Property Map>
description String
fields Map<String>
filters List<Property Map>
forceTimezone Boolean
hashAlgorithm String
hostName String
manualPrefixRegexp String
multilineProcessingEnabled Boolean
name String
paused Boolean
scanInterval Number
timezone String
useAutolineMatching Boolean

Outputs

All input properties are implicitly available as output properties. Additionally, the AzureMetricsSource resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Url string
Id string
The provider-assigned unique ID for this managed resource.
Url string
id String
The provider-assigned unique ID for this managed resource.
url String
id string
The provider-assigned unique ID for this managed resource.
url string
id str
The provider-assigned unique ID for this managed resource.
url str
id String
The provider-assigned unique ID for this managed resource.
url String

Look up Existing AzureMetricsSource Resource

Get an existing AzureMetricsSource 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?: AzureMetricsSourceState, opts?: CustomResourceOptions): AzureMetricsSource
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        authentication: Optional[AzureMetricsSourceAuthenticationArgs] = None,
        automatic_date_parsing: Optional[bool] = None,
        category: Optional[str] = None,
        collector_id: Optional[int] = None,
        content_type: Optional[str] = None,
        cutoff_relative_time: Optional[str] = None,
        cutoff_timestamp: Optional[int] = None,
        default_date_formats: Optional[Sequence[AzureMetricsSourceDefaultDateFormatArgs]] = None,
        description: Optional[str] = None,
        fields: Optional[Mapping[str, str]] = None,
        filters: Optional[Sequence[AzureMetricsSourceFilterArgs]] = None,
        force_timezone: Optional[bool] = None,
        hash_algorithm: Optional[str] = None,
        host_name: Optional[str] = None,
        manual_prefix_regexp: Optional[str] = None,
        multiline_processing_enabled: Optional[bool] = None,
        name: Optional[str] = None,
        path: Optional[AzureMetricsSourcePathArgs] = None,
        paused: Optional[bool] = None,
        scan_interval: Optional[int] = None,
        timezone: Optional[str] = None,
        url: Optional[str] = None,
        use_autoline_matching: Optional[bool] = None) -> AzureMetricsSource
func GetAzureMetricsSource(ctx *Context, name string, id IDInput, state *AzureMetricsSourceState, opts ...ResourceOption) (*AzureMetricsSource, error)
public static AzureMetricsSource Get(string name, Input<string> id, AzureMetricsSourceState? state, CustomResourceOptions? opts = null)
public static AzureMetricsSource get(String name, Output<String> id, AzureMetricsSourceState state, CustomResourceOptions options)
resources:  _:    type: sumologic:AzureMetricsSource    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
Authentication Changes to this property will trigger replacement. Pulumi.SumoLogic.Inputs.AzureMetricsSourceAuthentication
AutomaticDateParsing bool
Category string
CollectorId Changes to this property will trigger replacement. int
ContentType Changes to this property will trigger replacement. string
CutoffRelativeTime Changes to this property will trigger replacement. string
CutoffTimestamp int
DefaultDateFormats List<Pulumi.SumoLogic.Inputs.AzureMetricsSourceDefaultDateFormat>
Description string
Fields Dictionary<string, string>
Filters List<Pulumi.SumoLogic.Inputs.AzureMetricsSourceFilter>
ForceTimezone bool
HashAlgorithm string
HostName string
ManualPrefixRegexp string
MultilineProcessingEnabled bool
Name string
Path Changes to this property will trigger replacement. Pulumi.SumoLogic.Inputs.AzureMetricsSourcePath
Paused bool
ScanInterval int
Timezone string
Url string
UseAutolineMatching bool
Authentication Changes to this property will trigger replacement. AzureMetricsSourceAuthenticationArgs
AutomaticDateParsing bool
Category string
CollectorId Changes to this property will trigger replacement. int
ContentType Changes to this property will trigger replacement. string
CutoffRelativeTime Changes to this property will trigger replacement. string
CutoffTimestamp int
DefaultDateFormats []AzureMetricsSourceDefaultDateFormatArgs
Description string
Fields map[string]string
Filters []AzureMetricsSourceFilterArgs
ForceTimezone bool
HashAlgorithm string
HostName string
ManualPrefixRegexp string
MultilineProcessingEnabled bool
Name string
Path Changes to this property will trigger replacement. AzureMetricsSourcePathArgs
Paused bool
ScanInterval int
Timezone string
Url string
UseAutolineMatching bool
authentication Changes to this property will trigger replacement. AzureMetricsSourceAuthentication
automaticDateParsing Boolean
category String
collectorId Changes to this property will trigger replacement. Integer
contentType Changes to this property will trigger replacement. String
cutoffRelativeTime Changes to this property will trigger replacement. String
cutoffTimestamp Integer
defaultDateFormats List<AzureMetricsSourceDefaultDateFormat>
description String
fields Map<String,String>
filters List<AzureMetricsSourceFilter>
forceTimezone Boolean
hashAlgorithm String
hostName String
manualPrefixRegexp String
multilineProcessingEnabled Boolean
name String
path Changes to this property will trigger replacement. AzureMetricsSourcePath
paused Boolean
scanInterval Integer
timezone String
url String
useAutolineMatching Boolean
authentication Changes to this property will trigger replacement. AzureMetricsSourceAuthentication
automaticDateParsing boolean
category string
collectorId Changes to this property will trigger replacement. number
contentType Changes to this property will trigger replacement. string
cutoffRelativeTime Changes to this property will trigger replacement. string
cutoffTimestamp number
defaultDateFormats AzureMetricsSourceDefaultDateFormat[]
description string
fields {[key: string]: string}
filters AzureMetricsSourceFilter[]
forceTimezone boolean
hashAlgorithm string
hostName string
manualPrefixRegexp string
multilineProcessingEnabled boolean
name string
path Changes to this property will trigger replacement. AzureMetricsSourcePath
paused boolean
scanInterval number
timezone string
url string
useAutolineMatching boolean
authentication Changes to this property will trigger replacement. AzureMetricsSourceAuthenticationArgs
automatic_date_parsing bool
category str
collector_id Changes to this property will trigger replacement. int
content_type Changes to this property will trigger replacement. str
cutoff_relative_time Changes to this property will trigger replacement. str
cutoff_timestamp int
default_date_formats Sequence[AzureMetricsSourceDefaultDateFormatArgs]
description str
fields Mapping[str, str]
filters Sequence[AzureMetricsSourceFilterArgs]
force_timezone bool
hash_algorithm str
host_name str
manual_prefix_regexp str
multiline_processing_enabled bool
name str
path Changes to this property will trigger replacement. AzureMetricsSourcePathArgs
paused bool
scan_interval int
timezone str
url str
use_autoline_matching bool
authentication Changes to this property will trigger replacement. Property Map
automaticDateParsing Boolean
category String
collectorId Changes to this property will trigger replacement. Number
contentType Changes to this property will trigger replacement. String
cutoffRelativeTime Changes to this property will trigger replacement. String
cutoffTimestamp Number
defaultDateFormats List<Property Map>
description String
fields Map<String>
filters List<Property Map>
forceTimezone Boolean
hashAlgorithm String
hostName String
manualPrefixRegexp String
multilineProcessingEnabled Boolean
name String
path Changes to this property will trigger replacement. Property Map
paused Boolean
scanInterval Number
timezone String
url String
useAutolineMatching Boolean

Supporting Types

AzureMetricsSourceAuthentication
, AzureMetricsSourceAuthenticationArgs

Type This property is required. string
AccessKey string
AuthProviderX509CertUrl string
AuthUri string
ClientEmail string
ClientId string
ClientSecret string
ClientX509CertUrl string
PrivateKey string
PrivateKeyId string
ProjectId string
Region string
RoleArn string
SecretKey string
SharedAccessPolicyKey string
SharedAccessPolicyName string
TenantId string
TokenUri string
Type This property is required. string
AccessKey string
AuthProviderX509CertUrl string
AuthUri string
ClientEmail string
ClientId string
ClientSecret string
ClientX509CertUrl string
PrivateKey string
PrivateKeyId string
ProjectId string
Region string
RoleArn string
SecretKey string
SharedAccessPolicyKey string
SharedAccessPolicyName string
TenantId string
TokenUri string
type This property is required. String
accessKey String
authProviderX509CertUrl String
authUri String
clientEmail String
clientId String
clientSecret String
clientX509CertUrl String
privateKey String
privateKeyId String
projectId String
region String
roleArn String
secretKey String
sharedAccessPolicyKey String
sharedAccessPolicyName String
tenantId String
tokenUri String
type This property is required. string
accessKey string
authProviderX509CertUrl string
authUri string
clientEmail string
clientId string
clientSecret string
clientX509CertUrl string
privateKey string
privateKeyId string
projectId string
region string
roleArn string
secretKey string
sharedAccessPolicyKey string
sharedAccessPolicyName string
tenantId string
tokenUri string
type This property is required. String
accessKey String
authProviderX509CertUrl String
authUri String
clientEmail String
clientId String
clientSecret String
clientX509CertUrl String
privateKey String
privateKeyId String
projectId String
region String
roleArn String
secretKey String
sharedAccessPolicyKey String
sharedAccessPolicyName String
tenantId String
tokenUri String

AzureMetricsSourceDefaultDateFormat
, AzureMetricsSourceDefaultDateFormatArgs

Format This property is required. string
Locator string
Format This property is required. string
Locator string
format This property is required. String
locator String
format This property is required. string
locator string
format This property is required. str
locator str
format This property is required. String
locator String

AzureMetricsSourceFilter
, AzureMetricsSourceFilterArgs

FilterType This property is required. string
Name This property is required. string
Regexp This property is required. string
Mask string
FilterType This property is required. string
Name This property is required. string
Regexp This property is required. string
Mask string
filterType This property is required. String
name This property is required. String
regexp This property is required. String
mask String
filterType This property is required. string
name This property is required. string
regexp This property is required. string
mask string
filter_type This property is required. str
name This property is required. str
regexp This property is required. str
mask str
filterType This property is required. String
name This property is required. String
regexp This property is required. String
mask String

AzureMetricsSourcePath
, AzureMetricsSourcePathArgs

AzureMetricsSourcePathAzureTagFilter
, AzureMetricsSourcePathAzureTagFilterArgs

Type This property is required. string
Namespace string
Tags []AzureMetricsSourcePathAzureTagFilterTag
type This property is required. String
namespace String
tags List<AzureMetricsSourcePathAzureTagFilterTag>
type This property is required. string
namespace string
tags AzureMetricsSourcePathAzureTagFilterTag[]
type This property is required. String
namespace String
tags List<Property Map>

AzureMetricsSourcePathAzureTagFilterTag
, AzureMetricsSourcePathAzureTagFilterTagArgs

Name This property is required. string
Values List<string>
Name This property is required. string
Values []string
name This property is required. String
values List<String>
name This property is required. string
values string[]
name This property is required. str
values Sequence[str]
name This property is required. String
values List<String>

AzureMetricsSourcePathCustomService
, AzureMetricsSourcePathCustomServiceArgs

Prefixes List<string>
ServiceName string
Prefixes []string
ServiceName string
prefixes List<String>
serviceName String
prefixes string[]
serviceName string
prefixes Sequence[str]
service_name str
prefixes List<String>
serviceName String

AzureMetricsSourcePathSnsTopicOrSubscriptionArn
, AzureMetricsSourcePathSnsTopicOrSubscriptionArnArgs

Arn string
IsSuccess bool
Arn string
IsSuccess bool
arn String
isSuccess Boolean
arn string
isSuccess boolean
arn str
is_success bool
arn String
isSuccess Boolean

AzureMetricsSourcePathTagFilter
, AzureMetricsSourcePathTagFilterArgs

Namespace string
Tags List<string>
Type string
Namespace string
Tags []string
Type string
namespace String
tags List<String>
type String
namespace string
tags string[]
type string
namespace str
tags Sequence[str]
type str
namespace String
tags List<String>
type String

Package Details

Repository
Sumo Logic pulumi/pulumi-sumologic
License
Apache-2.0
Notes
This Pulumi package is based on the sumologic Terraform Provider.