Partilhar via


AppContainersExtensions.GetContainerAppManagedEnvironmentAsync Método

Definição

Obtenha as propriedades de um Ambiente Gerenciado usado para hospedar aplicativos de contêiner.

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

Parâmetros

resourceGroupResource
ResourceGroupResource

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

environmentName
String

Nome do Ambiente.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

environmentName é nulo.

Aplica-se a