GetPricingResult

data class GetPricingResult(val azureApiVersion: String, val deprecated: Boolean, val enablementTime: String, val enforce: String? = null, val extensions: List<ExtensionResponse>? = null, val freeTrialRemainingTime: String, val id: String, val inherited: String, val inheritedFrom: String, val name: String, val pricingTier: String, val replacedBy: List<String>, val resourcesCoverageStatus: String, val subPlan: String? = null, val type: String)

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.

Constructors

Link copied to clipboard
constructor(azureApiVersion: String, deprecated: Boolean, enablementTime: String, enforce: String? = null, extensions: List<ExtensionResponse>? = null, freeTrialRemainingTime: String, id: String, inherited: String, inheritedFrom: String, name: String, pricingTier: String, replacedBy: List<String>, resourcesCoverageStatus: String, subPlan: String? = null, type: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The Azure API version of the resource.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard
val enforce: String? = null

If set to "False", it allows the descendants of this scope to override the pricing configuration set on this scope (allows setting inherited="False"). If set to "True", it prevents overrides and forces this pricing configuration on all the descendants of this scope. This field is only available for subscription-level pricing.

Link copied to clipboard

Optional. List of extensions offered under a plan.

Link copied to clipboard

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

Link copied to clipboard
val id: String

Resource Id

Link copied to clipboard

"inherited" = "True" indicates that the current scope inherits its pricing configuration from its parent. The ID of the parent scope that provides the inherited configuration is displayed in the "inheritedFrom" field. On the other hand, "inherited" = "False" indicates that the current scope has its own pricing configuration explicitly set, and does not inherit from its parent. This field is read only and available only for resource-level pricing.

Link copied to clipboard

The id of the scope inherited from. "Null" if not inherited. This field is only available for resource-level pricing.

Link copied to clipboard

Resource name

Link copied to clipboard

Indicates whether the Defender plan is enabled on the selected scope. 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.

Link copied to clipboard

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

Link copied to clipboard

This field is available for subscription-level only, and reflects the coverage status of the resources under the subscription. Please note: The "pricingTier" field reflects the plan status of the subscription. However, since the plan status can also be defined at the resource level, there might be misalignment between the subscription's plan status and the resource status. This field helps indicate the coverage status of the resources.

Link copied to clipboard
val subPlan: String? = null

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. For VirtualMachines plan, available sub plans are 'P1' & 'P2', where for resource level only 'P1' sub plan is supported.

Link copied to clipboard

Resource type