Język

ServiceDiagnosticSettingPatch Class

Definition

Service diagnostic setting resource for patch operations.

public class ServiceDiagnosticSettingPatch : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Monitor.Models.ServiceDiagnosticSettingPatch>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Monitor.Models.ServiceDiagnosticSettingPatch>
type ServiceDiagnosticSettingPatch = class
    interface IJsonModel<ServiceDiagnosticSettingPatch>
    interface IPersistableModel<ServiceDiagnosticSettingPatch>
Public Class ServiceDiagnosticSettingPatch
Implements IJsonModel(Of ServiceDiagnosticSettingPatch), IPersistableModel(Of ServiceDiagnosticSettingPatch)
Inheritance
ServiceDiagnosticSettingPatch
Implements

Constructors

Name Description
ServiceDiagnosticSettingPatch()

Initializes a new instance of ServiceDiagnosticSettingPatch.

Properties

Name Description
EventHubAuthorizationRuleId

The resource Id for the event hub namespace authorization rule.

Logs

the list of logs settings.

Metrics

the list of metric settings.

ServiceBusRuleId

The service bus rule ID of the service bus namespace in which you would like to have Event Hubs created for streaming Diagnostic Logs. The rule ID is of the format: '{service bus resource ID}/authorizationrules/{key name}'.

StorageAccountId

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

Tags

Resource tags.

WorkspaceId

The workspace ID (resource ID of a Log Analytics workspace) for a 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

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<ServiceDiagnosticSettingPatch>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<ServiceDiagnosticSettingPatch>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<ServiceDiagnosticSettingPatch>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<ServiceDiagnosticSettingPatch>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<ServiceDiagnosticSettingPatch>.Write(ModelReaderWriterOptions)

Applies to