Share via


SecureScoreItem Constructors

Definition

Overloads

SecureScoreItem()

Initializes a new instance of the SecureScoreItem class.

SecureScoreItem(String, String, String, String, Nullable<Int64>, Nullable<Int32>, Nullable<Double>, Nullable<Double>)

Initializes a new instance of the SecureScoreItem class.

SecureScoreItem()

Initializes a new instance of the SecureScoreItem class.

public SecureScoreItem ();
Public Sub New ()

Applies to

SecureScoreItem(String, String, String, String, Nullable<Int64>, Nullable<Int32>, Nullable<Double>, Nullable<Double>)

Initializes a new instance of the SecureScoreItem class.

public SecureScoreItem (string id = default, string name = default, string type = default, string displayName = default, long? weight = default, int? max = default, double? current = default, double? percentage = default);
new Microsoft.Azure.Management.Security.Models.SecureScoreItem : string * string * string * string * Nullable<int64> * Nullable<int> * Nullable<double> * Nullable<double> -> Microsoft.Azure.Management.Security.Models.SecureScoreItem
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional displayName As String = Nothing, Optional weight As Nullable(Of Long) = Nothing, Optional max As Nullable(Of Integer) = Nothing, Optional current As Nullable(Of Double) = Nothing, Optional percentage As Nullable(Of Double) = Nothing)

Parameters

id
String

Resource Id

name
String

Resource name

type
String

Resource type

displayName
String

The initiative’s name

weight
Nullable<Int64>

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

max
Nullable<Int32>

Maximum score available

current
Nullable<Double>

Current score

percentage
Nullable<Double>

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

Applies to