Service Tags - List

Hiermee haalt u een lijst met informatiebronnen voor servicetags op.

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

URI-parameters

Name In Vereist Type Description
location
path True

string

De locatie die wordt gebruikt als referentie voor de versie (niet als een filter op basis van locatie, krijgt u de lijst met servicetags met voorvoegselgegevens in alle regio's, maar beperkt tot de cloud waartoe uw abonnement behoort).

subscriptionId
path True

string

De abonnementsreferenties waarmee het Microsoft Azure-abonnement uniek wordt geïdentificeerd. De abonnements-id maakt deel uit van de URI voor elke service-aanroep.

api-version
query True

string

Client-API-versie.

Antwoorden

Name Type Description
200 OK

ServiceTagsListResult

De aanvraag is voltooid. Retourneert een lijst met informatiebronnen voor servicetags.

Other Status Codes

CloudError

Foutreactie waarin wordt beschreven waarom de bewerking is mislukt.

Beveiliging

azure_auth

Azure Active Directory OAuth2-stroom.

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

Scopes

Name Description
user_impersonation uw gebruikersaccount imiteren

Voorbeelden

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

Definities

Name Description
CloudError

Een foutreactie van de service.

CloudErrorBody

Een foutreactie van de service.

ServiceTagInformation

De informatie over de servicetag.

ServiceTagInformationPropertiesFormat

Eigenschappen van de informatie over de servicetag.

ServiceTagsListResult

Antwoord voor de ListServiceTags API-serviceoproep.

CloudError

Een foutreactie van de service.

Name Type Description
error

CloudErrorBody

Hoofdtekst van cloudfout.

CloudErrorBody

Een foutreactie van de service.

Name Type Description
code

string

Een id voor de fout. Codes zijn invariant en zijn bedoeld om programmatisch te worden gebruikt.

details

CloudErrorBody[]

Een lijst met aanvullende informatie over de fout.

message

string

Een bericht met een beschrijving van de fout, bedoeld om te worden weergegeven in een gebruikersinterface.

target

string

Het doel van de specifieke fout. Bijvoorbeeld de naam van de eigenschap in fout.

ServiceTagInformation

De informatie over de servicetag.

Name Type Description
id

string

De id van de servicetag.

name

string

De naam van de servicetag.

properties

ServiceTagInformationPropertiesFormat

Eigenschappen van de informatie over de servicetag.

serviceTagChangeNumber

string

Het iteratienummer van het servicetagobject voor regio.

ServiceTagInformationPropertiesFormat

Eigenschappen van de informatie over de servicetag.

Name Type Description
addressPrefixes

string[]

De lijst met IP-adresvoorvoegsels.

changeNumber

string

Het iteratienummer van de servicetag.

region

string

De regio van de servicetag.

state

string

De status van de servicetag.

systemService

string

De naam van de systeemservice.

ServiceTagsListResult

Antwoord voor de ListServiceTags API-serviceoproep.

Name Type Description
changeNumber

string

Het iteratienummer.

cloud

string

De naam van de cloud.

id

string

De id van de cloud.

name

string

De naam van de cloud.

nextLink

string

De URL voor het ophalen van de volgende pagina met informatiebronnen voor servicetags.

type

string

Het azure-resourcetype.

values

ServiceTagInformation[]

De lijst met informatiebronnen voor servicetags.