Aracılığıyla paylaş


Network Watchers - List All

Aboneliğe göre tüm ağ izleyicilerini alır.

GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkWatchers?api-version=2024-05-01

URI Parametreleri

Name İçinde Gerekli Tür Description
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

NetworkWatcherListResult

İstek başarılı oldu. İşlem, ağ izleyicisi kaynaklarının listesini döndürür.

Other Status Codes

ErrorResponse

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

Güvenlik

azure_auth

Azure Active Directory OAuth2 Akışı.

Tür: oauth2
Akış: implicit
Yetkilendirme URL’si: https://login.microsoftonline.com/common/oauth2/authorize

Kapsamlar

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

Örnekler

List all network watchers

Örnek isteği

GET https://management.azure.com/subscriptions/subid/providers/Microsoft.Network/networkWatchers?api-version=2024-05-01

Örnek yanıt

{
  "value": [
    {
      "name": "nw1",
      "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1",
      "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
      "type": "Microsoft.Network/networkWatchers",
      "location": "eastus",
      "tags": {},
      "properties": {
        "provisioningState": "Succeeded"
      }
    },
    {
      "name": "nw2",
      "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw2",
      "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
      "type": "Microsoft.Network/networkWatchers",
      "location": "westus",
      "tags": {},
      "properties": {
        "provisioningState": "Succeeded"
      }
    }
  ]
}

Tanımlar

Name Description
ErrorDetails

Yaygın hata ayrıntıları gösterimi.

ErrorResponse

Hata nesnesi.

NetworkWatcher

Bir kaynak grubundaki ağ izleyicisi.

NetworkWatcherListResult

ListNetworkWatchers API hizmet çağrısı yanıtı.

ProvisioningState

Geçerli sağlama durumu.

ErrorDetails

Yaygın hata ayrıntıları gösterimi.

Name Tür Description
code

string

Hata kodu.

message

string

Hata mesajı.

target

string

Hata hedefi.

ErrorResponse

Hata nesnesi.

Name Tür Description
error

ErrorDetails

Hata
Hata ayrıntıları nesnesi.

NetworkWatcher

Bir kaynak grubundaki ağ izleyicisi.

Name Tür Description
etag

string

Kaynak her güncelleştirildiğinde değişen benzersiz bir salt okunur dize.

id

string

Kaynak Kimliği.

location

string

Kaynak konumu.

name

string

Kaynak adı.

properties.provisioningState

ProvisioningState

Ağ izleyici kaynağının sağlama durumu.

tags

object

Kaynak etiketleri.

type

string

Kaynak türü.

NetworkWatcherListResult

ListNetworkWatchers API hizmet çağrısı yanıtı.

Name Tür Description
value

NetworkWatcher[]

Ağ izleyicisi kaynaklarının listesi.

ProvisioningState

Geçerli sağlama durumu.

Değer Description
Deleting
Failed
Succeeded
Updating