Microsoft.MobileNetwork mobileNetworks/slices 2023-09-01

Bicep resource definition

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

resource symbolicname 'Microsoft.MobileNetwork/mobileNetworks/slices@2023-09-01' = {
  parent: resourceSymbolicName
  location: 'string'
  name: 'string'
  properties: {
    description: 'string'
    snssai: {
      sd: 'string'
      sst: int
    }
  }
  tags: {
    {customized property}: 'string'
  }
}

Property values

Microsoft.MobileNetwork/mobileNetworks/slices

Name Description Value
location The geo-location where the resource lives string (required)
name The resource name string

Constraints:
Max length =
Pattern = ^[a-zA-Z0-9][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: mobileNetworks
properties Slice properties. SlicePropertiesFormat (required)
tags Resource tags Dictionary of tag names and values. See Tags in templates

SlicePropertiesFormat

Name Description Value
description An optional description for this network slice. string
snssai Single-network slice selection assistance information (S-NSSAI). Unique at the scope of a mobile network. Snssai (required)

Snssai

Name Description Value
sd Slice differentiator (SD). string

Constraints:
Pattern = ^[A-Fa-f0-9]{6}$
sst Slice/service type (SST). int

Constraints:
Min value = 0
Max value = 255 (required)

TrackedResourceTags

Name Description Value

Quickstart samples

The following quickstart samples deploy this resource type.

Bicep File Description
Create a full 5G Core deployment This template creates all resources required to deploy a Private 5G Core, including provisioning sims and creating sample QoS policy. It can optionally be deployed to a Kubernetes cluster running on an Azure Stack Edge device.
Create a private mobile network This template creates a mobile network resource with an associated slice and data network. You can then use other templates in this repository to create sites for running the Private 5G Core software and provision sims and sim policies..
Create a slice This template creates a slice for an existing mobile network.
Update a packet core control plane This template allows you to update the version of an existing packet core.

ARM template resource definition

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

{
  "type": "Microsoft.MobileNetwork/mobileNetworks/slices",
  "apiVersion": "2023-09-01",
  "name": "string",
  "location": "string",
  "properties": {
    "description": "string",
    "snssai": {
      "sd": "string",
      "sst": "int"
    }
  },
  "tags": {
    "{customized property}": "string"
  }
}

Property values

Microsoft.MobileNetwork/mobileNetworks/slices

Name Description Value
apiVersion The api version '2023-09-01'
location The geo-location where the resource lives string (required)
name The resource name string

Constraints:
Max length =
Pattern = ^[a-zA-Z0-9][a-zA-Z0-9_-]*$ (required)
properties Slice properties. SlicePropertiesFormat (required)
tags Resource tags Dictionary of tag names and values. See Tags in templates
type The resource type 'Microsoft.MobileNetwork/mobileNetworks/slices'

SlicePropertiesFormat

Name Description Value
description An optional description for this network slice. string
snssai Single-network slice selection assistance information (S-NSSAI). Unique at the scope of a mobile network. Snssai (required)

Snssai

Name Description Value
sd Slice differentiator (SD). string

Constraints:
Pattern = ^[A-Fa-f0-9]{6}$
sst Slice/service type (SST). int

Constraints:
Min value = 0
Max value = 255 (required)

TrackedResourceTags

Name Description Value

Quickstart templates

The following quickstart templates deploy this resource type.

Template Description
Create a full 5G Core deployment

Deploy to Azure
This template creates all resources required to deploy a Private 5G Core, including provisioning sims and creating sample QoS policy. It can optionally be deployed to a Kubernetes cluster running on an Azure Stack Edge device.
Create a private mobile network

Deploy to Azure
This template creates a mobile network resource with an associated slice and data network. You can then use other templates in this repository to create sites for running the Private 5G Core software and provision sims and sim policies..
Create a slice

Deploy to Azure
This template creates a slice for an existing mobile network.
Update a packet core control plane

Deploy to Azure
This template allows you to update the version of an existing packet core.

Terraform (AzAPI provider) resource definition

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.MobileNetwork/mobileNetworks/slices@2023-09-01"
  name = "string"
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = jsonencode({
    properties = {
      description = "string"
      snssai = {
        sd = "string"
        sst = int
      }
    }
  })
}

Property values

Microsoft.MobileNetwork/mobileNetworks/slices

Name Description Value
location The geo-location where the resource lives string (required)
name The resource name string

Constraints:
Max length =
Pattern = ^[a-zA-Z0-9][a-zA-Z0-9_-]*$ (required)
parent_id The ID of the resource that is the parent for this resource. ID for resource of type: mobileNetworks
properties Slice properties. SlicePropertiesFormat (required)
tags Resource tags Dictionary of tag names and values.
type The resource type "Microsoft.MobileNetwork/mobileNetworks/slices@2023-09-01"

SlicePropertiesFormat

Name Description Value
description An optional description for this network slice. string
snssai Single-network slice selection assistance information (S-NSSAI). Unique at the scope of a mobile network. Snssai (required)

Snssai

Name Description Value
sd Slice differentiator (SD). string

Constraints:
Pattern = ^[A-Fa-f0-9]{6}$
sst Slice/service type (SST). int

Constraints:
Min value = 0
Max value = 255 (required)

TrackedResourceTags

Name Description Value