Compartilhar via


AppContainersExtensions.GetContainerAppManagedEnvironment 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}
  • Operação IdManagedEnvironments_Get
public static Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppManagedEnvironmentResource> GetContainerAppManagedEnvironment (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string environmentName, System.Threading.CancellationToken cancellationToken = default);
static member GetContainerAppManagedEnvironment : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppManagedEnvironmentResource>
<Extension()>
Public Function GetContainerAppManagedEnvironment (resourceGroupResource As ResourceGroupResource, environmentName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ContainerAppManagedEnvironmentResource)

Parâmetros

resourceGroupResource
ResourceGroupResource

A ResourceGroupResource instância em que 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 esperava-se que não estivesse vazia.

environmentName é nulo.

Aplica-se a