BackupResourceConfigResource.UpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Updates vault storage model type.
- Request Path: /Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupstorageconfig/vaultstorageconfig
- Operation Id: BackupResourceStorageConfigsNonCRR_patch
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesBackup.BackupResourceConfigResource>> UpdateAsync (Azure.ResourceManager.RecoveryServicesBackup.BackupResourceConfigData data, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.RecoveryServicesBackup.BackupResourceConfigData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesBackup.BackupResourceConfigResource>>
override this.UpdateAsync : Azure.ResourceManager.RecoveryServicesBackup.BackupResourceConfigData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesBackup.BackupResourceConfigResource>>
Public Overridable Function UpdateAsync (data As BackupResourceConfigData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of BackupResourceConfigResource))
Parameters
Vault storage config request.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
data
is null.