Service Tags - List

Hizmet etiketi bilgi kaynaklarının listesini alır.

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

URI Parametreleri

Name İçinde Gerekli Tür Description
location
path True

string

Sürüm başvurusu olarak kullanılacak konum (konuma göre filtre olarak değil, tüm bölgelerde ön ek ayrıntılarına sahip ancak aboneliğinizin ait olduğu bulutla sınırlı olan hizmet etiketlerinin listesini alırsınız).

subscriptionId
path True

string

Microsoft Azure aboneliğini benzersiz olarak tanımlayan abonelik kimlik bilgileri. Abonelik kimliği, her hizmet çağrısı için URI'nin bir parçasını oluşturur.

api-version
query True

string

İstemci API sürümü.

Yanıtlar

Name Tür Description
200 OK

ServiceTagsListResult

İstek başarılı oldu. Hizmet etiketi bilgi kaynaklarının listesini döndürür.

Other Status Codes

CloudError

İşlemin neden başarısız olduğunu açıklayan hata yanıtı.

Güvenlik

azure_auth

Azure Active Directory OAuth2 Flow.

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

Scopes

Name Description
user_impersonation kullanıcı hesabınızın kimliğine bürünme

Örnekler

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}"
}

Tanımlar

Name Description
CloudError

Hizmetten bir hata yanıtı.

CloudErrorBody

Hizmetten bir hata yanıtı.

ServiceTagInformation

Hizmet etiketi bilgileri.

ServiceTagInformationPropertiesFormat

Hizmet etiketi bilgilerinin özellikleri.

ServiceTagsListResult

ListServiceTags API hizmet çağrısı için yanıt.

CloudError

Hizmetten bir hata yanıtı.

Name Tür Description
error

CloudErrorBody

Bulut hata gövdesi.

CloudErrorBody

Hizmetten bir hata yanıtı.

Name Tür Description
code

string

Hatanın tanımlayıcısı. Kodlar sabittir ve program aracılığıyla kullanılması amaçlanmıştır.

details

CloudErrorBody[]

Hatayla ilgili ek ayrıntıların listesi.

message

string

Hatayı açıklayan ve kullanıcı arabiriminde görüntülenmeye uygun olması amaçlanan bir ileti.

target

string

Belirli bir hatanın hedefi. Örneğin, özelliğin adı hatalı.

ServiceTagInformation

Hizmet etiketi bilgileri.

Name Tür Description
id

string

Hizmet etiketinin kimliği.

name

string

Hizmet etiketinin adı.

properties

ServiceTagInformationPropertiesFormat

Hizmet etiketi bilgilerinin özellikleri.

serviceTagChangeNumber

string

Bölge için hizmet etiketi nesnesinin yineleme sayısı.

ServiceTagInformationPropertiesFormat

Hizmet etiketi bilgilerinin özellikleri.

Name Tür Description
addressPrefixes

string[]

IP adresi ön eklerinin listesi.

changeNumber

string

Hizmet etiketinin yineleme sayısı.

region

string

Hizmet etiketinin bölgesi.

state

string

Hizmet etiketinin durumu.

systemService

string

Sistem hizmetinin adı.

ServiceTagsListResult

ListServiceTags API hizmet çağrısı için yanıt.

Name Tür Description
changeNumber

string

Yineleme numarası.

cloud

string

Bulutun adı.

id

string

Bulutun kimliği.

name

string

Bulutun adı.

nextLink

string

Hizmet etiketi bilgi kaynaklarının sonraki sayfasına ulaşmak için URL.

type

string

Azure kaynak türü.

values

ServiceTagInformation[]

Hizmet etiketi bilgi kaynaklarının listesi.