共用方式為


SecureScoreControlDetails Class

Definition

Details of the security control, its score, and the health status of the relevant resources.

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

Constructors

SecureScoreControlDetails()

Initializes a new instance of SecureScoreControlDetails.

Properties

Current

Current score.

Definition

Information about the security control.

DisplayName

User friendly display name of the control.

HealthyResourceCount

Number of healthy resources in the control.

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

Number of not applicable resources in the control.

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

Number of unhealthy resources in the control.

Weight

The relative weight for this specific control in each of your subscriptions. Used when calculating an aggregated score for this control across all of your subscriptions.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<SecureScoreControlDetails>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SecureScoreControlDetails>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SecureScoreControlDetails>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SecureScoreControlDetails>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SecureScoreControlDetails>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to