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 資源所在的地理位置 字串 (必要)
tags 資源標籤。 標記名稱和值的字典。 請參閱 範本中的標記
身分識別 用來從 Azure 金鑰保存庫擷取用於 SUPI 隱藏之任何私鑰的身分識別。 ManagedServiceIdentity
properties 行動網路屬性。 MobileNetworkPropertiesFormat (必要)

ManagedServiceIdentity

名稱 描述
類型 受控服務識別的類型 (目前只允許 userAssigned) 。 'None'
'UserAssigned' (必要)
userAssignedIdentities 與資源相關聯的使用者指派身分識別集。 userAssignedIdentities 字典索引鍵的格式為 ARM 資源標識符:'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}。 字典值可以是要求中 () 的空白物件 {} 。 UserAssignedIdentities

UserAssignedIdentities

名稱 描述
{自定義屬性} 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

名稱 描述
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

名稱 描述
類型 資源類型 'Microsoft.MobileNetwork/mobileNetworks'
apiVersion 資源 API 版本 '2024-02-01'
NAME 資源名稱 需要字串 ()

字元限制:1-64

合法字元:
英數字元和連字號。

以英數字元開頭。
location 資源所在的地理位置 需要字串 ()
tags 資源標籤。 標記名稱和值的字典。 請參閱 範本中的標籤
身分識別 用來從 Azure 金鑰保存庫擷取用於 SUPI 隱藏之任何私鑰的身分識別。 ManagedServiceIdentity
properties 行動網路屬性。 MobileNetworkPropertiesFormat (必要)

ManagedServiceIdentity

名稱 描述
類型 受控服務識別的類型 (目前僅允許 userAssigned) 。 'None'
'UserAssigned' (必要)
userAssignedIdentities 與資源相關聯的使用者指派身分識別集。 userAssignedIdentities 字典索引鍵的格式為 ARM 資源標識符:'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}。 字典值可以是要求中 ({}) 的空白物件。 UserAssignedIdentities

UserAssignedIdentities

名稱 描述
{自定義屬性} 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

名稱 描述
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

名稱 描述
類型 資源類型 “Microsoft.MobileNetwork/mobileNetworks@2024-02-01”
NAME 資源名稱 字串 (必要)

字元限制:1-64

合法字元:
英數字元和連字號。

以英數字元開頭。
location 資源所在的地理位置 字串 (必要)
parent_id 若要部署至資源群組,請使用該資源群組的標識碼。 字串 (必要)
tags 資源標籤。 標記名稱和值的字典。
身分識別 用來從 Azure 金鑰保存庫擷取用於 SUPI 隱藏之任何私鑰的身分識別。 ManagedServiceIdentity
properties 行動網路屬性。 MobileNetworkPropertiesFormat (必要)

ManagedServiceIdentity

名稱 描述
類型 受控服務識別的類型 (目前只允許 userAssigned) 。 ) 所需的 「UserAssigned」 (
identity_ids 與資源相關聯的使用者指派身分識別集。 userAssignedIdentities 字典索引鍵的格式為 ARM 資源標識符:'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}。 字典值可以是要求中 () 的空白物件 {} 。 使用者身分識別標識碼的陣列。

UserAssignedIdentities

名稱 描述
{自定義屬性} 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

名稱 描述
id 首頁網路公鑰標識碼會決定使用哪一個公鑰來產生傳送至AMF的 SUCI。 請參閱 TS 23.003 第 2.2B 節 5。 需要 int ()

約束:
最小值 = 1
最大值 = 255
url Azure 金鑰保存庫 秘密的 URL,其中包含私鑰、版本設定或未版本。 例如:https://contosovault.vault.azure.net/secrets/mySuciPrivateKey/562a4bb76b524a1493a6afe8e536ee78. 字串