DiagnosticSettingData 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.
A class representing the DiagnosticSetting data model. The diagnostic setting resource.
public class DiagnosticSettingData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Monitor.DiagnosticSettingData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Monitor.DiagnosticSettingData>
type DiagnosticSettingData = class
inherit ResourceData
interface IJsonModel<DiagnosticSettingData>
interface IPersistableModel<DiagnosticSettingData>
Public Class DiagnosticSettingData
Inherits ResourceData
Implements IJsonModel(Of DiagnosticSettingData), IPersistableModel(Of DiagnosticSettingData)
- Inheritance
- Implements
Constructors
DiagnosticSettingData() |
Initializes a new instance of DiagnosticSettingData. |
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. |
Id |
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. (Inherited from ResourceData) |
LogAnalyticsDestinationType |
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: <normalized service identity>_<normalized category name>. Possible values are: Dedicated and null (null is default.). |
Logs |
The list of logs settings. |
MarketplacePartnerId |
The full ARM resource ID of the Marketplace resource to which you would like to send Diagnostic Logs. |
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 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. |
SystemData |
Azure Resource Manager metadata containing createdBy and modifiedBy information. (Inherited from ResourceData) |
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
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | (Inherited from ResourceData) |
Explicit Interface Implementations
IJsonModel<DiagnosticSettingData>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<DiagnosticSettingData>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<DiagnosticSettingData>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<DiagnosticSettingData>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<DiagnosticSettingData>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET