Partilhar via


ContainerAppConnectedEnvironmentStorageCollection.GetAsync Método

Definição

Obter armazenamento para um connectedEnvironment.

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

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