共用方式為


SecurityComplianceData Class

Definition

A class representing the SecurityCompliance data model. Compliance of a scope

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

Constructors

SecurityComplianceData()

Initializes a new instance of SecurityComplianceData.

Properties

AssessedOn

The timestamp when the Compliance calculation was conducted.

AssessmentResult

An array of segment, which is the actually the compliance assessment.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
Name

The name of the resource.

(Inherited from ResourceData)
ResourceCount

The resource count of the given subscription for which the Compliance calculation was conducted (needed for Management Group Compliance calculation).

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<SecurityComplianceData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SecurityComplianceData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SecurityComplianceData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SecurityComplianceData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SecurityComplianceData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to