/// <summary> /// Updates the vault. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group where the recovery services vault is /// present. /// </param> /// <param name='vaultName'> /// The name of the recovery services vault. /// </param> /// <param name='vault'> /// Recovery Services Vault to be created. /// </param> public static Vault BeginUpdate(this IVaultsOperations operations, string resourceGroupName, string vaultName, PatchVault vault) { return(operations.BeginUpdateAsync(resourceGroupName, vaultName, vault).GetAwaiter().GetResult()); }