Service Tags - List

取得服務標記資訊資源的清單。

GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/serviceTags?api-version=2023-09-01

URI 參數

名稱 位於 必要 類型 Description
location
path True

string

將作為版本參考的位置 (不是以位置為基礎的篩選條件,您將取得服務卷標清單,其中包含所有區域中的前置詞詳細數據,但僅限於訂用帳戶所屬的雲端) 。

subscriptionId
path True

string

可唯一識別 Microsoft Azure 訂用帳戶的訂用帳戶認證。 訂用帳戶識別碼會構成每個服務呼叫 URI 的一部分。

api-version
query True

string

用戶端 API 版本。

回應

名稱 類型 Description
200 OK

ServiceTagsListResult

要求成功。 傳回服務標記資訊資源的清單。

Other Status Codes

CloudError

描述作業失敗原因的錯誤回應。

安全性

azure_auth

Azure Active Directory OAuth2 Flow。

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

名稱 Description
user_impersonation 模擬您的用戶帳戶

範例

Get list of service tags

Sample Request

GET https://management.azure.com/subscriptions/subId/providers/Microsoft.Network/locations/westcentralus/serviceTags?api-version=2023-09-01

Sample Response

{
  "name": "public",
  "id": "/subscriptions/subId/providers/Microsoft.Network/serviceTags/public",
  "type": "Microsoft.Network/serviceTags",
  "changeNumber": "63",
  "cloud": "Public",
  "values": [
    {
      "name": "ApiManagement",
      "id": "ApiManagement",
      "properties": {
        "changeNumber": "7",
        "region": "",
        "systemService": "AzureApiManagement",
        "addressPrefixes": [
          "13.64.39.16/32",
          "40.74.146.80/31",
          "40.74.147.32/28"
        ]
      }
    },
    {
      "name": "ApiManagement.AustraliaCentral",
      "id": "ApiManagement.AustraliaCentral",
      "properties": {
        "changeNumber": "2",
        "region": "australiacentral",
        "systemService": "AzureApiManagement",
        "addressPrefixes": [
          "20.36.106.68/31",
          "20.36.107.176/28"
        ]
      }
    },
    {
      "name": "AppService",
      "id": "AppService",
      "properties": {
        "changeNumber": "13",
        "region": "",
        "systemService": "AzureAppService",
        "addressPrefixes": [
          "13.64.73.110/32",
          "191.235.208.12/32",
          "191.235.215.184/32"
        ]
      }
    },
    {
      "name": "ServiceBus",
      "id": "ServiceBus",
      "properties": {
        "changeNumber": "10",
        "region": "",
        "systemService": "AzureServiceBus",
        "addressPrefixes": [
          "23.98.82.96/29",
          "40.68.127.68/32",
          "40.70.146.64/29"
        ]
      }
    },
    {
      "name": "ServiceBus.EastUS2",
      "id": "ServiceBus.EastUS2",
      "properties": {
        "changeNumber": "1",
        "region": "eastus2",
        "systemService": "AzureServiceBus",
        "addressPrefixes": [
          "13.68.110.36/32",
          "40.70.146.64/29"
        ]
      }
    }
  ],
  "nextLink": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Network/locations/centraluseuap/serviceTags?api-version=2020-06-01&changenumber=changenumber&$skipToken={skipToken}"
}

定義

名稱 Description
CloudError

來自服務的錯誤回應。

CloudErrorBody

來自服務的錯誤回應。

ServiceTagInformation

服務標籤資訊。

ServiceTagInformationPropertiesFormat

服務標籤資訊的屬性。

ServiceTagsListResult

ListServiceTags API 服務呼叫的回應。

CloudError

來自服務的錯誤回應。

名稱 類型 Description
error

CloudErrorBody

雲端錯誤本文。

CloudErrorBody

來自服務的錯誤回應。

名稱 類型 Description
code

string

錯誤的識別碼。 程式碼不變,且要以程式設計方式使用。

details

CloudErrorBody[]

錯誤的其他詳細數據清單。

message

string

描述錯誤的訊息,適用於在使用者介面中顯示。

target

string

特定錯誤的目標。 例如,錯誤中的屬性名稱。

ServiceTagInformation

服務標籤資訊。

名稱 類型 Description
id

string

服務標籤的識別碼。

name

string

服務標籤的名稱。

properties

ServiceTagInformationPropertiesFormat

服務標籤資訊的屬性。

serviceTagChangeNumber

string

區域的服務標籤對象的反覆項目數目。

ServiceTagInformationPropertiesFormat

服務標籤資訊的屬性。

名稱 類型 Description
addressPrefixes

string[]

IP 位址前置的清單。

changeNumber

string

服務標籤的反覆項目數目。

region

string

服務標籤的區域。

state

string

服務標籤的狀態。

systemService

string

系統服務的名稱。

ServiceTagsListResult

ListServiceTags API 服務呼叫的回應。

名稱 類型 Description
changeNumber

string

反覆項目編號。

cloud

string

雲端的名稱。

id

string

雲端的標識碼。

name

string

雲端的名稱。

nextLink

string

要取得服務標籤資訊資源下一頁的URL。

type

string

azure 資源類型。

values

ServiceTagInformation[]

服務標籤資訊資源的清單。