Microsoft.MobileNetwork mobileNetworks/slices

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@2024-02-01' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  parent: resourceSymbolicName
  properties: {
    description: 'string'
    snssai: {
      sd: 'string'
      sst: int
    }
  }
}

Property values

mobileNetworks/slices

Name Description Value
name The resource name

See how to set names and types for child resources in Bicep.
string (required)

Character limit: 1-64

Valid characters:
Alphanumerics and hyphens.

Start with alphanumeric.
location The geo-location where the resource lives string (required)
tags Resource tags. Dictionary of tag names and values. See Tags in templates
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)

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 (required)

Constraints:
Min value = 0
Max value = 255

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.

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": "2024-02-01",
  "name": "string",
  "location": "string",
  "tags": {
    "tagName1": "tagValue1",
    "tagName2": "tagValue2"
  },
  "properties": {
    "description": "string",
    "snssai": {
      "sd": "string",
      "sst": "int"
    }
  }
}

Property values

mobileNetworks/slices

Name Description Value
type The resource type 'Microsoft.MobileNetwork/mobileNetworks/slices'
apiVersion The resource api version '2024-02-01'
name The resource name

See how to set names and types for child resources in JSON ARM templates.
string (required)

Character limit: 1-64

Valid characters:
Alphanumerics and hyphens.

Start with alphanumeric.
location The geo-location where the resource lives string (required)
tags Resource tags. Dictionary of tag names and values. See Tags in templates
properties Slice properties. SlicePropertiesFormat (required)

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 (required)

Constraints:
Min value = 0
Max value = 255

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@2024-02-01"
  name = "string"
  location = "string"
  parent_id = "string"
  tags = {
    tagName1 = "tagValue1"
    tagName2 = "tagValue2"
  }
  body = jsonencode({
    properties = {
      description = "string"
      snssai = {
        sd = "string"
        sst = int
      }
    }
  })
}

Property values

mobileNetworks/slices

Name Description Value
type The resource type "Microsoft.MobileNetwork/mobileNetworks/slices@2024-02-01"
name The resource name string (required)

Character limit: 1-64

Valid characters:
Alphanumerics and hyphens.

Start with alphanumeric.
location The geo-location where the resource lives string (required)
parent_id The ID of the resource that is the parent for this resource. ID for resource of type: mobileNetworks
tags Resource tags. Dictionary of tag names and values.
properties Slice properties. SlicePropertiesFormat (required)

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 (required)

Constraints:
Min value = 0
Max value = 255