ServiceDiagnosticSettingPatch Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |