Compartilhar via


ProjectAttachedNetworkConnectionCollection.Exists Método

Definição

Verifica se o recurso existe no azure.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/attachednetworks/{attachedNetworkConnectionName}
  • IdAttachedNetworks_GetByProject de operação
public virtual Azure.Response<bool> Exists (string attachedNetworkConnectionName, 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 (attachedNetworkConnectionName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of Boolean)

Parâmetros

attachedNetworkConnectionName
String

O nome da NetworkConnection anexada.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

attachedNetworkConnectionName é nulo.

Aplica-se a