DiagnosticContractData 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 DiagnosticContract data model. Diagnostic details.
public class DiagnosticContractData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ApiManagement.DiagnosticContractData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ApiManagement.DiagnosticContractData>
type DiagnosticContractData = class
inherit ResourceData
interface IJsonModel<DiagnosticContractData>
interface IPersistableModel<DiagnosticContractData>
Public Class DiagnosticContractData
Inherits ResourceData
Implements IJsonModel(Of DiagnosticContractData), IPersistableModel(Of DiagnosticContractData)
- Inheritance
- Implements
Constructors
DiagnosticContractData() |
Initializes a new instance of DiagnosticContractData. |
Properties
AlwaysLog |
Specifies for what type of messages sampling settings should not apply. |
Backend |
Diagnostic settings for incoming/outgoing HTTP messages to the Backend. |
Frontend |
Diagnostic settings for incoming/outgoing HTTP messages to the Gateway. |
HttpCorrelationProtocol |
Sets correlation protocol to use for Application Insights diagnostics. |
Id |
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. (Inherited from ResourceData) |
IsLogClientIPEnabled |
Log the ClientIP. Default is false. |
LoggerId |
Resource Id of a target logger. |
Metrics |
Emit custom metrics via emit-metric policy. Applicable only to Application Insights diagnostic settings. |
Name |
The name of the resource. (Inherited from ResourceData) |
OperationNameFormat |
The format of the Operation Name for Application Insights telemetries. Default is Name. |
ResourceType |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". (Inherited from ResourceData) |
Sampling |
Sampling settings for Diagnostic. |
SystemData |
Azure Resource Manager metadata containing createdBy and modifiedBy information. (Inherited from ResourceData) |
Verbosity |
The verbosity level applied to traces emitted by trace policies. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | (Inherited from ResourceData) |
Explicit Interface Implementations
IJsonModel<DiagnosticContractData>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<DiagnosticContractData>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<DiagnosticContractData>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<DiagnosticContractData>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<DiagnosticContractData>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET