Share via


ArmSecurityCenterModelFactory.SecurityCenterPricingData Method

Definition

Initializes a new instance of SecurityCenterPricingData.

public static Azure.ResourceManager.SecurityCenter.SecurityCenterPricingData SecurityCenterPricingData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.SecurityCenter.Models.SecurityCenterPricingTier? pricingTier = default, string subPlan = default, TimeSpan? freeTrialRemainingTime = default, DateTimeOffset? enabledOn = default, bool? isDeprecated = default, System.Collections.Generic.IEnumerable<string> replacedBy = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SecurityCenter.Models.PlanExtension> extensions = default);
static member SecurityCenterPricingData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.SecurityCenter.Models.SecurityCenterPricingTier> * string * Nullable<TimeSpan> * Nullable<DateTimeOffset> * Nullable<bool> * seq<string> * seq<Azure.ResourceManager.SecurityCenter.Models.PlanExtension> -> Azure.ResourceManager.SecurityCenter.SecurityCenterPricingData
Public Shared Function SecurityCenterPricingData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional pricingTier As Nullable(Of SecurityCenterPricingTier) = Nothing, Optional subPlan As String = Nothing, Optional freeTrialRemainingTime As Nullable(Of TimeSpan) = Nothing, Optional enabledOn As Nullable(Of DateTimeOffset) = Nothing, Optional isDeprecated As Nullable(Of Boolean) = Nothing, Optional replacedBy As IEnumerable(Of String) = Nothing, Optional extensions As IEnumerable(Of PlanExtension) = Nothing) As SecurityCenterPricingData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

pricingTier
Nullable<SecurityCenterPricingTier>

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.

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

enabledOn
Nullable<DateTimeOffset>

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

isDeprecated
Nullable<Boolean>

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

replacedBy
IEnumerable<String>

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

extensions
IEnumerable<PlanExtension>

Optional. List of extensions offered under a plan.

Returns

A new SecurityCenterPricingData instance for mocking.

Applies to