ArmSecurityCenterModelFactory.SecurityCenterPricingData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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? enablementOn = default, Azure.ResourceManager.SecurityCenter.Models.SecurityPolicyEnforce? enforce = default, Azure.ResourceManager.SecurityCenter.Models.SecurityCenterPricingInheritance? inherited = default, string inheritedFrom = default, Azure.ResourceManager.SecurityCenter.Models.SecurityCenterResourcesCoverageStatus? resourcesCoverageStatus = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SecurityCenter.Models.SecurityConnectorExtension> extensions = default, bool? isDeprecated = default, System.Collections.Generic.IEnumerable<string> replacedBy = 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<Azure.ResourceManager.SecurityCenter.Models.SecurityPolicyEnforce> * Nullable<Azure.ResourceManager.SecurityCenter.Models.SecurityCenterPricingInheritance> * string * Nullable<Azure.ResourceManager.SecurityCenter.Models.SecurityCenterResourcesCoverageStatus> * seq<Azure.ResourceManager.SecurityCenter.Models.SecurityConnectorExtension> * Nullable<bool> * seq<string> -> 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 enablementOn As Nullable(Of DateTimeOffset) = Nothing, Optional enforce As Nullable(Of SecurityPolicyEnforce) = Nothing, Optional inherited As Nullable(Of SecurityCenterPricingInheritance) = Nothing, Optional inheritedFrom As String = Nothing, Optional resourcesCoverageStatus As Nullable(Of SecurityCenterResourcesCoverageStatus) = Nothing, Optional extensions As IEnumerable(Of SecurityConnectorExtension) = Nothing, Optional isDeprecated As Nullable(Of Boolean) = Nothing, Optional replacedBy As IEnumerable(Of String) = Nothing) As SecurityCenterPricingData
Parameters
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
- name
- String
The name of the resource.
- resourceType
- ResourceType
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
- systemData
- SystemData
Azure Resource Manager metadata containing createdBy and modifiedBy information.
- pricingTier
- Nullable<SecurityCenterPricingTier>
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.
- 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. For VirtualMachines plan, available sub plans are 'P1' & 'P2', where for resource level only 'P1' sub plan is supported.
The duration left for the subscriptions free trial period - in ISO 8601 format (e.g. P3Y6M4DT12H30M5S).
- enablementOn
- 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).
- enforce
- Nullable<SecurityPolicyEnforce>
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.
- inherited
- Nullable<SecurityCenterPricingInheritance>
"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.
- inheritedFrom
- String
The id of the scope inherited from. "Null" if not inherited. This field is only available for resource-level pricing.
- resourcesCoverageStatus
- Nullable<SecurityCenterResourcesCoverageStatus>
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.
- extensions
- IEnumerable<SecurityConnectorExtension>
Optional. List of extensions offered under a plan.
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.
Returns
A new SecurityCenterPricingData instance for mocking.