Compartir a través de


ContainerAppConnectedEnvironmentCollection.Exists Método

Definición

Comprueba si el recurso existe en Azure.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}
  • IdConnectedEnvironments_Get de operaciones
public virtual Azure.Response<bool> Exists (string connectedEnvironmentName, 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 (connectedEnvironmentName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of Boolean)

Parámetros

connectedEnvironmentName
String

Nombre del entorno connectedEnvironment.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

connectedEnvironmentName es una cadena vacía y se espera que no esté vacía.

connectedEnvironmentName es null.

Se aplica a