Share via


Pricing Constructors

Definition

Overloads

Pricing()

Initializes a new instance of the Pricing class.

Pricing(String, String, String, String, String, Nullable<TimeSpan>, Nullable<DateTime>, Nullable<Boolean>, IList<String>, IList<Extension>)

Initializes a new instance of the Pricing class.

Pricing()

Initializes a new instance of the Pricing class.

public Pricing ();
Public Sub New ()

Applies to

Pricing(String, String, String, String, String, Nullable<TimeSpan>, Nullable<DateTime>, Nullable<Boolean>, IList<String>, IList<Extension>)

Initializes a new instance of the Pricing class.

public Pricing (string id = default, string name = default, string type = default, string pricingTier = default, string subPlan = default, TimeSpan? freeTrialRemainingTime = default, DateTime? enablementTime = default, bool? deprecated = default, System.Collections.Generic.IList<string> replacedBy = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Security.Models.Extension> extensions = default);
new Microsoft.Azure.Management.Security.Models.Pricing : string * string * string * string * string * Nullable<TimeSpan> * Nullable<DateTime> * Nullable<bool> * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<Microsoft.Azure.Management.Security.Models.Extension> -> Microsoft.Azure.Management.Security.Models.Pricing
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional pricingTier As String = Nothing, Optional subPlan As String = Nothing, Optional freeTrialRemainingTime As Nullable(Of TimeSpan) = Nothing, Optional enablementTime As Nullable(Of DateTime) = Nothing, Optional deprecated As Nullable(Of Boolean) = Nothing, Optional replacedBy As IList(Of String) = Nothing, Optional extensions As IList(Of Extension) = Nothing)

Parameters

id
String

Resource Id

name
String

Resource name

type
String

Resource type

pricingTier
String

The pricing tier value. Microsoft Defender for Cloud is provided in two pricing tiers: free and standard. The standard tier offers advanced security capabilities, while the free tier offers basic security features. Possible values include: 'Free', 'Standard'

subPlan
String

The sub-plan selected for a Standard pricing configuration, when more than one sub-plan is available. Each sub-plan enables a set of security features. When not specified, full plan is applied.

freeTrialRemainingTime
Nullable<TimeSpan>

The duration left for the subscriptions free trial period - in ISO 8601 format (e.g. P3Y6M4DT12H30M5S).

enablementTime
Nullable<DateTime>

Optional. If pricingTier is Standard then this property holds the date of the last time the pricingTier was set to Standard, when available (e.g 2023-03-01T12:42:42.1921106Z).

deprecated
Nullable<Boolean>

Optional. True if the plan is deprecated. If there are replacing plans they will appear in replacedBy property

replacedBy
IList<String>

Optional. List of plans that replace this plan. This property exists only if this plan is deprecated.

extensions
IList<Extension>

Optional. List of extensions offered under a plan.

Applies to