Class DiagnosticSettingArgs
Inherited Members
Namespace: Pulumi.Azure.Monitoring
Assembly: Pulumi.Azure.dll
Syntax
public sealed class DiagnosticSettingArgs : ResourceArgs
Constructors
View SourceDiagnosticSettingArgs()
Declaration
public DiagnosticSettingArgs()
Properties
View SourceEventhubAuthorizationRuleId
Specifies the ID of an Event Hub Namespace Authorization Rule used to send Diagnostics Data. Changing this forces a new resource to be created.
Declaration
public Input<string> EventhubAuthorizationRuleId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
EventhubName
Specifies the name of the Event Hub where Diagnostics Data should be sent. Changing this forces a new resource to be created.
Declaration
public Input<string> EventhubName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
LogAnalyticsDestinationType
When set to 'Dedicated' logs sent to a Log Analytics workspace will go into resource specific tables, instead of the legacy AzureDiagnostics table.
Declaration
public Input<string> LogAnalyticsDestinationType { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
LogAnalyticsWorkspaceId
Specifies the ID of a Log Analytics Workspace where Diagnostics Data should be sent. Changing this forces a new resource to be created.
Declaration
public Input<string> LogAnalyticsWorkspaceId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Logs
One or more log blocks as defined below.
Declaration
public InputList<DiagnosticSettingLogArgs> Logs { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<DiagnosticSettingLogArgs> |
Metrics
One or more metric blocks as defined below.
Declaration
public InputList<DiagnosticSettingMetricArgs> Metrics { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<DiagnosticSettingMetricArgs> |
Name
Specifies the name of the Diagnostic Setting. Changing this forces a new resource to be created.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
StorageAccountId
With this parameter you can specify a storage account which should be used to send the logs to. Parameter must be a valid Azure Resource ID. Changing this forces a new resource to be created.
Declaration
public Input<string> StorageAccountId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
TargetResourceId
The ID of an existing Resource on which to configure Diagnostic Settings. Changing this forces a new resource to be created.
Declaration
public Input<string> TargetResourceId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |