Microsoft.Network applicationSecurityGroups/addressPrefixSets 2025-09-01

Bicep resource definition

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

resource symbolicname 'Microsoft.Network/applicationSecurityGroups/addressPrefixSets@2025-09-01' = {
  parent: resourceSymbolicName
  name: 'string'
  properties: {
    addressPrefixes: [
      'string'
    ]
  }
}

Property Values

Microsoft.Network/applicationSecurityGroups/addressPrefixSets

Name Description Value
name The resource name string

Constraints:
Pattern = ^[a-zA-Z0-9]([a-zA-Z0-9_.-]{0,78}[a-zA-Z0-9_])?$ (required)
parent In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource.

For more information, see Child resource outside parent resource.
Symbolic name for resource of type: applicationSecurityGroups
properties Properties of the address prefix set. AddressPrefixSetPropertiesFormat

AddressPrefixSetPropertiesFormat

Name Description Value
addressPrefixes The list of address prefixes in CIDR notation. Supports both IPv4 and IPv6 CIDR notation (e.g. '10.0.0.0/16', '2001:db8::/32'). string[] (required)

ARM template resource definition

The applicationSecurityGroups/addressPrefixSets resource type can be deployed with operations that target:

Usage Examples

Resource format

To create a Microsoft.Network/applicationSecurityGroups/addressPrefixSets resource, add the following JSON to your template.

{
  "type": "Microsoft.Network/applicationSecurityGroups/addressPrefixSets",
  "apiVersion": "2025-09-01",
  "name": "string",
  "properties": {
    "addressPrefixes": [ "string" ]
  }
}

Property Values

Microsoft.Network/applicationSecurityGroups/addressPrefixSets

Name Description Value
apiVersion The api version '2025-09-01'
name The resource name string

Constraints:
Pattern = ^[a-zA-Z0-9]([a-zA-Z0-9_.-]{0,78}[a-zA-Z0-9_])?$ (required)
properties Properties of the address prefix set. AddressPrefixSetPropertiesFormat
type The resource type 'Microsoft.Network/applicationSecurityGroups/addressPrefixSets'

AddressPrefixSetPropertiesFormat

Name Description Value
addressPrefixes The list of address prefixes in CIDR notation. Supports both IPv4 and IPv6 CIDR notation (e.g. '10.0.0.0/16', '2001:db8::/32'). string[] (required)

Terraform (AzAPI provider) resource definition

The applicationSecurityGroups/addressPrefixSets resource type can be deployed with operations that target:

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

Resource format

To create a Microsoft.Network/applicationSecurityGroups/addressPrefixSets resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Network/applicationSecurityGroups/addressPrefixSets@2025-09-01"
  name = "string"
  parent_id = "string"
  body = {
    properties = {
      addressPrefixes = [
        "string"
      ]
    }
  }
}

Property Values

Microsoft.Network/applicationSecurityGroups/addressPrefixSets

Name Description Value
name The resource name string

Constraints:
Pattern = ^[a-zA-Z0-9]([a-zA-Z0-9_.-]{0,78}[a-zA-Z0-9_])?$ (required)
parent_id The ID of the resource that is the parent for this resource. ID for resource of type: applicationSecurityGroups
properties Properties of the address prefix set. AddressPrefixSetPropertiesFormat
type The resource type "Microsoft.Network/applicationSecurityGroups/addressPrefixSets@2025-09-01"

AddressPrefixSetPropertiesFormat

Name Description Value
addressPrefixes The list of address prefixes in CIDR notation. Supports both IPv4 and IPv6 CIDR notation (e.g. '10.0.0.0/16', '2001:db8::/32'). string[] (required)