Partilhar via


ContainerAppManagedEnvironmentStorageCollection.GetAsync Método

Definição

Obter armazenamento para um managedEnvironment.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/storages/{storageName}
  • IdManagedEnvironmentsStorages_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppManagedEnvironmentStorageResource>> GetAsync (string storageName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppManagedEnvironmentStorageResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppManagedEnvironmentStorageResource>>
Public Overridable Function GetAsync (storageName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ContainerAppManagedEnvironmentStorageResource))

Parâmetros

storageName
String

O nome do armazenamento.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

storageName é nulo.

Aplica-se a