Partilhar via


ExpressRouteGatewayCollection.Exists(String, CancellationToken) Método

Definição

Verifica se o recurso existe no azure.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}
  • IdExpressRouteGateways_Get de operação
public virtual Azure.Response<bool> Exists (string expressRouteGatewayName, System.Threading.CancellationToken cancellationToken = default);
abstract member Exists : string * System.Threading.CancellationToken -> Azure.Response<bool>
override this.Exists : string * System.Threading.CancellationToken -> Azure.Response<bool>
Public Overridable Function Exists (expressRouteGatewayName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of Boolean)

Parâmetros

expressRouteGatewayName
String

O nome do gateway do ExpressRoute.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

expressRouteGatewayName é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

expressRouteGatewayName é nulo.

Aplica-se a