Partilhar via


ManagedEnvironmentStorageCollection.GetAsync Método

Definição

Obter armazenamento para um managedEnvironment. Caminho da Solicitação: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/storages/{storageName} Operation Id: ManagedEnvironmentsStorages_Get

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Applications.Containers.ManagedEnvironmentStorageResource>> GetAsync (string storageName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Applications.Containers.ManagedEnvironmentStorageResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Applications.Containers.ManagedEnvironmentStorageResource>>
Public Overridable Function GetAsync (storageName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ManagedEnvironmentStorageResource))

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