Aracılığıyla paylaş


Komşu Grubu Yapılandırmasına Genel Bakış

Komşu grubu, uç noktaları (IPv4 veya IPv6) tek bir mantıksal kaynak altında gruplandırmanıza olanak tanır. Farklı yoklama uç noktaları arasında yük dengeli filtrelenmiş trafik göndermek için bir komşu grubu kullanılabilir. Aynı Komşu grubunu farklı Ağ TAP'ları ve Ağ Dokunma kurallarında kullanabilirsiniz.

Komşu Grubu için Parametreler

Parametre Açıklama Örnek Zorunlu
resource-group Komşu grubunu içeren kaynak grubu. ResourceGroupName True
kaynak-adı Komşu grubunun adı. example-Komşu True
konum Komşu grubunu içeren Azure bölgesi. eastus True
destination Trafiği iletilecek Ipv4 veya Ipv6 hedeflerinin listesi. 10.10.10.10 True

Komşu Grubu Oluşturma

Aşağıdaki komut bir komşu grubu oluşturur:

az networkfabric neighborgroup create \
    --resource-group "example-rg" \
    --location "westus3" \
    --resource-name "example-neighborgroup" \
    --destination "{ipv4Addresses:['10.10.10.10']}"

Beklenen çıktı:

{
  "properties": {
    "networkTapIds": [
    ],
    "networkTapRuleIds": [
    ],
    "destination": {
      "ipv4Addresses": [
        "10.10.10.10",
      ]
    },
    "provisioningState": "Succeeded",
    "annotation": "annotation"
  },
  "tags": {
    "keyID": "KeyValue"
  },
  "location": "eastus",
  "id": "/subscriptions/subscriptionId/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup",
  "name": "example-neighborGroup",
  "type": "microsoft.managednetworkfabric/neighborGroups",
  "systemData": {
    "createdBy": "user@mail.com",
    "createdByType": "User",
    "createdAt": "2023-05-23T05:49:59.193Z",
    "lastModifiedBy": "email@address.com",
    "lastModifiedByType": "User",
    "lastModifiedAt": "2023-05-23T05:49:59.194Z"
  }
}

Komşu Grubunu Göster

Bu komut bir IP genişletilmiş topluluk kaynağı görüntüler:

az networkfabric neighborgroup show \
    --resource-group "example-rg" \
    --resource-name "example-neighborgroup"

Beklenen çıktı:

{
  "properties": {
    "networkTapIds": [
    ],
    "networkTapRuleIds": [
    ],
    "destination": {
      "ipv4Addresses": [
        "10.10.10.10",
      ]
    },
    "provisioningState": "Succeeded",
    "annotation": "annotation"
  },
  "tags": {
    "keyID": "KeyValue"
  },
  "location": "eastus",
  "id": "/subscriptions/subscriptionId/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup",
  "name": "example-neighborGroup",
  "type": "microsoft.managednetworkfabric/neighborGroups",
  "systemData": {
    "createdBy": "user@mail.com",
    "createdByType": "User",
    "createdAt": "2023-05-23T05:49:59.193Z",
    "lastModifiedBy": "email@address.com",
    "lastModifiedByType": "User",
    "lastModifiedAt": "2023-05-23T05:49:59.194Z"
  }
}