Compartir a través de


ManagedEnvironmentResource.GetManagedEnvironmentStorageAsync Método

Definición

Obtenga almacenamiento para managedEnvironment. Ruta de acceso de solicitud: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/storages/{storageName} Identificador de operación: 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

Nombre del almacenamiento.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

storageName es una cadena vacía y se espera que no esté vacía.

storageName es null.

Se aplica a