Compartilhar via


ManagedEnvironmentResource.GetManagedEnvironmentStorageAsync 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>> GetManagedEnvironmentStorageAsync (string storageName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetManagedEnvironmentStorageAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Applications.Containers.ManagedEnvironmentStorageResource>>
override this.GetManagedEnvironmentStorageAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Applications.Containers.ManagedEnvironmentStorageResource>>
Public Overridable Function GetManagedEnvironmentStorageAsync (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 esperava-se que não estivesse vazia.

storageName é nulo.

Aplica-se a