ManagedEnvironmentStorageResource.UpdateAsync Método

Definição

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

public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Applications.Containers.ManagedEnvironmentStorageResource>> UpdateAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.Applications.Containers.ManagedEnvironmentStorageData data, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.Applications.Containers.ManagedEnvironmentStorageData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Applications.Containers.ManagedEnvironmentStorageResource>>
override this.UpdateAsync : Azure.WaitUntil * Azure.ResourceManager.Applications.Containers.ManagedEnvironmentStorageData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Applications.Containers.ManagedEnvironmentStorageResource>>
Public Overridable Function UpdateAsync (waitUntil As WaitUntil, data As ManagedEnvironmentStorageData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of ManagedEnvironmentStorageResource))

Parâmetros

waitUntil
WaitUntil

Completed se o método deve aguardar para retornar até que a operação de execução prolongada seja concluída no serviço; Started se ele deve retornar depois de iniciar a operação. Para obter mais informações sobre operações de execução prolongada, consulte Exemplos de operação de Long-Running do Azure.Core.

data
ManagedEnvironmentStorageData

Detalhes de configuração do armazenamento.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

data é nulo.

Aplica-se a