ServiceDiagnosticSettingData 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.
Description of a service diagnostic setting.
public class ServiceDiagnosticSettingData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Monitor.ServiceDiagnosticSettingData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Monitor.ServiceDiagnosticSettingData>
type ServiceDiagnosticSettingData = class
inherit ResourceData
interface IJsonModel<ServiceDiagnosticSettingData>
interface IPersistableModel<ServiceDiagnosticSettingData>
Public Class ServiceDiagnosticSettingData
Inherits ResourceData
Implements IJsonModel(Of ServiceDiagnosticSettingData), IPersistableModel(Of ServiceDiagnosticSettingData)
- Inheritance
- Implements
Constructors
| Name | Description |
|---|---|
| ServiceDiagnosticSettingData(AzureLocation) |
Initializes a new instance of ServiceDiagnosticSettingData. |
Properties
| Name | Description |
|---|---|
| EventHubAuthorizationRuleId |
The resource Id for the event hub namespace authorization rule. |
| Id |
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. (Inherited from ResourceData) |
| Location |
Resource location. |
| Logs |
the list of logs settings. |
| Metrics |
the list of metric settings. |
| Name |
The name of the resource. (Inherited from ResourceData) |
| ResourceType |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". (Inherited from ResourceData) |
| 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. |
| SystemData |
Azure Resource Manager metadata containing createdBy and modifiedBy information. (Inherited from ResourceData) |
| 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. |