共用方式為


ComplianceSegment Class

Definition

A segment of a compliance assessment.

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

Properties

Percentage

The size (%) of the segment.

SegmentType

The segment type, e.g. compliant, non-compliance, insufficient coverage, N/A, etc.

Explicit Interface Implementations

IJsonModel<ComplianceSegment>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ComplianceSegment>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ComplianceSegment>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ComplianceSegment>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ComplianceSegment>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to