Compartir a través de


ManagedNetworkFabricExtensions.GetNetworkFabricNeighborGroupAsync Método

Definición

Obtiene el grupo vecino.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/neighborGroups/{neighborGroupName}
  • IdNeighborGroups_Get de operación
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricNeighborGroupResource>> GetNetworkFabricNeighborGroupAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string neighborGroupName, System.Threading.CancellationToken cancellationToken = default);
static member GetNetworkFabricNeighborGroupAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricNeighborGroupResource>>
<Extension()>
Public Function GetNetworkFabricNeighborGroupAsync (resourceGroupResource As ResourceGroupResource, neighborGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NetworkFabricNeighborGroupResource))

Parámetros

resourceGroupResource
ResourceGroupResource

Instancia ResourceGroupResource en la que se ejecutará el método.

neighborGroupName
String

Nombre del grupo vecino.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

neighborGroupName es una cadena vacía y se esperaba que no estuviera vacía.

neighborGroupName es null.

Se aplica a