Subscriptions - Check Zone Peers

Hiermee vergelijkt u de toewijzing van een logische zone voor abonnementen

POST https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Resources/checkZonePeers/?api-version=2022-12-01

URI-parameters

Name In Vereist Type Description
subscriptionId
path True

string

De id van het doelabonnement.

api-version
query True

string

De API-versie die voor deze bewerking moet worden gebruikt.

Aanvraagbody

Name Type Description
location

string

De Microsoft-locatie.

subscriptionIds

string[]

De microsoft azure-abonnements-id van de peer.

Antwoorden

Name Type Description
200 OK

CheckZonePeersResult

OK: retourneert informatie over de toewijzing van logische beschikbaarheidszones tussen abonnementen

Other Status Codes

ErrorResponse

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

GetLogicalZoneMapping

Sample Request

POST https://management.azure.com/subscriptions/8d65815f-a5b6-402f-9298-045155da7d74/providers/Microsoft.Resources/checkZonePeers/?api-version=2022-12-01

{
  "location": "eastus",
  "subscriptionIds": [
    "subscriptions/11111111-1111-1111-1111-111111111111"
  ]
}

Sample Response

{
  "subscriptionId": "8d65815f-a5b6-402f-9298-045155da7d74",
  "location": "eastus2",
  "availabilityZonePeers": [
    {
      "availabilityZone": "1",
      "peers": [
        {
          "subscriptionId": "11111111-1111-1111-1111-111111111111",
          "availabilityZone": "3"
        }
      ]
    },
    {
      "availabilityZone": "2",
      "peers": [
        {
          "subscriptionId": "11111111-1111-1111-1111-111111111111",
          "availabilityZone": "2"
        }
      ]
    },
    {
      "availabilityZone": "3",
      "peers": [
        {
          "subscriptionId": "11111111-1111-1111-1111-111111111111",
          "availabilityZone": "1"
        }
      ]
    }
  ]
}

Definities

Name Description
AvailabilityZonePeers

Lijst met beschikbaarheidszones die worden gedeeld door de abonnementen.

CheckZonePeersRequest

Controleer de aanvraagparameters van zone-peers.

CheckZonePeersResult

Resultaat van de bewerking Zone-peers controleren.

ErrorAdditionalInfo

Aanvullende informatie over de resourcebeheerfout.

ErrorDetail

De foutdetails.

ErrorResponse

Foutreactie

Peers

Informatie over gedeelde beschikbaarheidszone.

AvailabilityZonePeers

Lijst met beschikbaarheidszones die worden gedeeld door de abonnementen.

Name Type Description
availabilityZone

string

De availabilityZone.

peers

Peers[]

Details van gedeelde beschikbaarheidszone.

CheckZonePeersRequest

Controleer de aanvraagparameters van zone-peers.

Name Type Description
location

string

De Microsoft-locatie.

subscriptionIds

string[]

De microsoft azure-abonnements-id van de peer.

CheckZonePeersResult

Resultaat van de bewerking Zone-peers controleren.

Name Type Description
availabilityZonePeers

AvailabilityZonePeers[]

De Beschikbaarheidszones gedeeld door de abonnementen.

location

string

de locatie van het abonnement.

subscriptionId

string

De abonnements-id.

ErrorAdditionalInfo

Aanvullende informatie over de resourcebeheerfout.

Name Type Description
info

object

De aanvullende informatie.

type

string

Het type aanvullende informatie.

ErrorDetail

De foutdetails.

Name Type Description
additionalInfo

ErrorAdditionalInfo[]

Aanvullende informatie over de fout.

code

string

De foutcode.

details

ErrorDetail[]

De foutdetails.

message

string

Het foutbericht.

target

string

Het foutdoel.

ErrorResponse

Foutreactie

Name Type Description
error

ErrorDetail

Het foutobject.

Peers

Informatie over gedeelde beschikbaarheidszone.

Name Type Description
availabilityZone

string

De availabilityZone.

subscriptionId

string

De abonnements-id.