Compartir a través de


ContainerAppConnectedEnvironmentCollection.GetAsync Método

Definición

Obtiene las propiedades de connectedEnvironment.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}
  • IdConnectedEnvironments_Get de operaciones
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppConnectedEnvironmentResource>> GetAsync (string connectedEnvironmentName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppConnectedEnvironmentResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppConnectedEnvironmentResource>>
Public Overridable Function GetAsync (connectedEnvironmentName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ContainerAppConnectedEnvironmentResource))

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