共用方式為


BackupResourceVaultConfigResource.UpdateAsync Method

Definition

Updates vault security config.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupconfig/vaultconfig
  • Operation Id: BackupResourceVaultConfigs_Update
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesBackup.BackupResourceVaultConfigResource>> UpdateAsync (Azure.ResourceManager.RecoveryServicesBackup.BackupResourceVaultConfigData data, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.RecoveryServicesBackup.BackupResourceVaultConfigData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesBackup.BackupResourceVaultConfigResource>>
override this.UpdateAsync : Azure.ResourceManager.RecoveryServicesBackup.BackupResourceVaultConfigData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesBackup.BackupResourceVaultConfigResource>>
Public Overridable Function UpdateAsync (data As BackupResourceVaultConfigData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of BackupResourceVaultConfigResource))

Parameters

data
BackupResourceVaultConfigData

resource config request.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

data is null.

Applies to