Compartir a través de


AppContainersExtensions.GetContainerAppConnectedEnvironment Método

Definición

Obtiene las propiedades de un entorno connectedEnvironment.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}
  • IdConnectedEnvironments_Get de operaciones
public static Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppConnectedEnvironmentResource> GetContainerAppConnectedEnvironment (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string connectedEnvironmentName, System.Threading.CancellationToken cancellationToken = default);
static member GetContainerAppConnectedEnvironment : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppConnectedEnvironmentResource>
<Extension()>
Public Function GetContainerAppConnectedEnvironment (resourceGroupResource As ResourceGroupResource, connectedEnvironmentName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ContainerAppConnectedEnvironmentResource)

Parámetros

resourceGroupResource
ResourceGroupResource

Instancia ResourceGroupResource en la que se ejecutará el método.

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 esperaba que no estuviera vacía.

connectedEnvironmentName es null.

Se aplica a