你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IDiagnosticSettings Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.DiagnosticSetting.Models.Api20210501Preview.DiagnosticSettingsTypeConverter))]
public interface IDiagnosticSettings : Microsoft.Azure.PowerShell.Cmdlets.Monitor.DiagnosticSetting.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.DiagnosticSetting.Models.Api20210501Preview.DiagnosticSettingsTypeConverter))>]
type IDiagnosticSettings = interface
    interface IJsonSerializable
Public Interface IDiagnosticSettings
Implements IJsonSerializable
Derived
Attributes
Implements

Properties

EventHubAuthorizationRuleId

The resource Id for the event hub authorization rule.

EventHubName

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

Log

The list of logs settings.

LogAnalyticsDestinationType
MarketplacePartnerId

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

Metric

The list of metric settings.

ServiceBusRuleId

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

StorageAccountId

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

WorkspaceId

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

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to