Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DiagnosticSettingsResource

Package version

The diagnostic setting resource.

Hierarchy

Index

Properties

Optional eventHubAuthorizationRuleId

eventHubAuthorizationRuleId: undefined | string

The resource Id for the event hub authorization rule.

Optional eventHubName

eventHubName: undefined | string

The name of the event hub. If none is specified, the default event hub will be selected.

Optional id

id: undefined | string

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} NOTE: This property will not be serialized. It can only be populated by the server.

Optional logAnalyticsDestinationType

logAnalyticsDestinationType: undefined | string

A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type constructed as follows: _. Possible values are: Dedicated and null (null is default.)

Optional logs

logs: LogSettings[]

The list of logs settings.

Optional marketplacePartnerId

marketplacePartnerId: undefined | string

The full ARM resource ID of the Marketplace resource to which you would like to send Diagnostic Logs.

Optional metrics

metrics: MetricSettings[]

The list of metric settings.

Optional name

name: undefined | string

The name of the resource NOTE: This property will not be serialized. It can only be populated by the server.

Optional serviceBusRuleId

serviceBusRuleId: undefined | string

The service bus rule Id of the diagnostic setting. This is here to maintain backwards compatibility.

Optional storageAccountId

storageAccountId: undefined | string

The resource ID of the storage account to which you would like to send Diagnostic Logs.

Optional systemData

systemData: SystemData

The system metadata related to this resource. NOTE: This property will not be serialized. It can only be populated by the server.

Optional type

type: undefined | string

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" NOTE: This property will not be serialized. It can only be populated by the server.

Optional workspaceId

workspaceId: undefined | string

The full ARM resource ID of the Log Analytics workspace to which you would like to send Diagnostic Logs. Example: /subscriptions/4b9e8510-67ab-4e9a-95a9-e2f1e570ea9c/resourceGroups/insights-integration/providers/Microsoft.OperationalInsights/workspaces/viruela2

Generated using TypeDoc