Compartir a través de


NetworkManagerResource.GetNetworkGroup(String, CancellationToken) Método

Definición

Obtiene el grupo de red especificado.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups/{networkGroupName}
  • IdNetworkGroups_Get de operaciones
public virtual Azure.Response<Azure.ResourceManager.Network.NetworkGroupResource> GetNetworkGroup (string networkGroupName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetNetworkGroup : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Network.NetworkGroupResource>
override this.GetNetworkGroup : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Network.NetworkGroupResource>
Public Overridable Function GetNetworkGroup (networkGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of NetworkGroupResource)

Parámetros

networkGroupName
String

Nombre del grupo de red.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

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

networkGroupName es null.

Se aplica a