Partilhar via


AppContainersExtensions.GetContainerAppConnectedEnvironmentAsync Método

Definição

Obter as propriedades de um connectedEnvironment.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}
  • IdConnectedEnvironments_Get de operação
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppConnectedEnvironmentResource>> GetContainerAppConnectedEnvironmentAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string connectedEnvironmentName, System.Threading.CancellationToken cancellationToken = default);
static member GetContainerAppConnectedEnvironmentAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppConnectedEnvironmentResource>>
<Extension()>
Public Function GetContainerAppConnectedEnvironmentAsync (resourceGroupResource As ResourceGroupResource, connectedEnvironmentName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ContainerAppConnectedEnvironmentResource))

Parâmetros

resourceGroupResource
ResourceGroupResource

A ResourceGroupResource instância na qual o método será executado.

connectedEnvironmentName
String

Nome do connectedEnvironment.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

connectedEnvironmentName é nulo.

Aplica-se a