你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Microsoft.MobileNetwork mobileNetworks

Bicep 资源定义

可以使用面向以下操作部署 mobileNetworks 资源类型:

有关每个 API 版本中已更改属性的列表,请参阅 更改日志

资源格式

若要创建 Microsoft.MobileNetwork/mobileNetworks 资源,请将以下 Bicep 添加到模板。

resource symbolicname 'Microsoft.MobileNetwork/mobileNetworks@2024-02-01' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  identity: {
    type: 'string'
    userAssignedIdentities: {
      {customized property}: {}
    }
  }
  properties: {
    publicLandMobileNetworkIdentifier: {
      mcc: 'string'
      mnc: 'string'
    }
    publicLandMobileNetworks: [
      {
        homeNetworkPublicKeys: {
          profileA: [
            {
              id: int
              url: 'string'
            }
          ]
          profileB: [
            {
              id: int
              url: 'string'
            }
          ]
        }
        mcc: 'string'
        mnc: 'string'
      }
    ]
  }
}

属性值

mobileNetworks

名称 说明
name 资源名称 字符串 (必需)

字符限制:1-64

有效字符:
字母数字和连字符。

以字母数字开头。
location 资源所在的地理位置 字符串 (必需)
标记 资源标记。 标记名称和值的字典。 请参阅 模板中的标记
标识 用于从 Azure 密钥保管库检索用于 SUPI 隐藏的任何私钥的标识。 ManagedServiceIdentity
properties 移动网络属性。 MobileNetworkPropertiesFormat (所需)

ManagedServiceIdentity

名称 说明 Value
type 托管服务标识的类型 (目前仅允许 userAssigned) 。 “None”
“UserAssigned” (必需)
userAssignedIdentities 与资源关联的用户分配标识集。 userAssignedIdentities 字典密钥将是采用以下格式的 ARM 资源 ID:'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}。 字典值可以是请求中) ({} 空对象。 UserAssignedIdentities

UserAssignedIdentities

名称 说明
{customized property} UserAssignedIdentity

UserAssignedIdentity

此对象不包含部署期间要设置的任何属性。 所有属性均为 ReadOnly。

MobileNetworkPropertiesFormat

名称 说明
publicLandMobileNetworkIdentifier 网络的唯一公共陆地移动网络标识符。 如果同时指定了“publicLandMobileNetworks”和“publicLandMobileNetworkIdentifier”,则“publicLandMobileNetworks”将优先。 PlmnId (必需)
publicLandMobileNetworks 公共陆地移动网络的列表,包括其标识符。 如果同时指定了“publicLandMobileNetworks”和“publicLandMobileNetworkIdentifier”,则“publicLandMobileNetworks”将优先。 PublicLandMobileNetwork[]

约束:
最小长度 = 1

PlmnId

名称 说明
Mcc 移动国家/地区代码 (MCC) 。 字符串 (必需)

约束:
模式 = ^\d{3}$
跨国公司 移动网络代码 (MNC) 。 字符串 (必需)

约束:
模式 = ^\d{2,3}$

PublicLandMobileNetwork

名称 说明
homeNetworkPublicKeys 与 SUPI 隐藏相关的配置。 PublicLandMobileNetworkHomeNetworkPublicKeys
Mcc 移动国家/地区代码 (MCC) 。 字符串 (必需)

约束:
模式 = ^\d{3}$
跨国公司 移动网络代码 (MNC) 。 字符串 (必需)

约束:
模式 = ^\d{2,3}$

PublicLandMobileNetworkHomeNetworkPublicKeys

名称 说明
profileA 这提供了一个映射,用于标识哪些公钥已用于使用配置文件 A 保护方案进行 SUPI 隐藏。 HomeNetworkPublicKey[]
profileB 这提供了一个映射,用于标识哪些公钥已用于使用配置文件 B 保护方案进行 SUPI 隐藏。 HomeNetworkPublicKey[]

HomeNetworkPublicKey

名称 说明 Value
id 家庭网络公钥标识符确定哪个公钥用于生成发送到 AMF 的 SUCI。 请参阅 TS 23.003 第 2.2B 部分 5。 int (必需)

约束:
最小值 = 1
最大值 = 255
url Azure 密钥保管库机密的 URL,其中包含私钥、版本控制或未版本控制。 例如: https://contosovault.vault.azure.net/secrets/mySuciPrivateKey/562a4bb76b524a1493a6afe8e536ee78. 字符串

快速入门模板

以下快速入门模板部署此资源类型。

模板 说明
创建完整的 5G 核心部署

部署到 Azure
此模板创建部署专用 5G 核心所需的所有资源,包括预配 sims 和创建示例 QoS 策略。 可以选择将其部署到 Azure Stack Edge 设备上运行的 Kubernetes 群集。
创建专用移动网络

部署到 Azure
此模板创建具有关联切片和数据网络的移动网络资源。 然后,可以使用此存储库中的其他模板创建用于运行专用 5G 核心软件的站点,并预配 sims 和 sim 策略。
更新数据包核心控制平面

部署到 Azure
此模板允许更新现有数据包核心的版本。

ARM 模板资源定义

可以使用面向以下操作部署 mobileNetworks 资源类型:

有关每个 API 版本中已更改属性的列表,请参阅 更改日志

资源格式

若要创建 Microsoft.MobileNetwork/mobileNetworks 资源,请将以下 JSON 添加到模板。

{
  "type": "Microsoft.MobileNetwork/mobileNetworks",
  "apiVersion": "2024-02-01",
  "name": "string",
  "location": "string",
  "tags": {
    "tagName1": "tagValue1",
    "tagName2": "tagValue2"
  },
  "identity": {
    "type": "string",
    "userAssignedIdentities": {
      "{customized property}": {}
    }
  },
  "properties": {
    "publicLandMobileNetworkIdentifier": {
      "mcc": "string",
      "mnc": "string"
    },
    "publicLandMobileNetworks": [
      {
        "homeNetworkPublicKeys": {
          "profileA": [
            {
              "id": "int",
              "url": "string"
            }
          ],
          "profileB": [
            {
              "id": "int",
              "url": "string"
            }
          ]
        },
        "mcc": "string",
        "mnc": "string"
      }
    ]
  }
}

属性值

mobileNetworks

名称 说明 Value
type 资源类型 “Microsoft.MobileNetwork/mobileNetworks”
apiVersion 资源 API 版本 '2024-02-01'
name 资源名称 字符串 (必需)

字符限制:1-64

有效字符:
字母数字和连字符。

以字母数字开头。
location 资源所在的地理位置 字符串 (必需)
标记 资源标记。 标记名称和值的字典。 请参阅 模板中的标记
标识 用于从 Azure 密钥保管库检索用于 SUPI 隐藏的任何私钥的标识。 ManagedServiceIdentity
properties 移动网络属性。 MobileNetworkPropertiesFormat (所需)

ManagedServiceIdentity

名称 说明 Value
type 托管服务标识的类型 (目前仅允许 userAssigned) 。 “None”
“UserAssigned” (必需)
userAssignedIdentities 与资源关联的用户分配标识集。 userAssignedIdentities 字典密钥将是采用以下格式的 ARM 资源 ID:'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}。 字典值可以是请求中) ({} 空对象。 UserAssignedIdentities

UserAssignedIdentities

名称 说明
{customized property} UserAssignedIdentity

UserAssignedIdentity

此对象不包含在部署期间要设置的任何属性。 所有属性均为 ReadOnly。

MobileNetworkPropertiesFormat

名称 说明
publicLandMobileNetworkIdentifier 网络的唯一公共陆地移动网络标识符。 如果同时指定“publicLandMobileNetworks”和“publicLandMobileNetworkIdentifier”,则“publicLandMobileNetworks”优先。 PlmnId (必需)
publicLandMobileNetworks 公共土地移动网络的列表,包括其标识符。 如果同时指定“publicLandMobileNetworks”和“publicLandMobileNetworkIdentifier”,则“publicLandMobileNetworks”优先。 PublicLandMobileNetwork[]

约束:
最小长度 = 1

PlmnId

名称 说明
Mcc 移动国家/地区代码 (MCC) 。 字符串 (必需)

约束:
Pattern = ^\d{3}$
跨国公司 移动网络代码 (MNC) 。 字符串 (必需)

约束:
Pattern = ^\d{2,3}$

PublicLandMobileNetwork

名称 说明
homeNetworkPublicKeys 与 SUPI 隐藏相关的配置。 PublicLandMobileNetworkHomeNetworkPublicKeys
Mcc 移动国家/地区代码 (MCC) 。 字符串 (必需)

约束:
Pattern = ^\d{3}$
跨国公司 移动网络代码 (MNC) 。 字符串 (必需)

约束:
Pattern = ^\d{2,3}$

PublicLandMobileNetworkHomeNetworkPublicKeys

名称 说明
profileA 这提供了一个映射,以识别哪些公钥已用于使用配置文件 A 保护方案隐藏 SUPI。 HomeNetworkPublicKey[]
profileB 这提供了一个映射,以识别哪些公钥已用于使用配置文件 B 保护方案进行 SUPI 隐藏。 HomeNetworkPublicKey[]

HomeNetworkPublicKey

名称 说明 Value
id 家庭网络公钥标识符确定使用哪个公钥生成发送到 AMF 的 SUCI。 请参阅 TS 23.003 第 2.2B 部分 5。 int (必需)

约束:
最小值 = 1
最大值 = 255
url Azure 的 URL 密钥保管库机密,其中包含已版本控制或未版本的私钥。 例如: https://contosovault.vault.azure.net/secrets/mySuciPrivateKey/562a4bb76b524a1493a6afe8e536ee78. 字符串

快速入门模板

以下快速入门模板部署此资源类型。

模板 说明
创建完整的 5G 核心部署

部署到 Azure
此模板创建部署专用 5G 核心版所需的所有资源,包括预配 sims 和创建示例 QoS 策略。 可以选择将其部署到 Azure Stack Edge 设备上运行的 Kubernetes 群集。
创建专用移动网络

部署到 Azure
此模板使用关联的切片和数据网络创建移动网络资源。 然后,可以使用此存储库中的其他模板创建用于运行专用 5G 核心版软件的站点,并预配 sims 和 sim 策略。
更新数据包核心控制平面

部署到 Azure
此模板允许更新现有数据包核心的版本。

Terraform (AzAPI 提供程序) 资源定义

mobileNetworks 资源类型可以通过针对以下操作进行部署:

  • 资源组

有关每个 API 版本中更改的属性的列表,请参阅 更改日志

资源格式

若要创建 Microsoft.MobileNetwork/mobileNetworks 资源,请将以下 Terraform 添加到模板。

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.MobileNetwork/mobileNetworks@2024-02-01"
  name = "string"
  location = "string"
  parent_id = "string"
  tags = {
    tagName1 = "tagValue1"
    tagName2 = "tagValue2"
  }
  identity {
    type =  "UserAssigned"
    identity_ids = []
  }
  body = jsonencode({
    properties = {
      publicLandMobileNetworkIdentifier = {
        mcc = "string"
        mnc = "string"
      }
      publicLandMobileNetworks = [
        {
          homeNetworkPublicKeys = {
            profileA = [
              {
                id = int
                url = "string"
              }
            ]
            profileB = [
              {
                id = int
                url = "string"
              }
            ]
          }
          mcc = "string"
          mnc = "string"
        }
      ]
    }
  })
}

属性值

mobileNetworks

名称 说明 Value
type 资源类型 “Microsoft.MobileNetwork/mobileNetworks@2024-02-01”
name 资源名称 字符串 (必需)

字符限制:1-64

有效字符:
字母数字和连字符。

以字母数字开头。
location 资源所在的地理位置 字符串 (必需)
parent_id 若要部署到资源组,请使用该资源组的 ID。 字符串 (必需)
标记 资源标记。 标记名称和值的字典。
标识 用于从 Azure 密钥保管库检索用于 SUPI 隐藏的任何私钥的标识。 ManagedServiceIdentity
properties 移动网络属性。 MobileNetworkPropertiesFormat (必需)

ManagedServiceIdentity

名称 说明 Value
type 托管服务标识的类型 (目前仅允许 UserAssigned) 。 “UserAssigned” (必需)
identity_ids 与资源关联的用户分配标识集。 userAssignedIdentities 字典密钥将是采用以下格式的 ARM 资源 ID:'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}。 字典值可以是请求中 ({}) 的空对象。 用户标识 ID 数组。

UserAssignedIdentities

名称 说明
{customized property} UserAssignedIdentity

UserAssignedIdentity

此对象不包含在部署期间要设置的任何属性。 所有属性均为 ReadOnly。

MobileNetworkPropertiesFormat

名称 说明
publicLandMobileNetworkIdentifier 网络的唯一公共陆地移动网络标识符。 如果同时指定“publicLandMobileNetworks”和“publicLandMobileNetworkIdentifier”,则“publicLandMobileNetworks”优先。 PlmnId (必需)
publicLandMobileNetworks 公共土地移动网络的列表,包括其标识符。 如果同时指定“publicLandMobileNetworks”和“publicLandMobileNetworkIdentifier”,则“publicLandMobileNetworks”优先。 PublicLandMobileNetwork[]

约束:
最小长度 = 1

PlmnId

名称 说明
Mcc 移动国家/地区代码 (MCC) 。 字符串 (必需)

约束:
Pattern = ^\d{3}$
跨国公司 移动网络代码 (MNC) 。 字符串 (必需)

约束:
Pattern = ^\d{2,3}$

PublicLandMobileNetwork

名称 说明
homeNetworkPublicKeys 与 SUPI 隐藏相关的配置。 PublicLandMobileNetworkHomeNetworkPublicKeys
Mcc 移动国家/地区代码 (MCC) 。 字符串 (必需)

约束:
Pattern = ^\d{3}$
跨国公司 移动网络代码 (MNC) 。 字符串 (必需)

约束:
Pattern = ^\d{2,3}$

PublicLandMobileNetworkHomeNetworkPublicKeys

名称 说明
profileA 这提供了一个映射,用于标识哪些公钥已用于使用配置文件 A 保护方案进行 SUPI 隐藏。 HomeNetworkPublicKey[]
profileB 这提供了一个映射,用于标识哪些公钥已用于使用配置文件 B 保护方案进行 SUPI 隐藏。 HomeNetworkPublicKey[]

HomeNetworkPublicKey

名称 说明 Value
id 家庭网络公钥标识符确定哪个公钥用于生成发送到 AMF 的 SUCI。 请参阅 TS 23.003 第 2.2B 部分 5。 int (必需)

约束:
最小值 = 1
最大值 = 255
url Azure 密钥保管库机密的 URL,其中包含私钥、版本控制或未版本控制。 例如: https://contosovault.vault.azure.net/secrets/mySuciPrivateKey/562a4bb76b524a1493a6afe8e536ee78. 字符串