Share via


Microsoft.Security apiCollections

Choose a deployment language

Bicep resource definition

The apiCollections 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/apiCollections resource, add the following Bicep to your template.

Bicep
resource symbolicname 'Microsoft.Security/apiCollections@2023-11-15' = {
  scope: resourceSymbolicName or scope
  name: 'string'
}

Property Values

Microsoft.Security/apiCollections

Name Description Value
name The resource name string

Constraints:
Min length = 1
Max length = 256
Pattern = ^[^*#&+:<>?]+$ (required)
scope Use when creating a resource at a scope that is different than the deployment scope. Set this property to the symbolic name of a resource to apply the extension resource.

ARM template resource definition

The apiCollections 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/apiCollections resource, add the following JSON to your template.

JSON
{
  "type": "Microsoft.Security/apiCollections",
  "apiVersion": "2023-11-15",
  "name": "string"
}

Property Values

Microsoft.Security/apiCollections

Name Description Value
apiVersion The api version '2023-11-15'
name The resource name string

Constraints:
Min length = 1
Max length = 256
Pattern = ^[^*#&+:<>?]+$ (required)
type The resource type 'Microsoft.Security/apiCollections'

Usage Examples

Terraform (AzAPI provider) resource definition

The apiCollections 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/apiCollections resource, add the following Terraform to your template.

Terraform
resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Security/apiCollections@2023-11-15"
  name = "string"
  parent_id = "string"
}

Property Values

Microsoft.Security/apiCollections

Name Description Value
name The resource name string

Constraints:
Min length = 1
Max length = 256
Pattern = ^[^*#&+:<>?]+$ (required)
parent_id The ID of the resource to apply this extension resource to. string (required)
type The resource type "Microsoft.Security/apiCollections@2023-11-15"