sumologic.AzureMetricsSource
Provides a Sumologic Azure Metrics Source
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,
collector_id: Optional[float] = None,
path: Optional[AzureMetricsSourcePathArgs] = None,
authentication: Optional[AzureMetricsSourceAuthenticationArgs] = None,
content_type: Optional[str] = None,
fields: Optional[Mapping[str, str]] = None,
hash_algorithm: Optional[str] = None,
cutoff_relative_time: Optional[str] = None,
cutoff_timestamp: Optional[float] = None,
default_date_formats: Optional[Sequence[AzureMetricsSourceDefaultDateFormatArgs]] = None,
description: Optional[str] = None,
azure_metrics_source_id: Optional[str] = None,
filters: Optional[Sequence[AzureMetricsSourceFilterArgs]] = None,
force_timezone: Optional[bool] = None,
category: Optional[str] = None,
host_name: 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[float] = 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 string
- The unique name of the resource.
- args AzureMetricsSourceArgs
- 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 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 string
- The unique name of the resource.
- args AzureMetricsSourceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AzureMetricsSourceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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()
{
CollectorId = 0,
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",
},
ContentType = "string",
Fields =
{
{ "string", "string" },
},
HashAlgorithm = "string",
CutoffRelativeTime = "string",
CutoffTimestamp = 0,
DefaultDateFormats = new[]
{
new Sumologic.Inputs.AzureMetricsSourceDefaultDateFormatArgs
{
Format = "string",
Locator = "string",
},
},
Description = "string",
AzureMetricsSourceId = "string",
Filters = new[]
{
new Sumologic.Inputs.AzureMetricsSourceFilterArgs
{
FilterType = "string",
Name = "string",
Regexp = "string",
Mask = "string",
},
},
ForceTimezone = false,
Category = "string",
HostName = "string",
ManualPrefixRegexp = "string",
MultilineProcessingEnabled = false,
Name = "string",
AutomaticDateParsing = false,
Paused = false,
ScanInterval = 0,
Timezone = "string",
UseAutolineMatching = false,
});
example, err := sumologic.NewAzureMetricsSource(ctx, "azureMetricsSourceResource", &sumologic.AzureMetricsSourceArgs{
CollectorId: pulumi.Float64(0),
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"),
},
ContentType: pulumi.String("string"),
Fields: pulumi.StringMap{
"string": pulumi.String("string"),
},
HashAlgorithm: pulumi.String("string"),
CutoffRelativeTime: pulumi.String("string"),
CutoffTimestamp: pulumi.Float64(0),
DefaultDateFormats: sumologic.AzureMetricsSourceDefaultDateFormatArray{
&sumologic.AzureMetricsSourceDefaultDateFormatArgs{
Format: pulumi.String("string"),
Locator: pulumi.String("string"),
},
},
Description: pulumi.String("string"),
AzureMetricsSourceId: pulumi.String("string"),
Filters: sumologic.AzureMetricsSourceFilterArray{
&sumologic.AzureMetricsSourceFilterArgs{
FilterType: pulumi.String("string"),
Name: pulumi.String("string"),
Regexp: pulumi.String("string"),
Mask: pulumi.String("string"),
},
},
ForceTimezone: pulumi.Bool(false),
Category: pulumi.String("string"),
HostName: 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.Float64(0),
Timezone: pulumi.String("string"),
UseAutolineMatching: pulumi.Bool(false),
})
var azureMetricsSourceResource = new AzureMetricsSource("azureMetricsSourceResource", AzureMetricsSourceArgs.builder()
.collectorId(0.0)
.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())
.contentType("string")
.fields(Map.of("string", "string"))
.hashAlgorithm("string")
.cutoffRelativeTime("string")
.cutoffTimestamp(0.0)
.defaultDateFormats(AzureMetricsSourceDefaultDateFormatArgs.builder()
.format("string")
.locator("string")
.build())
.description("string")
.azureMetricsSourceId("string")
.filters(AzureMetricsSourceFilterArgs.builder()
.filterType("string")
.name("string")
.regexp("string")
.mask("string")
.build())
.forceTimezone(false)
.category("string")
.hostName("string")
.manualPrefixRegexp("string")
.multilineProcessingEnabled(false)
.name("string")
.automaticDateParsing(false)
.paused(false)
.scanInterval(0.0)
.timezone("string")
.useAutolineMatching(false)
.build());
azure_metrics_source_resource = sumologic.AzureMetricsSource("azureMetricsSourceResource",
collector_id=0,
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",
},
content_type="string",
fields={
"string": "string",
},
hash_algorithm="string",
cutoff_relative_time="string",
cutoff_timestamp=0,
default_date_formats=[{
"format": "string",
"locator": "string",
}],
description="string",
azure_metrics_source_id="string",
filters=[{
"filter_type": "string",
"name": "string",
"regexp": "string",
"mask": "string",
}],
force_timezone=False,
category="string",
host_name="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)
const azureMetricsSourceResource = new sumologic.AzureMetricsSource("azureMetricsSourceResource", {
collectorId: 0,
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",
},
contentType: "string",
fields: {
string: "string",
},
hashAlgorithm: "string",
cutoffRelativeTime: "string",
cutoffTimestamp: 0,
defaultDateFormats: [{
format: "string",
locator: "string",
}],
description: "string",
azureMetricsSourceId: "string",
filters: [{
filterType: "string",
name: "string",
regexp: "string",
mask: "string",
}],
forceTimezone: false,
category: "string",
hostName: "string",
manualPrefixRegexp: "string",
multilineProcessingEnabled: false,
name: "string",
automaticDateParsing: false,
paused: false,
scanInterval: 0,
timezone: "string",
useAutolineMatching: false,
});
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
azureMetricsSourceId: string
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
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
Azure
Metrics Source Authentication - Authentication details for connecting to ingest metrics from Azure.
- Collector
Id double - Content
Type string - Must be
AzureMetrics. - Path
Azure
Metrics Source Path - Automatic
Date boolParsing - Azure
Metrics stringSource Id - Category string
- Cutoff
Relative stringTime - Cutoff
Timestamp double - Default
Date List<AzureFormats Metrics Source Default Date Format> - Description string
- Fields Dictionary<string, string>
- Filters
List<Azure
Metrics Source Filter> - Force
Timezone bool - Hash
Algorithm string - Host
Name string - Manual
Prefix stringRegexp - Multiline
Processing boolEnabled - Name string
- Paused bool
- Scan
Interval double - Timezone string
- Use
Autoline boolMatching
- Authentication
Azure
Metrics Source Authentication Args - Authentication details for connecting to ingest metrics from Azure.
- Collector
Id float64 - Content
Type string - Must be
AzureMetrics. - Path
Azure
Metrics Source Path Args - Automatic
Date boolParsing - Azure
Metrics stringSource Id - Category string
- Cutoff
Relative stringTime - Cutoff
Timestamp float64 - Default
Date []AzureFormats Metrics Source Default Date Format Args - Description string
- Fields map[string]string
- Filters
[]Azure
Metrics Source Filter Args - Force
Timezone bool - Hash
Algorithm string - Host
Name string - Manual
Prefix stringRegexp - Multiline
Processing boolEnabled - Name string
- Paused bool
- Scan
Interval float64 - Timezone string
- Use
Autoline boolMatching
- authentication
Azure
Metrics Source Authentication - Authentication details for connecting to ingest metrics from Azure.
- collector
Id Double - content
Type String - Must be
AzureMetrics. - path
Azure
Metrics Source Path - automatic
Date BooleanParsing - azure
Metrics StringSource Id - category String
- cutoff
Relative StringTime - cutoff
Timestamp Double - default
Date List<AzureFormats Metrics Source Default Date Format> - description String
- fields Map<String,String>
- filters
List<Azure
Metrics Source Filter> - force
Timezone Boolean - hash
Algorithm String - host
Name String - manual
Prefix StringRegexp - multiline
Processing BooleanEnabled - name String
- paused Boolean
- scan
Interval Double - timezone String
- use
Autoline BooleanMatching
- authentication
Azure
Metrics Source Authentication - Authentication details for connecting to ingest metrics from Azure.
- collector
Id number - content
Type string - Must be
AzureMetrics. - path
Azure
Metrics Source Path - automatic
Date booleanParsing - azure
Metrics stringSource Id - category string
- cutoff
Relative stringTime - cutoff
Timestamp number - default
Date AzureFormats Metrics Source Default Date Format[] - description string
- fields {[key: string]: string}
- filters
Azure
Metrics Source Filter[] - force
Timezone boolean - hash
Algorithm string - host
Name string - manual
Prefix stringRegexp - multiline
Processing booleanEnabled - name string
- paused boolean
- scan
Interval number - timezone string
- use
Autoline booleanMatching
- authentication
Azure
Metrics Source Authentication Args - Authentication details for connecting to ingest metrics from Azure.
- collector_
id float - content_
type str - Must be
AzureMetrics. - path
Azure
Metrics Source Path Args - automatic_
date_ boolparsing - azure_
metrics_ strsource_ id - category str
- cutoff_
relative_ strtime - cutoff_
timestamp float - default_
date_ Sequence[Azureformats Metrics Source Default Date Format Args] - description str
- fields Mapping[str, str]
- filters
Sequence[Azure
Metrics Source Filter Args] - force_
timezone bool - hash_
algorithm str - host_
name str - manual_
prefix_ strregexp - multiline_
processing_ boolenabled - name str
- paused bool
- scan_
interval float - timezone str
- use_
autoline_ boolmatching
- authentication Property Map
- Authentication details for connecting to ingest metrics from Azure.
- collector
Id Number - content
Type String - Must be
AzureMetrics. - path Property Map
- automatic
Date BooleanParsing - azure
Metrics StringSource Id - category String
- cutoff
Relative StringTime - cutoff
Timestamp Number - default
Date List<Property Map>Formats - description String
- fields Map<String>
- filters List<Property Map>
- force
Timezone Boolean - hash
Algorithm String - host
Name String - manual
Prefix StringRegexp - multiline
Processing BooleanEnabled - name String
- paused Boolean
- scan
Interval Number - timezone String
- use
Autoline BooleanMatching
Outputs
All input properties are implicitly available as output properties. Additionally, the AzureMetricsSource resource produces the following output properties:
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,
azure_metrics_source_id: Optional[str] = None,
category: Optional[str] = None,
collector_id: Optional[float] = None,
content_type: Optional[str] = None,
cutoff_relative_time: Optional[str] = None,
cutoff_timestamp: Optional[float] = 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[float] = None,
timezone: Optional[str] = None,
url: Optional[str] = None,
use_autoline_matching: Optional[bool] = None) -> AzureMetricsSourcefunc 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
- 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.
- Authentication
Azure
Metrics Source Authentication - Authentication details for connecting to ingest metrics from Azure.
- Automatic
Date boolParsing - Azure
Metrics stringSource Id - Category string
- Collector
Id double - Content
Type string - Must be
AzureMetrics. - Cutoff
Relative stringTime - Cutoff
Timestamp double - Default
Date List<AzureFormats Metrics Source Default Date Format> - Description string
- Fields Dictionary<string, string>
- Filters
List<Azure
Metrics Source Filter> - Force
Timezone bool - Hash
Algorithm string - Host
Name string - Manual
Prefix stringRegexp - Multiline
Processing boolEnabled - Name string
- Path
Azure
Metrics Source Path - Paused bool
- Scan
Interval double - Timezone string
- Url string
- Use
Autoline boolMatching
- Authentication
Azure
Metrics Source Authentication Args - Authentication details for connecting to ingest metrics from Azure.
- Automatic
Date boolParsing - Azure
Metrics stringSource Id - Category string
- Collector
Id float64 - Content
Type string - Must be
AzureMetrics. - Cutoff
Relative stringTime - Cutoff
Timestamp float64 - Default
Date []AzureFormats Metrics Source Default Date Format Args - Description string
- Fields map[string]string
- Filters
[]Azure
Metrics Source Filter Args - Force
Timezone bool - Hash
Algorithm string - Host
Name string - Manual
Prefix stringRegexp - Multiline
Processing boolEnabled - Name string
- Path
Azure
Metrics Source Path Args - Paused bool
- Scan
Interval float64 - Timezone string
- Url string
- Use
Autoline boolMatching
- authentication
Azure
Metrics Source Authentication - Authentication details for connecting to ingest metrics from Azure.
- automatic
Date BooleanParsing - azure
Metrics StringSource Id - category String
- collector
Id Double - content
Type String - Must be
AzureMetrics. - cutoff
Relative StringTime - cutoff
Timestamp Double - default
Date List<AzureFormats Metrics Source Default Date Format> - description String
- fields Map<String,String>
- filters
List<Azure
Metrics Source Filter> - force
Timezone Boolean - hash
Algorithm String - host
Name String - manual
Prefix StringRegexp - multiline
Processing BooleanEnabled - name String
- path
Azure
Metrics Source Path - paused Boolean
- scan
Interval Double - timezone String
- url String
- use
Autoline BooleanMatching
- authentication
Azure
Metrics Source Authentication - Authentication details for connecting to ingest metrics from Azure.
- automatic
Date booleanParsing - azure
Metrics stringSource Id - category string
- collector
Id number - content
Type string - Must be
AzureMetrics. - cutoff
Relative stringTime - cutoff
Timestamp number - default
Date AzureFormats Metrics Source Default Date Format[] - description string
- fields {[key: string]: string}
- filters
Azure
Metrics Source Filter[] - force
Timezone boolean - hash
Algorithm string - host
Name string - manual
Prefix stringRegexp - multiline
Processing booleanEnabled - name string
- path
Azure
Metrics Source Path - paused boolean
- scan
Interval number - timezone string
- url string
- use
Autoline booleanMatching
- authentication
Azure
Metrics Source Authentication Args - Authentication details for connecting to ingest metrics from Azure.
- automatic_
date_ boolparsing - azure_
metrics_ strsource_ id - category str
- collector_
id float - content_
type str - Must be
AzureMetrics. - cutoff_
relative_ strtime - cutoff_
timestamp float - default_
date_ Sequence[Azureformats Metrics Source Default Date Format Args] - description str
- fields Mapping[str, str]
- filters
Sequence[Azure
Metrics Source Filter Args] - force_
timezone bool - hash_
algorithm str - host_
name str - manual_
prefix_ strregexp - multiline_
processing_ boolenabled - name str
- path
Azure
Metrics Source Path Args - paused bool
- scan_
interval float - timezone str
- url str
- use_
autoline_ boolmatching
- authentication Property Map
- Authentication details for connecting to ingest metrics from Azure.
- automatic
Date BooleanParsing - azure
Metrics StringSource Id - category String
- collector
Id Number - content
Type String - Must be
AzureMetrics. - cutoff
Relative StringTime - cutoff
Timestamp Number - default
Date List<Property Map>Formats - description String
- fields Map<String>
- filters List<Property Map>
- force
Timezone Boolean - hash
Algorithm String - host
Name String - manual
Prefix StringRegexp - multiline
Processing BooleanEnabled - name String
- path Property Map
- paused Boolean
- scan
Interval Number - timezone String
- url String
- use
Autoline BooleanMatching
Supporting Types
AzureMetricsSourceAuthentication, AzureMetricsSourceAuthenticationArgs
- Type string
- Must be
AzureClientSecretAuthentication. - Access
Key string - Auth
Provider stringX509Cert Url - Auth
Uri string - Client
Email string - Client
Id string - Your client id collected from Azure platform.
- Client
Secret string - Your client secret collected from Azure platform.
- Client
X509Cert stringUrl - Private
Key string - Private
Key stringId - Project
Id string - Region string
- Role
Arn string - Secret
Key string - string
- string
- Tenant
Id string - Your tenant id collected from Azure platform.
- Token
Uri string
- Type string
- Must be
AzureClientSecretAuthentication. - Access
Key string - Auth
Provider stringX509Cert Url - Auth
Uri string - Client
Email string - Client
Id string - Your client id collected from Azure platform.
- Client
Secret string - Your client secret collected from Azure platform.
- Client
X509Cert stringUrl - Private
Key string - Private
Key stringId - Project
Id string - Region string
- Role
Arn string - Secret
Key string - string
- string
- Tenant
Id string - Your tenant id collected from Azure platform.
- Token
Uri string
- type String
- Must be
AzureClientSecretAuthentication. - access
Key String - auth
Provider StringX509Cert Url - auth
Uri String - client
Email String - client
Id String - Your client id collected from Azure platform.
- client
Secret String - Your client secret collected from Azure platform.
- client
X509Cert StringUrl - private
Key String - private
Key StringId - project
Id String - region String
- role
Arn String - secret
Key String - String
- String
- tenant
Id String - Your tenant id collected from Azure platform.
- token
Uri String
- type string
- Must be
AzureClientSecretAuthentication. - access
Key string - auth
Provider stringX509Cert Url - auth
Uri string - client
Email string - client
Id string - Your client id collected from Azure platform.
- client
Secret string - Your client secret collected from Azure platform.
- client
X509Cert stringUrl - private
Key string - private
Key stringId - project
Id string - region string
- role
Arn string - secret
Key string - string
- string
- tenant
Id string - Your tenant id collected from Azure platform.
- token
Uri string
- type str
- Must be
AzureClientSecretAuthentication. - access_
key str - auth_
provider_ strx509_ cert_ url - auth_
uri str - client_
email str - client_
id str - Your client id collected from Azure platform.
- client_
secret str - Your client secret collected from Azure platform.
- client_
x509_ strcert_ url - private_
key str - private_
key_ strid - project_
id str - region str
- role_
arn str - secret_
key str - str
- str
- tenant_
id str - Your tenant id collected from Azure platform.
- token_
uri str
- type String
- Must be
AzureClientSecretAuthentication. - access
Key String - auth
Provider StringX509Cert Url - auth
Uri String - client
Email String - client
Id String - Your client id collected from Azure platform.
- client
Secret String - Your client secret collected from Azure platform.
- client
X509Cert StringUrl - private
Key String - private
Key StringId - project
Id String - region String
- role
Arn String - secret
Key String - String
- String
- tenant
Id String - Your tenant id collected from Azure platform.
- token
Uri String
AzureMetricsSourceDefaultDateFormat, AzureMetricsSourceDefaultDateFormatArgs
AzureMetricsSourceFilter, AzureMetricsSourceFilterArgs
- Filter
Type string - Name string
- The name of the tag.
- Regexp string
- Mask string
- Filter
Type string - Name string
- The name of the tag.
- Regexp string
- Mask string
- filter
Type String - name String
- The name of the tag.
- regexp String
- mask String
- filter
Type string - name string
- The name of the tag.
- regexp string
- mask string
- filter_
type str - name str
- The name of the tag.
- regexp str
- mask str
- filter
Type String - name String
- The name of the tag.
- regexp String
- mask String
AzureMetricsSourcePath, AzureMetricsSourcePathArgs
- Type string
- Azure
Tag List<AzureFilters Metrics Source Path Azure Tag Filter> - Tag filters allow you to filter the Azure metrics by the tags you have assigned to your Azure resources. You can define tag filters for each supported namespace. If you do not define any tag filters, all metrics will be collected for the namespaces configured above.
- Bucket
Name string - Consumer
Group string - Custom
Services List<AzureMetrics Source Path Custom Service> - Environment string
- The Azure environment from which to collect metrics.
- Event
Hub stringName - Limit
To List<string>Namespaces - The list of namespaces from which to collect metrics. By default all namespaces are selected.
- Limit
To List<string>Regions - The list of regions from which to collect metrics. By default all regions are selected.
- Limit
To List<string>Services - Namespace string
- Namespace for which you want to define the tag filters.
- Path
Expression string - Region string
- Sns
Topic List<AzureOr Subscription Arns Metrics Source Path Sns Topic Or Subscription Arn> - Tag
Filters List<AzureMetrics Source Path Tag Filter> - Use
Versioned boolApi
- Type string
- Azure
Tag []AzureFilters Metrics Source Path Azure Tag Filter - Tag filters allow you to filter the Azure metrics by the tags you have assigned to your Azure resources. You can define tag filters for each supported namespace. If you do not define any tag filters, all metrics will be collected for the namespaces configured above.
- Bucket
Name string - Consumer
Group string - Custom
Services []AzureMetrics Source Path Custom Service - Environment string
- The Azure environment from which to collect metrics.
- Event
Hub stringName - Limit
To []stringNamespaces - The list of namespaces from which to collect metrics. By default all namespaces are selected.
- Limit
To []stringRegions - The list of regions from which to collect metrics. By default all regions are selected.
- Limit
To []stringServices - Namespace string
- Namespace for which you want to define the tag filters.
- Path
Expression string - Region string
- Sns
Topic []AzureOr Subscription Arns Metrics Source Path Sns Topic Or Subscription Arn - Tag
Filters []AzureMetrics Source Path Tag Filter - Use
Versioned boolApi
- type String
- azure
Tag List<AzureFilters Metrics Source Path Azure Tag Filter> - Tag filters allow you to filter the Azure metrics by the tags you have assigned to your Azure resources. You can define tag filters for each supported namespace. If you do not define any tag filters, all metrics will be collected for the namespaces configured above.
- bucket
Name String - consumer
Group String - custom
Services List<AzureMetrics Source Path Custom Service> - environment String
- The Azure environment from which to collect metrics.
- event
Hub StringName - limit
To List<String>Namespaces - The list of namespaces from which to collect metrics. By default all namespaces are selected.
- limit
To List<String>Regions - The list of regions from which to collect metrics. By default all regions are selected.
- limit
To List<String>Services - namespace String
- Namespace for which you want to define the tag filters.
- path
Expression String - region String
- sns
Topic List<AzureOr Subscription Arns Metrics Source Path Sns Topic Or Subscription Arn> - tag
Filters List<AzureMetrics Source Path Tag Filter> - use
Versioned BooleanApi
- type string
- azure
Tag AzureFilters Metrics Source Path Azure Tag Filter[] - Tag filters allow you to filter the Azure metrics by the tags you have assigned to your Azure resources. You can define tag filters for each supported namespace. If you do not define any tag filters, all metrics will be collected for the namespaces configured above.
- bucket
Name string - consumer
Group string - custom
Services AzureMetrics Source Path Custom Service[] - environment string
- The Azure environment from which to collect metrics.
- event
Hub stringName - limit
To string[]Namespaces - The list of namespaces from which to collect metrics. By default all namespaces are selected.
- limit
To string[]Regions - The list of regions from which to collect metrics. By default all regions are selected.
- limit
To string[]Services - namespace string
- Namespace for which you want to define the tag filters.
- path
Expression string - region string
- sns
Topic AzureOr Subscription Arns Metrics Source Path Sns Topic Or Subscription Arn[] - tag
Filters AzureMetrics Source Path Tag Filter[] - use
Versioned booleanApi
- type str
- azure_
tag_ Sequence[Azurefilters Metrics Source Path Azure Tag Filter] - Tag filters allow you to filter the Azure metrics by the tags you have assigned to your Azure resources. You can define tag filters for each supported namespace. If you do not define any tag filters, all metrics will be collected for the namespaces configured above.
- bucket_
name str - consumer_
group str - custom_
services Sequence[AzureMetrics Source Path Custom Service] - environment str
- The Azure environment from which to collect metrics.
- event_
hub_ strname - limit_
to_ Sequence[str]namespaces - The list of namespaces from which to collect metrics. By default all namespaces are selected.
- limit_
to_ Sequence[str]regions - The list of regions from which to collect metrics. By default all regions are selected.
- limit_
to_ Sequence[str]services - namespace str
- Namespace for which you want to define the tag filters.
- path_
expression str - region str
- sns_
topic_ Sequence[Azureor_ subscription_ arns Metrics Source Path Sns Topic Or Subscription Arn] - tag_
filters Sequence[AzureMetrics Source Path Tag Filter] - use_
versioned_ boolapi
- type String
- azure
Tag List<Property Map>Filters - Tag filters allow you to filter the Azure metrics by the tags you have assigned to your Azure resources. You can define tag filters for each supported namespace. If you do not define any tag filters, all metrics will be collected for the namespaces configured above.
- bucket
Name String - consumer
Group String - custom
Services List<Property Map> - environment String
- The Azure environment from which to collect metrics.
- event
Hub StringName - limit
To List<String>Namespaces - The list of namespaces from which to collect metrics. By default all namespaces are selected.
- limit
To List<String>Regions - The list of regions from which to collect metrics. By default all regions are selected.
- limit
To List<String>Services - namespace String
- Namespace for which you want to define the tag filters.
- path
Expression String - region String
- sns
Topic List<Property Map>Or Subscription Arns - tag
Filters List<Property Map> - use
Versioned BooleanApi
AzureMetricsSourcePathAzureTagFilter, AzureMetricsSourcePathAzureTagFilterArgs
- Type string
- Namespace string
- Namespace for which you want to define the tag filters.
-
List<Azure
Metrics Source Path Azure Tag Filter Tag> - List of key and value pairs of tag filters.
- Type string
- Namespace string
- Namespace for which you want to define the tag filters.
-
[]Azure
Metrics Source Path Azure Tag Filter Tag - List of key and value pairs of tag filters.
- type String
- namespace String
- Namespace for which you want to define the tag filters.
-
List<Azure
Metrics Source Path Azure Tag Filter Tag> - List of key and value pairs of tag filters.
- type string
- namespace string
- Namespace for which you want to define the tag filters.
-
Azure
Metrics Source Path Azure Tag Filter Tag[] - List of key and value pairs of tag filters.
- type str
- namespace str
- Namespace for which you want to define the tag filters.
-
Sequence[Azure
Metrics Source Path Azure Tag Filter Tag] - List of key and value pairs of tag filters.
- type String
- namespace String
- Namespace for which you want to define the tag filters.
- List<Property Map>
- List of key and value pairs of tag filters.
AzureMetricsSourcePathAzureTagFilterTag, AzureMetricsSourcePathAzureTagFilterTagArgs
AzureMetricsSourcePathCustomService, AzureMetricsSourcePathCustomServiceArgs
- Prefixes List<string>
- Service
Name string
- Prefixes []string
- Service
Name string
- prefixes List<String>
- service
Name String
- prefixes string[]
- service
Name string
- prefixes Sequence[str]
- service_
name str
- prefixes List<String>
- service
Name String
AzureMetricsSourcePathSnsTopicOrSubscriptionArn, AzureMetricsSourcePathSnsTopicOrSubscriptionArnArgs
- arn str
- is_
success bool
AzureMetricsSourcePathTagFilter, AzureMetricsSourcePathTagFilterArgs
Package Details
- Repository
- Sumo Logic sumologic/terraform-provider-sumologic
- License
- Notes
- This Pulumi package is based on the
sumologicTerraform Provider.
