Microsoft.Security pricings 2022-03-01

Bicep resource definition

The pricings resource type is an extension resource, which means you can apply it to another resource.

Use the scope property on this resource to set the scope for this resource. See Set scope on extension resources in Bicep.

The pricings resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Security/pricings resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.Security/pricings@2022-03-01' = {
  name: 'string'
  scope: resourceSymbolicName
  properties: {
    pricingTier: 'string'
    subPlan: 'string'
  }
}

Property values

pricings

Name Description Value
name The resource name string (required)

Character limit: 1-260

Valid characters:
Alphanumerics, underscores, and hyphens.
scope Use when creating an extension resource at a scope that is different than the deployment scope. Target resource

For Bicep, set this property to the symbolic name of the resource to apply the extension resource.
properties Pricing data PricingProperties

PricingProperties

Name Description Value
pricingTier The pricing tier value. Microsoft Defender for Cloud is provided in two pricing tiers: free and standard, with the standard tier available with a trial period. The standard tier offers advanced security capabilities, while the free tier offers basic security features. 'Free'
'Standard' (required)
subPlan 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. string

ARM template resource definition

The pricings resource type is an extension resource, which means you can apply it to another resource.

Use the scope property on this resource to set the scope for this resource. See Set scope on extension resources in ARM templates.

The pricings resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Security/pricings resource, add the following JSON to your template.

{
  "type": "Microsoft.Security/pricings",
  "apiVersion": "2022-03-01",
  "name": "string",
  "scope": "string",
  "properties": {
    "pricingTier": "string",
    "subPlan": "string"
  }
}

Property values

pricings

Name Description Value
type The resource type 'Microsoft.Security/pricings'
apiVersion The resource api version '2022-03-01'
name The resource name string (required)

Character limit: 1-260

Valid characters:
Alphanumerics, underscores, and hyphens.
scope Use when creating an extension resource at a scope that is different than the deployment scope. Target resource

For JSON, set the value to the full name of the resource to apply the extension resource to.
properties Pricing data PricingProperties

PricingProperties

Name Description Value
pricingTier The pricing tier value. Microsoft Defender for Cloud is provided in two pricing tiers: free and standard, with the standard tier available with a trial period. The standard tier offers advanced security capabilities, while the free tier offers basic security features. 'Free'
'Standard' (required)
subPlan 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. string

Terraform (AzAPI provider) resource definition

The pricings resource type is an extension resource, which means you can apply it to another resource.

Use the parent_id property on this resource to set the scope for this resource.

The pricings resource type can be deployed with operations that target:

  • Subscriptions

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Security/pricings resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Security/pricings@2022-03-01"
  name = "string"
  parent_id = "string"
  body = jsonencode({
    properties = {
      pricingTier = "string"
      subPlan = "string"
    }
  })
}

Property values

pricings

Name Description Value
type The resource type "Microsoft.Security/pricings@2022-03-01"
name The resource name string (required)

Character limit: 1-260

Valid characters:
Alphanumerics, underscores, and hyphens.
parent_id The ID of the resource to apply this extension resource to. string (required)
properties Pricing data PricingProperties

PricingProperties

Name Description Value
pricingTier The pricing tier value. Microsoft Defender for Cloud is provided in two pricing tiers: free and standard, with the standard tier available with a trial period. The standard tier offers advanced security capabilities, while the free tier offers basic security features. "Free"
"Standard" (required)
subPlan 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. string