Compartilhar via


AppContainersExtensions.GetContainerAppConnectedEnvironment Método

Definição

Obtenha as propriedades de um connectedEnvironment.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}
  • Operação IdConnectedEnvironments_Get
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

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

connectedEnvironmentName é nulo.

Aplica-se a