Compartilhar via


ManagedEnvironmentStorageResource.Update 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 Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Applications.Containers.ManagedEnvironmentStorageResource> Update (Azure.WaitUntil waitUntil, Azure.ResourceManager.Applications.Containers.ManagedEnvironmentStorageData data, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.WaitUntil * Azure.ResourceManager.Applications.Containers.ManagedEnvironmentStorageData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Applications.Containers.ManagedEnvironmentStorageResource>
override this.Update : Azure.WaitUntil * Azure.ResourceManager.Applications.Containers.ManagedEnvironmentStorageData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Applications.Containers.ManagedEnvironmentStorageResource>
Public Overridable Function Update (waitUntil As WaitUntil, data As ManagedEnvironmentStorageData, Optional cancellationToken As CancellationToken = Nothing) As 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