Share via


SecureScoreData Class

Definition

A class representing the SecureScore data model. Secure score item data model

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

Constructors

SecureScoreData()

Initializes a new instance of SecureScoreData.

Properties

Current

Current score.

DisplayName

The initiative’s name.

Id

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

(Inherited from ResourceData)
Max

Maximum score available.

Name

The name of the resource.

(Inherited from ResourceData)
Percentage

Ratio of the current score divided by the maximum. Rounded to 4 digits after the decimal point.

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)
Weight

The relative weight for each subscription. Used when calculating an aggregated secure score for multiple subscriptions.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<SecureScoreData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SecureScoreData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SecureScoreData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SecureScoreData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SecureScoreData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to